@squonk/data-manager-client 5.4.0 → 6.2.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.2
|
|
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,
|
|
@@ -44,7 +41,7 @@ import type {
|
|
|
44
41
|
WorkflowRunPostResponse,
|
|
45
42
|
WorkflowVersionPutBodyBody,
|
|
46
43
|
WorkflowVersionPutResponse,
|
|
47
|
-
} from "
|
|
44
|
+
} from "../api-schemas";
|
|
48
45
|
|
|
49
46
|
import { customInstance } from "../../custom-axios";
|
|
50
47
|
import type { ErrorType } from "../../custom-axios";
|
|
@@ -53,7 +50,6 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
53
50
|
|
|
54
51
|
/**
|
|
55
52
|
* Get a list of all Workflows available to you. The Workflows are listed in reverse chronological order of creation, where the most recent that was created is first in the list.
|
|
56
|
-
|
|
57
53
|
* @summary Get all Workflows available to you
|
|
58
54
|
*/
|
|
59
55
|
export const getWorkflows = (
|
|
@@ -88,7 +84,7 @@ export const getGetWorkflowsQueryOptions = <
|
|
|
88
84
|
Awaited<ReturnType<typeof getWorkflows>>,
|
|
89
85
|
TError,
|
|
90
86
|
TData
|
|
91
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
87
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
92
88
|
};
|
|
93
89
|
|
|
94
90
|
export type GetWorkflowsQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflows>>>;
|
|
@@ -111,7 +107,7 @@ export function useGetWorkflows<
|
|
|
111
107
|
request?: SecondParameter<typeof customInstance>;
|
|
112
108
|
},
|
|
113
109
|
queryClient?: QueryClient,
|
|
114
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
110
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
115
111
|
export function useGetWorkflows<
|
|
116
112
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
117
113
|
TError = ErrorType<void>,
|
|
@@ -129,7 +125,7 @@ export function useGetWorkflows<
|
|
|
129
125
|
request?: SecondParameter<typeof customInstance>;
|
|
130
126
|
},
|
|
131
127
|
queryClient?: QueryClient,
|
|
132
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
128
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
133
129
|
export function useGetWorkflows<
|
|
134
130
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
135
131
|
TError = ErrorType<void>,
|
|
@@ -139,7 +135,7 @@ export function useGetWorkflows<
|
|
|
139
135
|
request?: SecondParameter<typeof customInstance>;
|
|
140
136
|
},
|
|
141
137
|
queryClient?: QueryClient,
|
|
142
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
138
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
143
139
|
/**
|
|
144
140
|
* @summary Get all Workflows available to you
|
|
145
141
|
*/
|
|
@@ -153,16 +149,14 @@ export function useGetWorkflows<
|
|
|
153
149
|
request?: SecondParameter<typeof customInstance>;
|
|
154
150
|
},
|
|
155
151
|
queryClient?: QueryClient,
|
|
156
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
152
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
157
153
|
const queryOptions = getGetWorkflowsQueryOptions(options);
|
|
158
154
|
|
|
159
155
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
160
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
156
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
161
157
|
};
|
|
162
158
|
|
|
163
|
-
query
|
|
164
|
-
|
|
165
|
-
return query;
|
|
159
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
166
160
|
}
|
|
167
161
|
|
|
168
162
|
/**
|
|
@@ -195,7 +189,7 @@ export const getGetWorkflowsSuspenseQueryOptions = <
|
|
|
195
189
|
Awaited<ReturnType<typeof getWorkflows>>,
|
|
196
190
|
TError,
|
|
197
191
|
TData
|
|
198
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
192
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
199
193
|
};
|
|
200
194
|
|
|
201
195
|
export type GetWorkflowsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflows>>>;
|
|
@@ -212,7 +206,7 @@ export function useGetWorkflowsSuspense<
|
|
|
212
206
|
request?: SecondParameter<typeof customInstance>;
|
|
213
207
|
},
|
|
214
208
|
queryClient?: QueryClient,
|
|
215
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
209
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
216
210
|
export function useGetWorkflowsSuspense<
|
|
217
211
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
218
212
|
TError = ErrorType<void>,
|
|
@@ -224,7 +218,7 @@ export function useGetWorkflowsSuspense<
|
|
|
224
218
|
request?: SecondParameter<typeof customInstance>;
|
|
225
219
|
},
|
|
226
220
|
queryClient?: QueryClient,
|
|
227
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
221
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
228
222
|
export function useGetWorkflowsSuspense<
|
|
229
223
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
230
224
|
TError = ErrorType<void>,
|
|
@@ -236,7 +230,7 @@ export function useGetWorkflowsSuspense<
|
|
|
236
230
|
request?: SecondParameter<typeof customInstance>;
|
|
237
231
|
},
|
|
238
232
|
queryClient?: QueryClient,
|
|
239
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
233
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
240
234
|
/**
|
|
241
235
|
* @summary Get all Workflows available to you
|
|
242
236
|
*/
|
|
@@ -252,22 +246,19 @@ export function useGetWorkflowsSuspense<
|
|
|
252
246
|
request?: SecondParameter<typeof customInstance>;
|
|
253
247
|
},
|
|
254
248
|
queryClient?: QueryClient,
|
|
255
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
249
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
256
250
|
const queryOptions = getGetWorkflowsSuspenseQueryOptions(options);
|
|
257
251
|
|
|
258
252
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
259
253
|
TData,
|
|
260
254
|
TError
|
|
261
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
255
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
262
256
|
|
|
263
|
-
query
|
|
264
|
-
|
|
265
|
-
return query;
|
|
257
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
266
258
|
}
|
|
267
259
|
|
|
268
260
|
/**
|
|
269
261
|
* Creates a new workflow record.
|
|
270
|
-
|
|
271
262
|
* @summary Create a new Workflow
|
|
272
263
|
*/
|
|
273
264
|
export const createWorkflow = (
|
|
@@ -300,73 +291,128 @@ export const createWorkflow = (
|
|
|
300
291
|
);
|
|
301
292
|
};
|
|
302
293
|
|
|
303
|
-
export const
|
|
294
|
+
export const getCreateWorkflowQueryKey = (workflowPostBodyBody?: WorkflowPostBodyBody) => {
|
|
295
|
+
return ["data-manager", "POST", "workflow", workflowPostBodyBody] as const;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
export const getCreateWorkflowQueryOptions = <
|
|
299
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
304
300
|
TError = ErrorType<void>,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
request?: SecondParameter<typeof customInstance>;
|
|
314
|
-
}): UseMutationOptions<
|
|
315
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
316
|
-
TError,
|
|
317
|
-
{ data: WorkflowPostBodyBody },
|
|
318
|
-
TContext
|
|
319
|
-
> => {
|
|
320
|
-
const mutationKey = ["createWorkflow"];
|
|
321
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
322
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
323
|
-
? options
|
|
324
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
325
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
326
|
-
|
|
327
|
-
const mutationFn: MutationFunction<
|
|
328
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
329
|
-
{ data: WorkflowPostBodyBody }
|
|
330
|
-
> = (props) => {
|
|
331
|
-
const { data } = props ?? {};
|
|
301
|
+
>(
|
|
302
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
303
|
+
options?: {
|
|
304
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
305
|
+
request?: SecondParameter<typeof customInstance>;
|
|
306
|
+
},
|
|
307
|
+
) => {
|
|
308
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
332
309
|
|
|
333
|
-
|
|
334
|
-
|
|
310
|
+
const queryKey = queryOptions?.queryKey ?? getCreateWorkflowQueryKey(workflowPostBodyBody);
|
|
311
|
+
|
|
312
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createWorkflow>>> = ({ signal }) =>
|
|
313
|
+
createWorkflow(workflowPostBodyBody, requestOptions, signal);
|
|
335
314
|
|
|
336
|
-
return {
|
|
315
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
316
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
317
|
+
TError,
|
|
318
|
+
TData
|
|
319
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
337
320
|
};
|
|
338
321
|
|
|
339
|
-
export type
|
|
340
|
-
export type
|
|
341
|
-
export type CreateWorkflowMutationError = ErrorType<void>;
|
|
322
|
+
export type CreateWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof createWorkflow>>>;
|
|
323
|
+
export type CreateWorkflowQueryError = ErrorType<void>;
|
|
342
324
|
|
|
325
|
+
export function useCreateWorkflow<
|
|
326
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
327
|
+
TError = ErrorType<void>,
|
|
328
|
+
>(
|
|
329
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
330
|
+
options: {
|
|
331
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
332
|
+
Pick<
|
|
333
|
+
DefinedInitialDataOptions<
|
|
334
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
335
|
+
TError,
|
|
336
|
+
Awaited<ReturnType<typeof createWorkflow>>
|
|
337
|
+
>,
|
|
338
|
+
"initialData"
|
|
339
|
+
>;
|
|
340
|
+
request?: SecondParameter<typeof customInstance>;
|
|
341
|
+
},
|
|
342
|
+
queryClient?: QueryClient,
|
|
343
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
344
|
+
export function useCreateWorkflow<
|
|
345
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
346
|
+
TError = ErrorType<void>,
|
|
347
|
+
>(
|
|
348
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
349
|
+
options?: {
|
|
350
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
351
|
+
Pick<
|
|
352
|
+
UndefinedInitialDataOptions<
|
|
353
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
354
|
+
TError,
|
|
355
|
+
Awaited<ReturnType<typeof createWorkflow>>
|
|
356
|
+
>,
|
|
357
|
+
"initialData"
|
|
358
|
+
>;
|
|
359
|
+
request?: SecondParameter<typeof customInstance>;
|
|
360
|
+
},
|
|
361
|
+
queryClient?: QueryClient,
|
|
362
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
363
|
+
export function useCreateWorkflow<
|
|
364
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
365
|
+
TError = ErrorType<void>,
|
|
366
|
+
>(
|
|
367
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
368
|
+
options?: {
|
|
369
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
370
|
+
request?: SecondParameter<typeof customInstance>;
|
|
371
|
+
},
|
|
372
|
+
queryClient?: QueryClient,
|
|
373
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
343
374
|
/**
|
|
344
375
|
* @summary Create a new Workflow
|
|
345
376
|
*/
|
|
346
|
-
|
|
377
|
+
|
|
378
|
+
export function useCreateWorkflow<
|
|
379
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
380
|
+
TError = ErrorType<void>,
|
|
381
|
+
>(
|
|
382
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
347
383
|
options?: {
|
|
348
|
-
|
|
349
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
350
|
-
TError,
|
|
351
|
-
{ data: WorkflowPostBodyBody },
|
|
352
|
-
TContext
|
|
353
|
-
>;
|
|
384
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
354
385
|
request?: SecondParameter<typeof customInstance>;
|
|
355
386
|
},
|
|
356
387
|
queryClient?: QueryClient,
|
|
357
|
-
):
|
|
358
|
-
|
|
359
|
-
TError,
|
|
360
|
-
{ data: WorkflowPostBodyBody },
|
|
361
|
-
TContext
|
|
362
|
-
> => {
|
|
363
|
-
const mutationOptions = getCreateWorkflowMutationOptions(options);
|
|
388
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
389
|
+
const queryOptions = getCreateWorkflowQueryOptions(workflowPostBodyBody, options);
|
|
364
390
|
|
|
365
|
-
|
|
391
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
392
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* @summary Create a new Workflow
|
|
400
|
+
*/
|
|
401
|
+
export const invalidateCreateWorkflow = async (
|
|
402
|
+
queryClient: QueryClient,
|
|
403
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
404
|
+
options?: InvalidateOptions,
|
|
405
|
+
): Promise<QueryClient> => {
|
|
406
|
+
await queryClient.invalidateQueries(
|
|
407
|
+
{ queryKey: getCreateWorkflowQueryKey(workflowPostBodyBody) },
|
|
408
|
+
options,
|
|
409
|
+
);
|
|
410
|
+
|
|
411
|
+
return queryClient;
|
|
366
412
|
};
|
|
413
|
+
|
|
367
414
|
/**
|
|
368
415
|
* Get details of a specific Workflow available to you.
|
|
369
|
-
|
|
370
416
|
* @summary Get details of a specific Workflow
|
|
371
417
|
*/
|
|
372
418
|
export const getWorkflow = (
|
|
@@ -380,7 +426,7 @@ export const getWorkflow = (
|
|
|
380
426
|
);
|
|
381
427
|
};
|
|
382
428
|
|
|
383
|
-
export const getGetWorkflowQueryKey = (workflowId
|
|
429
|
+
export const getGetWorkflowQueryKey = (workflowId: string) => {
|
|
384
430
|
return ["data-manager", "workflow", workflowId] as const;
|
|
385
431
|
};
|
|
386
432
|
|
|
@@ -401,11 +447,14 @@ export const getGetWorkflowQueryOptions = <
|
|
|
401
447
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflow>>> = ({ signal }) =>
|
|
402
448
|
getWorkflow(workflowId, requestOptions, signal);
|
|
403
449
|
|
|
404
|
-
return {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
450
|
+
return {
|
|
451
|
+
queryKey,
|
|
452
|
+
queryFn,
|
|
453
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
454
|
+
...queryOptions,
|
|
455
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflow>>, TError, TData> & {
|
|
456
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
457
|
+
};
|
|
409
458
|
};
|
|
410
459
|
|
|
411
460
|
export type GetWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflow>>>;
|
|
@@ -429,7 +478,7 @@ export function useGetWorkflow<
|
|
|
429
478
|
request?: SecondParameter<typeof customInstance>;
|
|
430
479
|
},
|
|
431
480
|
queryClient?: QueryClient,
|
|
432
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
481
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
433
482
|
export function useGetWorkflow<
|
|
434
483
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
435
484
|
TError = ErrorType<void | DmError>,
|
|
@@ -448,7 +497,7 @@ export function useGetWorkflow<
|
|
|
448
497
|
request?: SecondParameter<typeof customInstance>;
|
|
449
498
|
},
|
|
450
499
|
queryClient?: QueryClient,
|
|
451
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
500
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
452
501
|
export function useGetWorkflow<
|
|
453
502
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
454
503
|
TError = ErrorType<void | DmError>,
|
|
@@ -459,7 +508,7 @@ export function useGetWorkflow<
|
|
|
459
508
|
request?: SecondParameter<typeof customInstance>;
|
|
460
509
|
},
|
|
461
510
|
queryClient?: QueryClient,
|
|
462
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
511
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
463
512
|
/**
|
|
464
513
|
* @summary Get details of a specific Workflow
|
|
465
514
|
*/
|
|
@@ -474,16 +523,14 @@ export function useGetWorkflow<
|
|
|
474
523
|
request?: SecondParameter<typeof customInstance>;
|
|
475
524
|
},
|
|
476
525
|
queryClient?: QueryClient,
|
|
477
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
526
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
478
527
|
const queryOptions = getGetWorkflowQueryOptions(workflowId, options);
|
|
479
528
|
|
|
480
529
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
481
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
530
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
482
531
|
};
|
|
483
532
|
|
|
484
|
-
query
|
|
485
|
-
|
|
486
|
-
return query;
|
|
533
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
487
534
|
}
|
|
488
535
|
|
|
489
536
|
/**
|
|
@@ -522,7 +569,7 @@ export const getGetWorkflowSuspenseQueryOptions = <
|
|
|
522
569
|
Awaited<ReturnType<typeof getWorkflow>>,
|
|
523
570
|
TError,
|
|
524
571
|
TData
|
|
525
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
572
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
526
573
|
};
|
|
527
574
|
|
|
528
575
|
export type GetWorkflowSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflow>>>;
|
|
@@ -538,7 +585,7 @@ export function useGetWorkflowSuspense<
|
|
|
538
585
|
request?: SecondParameter<typeof customInstance>;
|
|
539
586
|
},
|
|
540
587
|
queryClient?: QueryClient,
|
|
541
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
588
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
542
589
|
export function useGetWorkflowSuspense<
|
|
543
590
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
544
591
|
TError = ErrorType<void | DmError>,
|
|
@@ -551,7 +598,7 @@ export function useGetWorkflowSuspense<
|
|
|
551
598
|
request?: SecondParameter<typeof customInstance>;
|
|
552
599
|
},
|
|
553
600
|
queryClient?: QueryClient,
|
|
554
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
601
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
555
602
|
export function useGetWorkflowSuspense<
|
|
556
603
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
557
604
|
TError = ErrorType<void | DmError>,
|
|
@@ -564,7 +611,7 @@ export function useGetWorkflowSuspense<
|
|
|
564
611
|
request?: SecondParameter<typeof customInstance>;
|
|
565
612
|
},
|
|
566
613
|
queryClient?: QueryClient,
|
|
567
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
614
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
568
615
|
/**
|
|
569
616
|
* @summary Get details of a specific Workflow
|
|
570
617
|
*/
|
|
@@ -581,108 +628,165 @@ export function useGetWorkflowSuspense<
|
|
|
581
628
|
request?: SecondParameter<typeof customInstance>;
|
|
582
629
|
},
|
|
583
630
|
queryClient?: QueryClient,
|
|
584
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
631
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
585
632
|
const queryOptions = getGetWorkflowSuspenseQueryOptions(workflowId, options);
|
|
586
633
|
|
|
587
634
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
588
635
|
TData,
|
|
589
636
|
TError
|
|
590
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
637
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
591
638
|
|
|
592
|
-
query
|
|
593
|
-
|
|
594
|
-
return query;
|
|
639
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
595
640
|
}
|
|
596
641
|
|
|
597
642
|
/**
|
|
598
643
|
* The Workflow is deleted.
|
|
599
|
-
|
|
600
|
-
You cannot delete a Workflow if it is the _source_ of a versioned workflow.
|
|
601
|
-
|
|
644
|
+
*
|
|
645
|
+
* You cannot delete a Workflow if it is the _source_ of a versioned workflow.
|
|
602
646
|
* @summary Delete a Workflow
|
|
603
647
|
*/
|
|
604
648
|
export const deleteWorkflow = (
|
|
605
649
|
workflowId: string,
|
|
606
650
|
options?: SecondParameter<typeof customInstance>,
|
|
651
|
+
signal?: AbortSignal,
|
|
607
652
|
) => {
|
|
608
|
-
return customInstance<void>(
|
|
653
|
+
return customInstance<void>(
|
|
654
|
+
{ url: `/workflow/${workflowId}`, method: "DELETE", signal },
|
|
655
|
+
options,
|
|
656
|
+
);
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
export const getDeleteWorkflowQueryKey = (workflowId: string) => {
|
|
660
|
+
return ["data-manager", "DELETE", "workflow", workflowId] as const;
|
|
609
661
|
};
|
|
610
662
|
|
|
611
|
-
export const
|
|
663
|
+
export const getDeleteWorkflowQueryOptions = <
|
|
664
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
612
665
|
TError = ErrorType<void | DmError>,
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
request?: SecondParameter<typeof customInstance>;
|
|
622
|
-
}): UseMutationOptions<
|
|
623
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
624
|
-
TError,
|
|
625
|
-
{ workflowId: string },
|
|
626
|
-
TContext
|
|
627
|
-
> => {
|
|
628
|
-
const mutationKey = ["deleteWorkflow"];
|
|
629
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
630
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
631
|
-
? options
|
|
632
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
633
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
634
|
-
|
|
635
|
-
const mutationFn: MutationFunction<
|
|
636
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
637
|
-
{ workflowId: string }
|
|
638
|
-
> = (props) => {
|
|
639
|
-
const { workflowId } = props ?? {};
|
|
640
|
-
|
|
641
|
-
return deleteWorkflow(workflowId, requestOptions);
|
|
642
|
-
};
|
|
666
|
+
>(
|
|
667
|
+
workflowId: string,
|
|
668
|
+
options?: {
|
|
669
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
670
|
+
request?: SecondParameter<typeof customInstance>;
|
|
671
|
+
},
|
|
672
|
+
) => {
|
|
673
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
643
674
|
|
|
644
|
-
|
|
645
|
-
|
|
675
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteWorkflowQueryKey(workflowId);
|
|
676
|
+
|
|
677
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteWorkflow>>> = ({ signal }) =>
|
|
678
|
+
deleteWorkflow(workflowId, requestOptions, signal);
|
|
646
679
|
|
|
647
|
-
|
|
680
|
+
return {
|
|
681
|
+
queryKey,
|
|
682
|
+
queryFn,
|
|
683
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
684
|
+
...queryOptions,
|
|
685
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData> & {
|
|
686
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
648
689
|
|
|
649
|
-
export type
|
|
690
|
+
export type DeleteWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof deleteWorkflow>>>;
|
|
691
|
+
export type DeleteWorkflowQueryError = ErrorType<void | DmError>;
|
|
650
692
|
|
|
693
|
+
export function useDeleteWorkflow<
|
|
694
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
695
|
+
TError = ErrorType<void | DmError>,
|
|
696
|
+
>(
|
|
697
|
+
workflowId: string,
|
|
698
|
+
options: {
|
|
699
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
700
|
+
Pick<
|
|
701
|
+
DefinedInitialDataOptions<
|
|
702
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
703
|
+
TError,
|
|
704
|
+
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
705
|
+
>,
|
|
706
|
+
"initialData"
|
|
707
|
+
>;
|
|
708
|
+
request?: SecondParameter<typeof customInstance>;
|
|
709
|
+
},
|
|
710
|
+
queryClient?: QueryClient,
|
|
711
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
712
|
+
export function useDeleteWorkflow<
|
|
713
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
714
|
+
TError = ErrorType<void | DmError>,
|
|
715
|
+
>(
|
|
716
|
+
workflowId: string,
|
|
717
|
+
options?: {
|
|
718
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
719
|
+
Pick<
|
|
720
|
+
UndefinedInitialDataOptions<
|
|
721
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
722
|
+
TError,
|
|
723
|
+
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
724
|
+
>,
|
|
725
|
+
"initialData"
|
|
726
|
+
>;
|
|
727
|
+
request?: SecondParameter<typeof customInstance>;
|
|
728
|
+
},
|
|
729
|
+
queryClient?: QueryClient,
|
|
730
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
731
|
+
export function useDeleteWorkflow<
|
|
732
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
733
|
+
TError = ErrorType<void | DmError>,
|
|
734
|
+
>(
|
|
735
|
+
workflowId: string,
|
|
736
|
+
options?: {
|
|
737
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
738
|
+
request?: SecondParameter<typeof customInstance>;
|
|
739
|
+
},
|
|
740
|
+
queryClient?: QueryClient,
|
|
741
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
651
742
|
/**
|
|
652
743
|
* @summary Delete a Workflow
|
|
653
744
|
*/
|
|
654
|
-
|
|
745
|
+
|
|
746
|
+
export function useDeleteWorkflow<
|
|
747
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
748
|
+
TError = ErrorType<void | DmError>,
|
|
749
|
+
>(
|
|
750
|
+
workflowId: string,
|
|
655
751
|
options?: {
|
|
656
|
-
|
|
657
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
658
|
-
TError,
|
|
659
|
-
{ workflowId: string },
|
|
660
|
-
TContext
|
|
661
|
-
>;
|
|
752
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
662
753
|
request?: SecondParameter<typeof customInstance>;
|
|
663
754
|
},
|
|
664
755
|
queryClient?: QueryClient,
|
|
665
|
-
):
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
756
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
757
|
+
const queryOptions = getDeleteWorkflowQueryOptions(workflowId, options);
|
|
758
|
+
|
|
759
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
760
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
764
|
+
}
|
|
672
765
|
|
|
673
|
-
return useMutation(mutationOptions, queryClient);
|
|
674
|
-
};
|
|
675
766
|
/**
|
|
676
|
-
*
|
|
767
|
+
* @summary Delete a Workflow
|
|
768
|
+
*/
|
|
769
|
+
export const invalidateDeleteWorkflow = async (
|
|
770
|
+
queryClient: QueryClient,
|
|
771
|
+
workflowId: string,
|
|
772
|
+
options?: InvalidateOptions,
|
|
773
|
+
): Promise<QueryClient> => {
|
|
774
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteWorkflowQueryKey(workflowId) }, options);
|
|
677
775
|
|
|
678
|
-
|
|
776
|
+
return queryClient;
|
|
777
|
+
};
|
|
679
778
|
|
|
779
|
+
/**
|
|
780
|
+
* The Workflow is updated according to the patch parameters.
|
|
781
|
+
*
|
|
782
|
+
* In **PRODUCTION** mode you cannot alter a Workflow that has been versioned. In **DEVELOPMENT** mode you cannot alter a Workflow that is the source of Running Workflow that is running.
|
|
680
783
|
* @summary Update a Workflow
|
|
681
784
|
*/
|
|
682
785
|
export const updateWorkflow = (
|
|
683
786
|
workflowId: string,
|
|
684
787
|
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
685
788
|
options?: SecondParameter<typeof customInstance>,
|
|
789
|
+
signal?: AbortSignal,
|
|
686
790
|
) => {
|
|
687
791
|
const formData = new FormData();
|
|
688
792
|
if (workflowPatchBodyBody.name !== undefined) {
|
|
@@ -701,78 +805,147 @@ export const updateWorkflow = (
|
|
|
701
805
|
method: "PATCH",
|
|
702
806
|
headers: { "Content-Type": "multipart/form-data" },
|
|
703
807
|
data: formData,
|
|
808
|
+
signal,
|
|
704
809
|
},
|
|
705
810
|
options,
|
|
706
811
|
);
|
|
707
812
|
};
|
|
708
813
|
|
|
709
|
-
export const
|
|
814
|
+
export const getUpdateWorkflowQueryKey = (
|
|
815
|
+
workflowId: string,
|
|
816
|
+
workflowPatchBodyBody?: WorkflowPatchBodyBody,
|
|
817
|
+
) => {
|
|
818
|
+
return ["data-manager", "PATCH", "workflow", workflowId, workflowPatchBodyBody] as const;
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
export const getUpdateWorkflowQueryOptions = <
|
|
822
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
710
823
|
TError = ErrorType<void | DmError>,
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
TError,
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
request
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
724
|
-
TContext
|
|
725
|
-
> => {
|
|
726
|
-
const mutationKey = ["updateWorkflow"];
|
|
727
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
728
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
729
|
-
? options
|
|
730
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
731
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
732
|
-
|
|
733
|
-
const mutationFn: MutationFunction<
|
|
734
|
-
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
735
|
-
{ workflowId: string; data: WorkflowPatchBodyBody }
|
|
736
|
-
> = (props) => {
|
|
737
|
-
const { workflowId, data } = props ?? {};
|
|
738
|
-
|
|
739
|
-
return updateWorkflow(workflowId, data, requestOptions);
|
|
740
|
-
};
|
|
824
|
+
>(
|
|
825
|
+
workflowId: string,
|
|
826
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
827
|
+
options?: {
|
|
828
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
829
|
+
request?: SecondParameter<typeof customInstance>;
|
|
830
|
+
},
|
|
831
|
+
) => {
|
|
832
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
833
|
+
|
|
834
|
+
const queryKey =
|
|
835
|
+
queryOptions?.queryKey ?? getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody);
|
|
741
836
|
|
|
742
|
-
|
|
837
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof updateWorkflow>>> = ({ signal }) =>
|
|
838
|
+
updateWorkflow(workflowId, workflowPatchBodyBody, requestOptions, signal);
|
|
839
|
+
|
|
840
|
+
return {
|
|
841
|
+
queryKey,
|
|
842
|
+
queryFn,
|
|
843
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
844
|
+
...queryOptions,
|
|
845
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData> & {
|
|
846
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
847
|
+
};
|
|
743
848
|
};
|
|
744
849
|
|
|
745
|
-
export type
|
|
746
|
-
export type
|
|
747
|
-
export type UpdateWorkflowMutationError = ErrorType<void | DmError>;
|
|
850
|
+
export type UpdateWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof updateWorkflow>>>;
|
|
851
|
+
export type UpdateWorkflowQueryError = ErrorType<void | DmError>;
|
|
748
852
|
|
|
853
|
+
export function useUpdateWorkflow<
|
|
854
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
855
|
+
TError = ErrorType<void | DmError>,
|
|
856
|
+
>(
|
|
857
|
+
workflowId: string,
|
|
858
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
859
|
+
options: {
|
|
860
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>> &
|
|
861
|
+
Pick<
|
|
862
|
+
DefinedInitialDataOptions<
|
|
863
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
864
|
+
TError,
|
|
865
|
+
Awaited<ReturnType<typeof updateWorkflow>>
|
|
866
|
+
>,
|
|
867
|
+
"initialData"
|
|
868
|
+
>;
|
|
869
|
+
request?: SecondParameter<typeof customInstance>;
|
|
870
|
+
},
|
|
871
|
+
queryClient?: QueryClient,
|
|
872
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
873
|
+
export function useUpdateWorkflow<
|
|
874
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
875
|
+
TError = ErrorType<void | DmError>,
|
|
876
|
+
>(
|
|
877
|
+
workflowId: string,
|
|
878
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
879
|
+
options?: {
|
|
880
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>> &
|
|
881
|
+
Pick<
|
|
882
|
+
UndefinedInitialDataOptions<
|
|
883
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
884
|
+
TError,
|
|
885
|
+
Awaited<ReturnType<typeof updateWorkflow>>
|
|
886
|
+
>,
|
|
887
|
+
"initialData"
|
|
888
|
+
>;
|
|
889
|
+
request?: SecondParameter<typeof customInstance>;
|
|
890
|
+
},
|
|
891
|
+
queryClient?: QueryClient,
|
|
892
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
893
|
+
export function useUpdateWorkflow<
|
|
894
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
895
|
+
TError = ErrorType<void | DmError>,
|
|
896
|
+
>(
|
|
897
|
+
workflowId: string,
|
|
898
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
899
|
+
options?: {
|
|
900
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
901
|
+
request?: SecondParameter<typeof customInstance>;
|
|
902
|
+
},
|
|
903
|
+
queryClient?: QueryClient,
|
|
904
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
749
905
|
/**
|
|
750
906
|
* @summary Update a Workflow
|
|
751
907
|
*/
|
|
752
|
-
|
|
908
|
+
|
|
909
|
+
export function useUpdateWorkflow<
|
|
910
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
911
|
+
TError = ErrorType<void | DmError>,
|
|
912
|
+
>(
|
|
913
|
+
workflowId: string,
|
|
914
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
753
915
|
options?: {
|
|
754
|
-
|
|
755
|
-
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
756
|
-
TError,
|
|
757
|
-
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
758
|
-
TContext
|
|
759
|
-
>;
|
|
916
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
760
917
|
request?: SecondParameter<typeof customInstance>;
|
|
761
918
|
},
|
|
762
919
|
queryClient?: QueryClient,
|
|
763
|
-
):
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
920
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
921
|
+
const queryOptions = getUpdateWorkflowQueryOptions(workflowId, workflowPatchBodyBody, options);
|
|
922
|
+
|
|
923
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
924
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* @summary Update a Workflow
|
|
932
|
+
*/
|
|
933
|
+
export const invalidateUpdateWorkflow = async (
|
|
934
|
+
queryClient: QueryClient,
|
|
935
|
+
workflowId: string,
|
|
936
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
937
|
+
options?: InvalidateOptions,
|
|
938
|
+
): Promise<QueryClient> => {
|
|
939
|
+
await queryClient.invalidateQueries(
|
|
940
|
+
{ queryKey: getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody) },
|
|
941
|
+
options,
|
|
942
|
+
);
|
|
770
943
|
|
|
771
|
-
return
|
|
944
|
+
return queryClient;
|
|
772
945
|
};
|
|
946
|
+
|
|
773
947
|
/**
|
|
774
948
|
* Due to its potential size and complexity the definition is not returned with the Workflow. Instead, to retrieve the definition you need to call this endpoint. A string-encoded YAML document is returned.
|
|
775
|
-
|
|
776
949
|
* @summary Gets the full definition of a Workflow
|
|
777
950
|
*/
|
|
778
951
|
export const getWorkflowDefinition = (
|
|
@@ -786,7 +959,7 @@ export const getWorkflowDefinition = (
|
|
|
786
959
|
);
|
|
787
960
|
};
|
|
788
961
|
|
|
789
|
-
export const getGetWorkflowDefinitionQueryKey = (workflowId
|
|
962
|
+
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
790
963
|
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
791
964
|
};
|
|
792
965
|
|
|
@@ -809,11 +982,14 @@ export const getGetWorkflowDefinitionQueryOptions = <
|
|
|
809
982
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
810
983
|
getWorkflowDefinition(workflowId, requestOptions, signal);
|
|
811
984
|
|
|
812
|
-
return {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
985
|
+
return {
|
|
986
|
+
queryKey,
|
|
987
|
+
queryFn,
|
|
988
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
989
|
+
...queryOptions,
|
|
990
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
991
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
992
|
+
};
|
|
817
993
|
};
|
|
818
994
|
|
|
819
995
|
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
@@ -841,7 +1017,7 @@ export function useGetWorkflowDefinition<
|
|
|
841
1017
|
request?: SecondParameter<typeof customInstance>;
|
|
842
1018
|
},
|
|
843
1019
|
queryClient?: QueryClient,
|
|
844
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1020
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
845
1021
|
export function useGetWorkflowDefinition<
|
|
846
1022
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
847
1023
|
TError = ErrorType<void | DmError>,
|
|
@@ -862,7 +1038,7 @@ export function useGetWorkflowDefinition<
|
|
|
862
1038
|
request?: SecondParameter<typeof customInstance>;
|
|
863
1039
|
},
|
|
864
1040
|
queryClient?: QueryClient,
|
|
865
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1041
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
866
1042
|
export function useGetWorkflowDefinition<
|
|
867
1043
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
868
1044
|
TError = ErrorType<void | DmError>,
|
|
@@ -875,7 +1051,7 @@ export function useGetWorkflowDefinition<
|
|
|
875
1051
|
request?: SecondParameter<typeof customInstance>;
|
|
876
1052
|
},
|
|
877
1053
|
queryClient?: QueryClient,
|
|
878
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1054
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
879
1055
|
/**
|
|
880
1056
|
* @summary Gets the full definition of a Workflow
|
|
881
1057
|
*/
|
|
@@ -892,16 +1068,14 @@ export function useGetWorkflowDefinition<
|
|
|
892
1068
|
request?: SecondParameter<typeof customInstance>;
|
|
893
1069
|
},
|
|
894
1070
|
queryClient?: QueryClient,
|
|
895
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1071
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
896
1072
|
const queryOptions = getGetWorkflowDefinitionQueryOptions(workflowId, options);
|
|
897
1073
|
|
|
898
1074
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
899
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1075
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
900
1076
|
};
|
|
901
1077
|
|
|
902
|
-
query
|
|
903
|
-
|
|
904
|
-
return query;
|
|
1078
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
905
1079
|
}
|
|
906
1080
|
|
|
907
1081
|
/**
|
|
@@ -943,7 +1117,7 @@ export const getGetWorkflowDefinitionSuspenseQueryOptions = <
|
|
|
943
1117
|
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
944
1118
|
TError,
|
|
945
1119
|
TData
|
|
946
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1120
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
947
1121
|
};
|
|
948
1122
|
|
|
949
1123
|
export type GetWorkflowDefinitionSuspenseQueryResult = NonNullable<
|
|
@@ -963,7 +1137,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
963
1137
|
request?: SecondParameter<typeof customInstance>;
|
|
964
1138
|
},
|
|
965
1139
|
queryClient?: QueryClient,
|
|
966
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1140
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
967
1141
|
export function useGetWorkflowDefinitionSuspense<
|
|
968
1142
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
969
1143
|
TError = ErrorType<void | DmError>,
|
|
@@ -976,7 +1150,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
976
1150
|
request?: SecondParameter<typeof customInstance>;
|
|
977
1151
|
},
|
|
978
1152
|
queryClient?: QueryClient,
|
|
979
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1153
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
980
1154
|
export function useGetWorkflowDefinitionSuspense<
|
|
981
1155
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
982
1156
|
TError = ErrorType<void | DmError>,
|
|
@@ -989,7 +1163,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
989
1163
|
request?: SecondParameter<typeof customInstance>;
|
|
990
1164
|
},
|
|
991
1165
|
queryClient?: QueryClient,
|
|
992
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1166
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
993
1167
|
/**
|
|
994
1168
|
* @summary Gets the full definition of a Workflow
|
|
995
1169
|
*/
|
|
@@ -1006,22 +1180,19 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1006
1180
|
request?: SecondParameter<typeof customInstance>;
|
|
1007
1181
|
},
|
|
1008
1182
|
queryClient?: QueryClient,
|
|
1009
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1183
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1010
1184
|
const queryOptions = getGetWorkflowDefinitionSuspenseQueryOptions(workflowId, options);
|
|
1011
1185
|
|
|
1012
1186
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1013
1187
|
TData,
|
|
1014
1188
|
TError
|
|
1015
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1016
|
-
|
|
1017
|
-
query.queryKey = queryOptions.queryKey;
|
|
1189
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1018
1190
|
|
|
1019
|
-
return query;
|
|
1191
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1020
1192
|
}
|
|
1021
1193
|
|
|
1022
1194
|
/**
|
|
1023
1195
|
* Runs a Workflow.
|
|
1024
|
-
|
|
1025
1196
|
* @summary Run a Workflow
|
|
1026
1197
|
*/
|
|
1027
1198
|
export const runWorkflow = (
|
|
@@ -1052,81 +1223,150 @@ export const runWorkflow = (
|
|
|
1052
1223
|
);
|
|
1053
1224
|
};
|
|
1054
1225
|
|
|
1055
|
-
export const
|
|
1226
|
+
export const getRunWorkflowQueryKey = (
|
|
1227
|
+
workflowId: string,
|
|
1228
|
+
workflowRunPostBodyBody?: WorkflowRunPostBodyBody,
|
|
1229
|
+
) => {
|
|
1230
|
+
return ["data-manager", "POST", "workflow", workflowId, "run", workflowRunPostBodyBody] as const;
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
export const getRunWorkflowQueryOptions = <
|
|
1234
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1056
1235
|
TError = ErrorType<void | DmError>,
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
TError,
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
request
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1070
|
-
TContext
|
|
1071
|
-
> => {
|
|
1072
|
-
const mutationKey = ["runWorkflow"];
|
|
1073
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1074
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1075
|
-
? options
|
|
1076
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1077
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1078
|
-
|
|
1079
|
-
const mutationFn: MutationFunction<
|
|
1080
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1081
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody }
|
|
1082
|
-
> = (props) => {
|
|
1083
|
-
const { workflowId, data } = props ?? {};
|
|
1084
|
-
|
|
1085
|
-
return runWorkflow(workflowId, data, requestOptions);
|
|
1086
|
-
};
|
|
1236
|
+
>(
|
|
1237
|
+
workflowId: string,
|
|
1238
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1239
|
+
options?: {
|
|
1240
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1241
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1242
|
+
},
|
|
1243
|
+
) => {
|
|
1244
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1245
|
+
|
|
1246
|
+
const queryKey =
|
|
1247
|
+
queryOptions?.queryKey ?? getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody);
|
|
1087
1248
|
|
|
1088
|
-
|
|
1249
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof runWorkflow>>> = ({ signal }) =>
|
|
1250
|
+
runWorkflow(workflowId, workflowRunPostBodyBody, requestOptions, signal);
|
|
1251
|
+
|
|
1252
|
+
return {
|
|
1253
|
+
queryKey,
|
|
1254
|
+
queryFn,
|
|
1255
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
1256
|
+
...queryOptions,
|
|
1257
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData> & {
|
|
1258
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1259
|
+
};
|
|
1089
1260
|
};
|
|
1090
1261
|
|
|
1091
|
-
export type
|
|
1092
|
-
export type
|
|
1093
|
-
export type RunWorkflowMutationError = ErrorType<void | DmError>;
|
|
1262
|
+
export type RunWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof runWorkflow>>>;
|
|
1263
|
+
export type RunWorkflowQueryError = ErrorType<void | DmError>;
|
|
1094
1264
|
|
|
1265
|
+
export function useRunWorkflow<
|
|
1266
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1267
|
+
TError = ErrorType<void | DmError>,
|
|
1268
|
+
>(
|
|
1269
|
+
workflowId: string,
|
|
1270
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1271
|
+
options: {
|
|
1272
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1273
|
+
Pick<
|
|
1274
|
+
DefinedInitialDataOptions<
|
|
1275
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1276
|
+
TError,
|
|
1277
|
+
Awaited<ReturnType<typeof runWorkflow>>
|
|
1278
|
+
>,
|
|
1279
|
+
"initialData"
|
|
1280
|
+
>;
|
|
1281
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1282
|
+
},
|
|
1283
|
+
queryClient?: QueryClient,
|
|
1284
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1285
|
+
export function useRunWorkflow<
|
|
1286
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1287
|
+
TError = ErrorType<void | DmError>,
|
|
1288
|
+
>(
|
|
1289
|
+
workflowId: string,
|
|
1290
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1291
|
+
options?: {
|
|
1292
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1293
|
+
Pick<
|
|
1294
|
+
UndefinedInitialDataOptions<
|
|
1295
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1296
|
+
TError,
|
|
1297
|
+
Awaited<ReturnType<typeof runWorkflow>>
|
|
1298
|
+
>,
|
|
1299
|
+
"initialData"
|
|
1300
|
+
>;
|
|
1301
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1302
|
+
},
|
|
1303
|
+
queryClient?: QueryClient,
|
|
1304
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1305
|
+
export function useRunWorkflow<
|
|
1306
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1307
|
+
TError = ErrorType<void | DmError>,
|
|
1308
|
+
>(
|
|
1309
|
+
workflowId: string,
|
|
1310
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1311
|
+
options?: {
|
|
1312
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1313
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1314
|
+
},
|
|
1315
|
+
queryClient?: QueryClient,
|
|
1316
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1095
1317
|
/**
|
|
1096
1318
|
* @summary Run a Workflow
|
|
1097
1319
|
*/
|
|
1098
|
-
|
|
1320
|
+
|
|
1321
|
+
export function useRunWorkflow<
|
|
1322
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1323
|
+
TError = ErrorType<void | DmError>,
|
|
1324
|
+
>(
|
|
1325
|
+
workflowId: string,
|
|
1326
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1099
1327
|
options?: {
|
|
1100
|
-
|
|
1101
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1102
|
-
TError,
|
|
1103
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1104
|
-
TContext
|
|
1105
|
-
>;
|
|
1328
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1106
1329
|
request?: SecondParameter<typeof customInstance>;
|
|
1107
1330
|
},
|
|
1108
1331
|
queryClient?: QueryClient,
|
|
1109
|
-
):
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1332
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1333
|
+
const queryOptions = getRunWorkflowQueryOptions(workflowId, workflowRunPostBodyBody, options);
|
|
1334
|
+
|
|
1335
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1336
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1337
|
+
};
|
|
1338
|
+
|
|
1339
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1340
|
+
}
|
|
1116
1341
|
|
|
1117
|
-
return useMutation(mutationOptions, queryClient);
|
|
1118
|
-
};
|
|
1119
1342
|
/**
|
|
1120
|
-
*
|
|
1343
|
+
* @summary Run a Workflow
|
|
1344
|
+
*/
|
|
1345
|
+
export const invalidateRunWorkflow = async (
|
|
1346
|
+
queryClient: QueryClient,
|
|
1347
|
+
workflowId: string,
|
|
1348
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1349
|
+
options?: InvalidateOptions,
|
|
1350
|
+
): Promise<QueryClient> => {
|
|
1351
|
+
await queryClient.invalidateQueries(
|
|
1352
|
+
{ queryKey: getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody) },
|
|
1353
|
+
options,
|
|
1354
|
+
);
|
|
1121
1355
|
|
|
1122
|
-
|
|
1356
|
+
return queryClient;
|
|
1357
|
+
};
|
|
1123
1358
|
|
|
1359
|
+
/**
|
|
1360
|
+
* The Workflow is first copied, leaving the original. The version (a string) is then applied to the copy of the Workflow, the `source_id` of the copy is set to the Workflow being copied, and the new Workflow ID is returned.
|
|
1361
|
+
*
|
|
1362
|
+
* When you apply a version to a Workflow you are making a commitment not to alter it. If you want to change the workflow you will need to return to the `source`, Workflow, modify that and then version it again.
|
|
1124
1363
|
* @summary Applied a version to the Workflow
|
|
1125
1364
|
*/
|
|
1126
1365
|
export const versionWorkflow = (
|
|
1127
1366
|
workflowId: string,
|
|
1128
1367
|
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1129
1368
|
options?: SecondParameter<typeof customInstance>,
|
|
1369
|
+
signal?: AbortSignal,
|
|
1130
1370
|
) => {
|
|
1131
1371
|
const formUrlEncoded = new URLSearchParams();
|
|
1132
1372
|
formUrlEncoded.append(`version`, workflowVersionPutBodyBody.version);
|
|
@@ -1137,82 +1377,160 @@ export const versionWorkflow = (
|
|
|
1137
1377
|
method: "PUT",
|
|
1138
1378
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
1139
1379
|
data: formUrlEncoded,
|
|
1380
|
+
signal,
|
|
1140
1381
|
},
|
|
1141
1382
|
options,
|
|
1142
1383
|
);
|
|
1143
1384
|
};
|
|
1144
1385
|
|
|
1145
|
-
export const
|
|
1386
|
+
export const getVersionWorkflowQueryKey = (
|
|
1387
|
+
workflowId: string,
|
|
1388
|
+
workflowVersionPutBodyBody?: WorkflowVersionPutBodyBody,
|
|
1389
|
+
) => {
|
|
1390
|
+
return [
|
|
1391
|
+
"data-manager",
|
|
1392
|
+
"PUT",
|
|
1393
|
+
"workflow",
|
|
1394
|
+
workflowId,
|
|
1395
|
+
"version",
|
|
1396
|
+
workflowVersionPutBodyBody,
|
|
1397
|
+
] as const;
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
export const getVersionWorkflowQueryOptions = <
|
|
1401
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1146
1402
|
TError = ErrorType<void | DmError>,
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
TError,
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
request
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
const mutationKey = ["versionWorkflow"];
|
|
1163
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1164
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1165
|
-
? options
|
|
1166
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1167
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1168
|
-
|
|
1169
|
-
const mutationFn: MutationFunction<
|
|
1170
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1171
|
-
{ workflowId: string; data: WorkflowVersionPutBodyBody }
|
|
1172
|
-
> = (props) => {
|
|
1173
|
-
const { workflowId, data } = props ?? {};
|
|
1174
|
-
|
|
1175
|
-
return versionWorkflow(workflowId, data, requestOptions);
|
|
1176
|
-
};
|
|
1403
|
+
>(
|
|
1404
|
+
workflowId: string,
|
|
1405
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1406
|
+
options?: {
|
|
1407
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1408
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1409
|
+
},
|
|
1410
|
+
) => {
|
|
1411
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1412
|
+
|
|
1413
|
+
const queryKey =
|
|
1414
|
+
queryOptions?.queryKey ?? getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody);
|
|
1415
|
+
|
|
1416
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof versionWorkflow>>> = ({ signal }) =>
|
|
1417
|
+
versionWorkflow(workflowId, workflowVersionPutBodyBody, requestOptions, signal);
|
|
1177
1418
|
|
|
1178
|
-
return {
|
|
1419
|
+
return {
|
|
1420
|
+
queryKey,
|
|
1421
|
+
queryFn,
|
|
1422
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
1423
|
+
...queryOptions,
|
|
1424
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData> & {
|
|
1425
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1426
|
+
};
|
|
1179
1427
|
};
|
|
1180
1428
|
|
|
1181
|
-
export type
|
|
1182
|
-
|
|
1183
|
-
>;
|
|
1184
|
-
export type VersionWorkflowMutationBody = WorkflowVersionPutBodyBody;
|
|
1185
|
-
export type VersionWorkflowMutationError = ErrorType<void | DmError>;
|
|
1429
|
+
export type VersionWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof versionWorkflow>>>;
|
|
1430
|
+
export type VersionWorkflowQueryError = ErrorType<void | DmError>;
|
|
1186
1431
|
|
|
1432
|
+
export function useVersionWorkflow<
|
|
1433
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1434
|
+
TError = ErrorType<void | DmError>,
|
|
1435
|
+
>(
|
|
1436
|
+
workflowId: string,
|
|
1437
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1438
|
+
options: {
|
|
1439
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1440
|
+
Pick<
|
|
1441
|
+
DefinedInitialDataOptions<
|
|
1442
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1443
|
+
TError,
|
|
1444
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1445
|
+
>,
|
|
1446
|
+
"initialData"
|
|
1447
|
+
>;
|
|
1448
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1449
|
+
},
|
|
1450
|
+
queryClient?: QueryClient,
|
|
1451
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1452
|
+
export function useVersionWorkflow<
|
|
1453
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1454
|
+
TError = ErrorType<void | DmError>,
|
|
1455
|
+
>(
|
|
1456
|
+
workflowId: string,
|
|
1457
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1458
|
+
options?: {
|
|
1459
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1460
|
+
Pick<
|
|
1461
|
+
UndefinedInitialDataOptions<
|
|
1462
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1463
|
+
TError,
|
|
1464
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1465
|
+
>,
|
|
1466
|
+
"initialData"
|
|
1467
|
+
>;
|
|
1468
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1469
|
+
},
|
|
1470
|
+
queryClient?: QueryClient,
|
|
1471
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1472
|
+
export function useVersionWorkflow<
|
|
1473
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1474
|
+
TError = ErrorType<void | DmError>,
|
|
1475
|
+
>(
|
|
1476
|
+
workflowId: string,
|
|
1477
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1478
|
+
options?: {
|
|
1479
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1480
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1481
|
+
},
|
|
1482
|
+
queryClient?: QueryClient,
|
|
1483
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1187
1484
|
/**
|
|
1188
1485
|
* @summary Applied a version to the Workflow
|
|
1189
1486
|
*/
|
|
1190
|
-
|
|
1487
|
+
|
|
1488
|
+
export function useVersionWorkflow<
|
|
1489
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1490
|
+
TError = ErrorType<void | DmError>,
|
|
1491
|
+
>(
|
|
1492
|
+
workflowId: string,
|
|
1493
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1191
1494
|
options?: {
|
|
1192
|
-
|
|
1193
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1194
|
-
TError,
|
|
1195
|
-
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1196
|
-
TContext
|
|
1197
|
-
>;
|
|
1495
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1198
1496
|
request?: SecondParameter<typeof customInstance>;
|
|
1199
1497
|
},
|
|
1200
1498
|
queryClient?: QueryClient,
|
|
1201
|
-
):
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1499
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1500
|
+
const queryOptions = getVersionWorkflowQueryOptions(
|
|
1501
|
+
workflowId,
|
|
1502
|
+
workflowVersionPutBodyBody,
|
|
1503
|
+
options,
|
|
1504
|
+
);
|
|
1505
|
+
|
|
1506
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1507
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1511
|
+
}
|
|
1208
1512
|
|
|
1209
|
-
return useMutation(mutationOptions, queryClient);
|
|
1210
|
-
};
|
|
1211
1513
|
/**
|
|
1212
|
-
*
|
|
1514
|
+
* @summary Applied a version to the Workflow
|
|
1515
|
+
*/
|
|
1516
|
+
export const invalidateVersionWorkflow = async (
|
|
1517
|
+
queryClient: QueryClient,
|
|
1518
|
+
workflowId: string,
|
|
1519
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1520
|
+
options?: InvalidateOptions,
|
|
1521
|
+
): Promise<QueryClient> => {
|
|
1522
|
+
await queryClient.invalidateQueries(
|
|
1523
|
+
{ queryKey: getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody) },
|
|
1524
|
+
options,
|
|
1525
|
+
);
|
|
1213
1526
|
|
|
1214
|
-
|
|
1527
|
+
return queryClient;
|
|
1528
|
+
};
|
|
1215
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* Get a list of all Running Workflows available to you. The Running Workflows are listed in chronological order of the start time, where the first that was executed is the first in the list.
|
|
1532
|
+
*
|
|
1533
|
+
* By providing a workflow ID you will only see Running Workflows for that Workflow.
|
|
1216
1534
|
* @summary Get all Running Workflows available to you
|
|
1217
1535
|
*/
|
|
1218
1536
|
export const getRunningWorkflows = (
|
|
@@ -1253,7 +1571,7 @@ export const getGetRunningWorkflowsQueryOptions = <
|
|
|
1253
1571
|
Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1254
1572
|
TError,
|
|
1255
1573
|
TData
|
|
1256
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1574
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1257
1575
|
};
|
|
1258
1576
|
|
|
1259
1577
|
export type GetRunningWorkflowsQueryResult = NonNullable<
|
|
@@ -1281,7 +1599,7 @@ export function useGetRunningWorkflows<
|
|
|
1281
1599
|
request?: SecondParameter<typeof customInstance>;
|
|
1282
1600
|
},
|
|
1283
1601
|
queryClient?: QueryClient,
|
|
1284
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1602
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1285
1603
|
export function useGetRunningWorkflows<
|
|
1286
1604
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1287
1605
|
TError = ErrorType<void>,
|
|
@@ -1302,7 +1620,7 @@ export function useGetRunningWorkflows<
|
|
|
1302
1620
|
request?: SecondParameter<typeof customInstance>;
|
|
1303
1621
|
},
|
|
1304
1622
|
queryClient?: QueryClient,
|
|
1305
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1623
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1306
1624
|
export function useGetRunningWorkflows<
|
|
1307
1625
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1308
1626
|
TError = ErrorType<void>,
|
|
@@ -1315,7 +1633,7 @@ export function useGetRunningWorkflows<
|
|
|
1315
1633
|
request?: SecondParameter<typeof customInstance>;
|
|
1316
1634
|
},
|
|
1317
1635
|
queryClient?: QueryClient,
|
|
1318
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1636
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1319
1637
|
/**
|
|
1320
1638
|
* @summary Get all Running Workflows available to you
|
|
1321
1639
|
*/
|
|
@@ -1332,16 +1650,14 @@ export function useGetRunningWorkflows<
|
|
|
1332
1650
|
request?: SecondParameter<typeof customInstance>;
|
|
1333
1651
|
},
|
|
1334
1652
|
queryClient?: QueryClient,
|
|
1335
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1653
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1336
1654
|
const queryOptions = getGetRunningWorkflowsQueryOptions(params, options);
|
|
1337
1655
|
|
|
1338
1656
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1339
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1657
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1340
1658
|
};
|
|
1341
1659
|
|
|
1342
|
-
query
|
|
1343
|
-
|
|
1344
|
-
return query;
|
|
1660
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1345
1661
|
}
|
|
1346
1662
|
|
|
1347
1663
|
/**
|
|
@@ -1383,7 +1699,7 @@ export const getGetRunningWorkflowsSuspenseQueryOptions = <
|
|
|
1383
1699
|
Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1384
1700
|
TError,
|
|
1385
1701
|
TData
|
|
1386
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1702
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1387
1703
|
};
|
|
1388
1704
|
|
|
1389
1705
|
export type GetRunningWorkflowsSuspenseQueryResult = NonNullable<
|
|
@@ -1403,7 +1719,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1403
1719
|
request?: SecondParameter<typeof customInstance>;
|
|
1404
1720
|
},
|
|
1405
1721
|
queryClient?: QueryClient,
|
|
1406
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1722
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1407
1723
|
export function useGetRunningWorkflowsSuspense<
|
|
1408
1724
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1409
1725
|
TError = ErrorType<void>,
|
|
@@ -1416,7 +1732,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1416
1732
|
request?: SecondParameter<typeof customInstance>;
|
|
1417
1733
|
},
|
|
1418
1734
|
queryClient?: QueryClient,
|
|
1419
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1735
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1420
1736
|
export function useGetRunningWorkflowsSuspense<
|
|
1421
1737
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1422
1738
|
TError = ErrorType<void>,
|
|
@@ -1429,7 +1745,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1429
1745
|
request?: SecondParameter<typeof customInstance>;
|
|
1430
1746
|
},
|
|
1431
1747
|
queryClient?: QueryClient,
|
|
1432
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1748
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1433
1749
|
/**
|
|
1434
1750
|
* @summary Get all Running Workflows available to you
|
|
1435
1751
|
*/
|
|
@@ -1446,22 +1762,19 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1446
1762
|
request?: SecondParameter<typeof customInstance>;
|
|
1447
1763
|
},
|
|
1448
1764
|
queryClient?: QueryClient,
|
|
1449
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1765
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1450
1766
|
const queryOptions = getGetRunningWorkflowsSuspenseQueryOptions(params, options);
|
|
1451
1767
|
|
|
1452
1768
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1453
1769
|
TData,
|
|
1454
1770
|
TError
|
|
1455
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1456
|
-
|
|
1457
|
-
query.queryKey = queryOptions.queryKey;
|
|
1771
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1458
1772
|
|
|
1459
|
-
return query;
|
|
1773
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1460
1774
|
}
|
|
1461
1775
|
|
|
1462
1776
|
/**
|
|
1463
1777
|
* Get details of a specific Running Workflow available to you.
|
|
1464
|
-
|
|
1465
1778
|
* @summary Get details of a specific Running Workflow
|
|
1466
1779
|
*/
|
|
1467
1780
|
export const getRunningWorkflow = (
|
|
@@ -1475,7 +1788,7 @@ export const getRunningWorkflow = (
|
|
|
1475
1788
|
);
|
|
1476
1789
|
};
|
|
1477
1790
|
|
|
1478
|
-
export const getGetRunningWorkflowQueryKey = (runningWorkflowId
|
|
1791
|
+
export const getGetRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
1479
1792
|
return ["data-manager", "running-workflow", runningWorkflowId] as const;
|
|
1480
1793
|
};
|
|
1481
1794
|
|
|
@@ -1496,11 +1809,14 @@ export const getGetRunningWorkflowQueryOptions = <
|
|
|
1496
1809
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getRunningWorkflow>>> = ({ signal }) =>
|
|
1497
1810
|
getRunningWorkflow(runningWorkflowId, requestOptions, signal);
|
|
1498
1811
|
|
|
1499
|
-
return {
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1812
|
+
return {
|
|
1813
|
+
queryKey,
|
|
1814
|
+
queryFn,
|
|
1815
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
1816
|
+
...queryOptions,
|
|
1817
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getRunningWorkflow>>, TError, TData> & {
|
|
1818
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1819
|
+
};
|
|
1504
1820
|
};
|
|
1505
1821
|
|
|
1506
1822
|
export type GetRunningWorkflowQueryResult = NonNullable<
|
|
@@ -1526,7 +1842,7 @@ export function useGetRunningWorkflow<
|
|
|
1526
1842
|
request?: SecondParameter<typeof customInstance>;
|
|
1527
1843
|
},
|
|
1528
1844
|
queryClient?: QueryClient,
|
|
1529
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1845
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1530
1846
|
export function useGetRunningWorkflow<
|
|
1531
1847
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1532
1848
|
TError = ErrorType<void | DmError>,
|
|
@@ -1547,7 +1863,7 @@ export function useGetRunningWorkflow<
|
|
|
1547
1863
|
request?: SecondParameter<typeof customInstance>;
|
|
1548
1864
|
},
|
|
1549
1865
|
queryClient?: QueryClient,
|
|
1550
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1866
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1551
1867
|
export function useGetRunningWorkflow<
|
|
1552
1868
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1553
1869
|
TError = ErrorType<void | DmError>,
|
|
@@ -1558,7 +1874,7 @@ export function useGetRunningWorkflow<
|
|
|
1558
1874
|
request?: SecondParameter<typeof customInstance>;
|
|
1559
1875
|
},
|
|
1560
1876
|
queryClient?: QueryClient,
|
|
1561
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1877
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1562
1878
|
/**
|
|
1563
1879
|
* @summary Get details of a specific Running Workflow
|
|
1564
1880
|
*/
|
|
@@ -1573,16 +1889,14 @@ export function useGetRunningWorkflow<
|
|
|
1573
1889
|
request?: SecondParameter<typeof customInstance>;
|
|
1574
1890
|
},
|
|
1575
1891
|
queryClient?: QueryClient,
|
|
1576
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1892
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1577
1893
|
const queryOptions = getGetRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
1578
1894
|
|
|
1579
1895
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1580
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1896
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1581
1897
|
};
|
|
1582
1898
|
|
|
1583
|
-
query
|
|
1584
|
-
|
|
1585
|
-
return query;
|
|
1899
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1586
1900
|
}
|
|
1587
1901
|
|
|
1588
1902
|
/**
|
|
@@ -1624,7 +1938,7 @@ export const getGetRunningWorkflowSuspenseQueryOptions = <
|
|
|
1624
1938
|
Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1625
1939
|
TError,
|
|
1626
1940
|
TData
|
|
1627
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1941
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1628
1942
|
};
|
|
1629
1943
|
|
|
1630
1944
|
export type GetRunningWorkflowSuspenseQueryResult = NonNullable<
|
|
@@ -1644,7 +1958,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1644
1958
|
request?: SecondParameter<typeof customInstance>;
|
|
1645
1959
|
},
|
|
1646
1960
|
queryClient?: QueryClient,
|
|
1647
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1961
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1648
1962
|
export function useGetRunningWorkflowSuspense<
|
|
1649
1963
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1650
1964
|
TError = ErrorType<void | DmError>,
|
|
@@ -1657,7 +1971,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1657
1971
|
request?: SecondParameter<typeof customInstance>;
|
|
1658
1972
|
},
|
|
1659
1973
|
queryClient?: QueryClient,
|
|
1660
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1974
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1661
1975
|
export function useGetRunningWorkflowSuspense<
|
|
1662
1976
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1663
1977
|
TError = ErrorType<void | DmError>,
|
|
@@ -1670,7 +1984,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1670
1984
|
request?: SecondParameter<typeof customInstance>;
|
|
1671
1985
|
},
|
|
1672
1986
|
queryClient?: QueryClient,
|
|
1673
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1987
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1674
1988
|
/**
|
|
1675
1989
|
* @summary Get details of a specific Running Workflow
|
|
1676
1990
|
*/
|
|
@@ -1687,186 +2001,321 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1687
2001
|
request?: SecondParameter<typeof customInstance>;
|
|
1688
2002
|
},
|
|
1689
2003
|
queryClient?: QueryClient,
|
|
1690
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2004
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1691
2005
|
const queryOptions = getGetRunningWorkflowSuspenseQueryOptions(runningWorkflowId, options);
|
|
1692
2006
|
|
|
1693
2007
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1694
2008
|
TData,
|
|
1695
2009
|
TError
|
|
1696
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1697
|
-
|
|
1698
|
-
query.queryKey = queryOptions.queryKey;
|
|
2010
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1699
2011
|
|
|
1700
|
-
return query;
|
|
2012
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1701
2013
|
}
|
|
1702
2014
|
|
|
1703
2015
|
/**
|
|
1704
2016
|
* Deletes a Running Workflow.
|
|
1705
|
-
|
|
1706
|
-
It is an error to delete a Running Workflow that is Running.
|
|
1707
|
-
|
|
2017
|
+
*
|
|
2018
|
+
* It is an error to delete a Running Workflow that is Running.
|
|
1708
2019
|
* @summary Delete a Running Workflow
|
|
1709
2020
|
*/
|
|
1710
2021
|
export const deleteRunningWorkflow = (
|
|
1711
2022
|
runningWorkflowId: string,
|
|
1712
2023
|
options?: SecondParameter<typeof customInstance>,
|
|
2024
|
+
signal?: AbortSignal,
|
|
1713
2025
|
) => {
|
|
1714
2026
|
return customInstance<void>(
|
|
1715
|
-
{ url: `/running-workflow/${runningWorkflowId}`, method: "DELETE" },
|
|
2027
|
+
{ url: `/running-workflow/${runningWorkflowId}`, method: "DELETE", signal },
|
|
1716
2028
|
options,
|
|
1717
2029
|
);
|
|
1718
2030
|
};
|
|
1719
2031
|
|
|
1720
|
-
export const
|
|
2032
|
+
export const getDeleteRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
2033
|
+
return ["data-manager", "DELETE", "running-workflow", runningWorkflowId] as const;
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
export const getDeleteRunningWorkflowQueryOptions = <
|
|
2037
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1721
2038
|
TError = ErrorType<void | DmError>,
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
const mutationKey = ["deleteRunningWorkflow"];
|
|
1738
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1739
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1740
|
-
? options
|
|
1741
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1742
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1743
|
-
|
|
1744
|
-
const mutationFn: MutationFunction<
|
|
1745
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1746
|
-
{ runningWorkflowId: string }
|
|
1747
|
-
> = (props) => {
|
|
1748
|
-
const { runningWorkflowId } = props ?? {};
|
|
1749
|
-
|
|
1750
|
-
return deleteRunningWorkflow(runningWorkflowId, requestOptions);
|
|
1751
|
-
};
|
|
2039
|
+
>(
|
|
2040
|
+
runningWorkflowId: string,
|
|
2041
|
+
options?: {
|
|
2042
|
+
query?: Partial<
|
|
2043
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2044
|
+
>;
|
|
2045
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2046
|
+
},
|
|
2047
|
+
) => {
|
|
2048
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
2049
|
+
|
|
2050
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteRunningWorkflowQueryKey(runningWorkflowId);
|
|
2051
|
+
|
|
2052
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteRunningWorkflow>>> = ({ signal }) =>
|
|
2053
|
+
deleteRunningWorkflow(runningWorkflowId, requestOptions, signal);
|
|
1752
2054
|
|
|
1753
|
-
return {
|
|
2055
|
+
return {
|
|
2056
|
+
queryKey,
|
|
2057
|
+
queryFn,
|
|
2058
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2059
|
+
...queryOptions,
|
|
2060
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData> & {
|
|
2061
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2062
|
+
};
|
|
1754
2063
|
};
|
|
1755
2064
|
|
|
1756
|
-
export type
|
|
2065
|
+
export type DeleteRunningWorkflowQueryResult = NonNullable<
|
|
1757
2066
|
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
1758
2067
|
>;
|
|
2068
|
+
export type DeleteRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
1759
2069
|
|
|
1760
|
-
export
|
|
1761
|
-
|
|
2070
|
+
export function useDeleteRunningWorkflow<
|
|
2071
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2072
|
+
TError = ErrorType<void | DmError>,
|
|
2073
|
+
>(
|
|
2074
|
+
runningWorkflowId: string,
|
|
2075
|
+
options: {
|
|
2076
|
+
query: Partial<
|
|
2077
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2078
|
+
> &
|
|
2079
|
+
Pick<
|
|
2080
|
+
DefinedInitialDataOptions<
|
|
2081
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2082
|
+
TError,
|
|
2083
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2084
|
+
>,
|
|
2085
|
+
"initialData"
|
|
2086
|
+
>;
|
|
2087
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2088
|
+
},
|
|
2089
|
+
queryClient?: QueryClient,
|
|
2090
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2091
|
+
export function useDeleteRunningWorkflow<
|
|
2092
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2093
|
+
TError = ErrorType<void | DmError>,
|
|
2094
|
+
>(
|
|
2095
|
+
runningWorkflowId: string,
|
|
2096
|
+
options?: {
|
|
2097
|
+
query?: Partial<
|
|
2098
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2099
|
+
> &
|
|
2100
|
+
Pick<
|
|
2101
|
+
UndefinedInitialDataOptions<
|
|
2102
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2103
|
+
TError,
|
|
2104
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2105
|
+
>,
|
|
2106
|
+
"initialData"
|
|
2107
|
+
>;
|
|
2108
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2109
|
+
},
|
|
2110
|
+
queryClient?: QueryClient,
|
|
2111
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2112
|
+
export function useDeleteRunningWorkflow<
|
|
2113
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2114
|
+
TError = ErrorType<void | DmError>,
|
|
2115
|
+
>(
|
|
2116
|
+
runningWorkflowId: string,
|
|
2117
|
+
options?: {
|
|
2118
|
+
query?: Partial<
|
|
2119
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2120
|
+
>;
|
|
2121
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2122
|
+
},
|
|
2123
|
+
queryClient?: QueryClient,
|
|
2124
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1762
2125
|
/**
|
|
1763
2126
|
* @summary Delete a Running Workflow
|
|
1764
2127
|
*/
|
|
1765
|
-
|
|
2128
|
+
|
|
2129
|
+
export function useDeleteRunningWorkflow<
|
|
2130
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2131
|
+
TError = ErrorType<void | DmError>,
|
|
2132
|
+
>(
|
|
2133
|
+
runningWorkflowId: string,
|
|
1766
2134
|
options?: {
|
|
1767
|
-
|
|
1768
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1769
|
-
TError,
|
|
1770
|
-
{ runningWorkflowId: string },
|
|
1771
|
-
TContext
|
|
2135
|
+
query?: Partial<
|
|
2136
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
1772
2137
|
>;
|
|
1773
2138
|
request?: SecondParameter<typeof customInstance>;
|
|
1774
2139
|
},
|
|
1775
2140
|
queryClient?: QueryClient,
|
|
1776
|
-
):
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
2141
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2142
|
+
const queryOptions = getDeleteRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
2143
|
+
|
|
2144
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2145
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* @summary Delete a Running Workflow
|
|
2153
|
+
*/
|
|
2154
|
+
export const invalidateDeleteRunningWorkflow = async (
|
|
2155
|
+
queryClient: QueryClient,
|
|
2156
|
+
runningWorkflowId: string,
|
|
2157
|
+
options?: InvalidateOptions,
|
|
2158
|
+
): Promise<QueryClient> => {
|
|
2159
|
+
await queryClient.invalidateQueries(
|
|
2160
|
+
{ queryKey: getDeleteRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2161
|
+
options,
|
|
2162
|
+
);
|
|
1783
2163
|
|
|
1784
|
-
return
|
|
2164
|
+
return queryClient;
|
|
1785
2165
|
};
|
|
2166
|
+
|
|
1786
2167
|
/**
|
|
1787
2168
|
* Stops a Running Workflow.
|
|
1788
|
-
|
|
1789
2169
|
* @summary Stop a Running Workflow
|
|
1790
2170
|
*/
|
|
1791
2171
|
export const stopRunningWorkflow = (
|
|
1792
2172
|
runningWorkflowId: string,
|
|
1793
2173
|
options?: SecondParameter<typeof customInstance>,
|
|
2174
|
+
signal?: AbortSignal,
|
|
1794
2175
|
) => {
|
|
1795
2176
|
return customInstance<void>(
|
|
1796
|
-
{ url: `/running-workflow/${runningWorkflowId}/stop`, method: "PUT" },
|
|
2177
|
+
{ url: `/running-workflow/${runningWorkflowId}/stop`, method: "PUT", signal },
|
|
1797
2178
|
options,
|
|
1798
2179
|
);
|
|
1799
2180
|
};
|
|
1800
2181
|
|
|
1801
|
-
export const
|
|
2182
|
+
export const getStopRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
2183
|
+
return ["data-manager", "PUT", "running-workflow", runningWorkflowId, "stop"] as const;
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
export const getStopRunningWorkflowQueryOptions = <
|
|
2187
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1802
2188
|
TError = ErrorType<void | DmError>,
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
const mutationKey = ["stopRunningWorkflow"];
|
|
1819
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1820
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1821
|
-
? options
|
|
1822
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1823
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1824
|
-
|
|
1825
|
-
const mutationFn: MutationFunction<
|
|
1826
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1827
|
-
{ runningWorkflowId: string }
|
|
1828
|
-
> = (props) => {
|
|
1829
|
-
const { runningWorkflowId } = props ?? {};
|
|
1830
|
-
|
|
1831
|
-
return stopRunningWorkflow(runningWorkflowId, requestOptions);
|
|
1832
|
-
};
|
|
2189
|
+
>(
|
|
2190
|
+
runningWorkflowId: string,
|
|
2191
|
+
options?: {
|
|
2192
|
+
query?: Partial<
|
|
2193
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2194
|
+
>;
|
|
2195
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2196
|
+
},
|
|
2197
|
+
) => {
|
|
2198
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
2199
|
+
|
|
2200
|
+
const queryKey = queryOptions?.queryKey ?? getStopRunningWorkflowQueryKey(runningWorkflowId);
|
|
2201
|
+
|
|
2202
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof stopRunningWorkflow>>> = ({ signal }) =>
|
|
2203
|
+
stopRunningWorkflow(runningWorkflowId, requestOptions, signal);
|
|
1833
2204
|
|
|
1834
|
-
return {
|
|
2205
|
+
return {
|
|
2206
|
+
queryKey,
|
|
2207
|
+
queryFn,
|
|
2208
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2209
|
+
...queryOptions,
|
|
2210
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData> & {
|
|
2211
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2212
|
+
};
|
|
1835
2213
|
};
|
|
1836
2214
|
|
|
1837
|
-
export type
|
|
2215
|
+
export type StopRunningWorkflowQueryResult = NonNullable<
|
|
1838
2216
|
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
1839
2217
|
>;
|
|
2218
|
+
export type StopRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
1840
2219
|
|
|
1841
|
-
export
|
|
1842
|
-
|
|
2220
|
+
export function useStopRunningWorkflow<
|
|
2221
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2222
|
+
TError = ErrorType<void | DmError>,
|
|
2223
|
+
>(
|
|
2224
|
+
runningWorkflowId: string,
|
|
2225
|
+
options: {
|
|
2226
|
+
query: Partial<
|
|
2227
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2228
|
+
> &
|
|
2229
|
+
Pick<
|
|
2230
|
+
DefinedInitialDataOptions<
|
|
2231
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2232
|
+
TError,
|
|
2233
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2234
|
+
>,
|
|
2235
|
+
"initialData"
|
|
2236
|
+
>;
|
|
2237
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2238
|
+
},
|
|
2239
|
+
queryClient?: QueryClient,
|
|
2240
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2241
|
+
export function useStopRunningWorkflow<
|
|
2242
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2243
|
+
TError = ErrorType<void | DmError>,
|
|
2244
|
+
>(
|
|
2245
|
+
runningWorkflowId: string,
|
|
2246
|
+
options?: {
|
|
2247
|
+
query?: Partial<
|
|
2248
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2249
|
+
> &
|
|
2250
|
+
Pick<
|
|
2251
|
+
UndefinedInitialDataOptions<
|
|
2252
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2253
|
+
TError,
|
|
2254
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2255
|
+
>,
|
|
2256
|
+
"initialData"
|
|
2257
|
+
>;
|
|
2258
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2259
|
+
},
|
|
2260
|
+
queryClient?: QueryClient,
|
|
2261
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2262
|
+
export function useStopRunningWorkflow<
|
|
2263
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2264
|
+
TError = ErrorType<void | DmError>,
|
|
2265
|
+
>(
|
|
2266
|
+
runningWorkflowId: string,
|
|
2267
|
+
options?: {
|
|
2268
|
+
query?: Partial<
|
|
2269
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2270
|
+
>;
|
|
2271
|
+
request?: SecondParameter<typeof customInstance>;
|
|
2272
|
+
},
|
|
2273
|
+
queryClient?: QueryClient,
|
|
2274
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1843
2275
|
/**
|
|
1844
2276
|
* @summary Stop a Running Workflow
|
|
1845
2277
|
*/
|
|
1846
|
-
|
|
2278
|
+
|
|
2279
|
+
export function useStopRunningWorkflow<
|
|
2280
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2281
|
+
TError = ErrorType<void | DmError>,
|
|
2282
|
+
>(
|
|
2283
|
+
runningWorkflowId: string,
|
|
1847
2284
|
options?: {
|
|
1848
|
-
|
|
1849
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1850
|
-
TError,
|
|
1851
|
-
{ runningWorkflowId: string },
|
|
1852
|
-
TContext
|
|
2285
|
+
query?: Partial<
|
|
2286
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
1853
2287
|
>;
|
|
1854
2288
|
request?: SecondParameter<typeof customInstance>;
|
|
1855
2289
|
},
|
|
1856
2290
|
queryClient?: QueryClient,
|
|
1857
|
-
):
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
const mutationOptions = getStopRunningWorkflowMutationOptions(options);
|
|
2291
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2292
|
+
const queryOptions = getStopRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
2293
|
+
|
|
2294
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2295
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2296
|
+
};
|
|
1864
2297
|
|
|
1865
|
-
return
|
|
2298
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* @summary Stop a Running Workflow
|
|
2303
|
+
*/
|
|
2304
|
+
export const invalidateStopRunningWorkflow = async (
|
|
2305
|
+
queryClient: QueryClient,
|
|
2306
|
+
runningWorkflowId: string,
|
|
2307
|
+
options?: InvalidateOptions,
|
|
2308
|
+
): Promise<QueryClient> => {
|
|
2309
|
+
await queryClient.invalidateQueries(
|
|
2310
|
+
{ queryKey: getStopRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2311
|
+
options,
|
|
2312
|
+
);
|
|
2313
|
+
|
|
2314
|
+
return queryClient;
|
|
1866
2315
|
};
|
|
2316
|
+
|
|
1867
2317
|
/**
|
|
1868
2318
|
* Gets the Running Workflow step results for WWorkflow steps that are running (or have run). The steps are listed in chronological order of start time, where the first executed step is the first in the list.
|
|
1869
|
-
|
|
1870
2319
|
* @summary Get all the Running Workflow Steps
|
|
1871
2320
|
*/
|
|
1872
2321
|
export const getRunningWorkflowSteps = (
|
|
@@ -1880,7 +2329,7 @@ export const getRunningWorkflowSteps = (
|
|
|
1880
2329
|
);
|
|
1881
2330
|
};
|
|
1882
2331
|
|
|
1883
|
-
export const getGetRunningWorkflowStepsQueryKey = (runningWorkflowId
|
|
2332
|
+
export const getGetRunningWorkflowStepsQueryKey = (runningWorkflowId: string) => {
|
|
1884
2333
|
return ["data-manager", "running-workflow", runningWorkflowId, "steps"] as const;
|
|
1885
2334
|
};
|
|
1886
2335
|
|
|
@@ -1904,11 +2353,14 @@ export const getGetRunningWorkflowStepsQueryOptions = <
|
|
|
1904
2353
|
signal,
|
|
1905
2354
|
}) => getRunningWorkflowSteps(runningWorkflowId, requestOptions, signal);
|
|
1906
2355
|
|
|
1907
|
-
return {
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
2356
|
+
return {
|
|
2357
|
+
queryKey,
|
|
2358
|
+
queryFn,
|
|
2359
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2360
|
+
...queryOptions,
|
|
2361
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getRunningWorkflowSteps>>, TError, TData> & {
|
|
2362
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2363
|
+
};
|
|
1912
2364
|
};
|
|
1913
2365
|
|
|
1914
2366
|
export type GetRunningWorkflowStepsQueryResult = NonNullable<
|
|
@@ -1936,7 +2388,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
1936
2388
|
request?: SecondParameter<typeof customInstance>;
|
|
1937
2389
|
},
|
|
1938
2390
|
queryClient?: QueryClient,
|
|
1939
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2391
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1940
2392
|
export function useGetRunningWorkflowSteps<
|
|
1941
2393
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
1942
2394
|
TError = ErrorType<void | DmError>,
|
|
@@ -1957,7 +2409,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
1957
2409
|
request?: SecondParameter<typeof customInstance>;
|
|
1958
2410
|
},
|
|
1959
2411
|
queryClient?: QueryClient,
|
|
1960
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2412
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1961
2413
|
export function useGetRunningWorkflowSteps<
|
|
1962
2414
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
1963
2415
|
TError = ErrorType<void | DmError>,
|
|
@@ -1970,7 +2422,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
1970
2422
|
request?: SecondParameter<typeof customInstance>;
|
|
1971
2423
|
},
|
|
1972
2424
|
queryClient?: QueryClient,
|
|
1973
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2425
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1974
2426
|
/**
|
|
1975
2427
|
* @summary Get all the Running Workflow Steps
|
|
1976
2428
|
*/
|
|
@@ -1987,16 +2439,14 @@ export function useGetRunningWorkflowSteps<
|
|
|
1987
2439
|
request?: SecondParameter<typeof customInstance>;
|
|
1988
2440
|
},
|
|
1989
2441
|
queryClient?: QueryClient,
|
|
1990
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2442
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1991
2443
|
const queryOptions = getGetRunningWorkflowStepsQueryOptions(runningWorkflowId, options);
|
|
1992
2444
|
|
|
1993
2445
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1994
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
2446
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1995
2447
|
};
|
|
1996
2448
|
|
|
1997
|
-
query
|
|
1998
|
-
|
|
1999
|
-
return query;
|
|
2449
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2000
2450
|
}
|
|
2001
2451
|
|
|
2002
2452
|
/**
|
|
@@ -2039,7 +2489,7 @@ export const getGetRunningWorkflowStepsSuspenseQueryOptions = <
|
|
|
2039
2489
|
Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2040
2490
|
TError,
|
|
2041
2491
|
TData
|
|
2042
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2492
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2043
2493
|
};
|
|
2044
2494
|
|
|
2045
2495
|
export type GetRunningWorkflowStepsSuspenseQueryResult = NonNullable<
|
|
@@ -2059,7 +2509,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2059
2509
|
request?: SecondParameter<typeof customInstance>;
|
|
2060
2510
|
},
|
|
2061
2511
|
queryClient?: QueryClient,
|
|
2062
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2512
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2063
2513
|
export function useGetRunningWorkflowStepsSuspense<
|
|
2064
2514
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2065
2515
|
TError = ErrorType<void | DmError>,
|
|
@@ -2072,7 +2522,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2072
2522
|
request?: SecondParameter<typeof customInstance>;
|
|
2073
2523
|
},
|
|
2074
2524
|
queryClient?: QueryClient,
|
|
2075
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2525
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2076
2526
|
export function useGetRunningWorkflowStepsSuspense<
|
|
2077
2527
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2078
2528
|
TError = ErrorType<void | DmError>,
|
|
@@ -2085,7 +2535,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2085
2535
|
request?: SecondParameter<typeof customInstance>;
|
|
2086
2536
|
},
|
|
2087
2537
|
queryClient?: QueryClient,
|
|
2088
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2538
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2089
2539
|
/**
|
|
2090
2540
|
* @summary Get all the Running Workflow Steps
|
|
2091
2541
|
*/
|
|
@@ -2102,15 +2552,13 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2102
2552
|
request?: SecondParameter<typeof customInstance>;
|
|
2103
2553
|
},
|
|
2104
2554
|
queryClient?: QueryClient,
|
|
2105
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2555
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2106
2556
|
const queryOptions = getGetRunningWorkflowStepsSuspenseQueryOptions(runningWorkflowId, options);
|
|
2107
2557
|
|
|
2108
2558
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
2109
2559
|
TData,
|
|
2110
2560
|
TError
|
|
2111
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2112
|
-
|
|
2113
|
-
query.queryKey = queryOptions.queryKey;
|
|
2561
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2114
2562
|
|
|
2115
|
-
return query;
|
|
2563
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2116
2564
|
}
|