@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,18 +41,13 @@ import type {
|
|
|
44
41
|
WorkflowRunPostResponse,
|
|
45
42
|
WorkflowVersionPutBodyBody,
|
|
46
43
|
WorkflowVersionPutResponse,
|
|
47
|
-
} from "
|
|
44
|
+
} from "../api-schemas";
|
|
48
45
|
|
|
49
46
|
import { customFetch } from "../../custom-fetch";
|
|
50
47
|
import type { ErrorType } from "../../custom-fetch";
|
|
51
48
|
|
|
52
49
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
53
50
|
|
|
54
|
-
/**
|
|
55
|
-
* 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
|
-
* @summary Get all Workflows available to you
|
|
58
|
-
*/
|
|
59
51
|
export type getWorkflowsResponse200 = { data: WorkflowGetAllResponse; status: 200 };
|
|
60
52
|
|
|
61
53
|
export type getWorkflowsResponse401 = { data: void; status: 401 };
|
|
@@ -69,6 +61,10 @@ export const getGetWorkflowsUrl = () => {
|
|
|
69
61
|
return `/workflow`;
|
|
70
62
|
};
|
|
71
63
|
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
* @summary Get all Workflows available to you
|
|
67
|
+
*/
|
|
72
68
|
export const getWorkflows = async (options?: RequestInit): Promise<getWorkflowsResponse> => {
|
|
73
69
|
return customFetch<getWorkflowsResponse>(getGetWorkflowsUrl(), { ...options, method: "GET" });
|
|
74
70
|
};
|
|
@@ -95,7 +91,7 @@ export const getGetWorkflowsQueryOptions = <
|
|
|
95
91
|
Awaited<ReturnType<typeof getWorkflows>>,
|
|
96
92
|
TError,
|
|
97
93
|
TData
|
|
98
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
94
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
99
95
|
};
|
|
100
96
|
|
|
101
97
|
export type GetWorkflowsQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflows>>>;
|
|
@@ -118,7 +114,7 @@ export function useGetWorkflows<
|
|
|
118
114
|
request?: SecondParameter<typeof customFetch>;
|
|
119
115
|
},
|
|
120
116
|
queryClient?: QueryClient,
|
|
121
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
117
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
122
118
|
export function useGetWorkflows<
|
|
123
119
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
124
120
|
TError = ErrorType<void>,
|
|
@@ -136,7 +132,7 @@ export function useGetWorkflows<
|
|
|
136
132
|
request?: SecondParameter<typeof customFetch>;
|
|
137
133
|
},
|
|
138
134
|
queryClient?: QueryClient,
|
|
139
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
135
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
140
136
|
export function useGetWorkflows<
|
|
141
137
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
142
138
|
TError = ErrorType<void>,
|
|
@@ -146,7 +142,7 @@ export function useGetWorkflows<
|
|
|
146
142
|
request?: SecondParameter<typeof customFetch>;
|
|
147
143
|
},
|
|
148
144
|
queryClient?: QueryClient,
|
|
149
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
145
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
150
146
|
/**
|
|
151
147
|
* @summary Get all Workflows available to you
|
|
152
148
|
*/
|
|
@@ -160,16 +156,14 @@ export function useGetWorkflows<
|
|
|
160
156
|
request?: SecondParameter<typeof customFetch>;
|
|
161
157
|
},
|
|
162
158
|
queryClient?: QueryClient,
|
|
163
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
159
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
164
160
|
const queryOptions = getGetWorkflowsQueryOptions(options);
|
|
165
161
|
|
|
166
162
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
167
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
163
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
168
164
|
};
|
|
169
165
|
|
|
170
|
-
query
|
|
171
|
-
|
|
172
|
-
return query;
|
|
166
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
173
167
|
}
|
|
174
168
|
|
|
175
169
|
/**
|
|
@@ -202,7 +196,7 @@ export const getGetWorkflowsSuspenseQueryOptions = <
|
|
|
202
196
|
Awaited<ReturnType<typeof getWorkflows>>,
|
|
203
197
|
TError,
|
|
204
198
|
TData
|
|
205
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
199
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
206
200
|
};
|
|
207
201
|
|
|
208
202
|
export type GetWorkflowsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflows>>>;
|
|
@@ -219,7 +213,7 @@ export function useGetWorkflowsSuspense<
|
|
|
219
213
|
request?: SecondParameter<typeof customFetch>;
|
|
220
214
|
},
|
|
221
215
|
queryClient?: QueryClient,
|
|
222
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
216
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
223
217
|
export function useGetWorkflowsSuspense<
|
|
224
218
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
225
219
|
TError = ErrorType<void>,
|
|
@@ -231,7 +225,7 @@ export function useGetWorkflowsSuspense<
|
|
|
231
225
|
request?: SecondParameter<typeof customFetch>;
|
|
232
226
|
},
|
|
233
227
|
queryClient?: QueryClient,
|
|
234
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
228
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
235
229
|
export function useGetWorkflowsSuspense<
|
|
236
230
|
TData = Awaited<ReturnType<typeof getWorkflows>>,
|
|
237
231
|
TError = ErrorType<void>,
|
|
@@ -243,7 +237,7 @@ export function useGetWorkflowsSuspense<
|
|
|
243
237
|
request?: SecondParameter<typeof customFetch>;
|
|
244
238
|
},
|
|
245
239
|
queryClient?: QueryClient,
|
|
246
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
240
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
247
241
|
/**
|
|
248
242
|
* @summary Get all Workflows available to you
|
|
249
243
|
*/
|
|
@@ -259,24 +253,17 @@ export function useGetWorkflowsSuspense<
|
|
|
259
253
|
request?: SecondParameter<typeof customFetch>;
|
|
260
254
|
},
|
|
261
255
|
queryClient?: QueryClient,
|
|
262
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
256
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
263
257
|
const queryOptions = getGetWorkflowsSuspenseQueryOptions(options);
|
|
264
258
|
|
|
265
259
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
266
260
|
TData,
|
|
267
261
|
TError
|
|
268
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
269
|
-
|
|
270
|
-
query.queryKey = queryOptions.queryKey;
|
|
262
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
271
263
|
|
|
272
|
-
return query;
|
|
264
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
273
265
|
}
|
|
274
266
|
|
|
275
|
-
/**
|
|
276
|
-
* Creates a new workflow record.
|
|
277
|
-
|
|
278
|
-
* @summary Create a new Workflow
|
|
279
|
-
*/
|
|
280
267
|
export type createWorkflowResponse201 = { data: WorkflowPostResponse; status: 201 };
|
|
281
268
|
|
|
282
269
|
export type createWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -290,6 +277,10 @@ export const getCreateWorkflowUrl = () => {
|
|
|
290
277
|
return `/workflow`;
|
|
291
278
|
};
|
|
292
279
|
|
|
280
|
+
/**
|
|
281
|
+
* Creates a new workflow record.
|
|
282
|
+
* @summary Create a new Workflow
|
|
283
|
+
*/
|
|
293
284
|
export const createWorkflow = async (
|
|
294
285
|
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
295
286
|
options?: RequestInit,
|
|
@@ -314,75 +305,126 @@ export const createWorkflow = async (
|
|
|
314
305
|
});
|
|
315
306
|
};
|
|
316
307
|
|
|
317
|
-
export const
|
|
308
|
+
export const getCreateWorkflowQueryKey = (workflowPostBodyBody?: WorkflowPostBodyBody) => {
|
|
309
|
+
return ["data-manager", "POST", "workflow", workflowPostBodyBody] as const;
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
export const getCreateWorkflowQueryOptions = <
|
|
313
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
318
314
|
TError = ErrorType<void>,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
request?: SecondParameter<typeof customFetch>;
|
|
328
|
-
}): UseMutationOptions<
|
|
329
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
330
|
-
TError,
|
|
331
|
-
{ data: WorkflowPostBodyBody },
|
|
332
|
-
TContext
|
|
333
|
-
> => {
|
|
334
|
-
const mutationKey = ["createWorkflow"];
|
|
335
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
336
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
337
|
-
? options
|
|
338
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
339
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
340
|
-
|
|
341
|
-
const mutationFn: MutationFunction<
|
|
342
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
343
|
-
{ data: WorkflowPostBodyBody }
|
|
344
|
-
> = (props) => {
|
|
345
|
-
const { data } = props ?? {};
|
|
315
|
+
>(
|
|
316
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
317
|
+
options?: {
|
|
318
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
319
|
+
request?: SecondParameter<typeof customFetch>;
|
|
320
|
+
},
|
|
321
|
+
) => {
|
|
322
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
346
323
|
|
|
347
|
-
|
|
348
|
-
|
|
324
|
+
const queryKey = queryOptions?.queryKey ?? getCreateWorkflowQueryKey(workflowPostBodyBody);
|
|
325
|
+
|
|
326
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createWorkflow>>> = ({ signal }) =>
|
|
327
|
+
createWorkflow(workflowPostBodyBody, { signal, ...requestOptions });
|
|
349
328
|
|
|
350
|
-
return {
|
|
329
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
330
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
331
|
+
TError,
|
|
332
|
+
TData
|
|
333
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
351
334
|
};
|
|
352
335
|
|
|
353
|
-
export type
|
|
354
|
-
export type
|
|
355
|
-
export type CreateWorkflowMutationError = ErrorType<void>;
|
|
336
|
+
export type CreateWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof createWorkflow>>>;
|
|
337
|
+
export type CreateWorkflowQueryError = ErrorType<void>;
|
|
356
338
|
|
|
339
|
+
export function useCreateWorkflow<
|
|
340
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
341
|
+
TError = ErrorType<void>,
|
|
342
|
+
>(
|
|
343
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
344
|
+
options: {
|
|
345
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
346
|
+
Pick<
|
|
347
|
+
DefinedInitialDataOptions<
|
|
348
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
349
|
+
TError,
|
|
350
|
+
Awaited<ReturnType<typeof createWorkflow>>
|
|
351
|
+
>,
|
|
352
|
+
"initialData"
|
|
353
|
+
>;
|
|
354
|
+
request?: SecondParameter<typeof customFetch>;
|
|
355
|
+
},
|
|
356
|
+
queryClient?: QueryClient,
|
|
357
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
358
|
+
export function useCreateWorkflow<
|
|
359
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
360
|
+
TError = ErrorType<void>,
|
|
361
|
+
>(
|
|
362
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
363
|
+
options?: {
|
|
364
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
365
|
+
Pick<
|
|
366
|
+
UndefinedInitialDataOptions<
|
|
367
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
368
|
+
TError,
|
|
369
|
+
Awaited<ReturnType<typeof createWorkflow>>
|
|
370
|
+
>,
|
|
371
|
+
"initialData"
|
|
372
|
+
>;
|
|
373
|
+
request?: SecondParameter<typeof customFetch>;
|
|
374
|
+
},
|
|
375
|
+
queryClient?: QueryClient,
|
|
376
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
377
|
+
export function useCreateWorkflow<
|
|
378
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
379
|
+
TError = ErrorType<void>,
|
|
380
|
+
>(
|
|
381
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
382
|
+
options?: {
|
|
383
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
384
|
+
request?: SecondParameter<typeof customFetch>;
|
|
385
|
+
},
|
|
386
|
+
queryClient?: QueryClient,
|
|
387
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
357
388
|
/**
|
|
358
389
|
* @summary Create a new Workflow
|
|
359
390
|
*/
|
|
360
|
-
|
|
391
|
+
|
|
392
|
+
export function useCreateWorkflow<
|
|
393
|
+
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
394
|
+
TError = ErrorType<void>,
|
|
395
|
+
>(
|
|
396
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
361
397
|
options?: {
|
|
362
|
-
|
|
363
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
364
|
-
TError,
|
|
365
|
-
{ data: WorkflowPostBodyBody },
|
|
366
|
-
TContext
|
|
367
|
-
>;
|
|
398
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
368
399
|
request?: SecondParameter<typeof customFetch>;
|
|
369
400
|
},
|
|
370
401
|
queryClient?: QueryClient,
|
|
371
|
-
):
|
|
372
|
-
|
|
373
|
-
TError,
|
|
374
|
-
{ data: WorkflowPostBodyBody },
|
|
375
|
-
TContext
|
|
376
|
-
> => {
|
|
377
|
-
const mutationOptions = getCreateWorkflowMutationOptions(options);
|
|
402
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
403
|
+
const queryOptions = getCreateWorkflowQueryOptions(workflowPostBodyBody, options);
|
|
378
404
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
* Get details of a specific Workflow available to you.
|
|
405
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
406
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
407
|
+
};
|
|
383
408
|
|
|
384
|
-
|
|
409
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @summary Create a new Workflow
|
|
385
414
|
*/
|
|
415
|
+
export const invalidateCreateWorkflow = async (
|
|
416
|
+
queryClient: QueryClient,
|
|
417
|
+
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
418
|
+
options?: InvalidateOptions,
|
|
419
|
+
): Promise<QueryClient> => {
|
|
420
|
+
await queryClient.invalidateQueries(
|
|
421
|
+
{ queryKey: getCreateWorkflowQueryKey(workflowPostBodyBody) },
|
|
422
|
+
options,
|
|
423
|
+
);
|
|
424
|
+
|
|
425
|
+
return queryClient;
|
|
426
|
+
};
|
|
427
|
+
|
|
386
428
|
export type getWorkflowResponse200 = { data: WorkflowGetResponse; status: 200 };
|
|
387
429
|
|
|
388
430
|
export type getWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -400,6 +442,10 @@ export const getGetWorkflowUrl = (workflowId: string) => {
|
|
|
400
442
|
return `/workflow/${workflowId}`;
|
|
401
443
|
};
|
|
402
444
|
|
|
445
|
+
/**
|
|
446
|
+
* Get details of a specific Workflow available to you.
|
|
447
|
+
* @summary Get details of a specific Workflow
|
|
448
|
+
*/
|
|
403
449
|
export const getWorkflow = async (
|
|
404
450
|
workflowId: string,
|
|
405
451
|
options?: RequestInit,
|
|
@@ -410,7 +456,7 @@ export const getWorkflow = async (
|
|
|
410
456
|
});
|
|
411
457
|
};
|
|
412
458
|
|
|
413
|
-
export const getGetWorkflowQueryKey = (workflowId
|
|
459
|
+
export const getGetWorkflowQueryKey = (workflowId: string) => {
|
|
414
460
|
return ["data-manager", "workflow", workflowId] as const;
|
|
415
461
|
};
|
|
416
462
|
|
|
@@ -431,11 +477,14 @@ export const getGetWorkflowQueryOptions = <
|
|
|
431
477
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflow>>> = ({ signal }) =>
|
|
432
478
|
getWorkflow(workflowId, { signal, ...requestOptions });
|
|
433
479
|
|
|
434
|
-
return {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
480
|
+
return {
|
|
481
|
+
queryKey,
|
|
482
|
+
queryFn,
|
|
483
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
484
|
+
...queryOptions,
|
|
485
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflow>>, TError, TData> & {
|
|
486
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
487
|
+
};
|
|
439
488
|
};
|
|
440
489
|
|
|
441
490
|
export type GetWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflow>>>;
|
|
@@ -459,7 +508,7 @@ export function useGetWorkflow<
|
|
|
459
508
|
request?: SecondParameter<typeof customFetch>;
|
|
460
509
|
},
|
|
461
510
|
queryClient?: QueryClient,
|
|
462
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
511
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
463
512
|
export function useGetWorkflow<
|
|
464
513
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
465
514
|
TError = ErrorType<void | DmError>,
|
|
@@ -478,7 +527,7 @@ export function useGetWorkflow<
|
|
|
478
527
|
request?: SecondParameter<typeof customFetch>;
|
|
479
528
|
},
|
|
480
529
|
queryClient?: QueryClient,
|
|
481
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
530
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
482
531
|
export function useGetWorkflow<
|
|
483
532
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
484
533
|
TError = ErrorType<void | DmError>,
|
|
@@ -489,7 +538,7 @@ export function useGetWorkflow<
|
|
|
489
538
|
request?: SecondParameter<typeof customFetch>;
|
|
490
539
|
},
|
|
491
540
|
queryClient?: QueryClient,
|
|
492
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
541
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
493
542
|
/**
|
|
494
543
|
* @summary Get details of a specific Workflow
|
|
495
544
|
*/
|
|
@@ -504,16 +553,14 @@ export function useGetWorkflow<
|
|
|
504
553
|
request?: SecondParameter<typeof customFetch>;
|
|
505
554
|
},
|
|
506
555
|
queryClient?: QueryClient,
|
|
507
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
556
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
508
557
|
const queryOptions = getGetWorkflowQueryOptions(workflowId, options);
|
|
509
558
|
|
|
510
559
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
511
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
560
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
512
561
|
};
|
|
513
562
|
|
|
514
|
-
query
|
|
515
|
-
|
|
516
|
-
return query;
|
|
563
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
517
564
|
}
|
|
518
565
|
|
|
519
566
|
/**
|
|
@@ -552,7 +599,7 @@ export const getGetWorkflowSuspenseQueryOptions = <
|
|
|
552
599
|
Awaited<ReturnType<typeof getWorkflow>>,
|
|
553
600
|
TError,
|
|
554
601
|
TData
|
|
555
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
602
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
556
603
|
};
|
|
557
604
|
|
|
558
605
|
export type GetWorkflowSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkflow>>>;
|
|
@@ -568,7 +615,7 @@ export function useGetWorkflowSuspense<
|
|
|
568
615
|
request?: SecondParameter<typeof customFetch>;
|
|
569
616
|
},
|
|
570
617
|
queryClient?: QueryClient,
|
|
571
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
618
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
572
619
|
export function useGetWorkflowSuspense<
|
|
573
620
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
574
621
|
TError = ErrorType<void | DmError>,
|
|
@@ -581,7 +628,7 @@ export function useGetWorkflowSuspense<
|
|
|
581
628
|
request?: SecondParameter<typeof customFetch>;
|
|
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
|
export function useGetWorkflowSuspense<
|
|
586
633
|
TData = Awaited<ReturnType<typeof getWorkflow>>,
|
|
587
634
|
TError = ErrorType<void | DmError>,
|
|
@@ -594,7 +641,7 @@ export function useGetWorkflowSuspense<
|
|
|
594
641
|
request?: SecondParameter<typeof customFetch>;
|
|
595
642
|
},
|
|
596
643
|
queryClient?: QueryClient,
|
|
597
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
644
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
598
645
|
/**
|
|
599
646
|
* @summary Get details of a specific Workflow
|
|
600
647
|
*/
|
|
@@ -611,26 +658,17 @@ export function useGetWorkflowSuspense<
|
|
|
611
658
|
request?: SecondParameter<typeof customFetch>;
|
|
612
659
|
},
|
|
613
660
|
queryClient?: QueryClient,
|
|
614
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
661
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
615
662
|
const queryOptions = getGetWorkflowSuspenseQueryOptions(workflowId, options);
|
|
616
663
|
|
|
617
664
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
618
665
|
TData,
|
|
619
666
|
TError
|
|
620
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
621
|
-
|
|
622
|
-
query.queryKey = queryOptions.queryKey;
|
|
667
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
623
668
|
|
|
624
|
-
return query;
|
|
669
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
625
670
|
}
|
|
626
671
|
|
|
627
|
-
/**
|
|
628
|
-
* The Workflow is deleted.
|
|
629
|
-
|
|
630
|
-
You cannot delete a Workflow if it is the _source_ of a versioned workflow.
|
|
631
|
-
|
|
632
|
-
* @summary Delete a Workflow
|
|
633
|
-
*/
|
|
634
672
|
export type deleteWorkflowResponse204 = { data: void; status: 204 };
|
|
635
673
|
|
|
636
674
|
export type deleteWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -649,6 +687,12 @@ export const getDeleteWorkflowUrl = (workflowId: string) => {
|
|
|
649
687
|
return `/workflow/${workflowId}`;
|
|
650
688
|
};
|
|
651
689
|
|
|
690
|
+
/**
|
|
691
|
+
* The Workflow is deleted.
|
|
692
|
+
*
|
|
693
|
+
* You cannot delete a Workflow if it is the _source_ of a versioned workflow.
|
|
694
|
+
* @summary Delete a Workflow
|
|
695
|
+
*/
|
|
652
696
|
export const deleteWorkflow = async (
|
|
653
697
|
workflowId: string,
|
|
654
698
|
options?: RequestInit,
|
|
@@ -659,77 +703,126 @@ export const deleteWorkflow = async (
|
|
|
659
703
|
});
|
|
660
704
|
};
|
|
661
705
|
|
|
662
|
-
export const
|
|
706
|
+
export const getDeleteWorkflowQueryKey = (workflowId: string) => {
|
|
707
|
+
return ["data-manager", "DELETE", "workflow", workflowId] as const;
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
export const getDeleteWorkflowQueryOptions = <
|
|
711
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
663
712
|
TError = ErrorType<void | DmError>,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
request?: SecondParameter<typeof customFetch>;
|
|
673
|
-
}): UseMutationOptions<
|
|
674
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
675
|
-
TError,
|
|
676
|
-
{ workflowId: string },
|
|
677
|
-
TContext
|
|
678
|
-
> => {
|
|
679
|
-
const mutationKey = ["deleteWorkflow"];
|
|
680
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
681
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
682
|
-
? options
|
|
683
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
684
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
685
|
-
|
|
686
|
-
const mutationFn: MutationFunction<
|
|
687
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
688
|
-
{ workflowId: string }
|
|
689
|
-
> = (props) => {
|
|
690
|
-
const { workflowId } = props ?? {};
|
|
691
|
-
|
|
692
|
-
return deleteWorkflow(workflowId, requestOptions);
|
|
693
|
-
};
|
|
713
|
+
>(
|
|
714
|
+
workflowId: string,
|
|
715
|
+
options?: {
|
|
716
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
717
|
+
request?: SecondParameter<typeof customFetch>;
|
|
718
|
+
},
|
|
719
|
+
) => {
|
|
720
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
694
721
|
|
|
695
|
-
|
|
696
|
-
|
|
722
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteWorkflowQueryKey(workflowId);
|
|
723
|
+
|
|
724
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteWorkflow>>> = ({ signal }) =>
|
|
725
|
+
deleteWorkflow(workflowId, { signal, ...requestOptions });
|
|
697
726
|
|
|
698
|
-
|
|
727
|
+
return {
|
|
728
|
+
queryKey,
|
|
729
|
+
queryFn,
|
|
730
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
731
|
+
...queryOptions,
|
|
732
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData> & {
|
|
733
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
734
|
+
};
|
|
735
|
+
};
|
|
699
736
|
|
|
700
|
-
export type
|
|
737
|
+
export type DeleteWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof deleteWorkflow>>>;
|
|
738
|
+
export type DeleteWorkflowQueryError = ErrorType<void | DmError>;
|
|
701
739
|
|
|
740
|
+
export function useDeleteWorkflow<
|
|
741
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
742
|
+
TError = ErrorType<void | DmError>,
|
|
743
|
+
>(
|
|
744
|
+
workflowId: string,
|
|
745
|
+
options: {
|
|
746
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
747
|
+
Pick<
|
|
748
|
+
DefinedInitialDataOptions<
|
|
749
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
750
|
+
TError,
|
|
751
|
+
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
752
|
+
>,
|
|
753
|
+
"initialData"
|
|
754
|
+
>;
|
|
755
|
+
request?: SecondParameter<typeof customFetch>;
|
|
756
|
+
},
|
|
757
|
+
queryClient?: QueryClient,
|
|
758
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
759
|
+
export function useDeleteWorkflow<
|
|
760
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
761
|
+
TError = ErrorType<void | DmError>,
|
|
762
|
+
>(
|
|
763
|
+
workflowId: string,
|
|
764
|
+
options?: {
|
|
765
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
766
|
+
Pick<
|
|
767
|
+
UndefinedInitialDataOptions<
|
|
768
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
769
|
+
TError,
|
|
770
|
+
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
771
|
+
>,
|
|
772
|
+
"initialData"
|
|
773
|
+
>;
|
|
774
|
+
request?: SecondParameter<typeof customFetch>;
|
|
775
|
+
},
|
|
776
|
+
queryClient?: QueryClient,
|
|
777
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
778
|
+
export function useDeleteWorkflow<
|
|
779
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
780
|
+
TError = ErrorType<void | DmError>,
|
|
781
|
+
>(
|
|
782
|
+
workflowId: string,
|
|
783
|
+
options?: {
|
|
784
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
785
|
+
request?: SecondParameter<typeof customFetch>;
|
|
786
|
+
},
|
|
787
|
+
queryClient?: QueryClient,
|
|
788
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
702
789
|
/**
|
|
703
790
|
* @summary Delete a Workflow
|
|
704
791
|
*/
|
|
705
|
-
|
|
792
|
+
|
|
793
|
+
export function useDeleteWorkflow<
|
|
794
|
+
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
795
|
+
TError = ErrorType<void | DmError>,
|
|
796
|
+
>(
|
|
797
|
+
workflowId: string,
|
|
706
798
|
options?: {
|
|
707
|
-
|
|
708
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
709
|
-
TError,
|
|
710
|
-
{ workflowId: string },
|
|
711
|
-
TContext
|
|
712
|
-
>;
|
|
799
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
713
800
|
request?: SecondParameter<typeof customFetch>;
|
|
714
801
|
},
|
|
715
802
|
queryClient?: QueryClient,
|
|
716
|
-
):
|
|
717
|
-
|
|
718
|
-
TError,
|
|
719
|
-
{ workflowId: string },
|
|
720
|
-
TContext
|
|
721
|
-
> => {
|
|
722
|
-
const mutationOptions = getDeleteWorkflowMutationOptions(options);
|
|
803
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
804
|
+
const queryOptions = getDeleteWorkflowQueryOptions(workflowId, options);
|
|
723
805
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
* The Workflow is updated according to the patch parameters.
|
|
806
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
807
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
808
|
+
};
|
|
728
809
|
|
|
729
|
-
|
|
810
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
811
|
+
}
|
|
730
812
|
|
|
731
|
-
|
|
813
|
+
/**
|
|
814
|
+
* @summary Delete a Workflow
|
|
732
815
|
*/
|
|
816
|
+
export const invalidateDeleteWorkflow = async (
|
|
817
|
+
queryClient: QueryClient,
|
|
818
|
+
workflowId: string,
|
|
819
|
+
options?: InvalidateOptions,
|
|
820
|
+
): Promise<QueryClient> => {
|
|
821
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteWorkflowQueryKey(workflowId) }, options);
|
|
822
|
+
|
|
823
|
+
return queryClient;
|
|
824
|
+
};
|
|
825
|
+
|
|
733
826
|
export type updateWorkflowResponse200 = { data: WorkflowPatchResponse; status: 200 };
|
|
734
827
|
|
|
735
828
|
export type updateWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -748,6 +841,12 @@ export const getUpdateWorkflowUrl = (workflowId: string) => {
|
|
|
748
841
|
return `/workflow/${workflowId}`;
|
|
749
842
|
};
|
|
750
843
|
|
|
844
|
+
/**
|
|
845
|
+
* The Workflow is updated according to the patch parameters.
|
|
846
|
+
*
|
|
847
|
+
* 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.
|
|
848
|
+
* @summary Update a Workflow
|
|
849
|
+
*/
|
|
751
850
|
export const updateWorkflow = async (
|
|
752
851
|
workflowId: string,
|
|
753
852
|
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
@@ -771,75 +870,139 @@ export const updateWorkflow = async (
|
|
|
771
870
|
});
|
|
772
871
|
};
|
|
773
872
|
|
|
774
|
-
export const
|
|
873
|
+
export const getUpdateWorkflowQueryKey = (
|
|
874
|
+
workflowId: string,
|
|
875
|
+
workflowPatchBodyBody?: WorkflowPatchBodyBody,
|
|
876
|
+
) => {
|
|
877
|
+
return ["data-manager", "PATCH", "workflow", workflowId, workflowPatchBodyBody] as const;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
export const getUpdateWorkflowQueryOptions = <
|
|
881
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
775
882
|
TError = ErrorType<void | DmError>,
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
TError,
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
request
|
|
785
|
-
}): UseMutationOptions<
|
|
786
|
-
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
787
|
-
TError,
|
|
788
|
-
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
789
|
-
TContext
|
|
790
|
-
> => {
|
|
791
|
-
const mutationKey = ["updateWorkflow"];
|
|
792
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
793
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
794
|
-
? options
|
|
795
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
796
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
797
|
-
|
|
798
|
-
const mutationFn: MutationFunction<
|
|
799
|
-
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
800
|
-
{ workflowId: string; data: WorkflowPatchBodyBody }
|
|
801
|
-
> = (props) => {
|
|
802
|
-
const { workflowId, data } = props ?? {};
|
|
803
|
-
|
|
804
|
-
return updateWorkflow(workflowId, data, requestOptions);
|
|
805
|
-
};
|
|
883
|
+
>(
|
|
884
|
+
workflowId: string,
|
|
885
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
886
|
+
options?: {
|
|
887
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
888
|
+
request?: SecondParameter<typeof customFetch>;
|
|
889
|
+
},
|
|
890
|
+
) => {
|
|
891
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
806
892
|
|
|
807
|
-
|
|
893
|
+
const queryKey =
|
|
894
|
+
queryOptions?.queryKey ?? getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody);
|
|
895
|
+
|
|
896
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof updateWorkflow>>> = ({ signal }) =>
|
|
897
|
+
updateWorkflow(workflowId, workflowPatchBodyBody, { signal, ...requestOptions });
|
|
898
|
+
|
|
899
|
+
return {
|
|
900
|
+
queryKey,
|
|
901
|
+
queryFn,
|
|
902
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
903
|
+
...queryOptions,
|
|
904
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData> & {
|
|
905
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
906
|
+
};
|
|
808
907
|
};
|
|
809
908
|
|
|
810
|
-
export type
|
|
811
|
-
export type
|
|
812
|
-
export type UpdateWorkflowMutationError = ErrorType<void | DmError>;
|
|
909
|
+
export type UpdateWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof updateWorkflow>>>;
|
|
910
|
+
export type UpdateWorkflowQueryError = ErrorType<void | DmError>;
|
|
813
911
|
|
|
912
|
+
export function useUpdateWorkflow<
|
|
913
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
914
|
+
TError = ErrorType<void | DmError>,
|
|
915
|
+
>(
|
|
916
|
+
workflowId: string,
|
|
917
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
918
|
+
options: {
|
|
919
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>> &
|
|
920
|
+
Pick<
|
|
921
|
+
DefinedInitialDataOptions<
|
|
922
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
923
|
+
TError,
|
|
924
|
+
Awaited<ReturnType<typeof updateWorkflow>>
|
|
925
|
+
>,
|
|
926
|
+
"initialData"
|
|
927
|
+
>;
|
|
928
|
+
request?: SecondParameter<typeof customFetch>;
|
|
929
|
+
},
|
|
930
|
+
queryClient?: QueryClient,
|
|
931
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
932
|
+
export function useUpdateWorkflow<
|
|
933
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
934
|
+
TError = ErrorType<void | DmError>,
|
|
935
|
+
>(
|
|
936
|
+
workflowId: string,
|
|
937
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
938
|
+
options?: {
|
|
939
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>> &
|
|
940
|
+
Pick<
|
|
941
|
+
UndefinedInitialDataOptions<
|
|
942
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
943
|
+
TError,
|
|
944
|
+
Awaited<ReturnType<typeof updateWorkflow>>
|
|
945
|
+
>,
|
|
946
|
+
"initialData"
|
|
947
|
+
>;
|
|
948
|
+
request?: SecondParameter<typeof customFetch>;
|
|
949
|
+
},
|
|
950
|
+
queryClient?: QueryClient,
|
|
951
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
952
|
+
export function useUpdateWorkflow<
|
|
953
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
954
|
+
TError = ErrorType<void | DmError>,
|
|
955
|
+
>(
|
|
956
|
+
workflowId: string,
|
|
957
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
958
|
+
options?: {
|
|
959
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
960
|
+
request?: SecondParameter<typeof customFetch>;
|
|
961
|
+
},
|
|
962
|
+
queryClient?: QueryClient,
|
|
963
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
814
964
|
/**
|
|
815
965
|
* @summary Update a Workflow
|
|
816
966
|
*/
|
|
817
|
-
|
|
967
|
+
|
|
968
|
+
export function useUpdateWorkflow<
|
|
969
|
+
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
970
|
+
TError = ErrorType<void | DmError>,
|
|
971
|
+
>(
|
|
972
|
+
workflowId: string,
|
|
973
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
818
974
|
options?: {
|
|
819
|
-
|
|
820
|
-
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
821
|
-
TError,
|
|
822
|
-
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
823
|
-
TContext
|
|
824
|
-
>;
|
|
975
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
825
976
|
request?: SecondParameter<typeof customFetch>;
|
|
826
977
|
},
|
|
827
978
|
queryClient?: QueryClient,
|
|
828
|
-
):
|
|
829
|
-
|
|
830
|
-
TError,
|
|
831
|
-
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
832
|
-
TContext
|
|
833
|
-
> => {
|
|
834
|
-
const mutationOptions = getUpdateWorkflowMutationOptions(options);
|
|
979
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
980
|
+
const queryOptions = getUpdateWorkflowQueryOptions(workflowId, workflowPatchBodyBody, options);
|
|
835
981
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
* 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.
|
|
982
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
983
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
984
|
+
};
|
|
840
985
|
|
|
841
|
-
|
|
986
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @summary Update a Workflow
|
|
842
991
|
*/
|
|
992
|
+
export const invalidateUpdateWorkflow = async (
|
|
993
|
+
queryClient: QueryClient,
|
|
994
|
+
workflowId: string,
|
|
995
|
+
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
996
|
+
options?: InvalidateOptions,
|
|
997
|
+
): Promise<QueryClient> => {
|
|
998
|
+
await queryClient.invalidateQueries(
|
|
999
|
+
{ queryKey: getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody) },
|
|
1000
|
+
options,
|
|
1001
|
+
);
|
|
1002
|
+
|
|
1003
|
+
return queryClient;
|
|
1004
|
+
};
|
|
1005
|
+
|
|
843
1006
|
export type getWorkflowDefinitionResponse200 = { data: WorkflowDefinitionGetResponse; status: 200 };
|
|
844
1007
|
|
|
845
1008
|
export type getWorkflowDefinitionResponse401 = { data: void; status: 401 };
|
|
@@ -862,6 +1025,10 @@ export const getGetWorkflowDefinitionUrl = (workflowId: string) => {
|
|
|
862
1025
|
return `/workflow/${workflowId}/definition`;
|
|
863
1026
|
};
|
|
864
1027
|
|
|
1028
|
+
/**
|
|
1029
|
+
* 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.
|
|
1030
|
+
* @summary Gets the full definition of a Workflow
|
|
1031
|
+
*/
|
|
865
1032
|
export const getWorkflowDefinition = async (
|
|
866
1033
|
workflowId: string,
|
|
867
1034
|
options?: RequestInit,
|
|
@@ -872,7 +1039,7 @@ export const getWorkflowDefinition = async (
|
|
|
872
1039
|
});
|
|
873
1040
|
};
|
|
874
1041
|
|
|
875
|
-
export const getGetWorkflowDefinitionQueryKey = (workflowId
|
|
1042
|
+
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
876
1043
|
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
877
1044
|
};
|
|
878
1045
|
|
|
@@ -895,11 +1062,14 @@ export const getGetWorkflowDefinitionQueryOptions = <
|
|
|
895
1062
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
896
1063
|
getWorkflowDefinition(workflowId, { signal, ...requestOptions });
|
|
897
1064
|
|
|
898
|
-
return {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
1065
|
+
return {
|
|
1066
|
+
queryKey,
|
|
1067
|
+
queryFn,
|
|
1068
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
1069
|
+
...queryOptions,
|
|
1070
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
1071
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1072
|
+
};
|
|
903
1073
|
};
|
|
904
1074
|
|
|
905
1075
|
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
@@ -927,7 +1097,7 @@ export function useGetWorkflowDefinition<
|
|
|
927
1097
|
request?: SecondParameter<typeof customFetch>;
|
|
928
1098
|
},
|
|
929
1099
|
queryClient?: QueryClient,
|
|
930
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1100
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
931
1101
|
export function useGetWorkflowDefinition<
|
|
932
1102
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
933
1103
|
TError = ErrorType<void | DmError>,
|
|
@@ -948,7 +1118,7 @@ export function useGetWorkflowDefinition<
|
|
|
948
1118
|
request?: SecondParameter<typeof customFetch>;
|
|
949
1119
|
},
|
|
950
1120
|
queryClient?: QueryClient,
|
|
951
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1121
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
952
1122
|
export function useGetWorkflowDefinition<
|
|
953
1123
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
954
1124
|
TError = ErrorType<void | DmError>,
|
|
@@ -961,7 +1131,7 @@ export function useGetWorkflowDefinition<
|
|
|
961
1131
|
request?: SecondParameter<typeof customFetch>;
|
|
962
1132
|
},
|
|
963
1133
|
queryClient?: QueryClient,
|
|
964
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1134
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
965
1135
|
/**
|
|
966
1136
|
* @summary Gets the full definition of a Workflow
|
|
967
1137
|
*/
|
|
@@ -978,16 +1148,14 @@ export function useGetWorkflowDefinition<
|
|
|
978
1148
|
request?: SecondParameter<typeof customFetch>;
|
|
979
1149
|
},
|
|
980
1150
|
queryClient?: QueryClient,
|
|
981
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1151
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
982
1152
|
const queryOptions = getGetWorkflowDefinitionQueryOptions(workflowId, options);
|
|
983
1153
|
|
|
984
1154
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
985
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1155
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
986
1156
|
};
|
|
987
1157
|
|
|
988
|
-
query
|
|
989
|
-
|
|
990
|
-
return query;
|
|
1158
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
991
1159
|
}
|
|
992
1160
|
|
|
993
1161
|
/**
|
|
@@ -1029,7 +1197,7 @@ export const getGetWorkflowDefinitionSuspenseQueryOptions = <
|
|
|
1029
1197
|
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1030
1198
|
TError,
|
|
1031
1199
|
TData
|
|
1032
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1200
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1033
1201
|
};
|
|
1034
1202
|
|
|
1035
1203
|
export type GetWorkflowDefinitionSuspenseQueryResult = NonNullable<
|
|
@@ -1049,7 +1217,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1049
1217
|
request?: SecondParameter<typeof customFetch>;
|
|
1050
1218
|
},
|
|
1051
1219
|
queryClient?: QueryClient,
|
|
1052
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1220
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1053
1221
|
export function useGetWorkflowDefinitionSuspense<
|
|
1054
1222
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1055
1223
|
TError = ErrorType<void | DmError>,
|
|
@@ -1062,7 +1230,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1062
1230
|
request?: SecondParameter<typeof customFetch>;
|
|
1063
1231
|
},
|
|
1064
1232
|
queryClient?: QueryClient,
|
|
1065
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1233
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1066
1234
|
export function useGetWorkflowDefinitionSuspense<
|
|
1067
1235
|
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1068
1236
|
TError = ErrorType<void | DmError>,
|
|
@@ -1075,7 +1243,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1075
1243
|
request?: SecondParameter<typeof customFetch>;
|
|
1076
1244
|
},
|
|
1077
1245
|
queryClient?: QueryClient,
|
|
1078
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1246
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1079
1247
|
/**
|
|
1080
1248
|
* @summary Gets the full definition of a Workflow
|
|
1081
1249
|
*/
|
|
@@ -1092,24 +1260,17 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1092
1260
|
request?: SecondParameter<typeof customFetch>;
|
|
1093
1261
|
},
|
|
1094
1262
|
queryClient?: QueryClient,
|
|
1095
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1263
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1096
1264
|
const queryOptions = getGetWorkflowDefinitionSuspenseQueryOptions(workflowId, options);
|
|
1097
1265
|
|
|
1098
1266
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1099
1267
|
TData,
|
|
1100
1268
|
TError
|
|
1101
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1102
|
-
|
|
1103
|
-
query.queryKey = queryOptions.queryKey;
|
|
1269
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1104
1270
|
|
|
1105
|
-
return query;
|
|
1271
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1106
1272
|
}
|
|
1107
1273
|
|
|
1108
|
-
/**
|
|
1109
|
-
* Runs a Workflow.
|
|
1110
|
-
|
|
1111
|
-
* @summary Run a Workflow
|
|
1112
|
-
*/
|
|
1113
1274
|
export type runWorkflowResponse201 = { data: WorkflowRunPostResponse; status: 201 };
|
|
1114
1275
|
|
|
1115
1276
|
export type runWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -1127,6 +1288,10 @@ export const getRunWorkflowUrl = (workflowId: string) => {
|
|
|
1127
1288
|
return `/workflow/${workflowId}/run`;
|
|
1128
1289
|
};
|
|
1129
1290
|
|
|
1291
|
+
/**
|
|
1292
|
+
* Runs a Workflow.
|
|
1293
|
+
* @summary Run a Workflow
|
|
1294
|
+
*/
|
|
1130
1295
|
export const runWorkflow = async (
|
|
1131
1296
|
workflowId: string,
|
|
1132
1297
|
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
@@ -1150,77 +1315,139 @@ export const runWorkflow = async (
|
|
|
1150
1315
|
});
|
|
1151
1316
|
};
|
|
1152
1317
|
|
|
1153
|
-
export const
|
|
1318
|
+
export const getRunWorkflowQueryKey = (
|
|
1319
|
+
workflowId: string,
|
|
1320
|
+
workflowRunPostBodyBody?: WorkflowRunPostBodyBody,
|
|
1321
|
+
) => {
|
|
1322
|
+
return ["data-manager", "POST", "workflow", workflowId, "run", workflowRunPostBodyBody] as const;
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
export const getRunWorkflowQueryOptions = <
|
|
1326
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1154
1327
|
TError = ErrorType<void | DmError>,
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
TError,
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
request
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1168
|
-
TContext
|
|
1169
|
-
> => {
|
|
1170
|
-
const mutationKey = ["runWorkflow"];
|
|
1171
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1172
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1173
|
-
? options
|
|
1174
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1175
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1176
|
-
|
|
1177
|
-
const mutationFn: MutationFunction<
|
|
1178
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1179
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody }
|
|
1180
|
-
> = (props) => {
|
|
1181
|
-
const { workflowId, data } = props ?? {};
|
|
1182
|
-
|
|
1183
|
-
return runWorkflow(workflowId, data, requestOptions);
|
|
1184
|
-
};
|
|
1328
|
+
>(
|
|
1329
|
+
workflowId: string,
|
|
1330
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1331
|
+
options?: {
|
|
1332
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1333
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1334
|
+
},
|
|
1335
|
+
) => {
|
|
1336
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1337
|
+
|
|
1338
|
+
const queryKey =
|
|
1339
|
+
queryOptions?.queryKey ?? getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody);
|
|
1185
1340
|
|
|
1186
|
-
|
|
1341
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof runWorkflow>>> = ({ signal }) =>
|
|
1342
|
+
runWorkflow(workflowId, workflowRunPostBodyBody, { signal, ...requestOptions });
|
|
1343
|
+
|
|
1344
|
+
return {
|
|
1345
|
+
queryKey,
|
|
1346
|
+
queryFn,
|
|
1347
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
1348
|
+
...queryOptions,
|
|
1349
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData> & {
|
|
1350
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1351
|
+
};
|
|
1187
1352
|
};
|
|
1188
1353
|
|
|
1189
|
-
export type
|
|
1190
|
-
export type
|
|
1191
|
-
export type RunWorkflowMutationError = ErrorType<void | DmError>;
|
|
1354
|
+
export type RunWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof runWorkflow>>>;
|
|
1355
|
+
export type RunWorkflowQueryError = ErrorType<void | DmError>;
|
|
1192
1356
|
|
|
1357
|
+
export function useRunWorkflow<
|
|
1358
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1359
|
+
TError = ErrorType<void | DmError>,
|
|
1360
|
+
>(
|
|
1361
|
+
workflowId: string,
|
|
1362
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1363
|
+
options: {
|
|
1364
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1365
|
+
Pick<
|
|
1366
|
+
DefinedInitialDataOptions<
|
|
1367
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1368
|
+
TError,
|
|
1369
|
+
Awaited<ReturnType<typeof runWorkflow>>
|
|
1370
|
+
>,
|
|
1371
|
+
"initialData"
|
|
1372
|
+
>;
|
|
1373
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1374
|
+
},
|
|
1375
|
+
queryClient?: QueryClient,
|
|
1376
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1377
|
+
export function useRunWorkflow<
|
|
1378
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1379
|
+
TError = ErrorType<void | DmError>,
|
|
1380
|
+
>(
|
|
1381
|
+
workflowId: string,
|
|
1382
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1383
|
+
options?: {
|
|
1384
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1385
|
+
Pick<
|
|
1386
|
+
UndefinedInitialDataOptions<
|
|
1387
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1388
|
+
TError,
|
|
1389
|
+
Awaited<ReturnType<typeof runWorkflow>>
|
|
1390
|
+
>,
|
|
1391
|
+
"initialData"
|
|
1392
|
+
>;
|
|
1393
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1394
|
+
},
|
|
1395
|
+
queryClient?: QueryClient,
|
|
1396
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1397
|
+
export function useRunWorkflow<
|
|
1398
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1399
|
+
TError = ErrorType<void | DmError>,
|
|
1400
|
+
>(
|
|
1401
|
+
workflowId: string,
|
|
1402
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1403
|
+
options?: {
|
|
1404
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1405
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1406
|
+
},
|
|
1407
|
+
queryClient?: QueryClient,
|
|
1408
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1193
1409
|
/**
|
|
1194
1410
|
* @summary Run a Workflow
|
|
1195
1411
|
*/
|
|
1196
|
-
|
|
1412
|
+
|
|
1413
|
+
export function useRunWorkflow<
|
|
1414
|
+
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1415
|
+
TError = ErrorType<void | DmError>,
|
|
1416
|
+
>(
|
|
1417
|
+
workflowId: string,
|
|
1418
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1197
1419
|
options?: {
|
|
1198
|
-
|
|
1199
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1200
|
-
TError,
|
|
1201
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1202
|
-
TContext
|
|
1203
|
-
>;
|
|
1420
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1204
1421
|
request?: SecondParameter<typeof customFetch>;
|
|
1205
1422
|
},
|
|
1206
1423
|
queryClient?: QueryClient,
|
|
1207
|
-
):
|
|
1208
|
-
|
|
1209
|
-
TError,
|
|
1210
|
-
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1211
|
-
TContext
|
|
1212
|
-
> => {
|
|
1213
|
-
const mutationOptions = getRunWorkflowMutationOptions(options);
|
|
1424
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1425
|
+
const queryOptions = getRunWorkflowQueryOptions(workflowId, workflowRunPostBodyBody, options);
|
|
1214
1426
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
* 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.
|
|
1427
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1428
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1429
|
+
};
|
|
1219
1430
|
|
|
1220
|
-
|
|
1431
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1432
|
+
}
|
|
1221
1433
|
|
|
1222
|
-
|
|
1434
|
+
/**
|
|
1435
|
+
* @summary Run a Workflow
|
|
1223
1436
|
*/
|
|
1437
|
+
export const invalidateRunWorkflow = async (
|
|
1438
|
+
queryClient: QueryClient,
|
|
1439
|
+
workflowId: string,
|
|
1440
|
+
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1441
|
+
options?: InvalidateOptions,
|
|
1442
|
+
): Promise<QueryClient> => {
|
|
1443
|
+
await queryClient.invalidateQueries(
|
|
1444
|
+
{ queryKey: getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody) },
|
|
1445
|
+
options,
|
|
1446
|
+
);
|
|
1447
|
+
|
|
1448
|
+
return queryClient;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1224
1451
|
export type versionWorkflowResponse201 = { data: WorkflowVersionPutResponse; status: 201 };
|
|
1225
1452
|
|
|
1226
1453
|
export type versionWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -1239,6 +1466,12 @@ export const getVersionWorkflowUrl = (workflowId: string) => {
|
|
|
1239
1466
|
return `/workflow/${workflowId}/version`;
|
|
1240
1467
|
};
|
|
1241
1468
|
|
|
1469
|
+
/**
|
|
1470
|
+
* 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.
|
|
1471
|
+
*
|
|
1472
|
+
* 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.
|
|
1473
|
+
* @summary Applied a version to the Workflow
|
|
1474
|
+
*/
|
|
1242
1475
|
export const versionWorkflow = async (
|
|
1243
1476
|
workflowId: string,
|
|
1244
1477
|
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
@@ -1255,79 +1488,150 @@ export const versionWorkflow = async (
|
|
|
1255
1488
|
});
|
|
1256
1489
|
};
|
|
1257
1490
|
|
|
1258
|
-
export const
|
|
1491
|
+
export const getVersionWorkflowQueryKey = (
|
|
1492
|
+
workflowId: string,
|
|
1493
|
+
workflowVersionPutBodyBody?: WorkflowVersionPutBodyBody,
|
|
1494
|
+
) => {
|
|
1495
|
+
return [
|
|
1496
|
+
"data-manager",
|
|
1497
|
+
"PUT",
|
|
1498
|
+
"workflow",
|
|
1499
|
+
workflowId,
|
|
1500
|
+
"version",
|
|
1501
|
+
workflowVersionPutBodyBody,
|
|
1502
|
+
] as const;
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
export const getVersionWorkflowQueryOptions = <
|
|
1506
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1259
1507
|
TError = ErrorType<void | DmError>,
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
TError,
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
request
|
|
1269
|
-
}): UseMutationOptions<
|
|
1270
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1271
|
-
TError,
|
|
1272
|
-
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1273
|
-
TContext
|
|
1274
|
-
> => {
|
|
1275
|
-
const mutationKey = ["versionWorkflow"];
|
|
1276
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1277
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1278
|
-
? options
|
|
1279
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1280
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1281
|
-
|
|
1282
|
-
const mutationFn: MutationFunction<
|
|
1283
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1284
|
-
{ workflowId: string; data: WorkflowVersionPutBodyBody }
|
|
1285
|
-
> = (props) => {
|
|
1286
|
-
const { workflowId, data } = props ?? {};
|
|
1287
|
-
|
|
1288
|
-
return versionWorkflow(workflowId, data, requestOptions);
|
|
1289
|
-
};
|
|
1508
|
+
>(
|
|
1509
|
+
workflowId: string,
|
|
1510
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1511
|
+
options?: {
|
|
1512
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1513
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1514
|
+
},
|
|
1515
|
+
) => {
|
|
1516
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1290
1517
|
|
|
1291
|
-
|
|
1518
|
+
const queryKey =
|
|
1519
|
+
queryOptions?.queryKey ?? getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody);
|
|
1520
|
+
|
|
1521
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof versionWorkflow>>> = ({ signal }) =>
|
|
1522
|
+
versionWorkflow(workflowId, workflowVersionPutBodyBody, { signal, ...requestOptions });
|
|
1523
|
+
|
|
1524
|
+
return {
|
|
1525
|
+
queryKey,
|
|
1526
|
+
queryFn,
|
|
1527
|
+
enabled: workflowId !== null && workflowId !== undefined,
|
|
1528
|
+
...queryOptions,
|
|
1529
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData> & {
|
|
1530
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1531
|
+
};
|
|
1292
1532
|
};
|
|
1293
1533
|
|
|
1294
|
-
export type
|
|
1295
|
-
|
|
1296
|
-
>;
|
|
1297
|
-
export type VersionWorkflowMutationBody = WorkflowVersionPutBodyBody;
|
|
1298
|
-
export type VersionWorkflowMutationError = ErrorType<void | DmError>;
|
|
1534
|
+
export type VersionWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof versionWorkflow>>>;
|
|
1535
|
+
export type VersionWorkflowQueryError = ErrorType<void | DmError>;
|
|
1299
1536
|
|
|
1537
|
+
export function useVersionWorkflow<
|
|
1538
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1539
|
+
TError = ErrorType<void | DmError>,
|
|
1540
|
+
>(
|
|
1541
|
+
workflowId: string,
|
|
1542
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1543
|
+
options: {
|
|
1544
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1545
|
+
Pick<
|
|
1546
|
+
DefinedInitialDataOptions<
|
|
1547
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1548
|
+
TError,
|
|
1549
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1550
|
+
>,
|
|
1551
|
+
"initialData"
|
|
1552
|
+
>;
|
|
1553
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1554
|
+
},
|
|
1555
|
+
queryClient?: QueryClient,
|
|
1556
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1557
|
+
export function useVersionWorkflow<
|
|
1558
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1559
|
+
TError = ErrorType<void | DmError>,
|
|
1560
|
+
>(
|
|
1561
|
+
workflowId: string,
|
|
1562
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1563
|
+
options?: {
|
|
1564
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1565
|
+
Pick<
|
|
1566
|
+
UndefinedInitialDataOptions<
|
|
1567
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1568
|
+
TError,
|
|
1569
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1570
|
+
>,
|
|
1571
|
+
"initialData"
|
|
1572
|
+
>;
|
|
1573
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1574
|
+
},
|
|
1575
|
+
queryClient?: QueryClient,
|
|
1576
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1577
|
+
export function useVersionWorkflow<
|
|
1578
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1579
|
+
TError = ErrorType<void | DmError>,
|
|
1580
|
+
>(
|
|
1581
|
+
workflowId: string,
|
|
1582
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1583
|
+
options?: {
|
|
1584
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1585
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1586
|
+
},
|
|
1587
|
+
queryClient?: QueryClient,
|
|
1588
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1300
1589
|
/**
|
|
1301
1590
|
* @summary Applied a version to the Workflow
|
|
1302
1591
|
*/
|
|
1303
|
-
|
|
1592
|
+
|
|
1593
|
+
export function useVersionWorkflow<
|
|
1594
|
+
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1595
|
+
TError = ErrorType<void | DmError>,
|
|
1596
|
+
>(
|
|
1597
|
+
workflowId: string,
|
|
1598
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1304
1599
|
options?: {
|
|
1305
|
-
|
|
1306
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1307
|
-
TError,
|
|
1308
|
-
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1309
|
-
TContext
|
|
1310
|
-
>;
|
|
1600
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1311
1601
|
request?: SecondParameter<typeof customFetch>;
|
|
1312
1602
|
},
|
|
1313
1603
|
queryClient?: QueryClient,
|
|
1314
|
-
):
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
const mutationOptions = getVersionWorkflowMutationOptions(options);
|
|
1604
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1605
|
+
const queryOptions = getVersionWorkflowQueryOptions(
|
|
1606
|
+
workflowId,
|
|
1607
|
+
workflowVersionPutBodyBody,
|
|
1608
|
+
options,
|
|
1609
|
+
);
|
|
1321
1610
|
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
* 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.
|
|
1611
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1612
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1613
|
+
};
|
|
1326
1614
|
|
|
1327
|
-
|
|
1615
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1616
|
+
}
|
|
1328
1617
|
|
|
1329
|
-
|
|
1618
|
+
/**
|
|
1619
|
+
* @summary Applied a version to the Workflow
|
|
1330
1620
|
*/
|
|
1621
|
+
export const invalidateVersionWorkflow = async (
|
|
1622
|
+
queryClient: QueryClient,
|
|
1623
|
+
workflowId: string,
|
|
1624
|
+
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1625
|
+
options?: InvalidateOptions,
|
|
1626
|
+
): Promise<QueryClient> => {
|
|
1627
|
+
await queryClient.invalidateQueries(
|
|
1628
|
+
{ queryKey: getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody) },
|
|
1629
|
+
options,
|
|
1630
|
+
);
|
|
1631
|
+
|
|
1632
|
+
return queryClient;
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1331
1635
|
export type getRunningWorkflowsResponse200 = { data: RunningWorkflowGetAllResponse; status: 200 };
|
|
1332
1636
|
|
|
1333
1637
|
export type getRunningWorkflowsResponse401 = { data: void; status: 401 };
|
|
@@ -1348,7 +1652,7 @@ export const getGetRunningWorkflowsUrl = (params?: GetRunningWorkflowsParams) =>
|
|
|
1348
1652
|
|
|
1349
1653
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1350
1654
|
if (value !== undefined) {
|
|
1351
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
1655
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1352
1656
|
}
|
|
1353
1657
|
});
|
|
1354
1658
|
|
|
@@ -1359,6 +1663,12 @@ export const getGetRunningWorkflowsUrl = (params?: GetRunningWorkflowsParams) =>
|
|
|
1359
1663
|
: `/running-workflow`;
|
|
1360
1664
|
};
|
|
1361
1665
|
|
|
1666
|
+
/**
|
|
1667
|
+
* 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.
|
|
1668
|
+
*
|
|
1669
|
+
* By providing a workflow ID you will only see Running Workflows for that Workflow.
|
|
1670
|
+
* @summary Get all Running Workflows available to you
|
|
1671
|
+
*/
|
|
1362
1672
|
export const getRunningWorkflows = async (
|
|
1363
1673
|
params?: GetRunningWorkflowsParams,
|
|
1364
1674
|
options?: RequestInit,
|
|
@@ -1396,7 +1706,7 @@ export const getGetRunningWorkflowsQueryOptions = <
|
|
|
1396
1706
|
Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1397
1707
|
TError,
|
|
1398
1708
|
TData
|
|
1399
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1709
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1400
1710
|
};
|
|
1401
1711
|
|
|
1402
1712
|
export type GetRunningWorkflowsQueryResult = NonNullable<
|
|
@@ -1424,7 +1734,7 @@ export function useGetRunningWorkflows<
|
|
|
1424
1734
|
request?: SecondParameter<typeof customFetch>;
|
|
1425
1735
|
},
|
|
1426
1736
|
queryClient?: QueryClient,
|
|
1427
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1737
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1428
1738
|
export function useGetRunningWorkflows<
|
|
1429
1739
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1430
1740
|
TError = ErrorType<void>,
|
|
@@ -1445,7 +1755,7 @@ export function useGetRunningWorkflows<
|
|
|
1445
1755
|
request?: SecondParameter<typeof customFetch>;
|
|
1446
1756
|
},
|
|
1447
1757
|
queryClient?: QueryClient,
|
|
1448
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1758
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1449
1759
|
export function useGetRunningWorkflows<
|
|
1450
1760
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1451
1761
|
TError = ErrorType<void>,
|
|
@@ -1458,7 +1768,7 @@ export function useGetRunningWorkflows<
|
|
|
1458
1768
|
request?: SecondParameter<typeof customFetch>;
|
|
1459
1769
|
},
|
|
1460
1770
|
queryClient?: QueryClient,
|
|
1461
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1771
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1462
1772
|
/**
|
|
1463
1773
|
* @summary Get all Running Workflows available to you
|
|
1464
1774
|
*/
|
|
@@ -1475,16 +1785,14 @@ export function useGetRunningWorkflows<
|
|
|
1475
1785
|
request?: SecondParameter<typeof customFetch>;
|
|
1476
1786
|
},
|
|
1477
1787
|
queryClient?: QueryClient,
|
|
1478
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1788
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1479
1789
|
const queryOptions = getGetRunningWorkflowsQueryOptions(params, options);
|
|
1480
1790
|
|
|
1481
1791
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1482
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1792
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1483
1793
|
};
|
|
1484
1794
|
|
|
1485
|
-
query
|
|
1486
|
-
|
|
1487
|
-
return query;
|
|
1795
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1488
1796
|
}
|
|
1489
1797
|
|
|
1490
1798
|
/**
|
|
@@ -1526,7 +1834,7 @@ export const getGetRunningWorkflowsSuspenseQueryOptions = <
|
|
|
1526
1834
|
Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1527
1835
|
TError,
|
|
1528
1836
|
TData
|
|
1529
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1837
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1530
1838
|
};
|
|
1531
1839
|
|
|
1532
1840
|
export type GetRunningWorkflowsSuspenseQueryResult = NonNullable<
|
|
@@ -1546,7 +1854,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1546
1854
|
request?: SecondParameter<typeof customFetch>;
|
|
1547
1855
|
},
|
|
1548
1856
|
queryClient?: QueryClient,
|
|
1549
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1857
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1550
1858
|
export function useGetRunningWorkflowsSuspense<
|
|
1551
1859
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1552
1860
|
TError = ErrorType<void>,
|
|
@@ -1559,7 +1867,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1559
1867
|
request?: SecondParameter<typeof customFetch>;
|
|
1560
1868
|
},
|
|
1561
1869
|
queryClient?: QueryClient,
|
|
1562
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1870
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1563
1871
|
export function useGetRunningWorkflowsSuspense<
|
|
1564
1872
|
TData = Awaited<ReturnType<typeof getRunningWorkflows>>,
|
|
1565
1873
|
TError = ErrorType<void>,
|
|
@@ -1572,7 +1880,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1572
1880
|
request?: SecondParameter<typeof customFetch>;
|
|
1573
1881
|
},
|
|
1574
1882
|
queryClient?: QueryClient,
|
|
1575
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1883
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1576
1884
|
/**
|
|
1577
1885
|
* @summary Get all Running Workflows available to you
|
|
1578
1886
|
*/
|
|
@@ -1589,24 +1897,17 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1589
1897
|
request?: SecondParameter<typeof customFetch>;
|
|
1590
1898
|
},
|
|
1591
1899
|
queryClient?: QueryClient,
|
|
1592
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1900
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1593
1901
|
const queryOptions = getGetRunningWorkflowsSuspenseQueryOptions(params, options);
|
|
1594
1902
|
|
|
1595
1903
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1596
1904
|
TData,
|
|
1597
1905
|
TError
|
|
1598
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1906
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1599
1907
|
|
|
1600
|
-
query
|
|
1601
|
-
|
|
1602
|
-
return query;
|
|
1908
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1603
1909
|
}
|
|
1604
1910
|
|
|
1605
|
-
/**
|
|
1606
|
-
* Get details of a specific Running Workflow available to you.
|
|
1607
|
-
|
|
1608
|
-
* @summary Get details of a specific Running Workflow
|
|
1609
|
-
*/
|
|
1610
1911
|
export type getRunningWorkflowResponse200 = { data: RunningWorkflowGetResponse; status: 200 };
|
|
1611
1912
|
|
|
1612
1913
|
export type getRunningWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -1629,6 +1930,10 @@ export const getGetRunningWorkflowUrl = (runningWorkflowId: string) => {
|
|
|
1629
1930
|
return `/running-workflow/${runningWorkflowId}`;
|
|
1630
1931
|
};
|
|
1631
1932
|
|
|
1933
|
+
/**
|
|
1934
|
+
* Get details of a specific Running Workflow available to you.
|
|
1935
|
+
* @summary Get details of a specific Running Workflow
|
|
1936
|
+
*/
|
|
1632
1937
|
export const getRunningWorkflow = async (
|
|
1633
1938
|
runningWorkflowId: string,
|
|
1634
1939
|
options?: RequestInit,
|
|
@@ -1639,7 +1944,7 @@ export const getRunningWorkflow = async (
|
|
|
1639
1944
|
});
|
|
1640
1945
|
};
|
|
1641
1946
|
|
|
1642
|
-
export const getGetRunningWorkflowQueryKey = (runningWorkflowId
|
|
1947
|
+
export const getGetRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
1643
1948
|
return ["data-manager", "running-workflow", runningWorkflowId] as const;
|
|
1644
1949
|
};
|
|
1645
1950
|
|
|
@@ -1660,11 +1965,14 @@ export const getGetRunningWorkflowQueryOptions = <
|
|
|
1660
1965
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getRunningWorkflow>>> = ({ signal }) =>
|
|
1661
1966
|
getRunningWorkflow(runningWorkflowId, { signal, ...requestOptions });
|
|
1662
1967
|
|
|
1663
|
-
return {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1968
|
+
return {
|
|
1969
|
+
queryKey,
|
|
1970
|
+
queryFn,
|
|
1971
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
1972
|
+
...queryOptions,
|
|
1973
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getRunningWorkflow>>, TError, TData> & {
|
|
1974
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1975
|
+
};
|
|
1668
1976
|
};
|
|
1669
1977
|
|
|
1670
1978
|
export type GetRunningWorkflowQueryResult = NonNullable<
|
|
@@ -1690,7 +1998,7 @@ export function useGetRunningWorkflow<
|
|
|
1690
1998
|
request?: SecondParameter<typeof customFetch>;
|
|
1691
1999
|
},
|
|
1692
2000
|
queryClient?: QueryClient,
|
|
1693
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2001
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1694
2002
|
export function useGetRunningWorkflow<
|
|
1695
2003
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1696
2004
|
TError = ErrorType<void | DmError>,
|
|
@@ -1711,7 +2019,7 @@ export function useGetRunningWorkflow<
|
|
|
1711
2019
|
request?: SecondParameter<typeof customFetch>;
|
|
1712
2020
|
},
|
|
1713
2021
|
queryClient?: QueryClient,
|
|
1714
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2022
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1715
2023
|
export function useGetRunningWorkflow<
|
|
1716
2024
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1717
2025
|
TError = ErrorType<void | DmError>,
|
|
@@ -1722,7 +2030,7 @@ export function useGetRunningWorkflow<
|
|
|
1722
2030
|
request?: SecondParameter<typeof customFetch>;
|
|
1723
2031
|
},
|
|
1724
2032
|
queryClient?: QueryClient,
|
|
1725
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2033
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1726
2034
|
/**
|
|
1727
2035
|
* @summary Get details of a specific Running Workflow
|
|
1728
2036
|
*/
|
|
@@ -1737,16 +2045,14 @@ export function useGetRunningWorkflow<
|
|
|
1737
2045
|
request?: SecondParameter<typeof customFetch>;
|
|
1738
2046
|
},
|
|
1739
2047
|
queryClient?: QueryClient,
|
|
1740
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2048
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1741
2049
|
const queryOptions = getGetRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
1742
2050
|
|
|
1743
2051
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1744
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
2052
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1745
2053
|
};
|
|
1746
2054
|
|
|
1747
|
-
query
|
|
1748
|
-
|
|
1749
|
-
return query;
|
|
2055
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1750
2056
|
}
|
|
1751
2057
|
|
|
1752
2058
|
/**
|
|
@@ -1788,7 +2094,7 @@ export const getGetRunningWorkflowSuspenseQueryOptions = <
|
|
|
1788
2094
|
Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1789
2095
|
TError,
|
|
1790
2096
|
TData
|
|
1791
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2097
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1792
2098
|
};
|
|
1793
2099
|
|
|
1794
2100
|
export type GetRunningWorkflowSuspenseQueryResult = NonNullable<
|
|
@@ -1808,7 +2114,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1808
2114
|
request?: SecondParameter<typeof customFetch>;
|
|
1809
2115
|
},
|
|
1810
2116
|
queryClient?: QueryClient,
|
|
1811
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2117
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1812
2118
|
export function useGetRunningWorkflowSuspense<
|
|
1813
2119
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1814
2120
|
TError = ErrorType<void | DmError>,
|
|
@@ -1821,7 +2127,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1821
2127
|
request?: SecondParameter<typeof customFetch>;
|
|
1822
2128
|
},
|
|
1823
2129
|
queryClient?: QueryClient,
|
|
1824
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2130
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1825
2131
|
export function useGetRunningWorkflowSuspense<
|
|
1826
2132
|
TData = Awaited<ReturnType<typeof getRunningWorkflow>>,
|
|
1827
2133
|
TError = ErrorType<void | DmError>,
|
|
@@ -1834,7 +2140,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1834
2140
|
request?: SecondParameter<typeof customFetch>;
|
|
1835
2141
|
},
|
|
1836
2142
|
queryClient?: QueryClient,
|
|
1837
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2143
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1838
2144
|
/**
|
|
1839
2145
|
* @summary Get details of a specific Running Workflow
|
|
1840
2146
|
*/
|
|
@@ -1851,26 +2157,17 @@ export function useGetRunningWorkflowSuspense<
|
|
|
1851
2157
|
request?: SecondParameter<typeof customFetch>;
|
|
1852
2158
|
},
|
|
1853
2159
|
queryClient?: QueryClient,
|
|
1854
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2160
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1855
2161
|
const queryOptions = getGetRunningWorkflowSuspenseQueryOptions(runningWorkflowId, options);
|
|
1856
2162
|
|
|
1857
2163
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1858
2164
|
TData,
|
|
1859
2165
|
TError
|
|
1860
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1861
|
-
|
|
1862
|
-
query.queryKey = queryOptions.queryKey;
|
|
2166
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1863
2167
|
|
|
1864
|
-
return query;
|
|
2168
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1865
2169
|
}
|
|
1866
2170
|
|
|
1867
|
-
/**
|
|
1868
|
-
* Deletes a Running Workflow.
|
|
1869
|
-
|
|
1870
|
-
It is an error to delete a Running Workflow that is Running.
|
|
1871
|
-
|
|
1872
|
-
* @summary Delete a Running Workflow
|
|
1873
|
-
*/
|
|
1874
2171
|
export type deleteRunningWorkflowResponse204 = { data: void; status: 204 };
|
|
1875
2172
|
|
|
1876
2173
|
export type deleteRunningWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -1893,6 +2190,12 @@ export const getDeleteRunningWorkflowUrl = (runningWorkflowId: string) => {
|
|
|
1893
2190
|
return `/running-workflow/${runningWorkflowId}`;
|
|
1894
2191
|
};
|
|
1895
2192
|
|
|
2193
|
+
/**
|
|
2194
|
+
* Deletes a Running Workflow.
|
|
2195
|
+
*
|
|
2196
|
+
* It is an error to delete a Running Workflow that is Running.
|
|
2197
|
+
* @summary Delete a Running Workflow
|
|
2198
|
+
*/
|
|
1896
2199
|
export const deleteRunningWorkflow = async (
|
|
1897
2200
|
runningWorkflowId: string,
|
|
1898
2201
|
options?: RequestInit,
|
|
@@ -1903,77 +2206,141 @@ export const deleteRunningWorkflow = async (
|
|
|
1903
2206
|
);
|
|
1904
2207
|
};
|
|
1905
2208
|
|
|
1906
|
-
export const
|
|
2209
|
+
export const getDeleteRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
2210
|
+
return ["data-manager", "DELETE", "running-workflow", runningWorkflowId] as const;
|
|
2211
|
+
};
|
|
2212
|
+
|
|
2213
|
+
export const getDeleteRunningWorkflowQueryOptions = <
|
|
2214
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1907
2215
|
TError = ErrorType<void | DmError>,
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
{ runningWorkflowId: string },
|
|
1921
|
-
TContext
|
|
1922
|
-
> => {
|
|
1923
|
-
const mutationKey = ["deleteRunningWorkflow"];
|
|
1924
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1925
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1926
|
-
? options
|
|
1927
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1928
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1929
|
-
|
|
1930
|
-
const mutationFn: MutationFunction<
|
|
1931
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1932
|
-
{ runningWorkflowId: string }
|
|
1933
|
-
> = (props) => {
|
|
1934
|
-
const { runningWorkflowId } = props ?? {};
|
|
1935
|
-
|
|
1936
|
-
return deleteRunningWorkflow(runningWorkflowId, requestOptions);
|
|
1937
|
-
};
|
|
2216
|
+
>(
|
|
2217
|
+
runningWorkflowId: string,
|
|
2218
|
+
options?: {
|
|
2219
|
+
query?: Partial<
|
|
2220
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2221
|
+
>;
|
|
2222
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2223
|
+
},
|
|
2224
|
+
) => {
|
|
2225
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
2226
|
+
|
|
2227
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteRunningWorkflowQueryKey(runningWorkflowId);
|
|
1938
2228
|
|
|
1939
|
-
|
|
2229
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteRunningWorkflow>>> = ({ signal }) =>
|
|
2230
|
+
deleteRunningWorkflow(runningWorkflowId, { signal, ...requestOptions });
|
|
2231
|
+
|
|
2232
|
+
return {
|
|
2233
|
+
queryKey,
|
|
2234
|
+
queryFn,
|
|
2235
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2236
|
+
...queryOptions,
|
|
2237
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData> & {
|
|
2238
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2239
|
+
};
|
|
1940
2240
|
};
|
|
1941
2241
|
|
|
1942
|
-
export type
|
|
2242
|
+
export type DeleteRunningWorkflowQueryResult = NonNullable<
|
|
1943
2243
|
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
1944
2244
|
>;
|
|
2245
|
+
export type DeleteRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
1945
2246
|
|
|
1946
|
-
export
|
|
1947
|
-
|
|
2247
|
+
export function useDeleteRunningWorkflow<
|
|
2248
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2249
|
+
TError = ErrorType<void | DmError>,
|
|
2250
|
+
>(
|
|
2251
|
+
runningWorkflowId: string,
|
|
2252
|
+
options: {
|
|
2253
|
+
query: Partial<
|
|
2254
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2255
|
+
> &
|
|
2256
|
+
Pick<
|
|
2257
|
+
DefinedInitialDataOptions<
|
|
2258
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2259
|
+
TError,
|
|
2260
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2261
|
+
>,
|
|
2262
|
+
"initialData"
|
|
2263
|
+
>;
|
|
2264
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2265
|
+
},
|
|
2266
|
+
queryClient?: QueryClient,
|
|
2267
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2268
|
+
export function useDeleteRunningWorkflow<
|
|
2269
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2270
|
+
TError = ErrorType<void | DmError>,
|
|
2271
|
+
>(
|
|
2272
|
+
runningWorkflowId: string,
|
|
2273
|
+
options?: {
|
|
2274
|
+
query?: Partial<
|
|
2275
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2276
|
+
> &
|
|
2277
|
+
Pick<
|
|
2278
|
+
UndefinedInitialDataOptions<
|
|
2279
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2280
|
+
TError,
|
|
2281
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2282
|
+
>,
|
|
2283
|
+
"initialData"
|
|
2284
|
+
>;
|
|
2285
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2286
|
+
},
|
|
2287
|
+
queryClient?: QueryClient,
|
|
2288
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2289
|
+
export function useDeleteRunningWorkflow<
|
|
2290
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2291
|
+
TError = ErrorType<void | DmError>,
|
|
2292
|
+
>(
|
|
2293
|
+
runningWorkflowId: string,
|
|
2294
|
+
options?: {
|
|
2295
|
+
query?: Partial<
|
|
2296
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2297
|
+
>;
|
|
2298
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2299
|
+
},
|
|
2300
|
+
queryClient?: QueryClient,
|
|
2301
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1948
2302
|
/**
|
|
1949
2303
|
* @summary Delete a Running Workflow
|
|
1950
2304
|
*/
|
|
1951
|
-
|
|
2305
|
+
|
|
2306
|
+
export function useDeleteRunningWorkflow<
|
|
2307
|
+
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2308
|
+
TError = ErrorType<void | DmError>,
|
|
2309
|
+
>(
|
|
2310
|
+
runningWorkflowId: string,
|
|
1952
2311
|
options?: {
|
|
1953
|
-
|
|
1954
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1955
|
-
TError,
|
|
1956
|
-
{ runningWorkflowId: string },
|
|
1957
|
-
TContext
|
|
2312
|
+
query?: Partial<
|
|
2313
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
1958
2314
|
>;
|
|
1959
2315
|
request?: SecondParameter<typeof customFetch>;
|
|
1960
2316
|
},
|
|
1961
2317
|
queryClient?: QueryClient,
|
|
1962
|
-
):
|
|
1963
|
-
|
|
1964
|
-
TError,
|
|
1965
|
-
{ runningWorkflowId: string },
|
|
1966
|
-
TContext
|
|
1967
|
-
> => {
|
|
1968
|
-
const mutationOptions = getDeleteRunningWorkflowMutationOptions(options);
|
|
2318
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2319
|
+
const queryOptions = getDeleteRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
1969
2320
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
* Stops a Running Workflow.
|
|
2321
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2322
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2323
|
+
};
|
|
1974
2324
|
|
|
1975
|
-
|
|
2325
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* @summary Delete a Running Workflow
|
|
1976
2330
|
*/
|
|
2331
|
+
export const invalidateDeleteRunningWorkflow = async (
|
|
2332
|
+
queryClient: QueryClient,
|
|
2333
|
+
runningWorkflowId: string,
|
|
2334
|
+
options?: InvalidateOptions,
|
|
2335
|
+
): Promise<QueryClient> => {
|
|
2336
|
+
await queryClient.invalidateQueries(
|
|
2337
|
+
{ queryKey: getDeleteRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2338
|
+
options,
|
|
2339
|
+
);
|
|
2340
|
+
|
|
2341
|
+
return queryClient;
|
|
2342
|
+
};
|
|
2343
|
+
|
|
1977
2344
|
export type stopRunningWorkflowResponse204 = { data: void; status: 204 };
|
|
1978
2345
|
|
|
1979
2346
|
export type stopRunningWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -1996,6 +2363,10 @@ export const getStopRunningWorkflowUrl = (runningWorkflowId: string) => {
|
|
|
1996
2363
|
return `/running-workflow/${runningWorkflowId}/stop`;
|
|
1997
2364
|
};
|
|
1998
2365
|
|
|
2366
|
+
/**
|
|
2367
|
+
* Stops a Running Workflow.
|
|
2368
|
+
* @summary Stop a Running Workflow
|
|
2369
|
+
*/
|
|
1999
2370
|
export const stopRunningWorkflow = async (
|
|
2000
2371
|
runningWorkflowId: string,
|
|
2001
2372
|
options?: RequestInit,
|
|
@@ -2006,77 +2377,141 @@ export const stopRunningWorkflow = async (
|
|
|
2006
2377
|
});
|
|
2007
2378
|
};
|
|
2008
2379
|
|
|
2009
|
-
export const
|
|
2380
|
+
export const getStopRunningWorkflowQueryKey = (runningWorkflowId: string) => {
|
|
2381
|
+
return ["data-manager", "PUT", "running-workflow", runningWorkflowId, "stop"] as const;
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
export const getStopRunningWorkflowQueryOptions = <
|
|
2385
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2010
2386
|
TError = ErrorType<void | DmError>,
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
{ runningWorkflowId: string },
|
|
2024
|
-
TContext
|
|
2025
|
-
> => {
|
|
2026
|
-
const mutationKey = ["stopRunningWorkflow"];
|
|
2027
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
2028
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
2029
|
-
? options
|
|
2030
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
2031
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
2032
|
-
|
|
2033
|
-
const mutationFn: MutationFunction<
|
|
2034
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2035
|
-
{ runningWorkflowId: string }
|
|
2036
|
-
> = (props) => {
|
|
2037
|
-
const { runningWorkflowId } = props ?? {};
|
|
2038
|
-
|
|
2039
|
-
return stopRunningWorkflow(runningWorkflowId, requestOptions);
|
|
2040
|
-
};
|
|
2387
|
+
>(
|
|
2388
|
+
runningWorkflowId: string,
|
|
2389
|
+
options?: {
|
|
2390
|
+
query?: Partial<
|
|
2391
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2392
|
+
>;
|
|
2393
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2394
|
+
},
|
|
2395
|
+
) => {
|
|
2396
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
2397
|
+
|
|
2398
|
+
const queryKey = queryOptions?.queryKey ?? getStopRunningWorkflowQueryKey(runningWorkflowId);
|
|
2041
2399
|
|
|
2042
|
-
|
|
2400
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof stopRunningWorkflow>>> = ({ signal }) =>
|
|
2401
|
+
stopRunningWorkflow(runningWorkflowId, { signal, ...requestOptions });
|
|
2402
|
+
|
|
2403
|
+
return {
|
|
2404
|
+
queryKey,
|
|
2405
|
+
queryFn,
|
|
2406
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2407
|
+
...queryOptions,
|
|
2408
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData> & {
|
|
2409
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2410
|
+
};
|
|
2043
2411
|
};
|
|
2044
2412
|
|
|
2045
|
-
export type
|
|
2413
|
+
export type StopRunningWorkflowQueryResult = NonNullable<
|
|
2046
2414
|
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2047
2415
|
>;
|
|
2416
|
+
export type StopRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
2048
2417
|
|
|
2049
|
-
export
|
|
2050
|
-
|
|
2418
|
+
export function useStopRunningWorkflow<
|
|
2419
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2420
|
+
TError = ErrorType<void | DmError>,
|
|
2421
|
+
>(
|
|
2422
|
+
runningWorkflowId: string,
|
|
2423
|
+
options: {
|
|
2424
|
+
query: Partial<
|
|
2425
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2426
|
+
> &
|
|
2427
|
+
Pick<
|
|
2428
|
+
DefinedInitialDataOptions<
|
|
2429
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2430
|
+
TError,
|
|
2431
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2432
|
+
>,
|
|
2433
|
+
"initialData"
|
|
2434
|
+
>;
|
|
2435
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2436
|
+
},
|
|
2437
|
+
queryClient?: QueryClient,
|
|
2438
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2439
|
+
export function useStopRunningWorkflow<
|
|
2440
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2441
|
+
TError = ErrorType<void | DmError>,
|
|
2442
|
+
>(
|
|
2443
|
+
runningWorkflowId: string,
|
|
2444
|
+
options?: {
|
|
2445
|
+
query?: Partial<
|
|
2446
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2447
|
+
> &
|
|
2448
|
+
Pick<
|
|
2449
|
+
UndefinedInitialDataOptions<
|
|
2450
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2451
|
+
TError,
|
|
2452
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2453
|
+
>,
|
|
2454
|
+
"initialData"
|
|
2455
|
+
>;
|
|
2456
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2457
|
+
},
|
|
2458
|
+
queryClient?: QueryClient,
|
|
2459
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2460
|
+
export function useStopRunningWorkflow<
|
|
2461
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2462
|
+
TError = ErrorType<void | DmError>,
|
|
2463
|
+
>(
|
|
2464
|
+
runningWorkflowId: string,
|
|
2465
|
+
options?: {
|
|
2466
|
+
query?: Partial<
|
|
2467
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2468
|
+
>;
|
|
2469
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2470
|
+
},
|
|
2471
|
+
queryClient?: QueryClient,
|
|
2472
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2051
2473
|
/**
|
|
2052
2474
|
* @summary Stop a Running Workflow
|
|
2053
2475
|
*/
|
|
2054
|
-
|
|
2476
|
+
|
|
2477
|
+
export function useStopRunningWorkflow<
|
|
2478
|
+
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2479
|
+
TError = ErrorType<void | DmError>,
|
|
2480
|
+
>(
|
|
2481
|
+
runningWorkflowId: string,
|
|
2055
2482
|
options?: {
|
|
2056
|
-
|
|
2057
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2058
|
-
TError,
|
|
2059
|
-
{ runningWorkflowId: string },
|
|
2060
|
-
TContext
|
|
2483
|
+
query?: Partial<
|
|
2484
|
+
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2061
2485
|
>;
|
|
2062
2486
|
request?: SecondParameter<typeof customFetch>;
|
|
2063
2487
|
},
|
|
2064
2488
|
queryClient?: QueryClient,
|
|
2065
|
-
):
|
|
2066
|
-
|
|
2067
|
-
TError,
|
|
2068
|
-
{ runningWorkflowId: string },
|
|
2069
|
-
TContext
|
|
2070
|
-
> => {
|
|
2071
|
-
const mutationOptions = getStopRunningWorkflowMutationOptions(options);
|
|
2489
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2490
|
+
const queryOptions = getStopRunningWorkflowQueryOptions(runningWorkflowId, options);
|
|
2072
2491
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
* 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.
|
|
2492
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2493
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2494
|
+
};
|
|
2077
2495
|
|
|
2078
|
-
|
|
2496
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* @summary Stop a Running Workflow
|
|
2079
2501
|
*/
|
|
2502
|
+
export const invalidateStopRunningWorkflow = async (
|
|
2503
|
+
queryClient: QueryClient,
|
|
2504
|
+
runningWorkflowId: string,
|
|
2505
|
+
options?: InvalidateOptions,
|
|
2506
|
+
): Promise<QueryClient> => {
|
|
2507
|
+
await queryClient.invalidateQueries(
|
|
2508
|
+
{ queryKey: getStopRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2509
|
+
options,
|
|
2510
|
+
);
|
|
2511
|
+
|
|
2512
|
+
return queryClient;
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2080
2515
|
export type getRunningWorkflowStepsResponse200 = {
|
|
2081
2516
|
data: RunningWorkflowStepsGetResponse;
|
|
2082
2517
|
status: 200;
|
|
@@ -2102,6 +2537,10 @@ export const getGetRunningWorkflowStepsUrl = (runningWorkflowId: string) => {
|
|
|
2102
2537
|
return `/running-workflow/${runningWorkflowId}/steps`;
|
|
2103
2538
|
};
|
|
2104
2539
|
|
|
2540
|
+
/**
|
|
2541
|
+
* 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.
|
|
2542
|
+
* @summary Get all the Running Workflow Steps
|
|
2543
|
+
*/
|
|
2105
2544
|
export const getRunningWorkflowSteps = async (
|
|
2106
2545
|
runningWorkflowId: string,
|
|
2107
2546
|
options?: RequestInit,
|
|
@@ -2112,7 +2551,7 @@ export const getRunningWorkflowSteps = async (
|
|
|
2112
2551
|
);
|
|
2113
2552
|
};
|
|
2114
2553
|
|
|
2115
|
-
export const getGetRunningWorkflowStepsQueryKey = (runningWorkflowId
|
|
2554
|
+
export const getGetRunningWorkflowStepsQueryKey = (runningWorkflowId: string) => {
|
|
2116
2555
|
return ["data-manager", "running-workflow", runningWorkflowId, "steps"] as const;
|
|
2117
2556
|
};
|
|
2118
2557
|
|
|
@@ -2136,11 +2575,14 @@ export const getGetRunningWorkflowStepsQueryOptions = <
|
|
|
2136
2575
|
signal,
|
|
2137
2576
|
}) => getRunningWorkflowSteps(runningWorkflowId, { signal, ...requestOptions });
|
|
2138
2577
|
|
|
2139
|
-
return {
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2578
|
+
return {
|
|
2579
|
+
queryKey,
|
|
2580
|
+
queryFn,
|
|
2581
|
+
enabled: runningWorkflowId !== null && runningWorkflowId !== undefined,
|
|
2582
|
+
...queryOptions,
|
|
2583
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getRunningWorkflowSteps>>, TError, TData> & {
|
|
2584
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2585
|
+
};
|
|
2144
2586
|
};
|
|
2145
2587
|
|
|
2146
2588
|
export type GetRunningWorkflowStepsQueryResult = NonNullable<
|
|
@@ -2168,7 +2610,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
2168
2610
|
request?: SecondParameter<typeof customFetch>;
|
|
2169
2611
|
},
|
|
2170
2612
|
queryClient?: QueryClient,
|
|
2171
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2613
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2172
2614
|
export function useGetRunningWorkflowSteps<
|
|
2173
2615
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2174
2616
|
TError = ErrorType<void | DmError>,
|
|
@@ -2189,7 +2631,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
2189
2631
|
request?: SecondParameter<typeof customFetch>;
|
|
2190
2632
|
},
|
|
2191
2633
|
queryClient?: QueryClient,
|
|
2192
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2634
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2193
2635
|
export function useGetRunningWorkflowSteps<
|
|
2194
2636
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2195
2637
|
TError = ErrorType<void | DmError>,
|
|
@@ -2202,7 +2644,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
2202
2644
|
request?: SecondParameter<typeof customFetch>;
|
|
2203
2645
|
},
|
|
2204
2646
|
queryClient?: QueryClient,
|
|
2205
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2647
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2206
2648
|
/**
|
|
2207
2649
|
* @summary Get all the Running Workflow Steps
|
|
2208
2650
|
*/
|
|
@@ -2219,16 +2661,14 @@ export function useGetRunningWorkflowSteps<
|
|
|
2219
2661
|
request?: SecondParameter<typeof customFetch>;
|
|
2220
2662
|
},
|
|
2221
2663
|
queryClient?: QueryClient,
|
|
2222
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2664
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2223
2665
|
const queryOptions = getGetRunningWorkflowStepsQueryOptions(runningWorkflowId, options);
|
|
2224
2666
|
|
|
2225
2667
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2226
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
2668
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2227
2669
|
};
|
|
2228
2670
|
|
|
2229
|
-
query
|
|
2230
|
-
|
|
2231
|
-
return query;
|
|
2671
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2232
2672
|
}
|
|
2233
2673
|
|
|
2234
2674
|
/**
|
|
@@ -2271,7 +2711,7 @@ export const getGetRunningWorkflowStepsSuspenseQueryOptions = <
|
|
|
2271
2711
|
Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2272
2712
|
TError,
|
|
2273
2713
|
TData
|
|
2274
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2714
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2275
2715
|
};
|
|
2276
2716
|
|
|
2277
2717
|
export type GetRunningWorkflowStepsSuspenseQueryResult = NonNullable<
|
|
@@ -2291,7 +2731,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2291
2731
|
request?: SecondParameter<typeof customFetch>;
|
|
2292
2732
|
},
|
|
2293
2733
|
queryClient?: QueryClient,
|
|
2294
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2734
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2295
2735
|
export function useGetRunningWorkflowStepsSuspense<
|
|
2296
2736
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2297
2737
|
TError = ErrorType<void | DmError>,
|
|
@@ -2304,7 +2744,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2304
2744
|
request?: SecondParameter<typeof customFetch>;
|
|
2305
2745
|
},
|
|
2306
2746
|
queryClient?: QueryClient,
|
|
2307
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2747
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2308
2748
|
export function useGetRunningWorkflowStepsSuspense<
|
|
2309
2749
|
TData = Awaited<ReturnType<typeof getRunningWorkflowSteps>>,
|
|
2310
2750
|
TError = ErrorType<void | DmError>,
|
|
@@ -2317,7 +2757,7 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2317
2757
|
request?: SecondParameter<typeof customFetch>;
|
|
2318
2758
|
},
|
|
2319
2759
|
queryClient?: QueryClient,
|
|
2320
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2760
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2321
2761
|
/**
|
|
2322
2762
|
* @summary Get all the Running Workflow Steps
|
|
2323
2763
|
*/
|
|
@@ -2334,15 +2774,13 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2334
2774
|
request?: SecondParameter<typeof customFetch>;
|
|
2335
2775
|
},
|
|
2336
2776
|
queryClient?: QueryClient,
|
|
2337
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2777
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2338
2778
|
const queryOptions = getGetRunningWorkflowStepsSuspenseQueryOptions(runningWorkflowId, options);
|
|
2339
2779
|
|
|
2340
2780
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
2341
2781
|
TData,
|
|
2342
2782
|
TError
|
|
2343
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2344
|
-
|
|
2345
|
-
query.queryKey = queryOptions.queryKey;
|
|
2783
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2346
2784
|
|
|
2347
|
-
return query;
|
|
2785
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2348
2786
|
}
|