@squonk/data-manager-client 6.7.0 → 6.7.2

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.
Files changed (1053) hide show
  1. package/dist/api/accounting/accounting.cjs +23 -41
  2. package/dist/api/accounting/accounting.cjs.map +1 -1
  3. package/dist/api/accounting/accounting.d.cts.map +1 -1
  4. package/dist/api/accounting/accounting.d.ts.map +1 -1
  5. package/dist/api/accounting/accounting.fetch.cjs +23 -41
  6. package/dist/api/accounting/accounting.fetch.cjs.map +1 -1
  7. package/dist/api/accounting/accounting.fetch.d.cts.map +1 -1
  8. package/dist/api/accounting/accounting.fetch.d.ts.map +1 -1
  9. package/dist/api/accounting/accounting.fetch.js +23 -41
  10. package/dist/api/accounting/accounting.fetch.js.map +1 -1
  11. package/dist/api/accounting/accounting.js +23 -41
  12. package/dist/api/accounting/accounting.js.map +1 -1
  13. package/dist/api/admin/admin.cjs +186 -289
  14. package/dist/api/admin/admin.cjs.map +1 -1
  15. package/dist/api/admin/admin.d.cts +147 -225
  16. package/dist/api/admin/admin.d.cts.map +1 -1
  17. package/dist/api/admin/admin.d.ts +147 -225
  18. package/dist/api/admin/admin.d.ts.map +1 -1
  19. package/dist/api/admin/admin.fetch.cjs +186 -313
  20. package/dist/api/admin/admin.fetch.cjs.map +1 -1
  21. package/dist/api/admin/admin.fetch.d.cts +147 -225
  22. package/dist/api/admin/admin.fetch.d.cts.map +1 -1
  23. package/dist/api/admin/admin.fetch.d.ts +147 -225
  24. package/dist/api/admin/admin.fetch.d.ts.map +1 -1
  25. package/dist/api/admin/admin.fetch.js +180 -291
  26. package/dist/api/admin/admin.fetch.js.map +1 -1
  27. package/dist/api/admin/admin.js +180 -267
  28. package/dist/api/admin/admin.js.map +1 -1
  29. package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts +1 -1
  30. package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts +1 -1
  31. package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts +1 -1
  32. package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts +1 -1
  33. package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts +1 -1
  34. package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts +1 -1
  35. package/dist/api/api-schemas/apiLogDetailMethod.cjs.map +1 -1
  36. package/dist/api/api-schemas/apiLogDetailMethod.d.cts +1 -1
  37. package/dist/api/api-schemas/apiLogDetailMethod.d.ts +1 -1
  38. package/dist/api/api-schemas/apiLogDetailMethod.js.map +1 -1
  39. package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs.map +1 -1
  40. package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts +1 -1
  41. package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts +1 -1
  42. package/dist/api/api-schemas/applicationGetResponseCostUnit.js.map +1 -1
  43. package/dist/api/api-schemas/applicationImageVariant.d.cts +1 -1
  44. package/dist/api/api-schemas/applicationImageVariant.d.ts +1 -1
  45. package/dist/api/api-schemas/applicationSummary.d.cts +1 -1
  46. package/dist/api/api-schemas/applicationSummary.d.ts +1 -1
  47. package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts +1 -1
  48. package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts +1 -1
  49. package/dist/api/api-schemas/datasetDigestGetResponse.d.cts +1 -1
  50. package/dist/api/api-schemas/datasetDigestGetResponse.d.ts +1 -1
  51. package/dist/api/api-schemas/datasetMetaGetResponse.d.cts +1 -1
  52. package/dist/api/api-schemas/datasetMetaGetResponse.d.ts +1 -1
  53. package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts +1 -1
  54. package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts +1 -1
  55. package/dist/api/api-schemas/datasetPostBodyBody.d.cts +1 -1
  56. package/dist/api/api-schemas/datasetPostBodyBody.d.ts +1 -1
  57. package/dist/api/api-schemas/datasetPutBodyBody.d.cts +1 -1
  58. package/dist/api/api-schemas/datasetPutBodyBody.d.ts +1 -1
  59. package/dist/api/api-schemas/datasetPutPostResponse.d.cts +1 -1
  60. package/dist/api/api-schemas/datasetPutPostResponse.d.ts +1 -1
  61. package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs.map +1 -1
  62. package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts +1 -1
  63. package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts +1 -1
  64. package/dist/api/api-schemas/datasetSchemaGetResponseType.js.map +1 -1
  65. package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts +1 -1
  66. package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts +1 -1
  67. package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs.map +1 -1
  68. package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts +1 -1
  69. package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts +1 -1
  70. package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js.map +1 -1
  71. package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts +1 -1
  72. package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts +1 -1
  73. package/dist/api/api-schemas/datasetVersionProjectFile.d.cts +1 -1
  74. package/dist/api/api-schemas/datasetVersionProjectFile.d.ts +1 -1
  75. package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts +1 -1
  76. package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts +1 -1
  77. package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs.map +1 -1
  78. package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts +1 -1
  79. package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts +1 -1
  80. package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js.map +1 -1
  81. package/dist/api/api-schemas/dmError.d.cts +1 -1
  82. package/dist/api/api-schemas/dmError.d.ts +1 -1
  83. package/dist/api/api-schemas/exchangeRateDetail.d.cts +1 -1
  84. package/dist/api/api-schemas/exchangeRateDetail.d.ts +1 -1
  85. package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts +1 -1
  86. package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts +1 -1
  87. package/dist/api/api-schemas/filePostBodyBody.d.cts +1 -1
  88. package/dist/api/api-schemas/filePostBodyBody.d.ts +1 -1
  89. package/dist/api/api-schemas/filePostResponse.d.cts +1 -1
  90. package/dist/api/api-schemas/filePostResponse.d.ts +1 -1
  91. package/dist/api/api-schemas/fileStat.d.cts +1 -1
  92. package/dist/api/api-schemas/fileStat.d.ts +1 -1
  93. package/dist/api/api-schemas/inputHandlerDetail.d.cts +1 -1
  94. package/dist/api/api-schemas/inputHandlerDetail.d.ts +1 -1
  95. package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts +1 -1
  96. package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts +1 -1
  97. package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs.map +1 -1
  98. package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts +1 -1
  99. package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts +1 -1
  100. package/dist/api/api-schemas/instanceGetResponseApplicationType.js.map +1 -1
  101. package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs.map +1 -1
  102. package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts +1 -1
  103. package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts +1 -1
  104. package/dist/api/api-schemas/instanceGetResponseJobImageType.js.map +1 -1
  105. package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts +1 -1
  106. package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts +1 -1
  107. package/dist/api/api-schemas/instanceGetResponsePhase.cjs.map +1 -1
  108. package/dist/api/api-schemas/instanceGetResponsePhase.d.cts +1 -1
  109. package/dist/api/api-schemas/instanceGetResponsePhase.d.ts +1 -1
  110. package/dist/api/api-schemas/instanceGetResponsePhase.js.map +1 -1
  111. package/dist/api/api-schemas/instancePostBodyBody.d.cts +1 -1
  112. package/dist/api/api-schemas/instancePostBodyBody.d.ts +1 -1
  113. package/dist/api/api-schemas/instancePostResponse.d.cts +1 -1
  114. package/dist/api/api-schemas/instancePostResponse.d.ts +1 -1
  115. package/dist/api/api-schemas/instanceSummaryApplicationType.cjs.map +1 -1
  116. package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts +1 -1
  117. package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts +1 -1
  118. package/dist/api/api-schemas/instanceSummaryApplicationType.js.map +1 -1
  119. package/dist/api/api-schemas/instanceSummaryJobImageType.cjs.map +1 -1
  120. package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts +1 -1
  121. package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts +1 -1
  122. package/dist/api/api-schemas/instanceSummaryJobImageType.js.map +1 -1
  123. package/dist/api/api-schemas/instanceSummaryOutputs.d.cts +1 -1
  124. package/dist/api/api-schemas/instanceSummaryOutputs.d.ts +1 -1
  125. package/dist/api/api-schemas/instanceSummaryPhase.cjs.map +1 -1
  126. package/dist/api/api-schemas/instanceSummaryPhase.d.cts +1 -1
  127. package/dist/api/api-schemas/instanceSummaryPhase.d.ts +1 -1
  128. package/dist/api/api-schemas/instanceSummaryPhase.js.map +1 -1
  129. package/dist/api/api-schemas/instanceTaskPurpose.cjs.map +1 -1
  130. package/dist/api/api-schemas/instanceTaskPurpose.d.cts +1 -1
  131. package/dist/api/api-schemas/instanceTaskPurpose.d.ts +1 -1
  132. package/dist/api/api-schemas/instanceTaskPurpose.js.map +1 -1
  133. package/dist/api/api-schemas/inventoryDatasetDetail.d.cts +1 -1
  134. package/dist/api/api-schemas/inventoryDatasetDetail.d.ts +1 -1
  135. package/dist/api/api-schemas/inventoryProjectDetail.d.cts +1 -1
  136. package/dist/api/api-schemas/inventoryProjectDetail.d.ts +1 -1
  137. package/dist/api/api-schemas/jobApplication.d.cts +1 -1
  138. package/dist/api/api-schemas/jobApplication.d.ts +1 -1
  139. package/dist/api/api-schemas/jobExchangeRateSummary.d.cts +1 -1
  140. package/dist/api/api-schemas/jobExchangeRateSummary.d.ts +1 -1
  141. package/dist/api/api-schemas/jobGetResponseImageType.cjs.map +1 -1
  142. package/dist/api/api-schemas/jobGetResponseImageType.d.cts +1 -1
  143. package/dist/api/api-schemas/jobGetResponseImageType.d.ts +1 -1
  144. package/dist/api/api-schemas/jobGetResponseImageType.js.map +1 -1
  145. package/dist/api/api-schemas/jobManifestDetail.d.cts +1 -1
  146. package/dist/api/api-schemas/jobManifestDetail.d.ts +1 -1
  147. package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts +1 -1
  148. package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts +1 -1
  149. package/dist/api/api-schemas/jobOrderDetail.d.cts +1 -1
  150. package/dist/api/api-schemas/jobOrderDetail.d.ts +1 -1
  151. package/dist/api/api-schemas/jobReplacement.d.cts +1 -1
  152. package/dist/api/api-schemas/jobReplacement.d.ts +1 -1
  153. package/dist/api/api-schemas/jobSummaryImageType.cjs.map +1 -1
  154. package/dist/api/api-schemas/jobSummaryImageType.d.cts +1 -1
  155. package/dist/api/api-schemas/jobSummaryImageType.d.ts +1 -1
  156. package/dist/api/api-schemas/jobSummaryImageType.js.map +1 -1
  157. package/dist/api/api-schemas/jobVariablesInputs.d.cts +1 -1
  158. package/dist/api/api-schemas/jobVariablesInputs.d.ts +1 -1
  159. package/dist/api/api-schemas/jobVariablesOptions.d.cts +1 -1
  160. package/dist/api/api-schemas/jobVariablesOptions.d.ts +1 -1
  161. package/dist/api/api-schemas/jobVariablesOutputs.d.cts +1 -1
  162. package/dist/api/api-schemas/jobVariablesOutputs.d.ts +1 -1
  163. package/dist/api/api-schemas/modeGetResponse.d.cts +1 -1
  164. package/dist/api/api-schemas/modeGetResponse.d.ts +1 -1
  165. package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs.map +1 -1
  166. package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts +1 -1
  167. package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts +1 -1
  168. package/dist/api/api-schemas/projectFileDetailProcessingStage.js.map +1 -1
  169. package/dist/api/api-schemas/projectFilePutBodyBody.d.cts +1 -1
  170. package/dist/api/api-schemas/projectFilePutBodyBody.d.ts +1 -1
  171. package/dist/api/api-schemas/projectPatchBodyBody.d.cts +1 -1
  172. package/dist/api/api-schemas/projectPatchBodyBody.d.ts +1 -1
  173. package/dist/api/api-schemas/projectPostBodyBody.d.cts +1 -1
  174. package/dist/api/api-schemas/projectPostBodyBody.d.ts +1 -1
  175. package/dist/api/api-schemas/projectPostResponse.d.cts +1 -1
  176. package/dist/api/api-schemas/projectPostResponse.d.ts +1 -1
  177. package/dist/api/api-schemas/qActiveDaysParameter.d.cts +1 -1
  178. package/dist/api/api-schemas/qActiveDaysParameter.d.ts +1 -1
  179. package/dist/api/api-schemas/qApplicationIdParameter.d.cts +1 -1
  180. package/dist/api/api-schemas/qApplicationIdParameter.d.ts +1 -1
  181. package/dist/api/api-schemas/qCurrentParameter.d.cts +1 -1
  182. package/dist/api/api-schemas/qCurrentParameter.d.ts +1 -1
  183. package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts +1 -1
  184. package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts +1 -1
  185. package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts +1 -1
  186. package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts +1 -1
  187. package/dist/api/api-schemas/qDstFileParameter.d.cts +1 -1
  188. package/dist/api/api-schemas/qDstFileParameter.d.ts +1 -1
  189. package/dist/api/api-schemas/qEditorsParameter.d.cts +1 -1
  190. package/dist/api/api-schemas/qEditorsParameter.d.ts +1 -1
  191. package/dist/api/api-schemas/qEventLimitParameter.d.cts +1 -1
  192. package/dist/api/api-schemas/qEventLimitParameter.d.ts +1 -1
  193. package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts +1 -1
  194. package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts +1 -1
  195. package/dist/api/api-schemas/qExcludeDoneParameter.d.cts +1 -1
  196. package/dist/api/api-schemas/qExcludeDoneParameter.d.ts +1 -1
  197. package/dist/api/api-schemas/qExcludePurposeParameter.d.cts +1 -1
  198. package/dist/api/api-schemas/qExcludePurposeParameter.d.ts +1 -1
  199. package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts +1 -1
  200. package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts +1 -1
  201. package/dist/api/api-schemas/qFileDstPathParameter.d.cts +1 -1
  202. package/dist/api/api-schemas/qFileDstPathParameter.d.ts +1 -1
  203. package/dist/api/api-schemas/qFileParameter.d.cts +1 -1
  204. package/dist/api/api-schemas/qFileParameter.d.ts +1 -1
  205. package/dist/api/api-schemas/qFilePathParameter.d.cts +1 -1
  206. package/dist/api/api-schemas/qFilePathParameter.d.ts +1 -1
  207. package/dist/api/api-schemas/qFileProjectIdParameter.d.cts +1 -1
  208. package/dist/api/api-schemas/qFileProjectIdParameter.d.ts +1 -1
  209. package/dist/api/api-schemas/qFileSrcPathParameter.d.cts +1 -1
  210. package/dist/api/api-schemas/qFileSrcPathParameter.d.ts +1 -1
  211. package/dist/api/api-schemas/qFromParameter.d.cts +1 -1
  212. package/dist/api/api-schemas/qFromParameter.d.ts +1 -1
  213. package/dist/api/api-schemas/qIdleDaysParameter.d.cts +1 -1
  214. package/dist/api/api-schemas/qIdleDaysParameter.d.ts +1 -1
  215. package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts +1 -1
  216. package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts +1 -1
  217. package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts +1 -1
  218. package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts +1 -1
  219. package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts +1 -1
  220. package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts +1 -1
  221. package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts +1 -1
  222. package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts +1 -1
  223. package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts +1 -1
  224. package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts +1 -1
  225. package/dist/api/api-schemas/qJobCollectionParameter.d.cts +1 -1
  226. package/dist/api/api-schemas/qJobCollectionParameter.d.ts +1 -1
  227. package/dist/api/api-schemas/qJobIdParameter.d.cts +1 -1
  228. package/dist/api/api-schemas/qJobIdParameter.d.ts +1 -1
  229. package/dist/api/api-schemas/qJobJobParameter.d.cts +1 -1
  230. package/dist/api/api-schemas/qJobJobParameter.d.ts +1 -1
  231. package/dist/api/api-schemas/qJobVersionParameter.d.cts +1 -1
  232. package/dist/api/api-schemas/qJobVersionParameter.d.ts +1 -1
  233. package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts +1 -1
  234. package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts +1 -1
  235. package/dist/api/api-schemas/qLabelsParameter.d.cts +1 -1
  236. package/dist/api/api-schemas/qLabelsParameter.d.ts +1 -1
  237. package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts +1 -1
  238. package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts +1 -1
  239. package/dist/api/api-schemas/qOrgIdParameter.d.cts +1 -1
  240. package/dist/api/api-schemas/qOrgIdParameter.d.ts +1 -1
  241. package/dist/api/api-schemas/qOwnersParameter.d.cts +1 -1
  242. package/dist/api/api-schemas/qOwnersParameter.d.ts +1 -1
  243. package/dist/api/api-schemas/qProjectIdParameter.d.cts +1 -1
  244. package/dist/api/api-schemas/qProjectIdParameter.d.ts +1 -1
  245. package/dist/api/api-schemas/qProjectNameParameter.d.cts +1 -1
  246. package/dist/api/api-schemas/qProjectNameParameter.d.ts +1 -1
  247. package/dist/api/api-schemas/qPurgeParameter.d.cts +1 -1
  248. package/dist/api/api-schemas/qPurgeParameter.d.ts +1 -1
  249. package/dist/api/api-schemas/qPurposeParameter.cjs.map +1 -1
  250. package/dist/api/api-schemas/qPurposeParameter.d.cts +1 -1
  251. package/dist/api/api-schemas/qPurposeParameter.d.ts +1 -1
  252. package/dist/api/api-schemas/qPurposeParameter.js.map +1 -1
  253. package/dist/api/api-schemas/qTokenParameter.d.cts +1 -1
  254. package/dist/api/api-schemas/qTokenParameter.d.ts +1 -1
  255. package/dist/api/api-schemas/qUnitIdParameter.d.cts +1 -1
  256. package/dist/api/api-schemas/qUnitIdParameter.d.ts +1 -1
  257. package/dist/api/api-schemas/qUntilParameter.d.cts +1 -1
  258. package/dist/api/api-schemas/qUntilParameter.d.ts +1 -1
  259. package/dist/api/api-schemas/qUsernameParameter.d.cts +1 -1
  260. package/dist/api/api-schemas/qUsernameParameter.d.ts +1 -1
  261. package/dist/api/api-schemas/qUsernamesParameter.d.cts +1 -1
  262. package/dist/api/api-schemas/qUsernamesParameter.d.ts +1 -1
  263. package/dist/api/api-schemas/qWorkflowIdParameter.d.cts +1 -1
  264. package/dist/api/api-schemas/qWorkflowIdParameter.d.ts +1 -1
  265. package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs.map +1 -1
  266. package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts +1 -1
  267. package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts +1 -1
  268. package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js.map +1 -1
  269. package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts +1 -1
  270. package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts +1 -1
  271. package/dist/api/api-schemas/runningWorkflowProject.d.cts +1 -1
  272. package/dist/api/api-schemas/runningWorkflowProject.d.ts +1 -1
  273. package/dist/api/api-schemas/runningWorkflowStepStatus.cjs.map +1 -1
  274. package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts +1 -1
  275. package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts +1 -1
  276. package/dist/api/api-schemas/runningWorkflowStepStatus.js.map +1 -1
  277. package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts +1 -1
  278. package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts +1 -1
  279. package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs.map +1 -1
  280. package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts +1 -1
  281. package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts +1 -1
  282. package/dist/api/api-schemas/runningWorkflowSummaryStatus.js.map +1 -1
  283. package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts +1 -1
  284. package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts +1 -1
  285. package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs.map +1 -1
  286. package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts +1 -1
  287. package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts +1 -1
  288. package/dist/api/api-schemas/serviceErrorSummarySeverity.js.map +1 -1
  289. package/dist/api/api-schemas/taskEventLevel.cjs.map +1 -1
  290. package/dist/api/api-schemas/taskEventLevel.d.cts +1 -1
  291. package/dist/api/api-schemas/taskEventLevel.d.ts +1 -1
  292. package/dist/api/api-schemas/taskEventLevel.js.map +1 -1
  293. package/dist/api/api-schemas/taskGetResponsePurpose.cjs.map +1 -1
  294. package/dist/api/api-schemas/taskGetResponsePurpose.d.cts +1 -1
  295. package/dist/api/api-schemas/taskGetResponsePurpose.d.ts +1 -1
  296. package/dist/api/api-schemas/taskGetResponsePurpose.js.map +1 -1
  297. package/dist/api/api-schemas/taskIdentity.d.cts +1 -1
  298. package/dist/api/api-schemas/taskIdentity.d.ts +1 -1
  299. package/dist/api/api-schemas/taskStateState.cjs.map +1 -1
  300. package/dist/api/api-schemas/taskStateState.d.cts +1 -1
  301. package/dist/api/api-schemas/taskStateState.d.ts +1 -1
  302. package/dist/api/api-schemas/taskStateState.js.map +1 -1
  303. package/dist/api/api-schemas/taskSummaryProcessingStage.cjs.map +1 -1
  304. package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts +1 -1
  305. package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts +1 -1
  306. package/dist/api/api-schemas/taskSummaryProcessingStage.js.map +1 -1
  307. package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs.map +1 -1
  308. package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts +1 -1
  309. package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts +1 -1
  310. package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js.map +1 -1
  311. package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts +1 -1
  312. package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts +1 -1
  313. package/dist/api/api-schemas/userActivityDetailPeriod.d.cts +1 -1
  314. package/dist/api/api-schemas/userActivityDetailPeriod.d.ts +1 -1
  315. package/dist/api/api-schemas/userApiTokenGetResponse.d.cts +1 -1
  316. package/dist/api/api-schemas/userApiTokenGetResponse.d.ts +1 -1
  317. package/dist/api/api-schemas/userDetail.d.cts +1 -1
  318. package/dist/api/api-schemas/userDetail.d.ts +1 -1
  319. package/dist/api/api-schemas/userPatchBodyBody.d.cts +1 -1
  320. package/dist/api/api-schemas/userPatchBodyBody.d.ts +1 -1
  321. package/dist/api/api-schemas/userSummary.d.cts +1 -1
  322. package/dist/api/api-schemas/userSummary.d.ts +1 -1
  323. package/dist/api/api-schemas/versionGetResponse.d.cts +1 -1
  324. package/dist/api/api-schemas/versionGetResponse.d.ts +1 -1
  325. package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts +1 -1
  326. package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts +1 -1
  327. package/dist/api/api-schemas/workflowGetResponseScope.cjs.map +1 -1
  328. package/dist/api/api-schemas/workflowGetResponseScope.d.cts +1 -1
  329. package/dist/api/api-schemas/workflowGetResponseScope.d.ts +1 -1
  330. package/dist/api/api-schemas/workflowGetResponseScope.js.map +1 -1
  331. package/dist/api/api-schemas/workflowGetResponseVariables.d.cts +1 -1
  332. package/dist/api/api-schemas/workflowGetResponseVariables.d.ts +1 -1
  333. package/dist/api/api-schemas/workflowPatchBodyBody.d.cts +1 -1
  334. package/dist/api/api-schemas/workflowPatchBodyBody.d.ts +1 -1
  335. package/dist/api/api-schemas/workflowPatchResponse.d.cts +1 -1
  336. package/dist/api/api-schemas/workflowPatchResponse.d.ts +1 -1
  337. package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs.map +1 -1
  338. package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts +1 -1
  339. package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts +1 -1
  340. package/dist/api/api-schemas/workflowPostBodyBodyScope.js.map +1 -1
  341. package/dist/api/api-schemas/workflowPostResponse.d.cts +1 -1
  342. package/dist/api/api-schemas/workflowPostResponse.d.ts +1 -1
  343. package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts +1 -1
  344. package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts +1 -1
  345. package/dist/api/api-schemas/workflowRunPostResponse.d.cts +1 -1
  346. package/dist/api/api-schemas/workflowRunPostResponse.d.ts +1 -1
  347. package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts +1 -1
  348. package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts +1 -1
  349. package/dist/api/api-schemas/workflowSummaryScope.cjs.map +1 -1
  350. package/dist/api/api-schemas/workflowSummaryScope.d.cts +1 -1
  351. package/dist/api/api-schemas/workflowSummaryScope.d.ts +1 -1
  352. package/dist/api/api-schemas/workflowSummaryScope.js.map +1 -1
  353. package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts +1 -1
  354. package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts +1 -1
  355. package/dist/api/api-schemas/workflowVersionPutResponse.d.cts +1 -1
  356. package/dist/api/api-schemas/workflowVersionPutResponse.d.ts +1 -1
  357. package/dist/api/application/application.cjs +17 -17
  358. package/dist/api/application/application.cjs.map +1 -1
  359. package/dist/api/application/application.d.cts.map +1 -1
  360. package/dist/api/application/application.d.ts.map +1 -1
  361. package/dist/api/application/application.fetch.cjs +17 -17
  362. package/dist/api/application/application.fetch.cjs.map +1 -1
  363. package/dist/api/application/application.fetch.d.cts.map +1 -1
  364. package/dist/api/application/application.fetch.d.ts.map +1 -1
  365. package/dist/api/application/application.fetch.js +17 -17
  366. package/dist/api/application/application.fetch.js.map +1 -1
  367. package/dist/api/application/application.js +17 -17
  368. package/dist/api/application/application.js.map +1 -1
  369. package/dist/api/configuration/configuration.cjs +17 -17
  370. package/dist/api/configuration/configuration.cjs.map +1 -1
  371. package/dist/api/configuration/configuration.d.cts.map +1 -1
  372. package/dist/api/configuration/configuration.d.ts.map +1 -1
  373. package/dist/api/configuration/configuration.fetch.cjs +17 -17
  374. package/dist/api/configuration/configuration.fetch.cjs.map +1 -1
  375. package/dist/api/configuration/configuration.fetch.d.cts.map +1 -1
  376. package/dist/api/configuration/configuration.fetch.d.ts.map +1 -1
  377. package/dist/api/configuration/configuration.fetch.js +17 -17
  378. package/dist/api/configuration/configuration.fetch.js.map +1 -1
  379. package/dist/api/configuration/configuration.js +17 -17
  380. package/dist/api/configuration/configuration.js.map +1 -1
  381. package/dist/api/dataset/dataset.cjs +126 -197
  382. package/dist/api/dataset/dataset.cjs.map +1 -1
  383. package/dist/api/dataset/dataset.d.cts +110 -142
  384. package/dist/api/dataset/dataset.d.cts.map +1 -1
  385. package/dist/api/dataset/dataset.d.ts +110 -142
  386. package/dist/api/dataset/dataset.d.ts.map +1 -1
  387. package/dist/api/dataset/dataset.fetch.cjs +126 -212
  388. package/dist/api/dataset/dataset.fetch.cjs.map +1 -1
  389. package/dist/api/dataset/dataset.fetch.d.cts +110 -142
  390. package/dist/api/dataset/dataset.fetch.d.cts.map +1 -1
  391. package/dist/api/dataset/dataset.fetch.d.ts +110 -142
  392. package/dist/api/dataset/dataset.fetch.d.ts.map +1 -1
  393. package/dist/api/dataset/dataset.fetch.js +123 -199
  394. package/dist/api/dataset/dataset.fetch.js.map +1 -1
  395. package/dist/api/dataset/dataset.js +123 -184
  396. package/dist/api/dataset/dataset.js.map +1 -1
  397. package/dist/api/digest/digest.cjs +15 -9
  398. package/dist/api/digest/digest.cjs.map +1 -1
  399. package/dist/api/digest/digest.d.cts.map +1 -1
  400. package/dist/api/digest/digest.d.ts.map +1 -1
  401. package/dist/api/digest/digest.fetch.cjs +15 -9
  402. package/dist/api/digest/digest.fetch.cjs.map +1 -1
  403. package/dist/api/digest/digest.fetch.d.cts.map +1 -1
  404. package/dist/api/digest/digest.fetch.d.ts.map +1 -1
  405. package/dist/api/digest/digest.fetch.js +15 -9
  406. package/dist/api/digest/digest.fetch.js.map +1 -1
  407. package/dist/api/digest/digest.js +15 -9
  408. package/dist/api/digest/digest.js.map +1 -1
  409. package/dist/api/file-and-path/file-and-path.cjs +189 -287
  410. package/dist/api/file-and-path/file-and-path.cjs.map +1 -1
  411. package/dist/api/file-and-path/file-and-path.d.cts +152 -226
  412. package/dist/api/file-and-path/file-and-path.d.cts.map +1 -1
  413. package/dist/api/file-and-path/file-and-path.d.ts +152 -226
  414. package/dist/api/file-and-path/file-and-path.d.ts.map +1 -1
  415. package/dist/api/file-and-path/file-and-path.fetch.cjs +189 -311
  416. package/dist/api/file-and-path/file-and-path.fetch.cjs.map +1 -1
  417. package/dist/api/file-and-path/file-and-path.fetch.d.cts +152 -226
  418. package/dist/api/file-and-path/file-and-path.fetch.d.cts.map +1 -1
  419. package/dist/api/file-and-path/file-and-path.fetch.d.ts +152 -226
  420. package/dist/api/file-and-path/file-and-path.fetch.d.ts.map +1 -1
  421. package/dist/api/file-and-path/file-and-path.fetch.js +183 -289
  422. package/dist/api/file-and-path/file-and-path.fetch.js.map +1 -1
  423. package/dist/api/file-and-path/file-and-path.js +183 -265
  424. package/dist/api/file-and-path/file-and-path.js.map +1 -1
  425. package/dist/api/instance/instance.cjs +122 -179
  426. package/dist/api/instance/instance.cjs.map +1 -1
  427. package/dist/api/instance/instance.d.cts +102 -142
  428. package/dist/api/instance/instance.d.cts.map +1 -1
  429. package/dist/api/instance/instance.d.ts +102 -142
  430. package/dist/api/instance/instance.d.ts.map +1 -1
  431. package/dist/api/instance/instance.fetch.cjs +122 -194
  432. package/dist/api/instance/instance.fetch.cjs.map +1 -1
  433. package/dist/api/instance/instance.fetch.d.cts +102 -142
  434. package/dist/api/instance/instance.fetch.d.cts.map +1 -1
  435. package/dist/api/instance/instance.fetch.d.ts +102 -142
  436. package/dist/api/instance/instance.fetch.d.ts.map +1 -1
  437. package/dist/api/instance/instance.fetch.js +119 -181
  438. package/dist/api/instance/instance.fetch.js.map +1 -1
  439. package/dist/api/instance/instance.js +119 -166
  440. package/dist/api/instance/instance.js.map +1 -1
  441. package/dist/api/inventory/inventory.cjs +15 -9
  442. package/dist/api/inventory/inventory.cjs.map +1 -1
  443. package/dist/api/inventory/inventory.d.cts.map +1 -1
  444. package/dist/api/inventory/inventory.d.ts.map +1 -1
  445. package/dist/api/inventory/inventory.fetch.cjs +15 -9
  446. package/dist/api/inventory/inventory.fetch.cjs.map +1 -1
  447. package/dist/api/inventory/inventory.fetch.d.cts.map +1 -1
  448. package/dist/api/inventory/inventory.fetch.d.ts.map +1 -1
  449. package/dist/api/inventory/inventory.fetch.js +15 -9
  450. package/dist/api/inventory/inventory.fetch.js.map +1 -1
  451. package/dist/api/inventory/inventory.js +15 -9
  452. package/dist/api/inventory/inventory.js.map +1 -1
  453. package/dist/api/job/job.cjs +44 -75
  454. package/dist/api/job/job.cjs.map +1 -1
  455. package/dist/api/job/job.d.cts +25 -30
  456. package/dist/api/job/job.d.cts.map +1 -1
  457. package/dist/api/job/job.d.ts +25 -30
  458. package/dist/api/job/job.d.ts.map +1 -1
  459. package/dist/api/job/job.fetch.cjs +44 -78
  460. package/dist/api/job/job.fetch.cjs.map +1 -1
  461. package/dist/api/job/job.fetch.d.cts +25 -30
  462. package/dist/api/job/job.fetch.d.cts.map +1 -1
  463. package/dist/api/job/job.fetch.d.ts +25 -30
  464. package/dist/api/job/job.fetch.d.ts.map +1 -1
  465. package/dist/api/job/job.fetch.js +45 -77
  466. package/dist/api/job/job.fetch.js.map +1 -1
  467. package/dist/api/job/job.js +45 -74
  468. package/dist/api/job/job.js.map +1 -1
  469. package/dist/api/metadata/metadata.cjs +59 -86
  470. package/dist/api/metadata/metadata.cjs.map +1 -1
  471. package/dist/api/metadata/metadata.d.cts +52 -58
  472. package/dist/api/metadata/metadata.d.cts.map +1 -1
  473. package/dist/api/metadata/metadata.d.ts +52 -58
  474. package/dist/api/metadata/metadata.d.ts.map +1 -1
  475. package/dist/api/metadata/metadata.fetch.cjs +59 -92
  476. package/dist/api/metadata/metadata.fetch.cjs.map +1 -1
  477. package/dist/api/metadata/metadata.fetch.d.cts +50 -56
  478. package/dist/api/metadata/metadata.fetch.d.cts.map +1 -1
  479. package/dist/api/metadata/metadata.fetch.d.ts +50 -56
  480. package/dist/api/metadata/metadata.fetch.d.ts.map +1 -1
  481. package/dist/api/metadata/metadata.fetch.js +59 -88
  482. package/dist/api/metadata/metadata.fetch.js.map +1 -1
  483. package/dist/api/metadata/metadata.js +59 -82
  484. package/dist/api/metadata/metadata.js.map +1 -1
  485. package/dist/api/project/project.cjs +206 -317
  486. package/dist/api/project/project.cjs.map +1 -1
  487. package/dist/api/project/project.d.cts +194 -254
  488. package/dist/api/project/project.d.cts.map +1 -1
  489. package/dist/api/project/project.d.ts +194 -254
  490. package/dist/api/project/project.d.ts.map +1 -1
  491. package/dist/api/project/project.fetch.cjs +206 -344
  492. package/dist/api/project/project.fetch.cjs.map +1 -1
  493. package/dist/api/project/project.fetch.d.cts +194 -254
  494. package/dist/api/project/project.fetch.d.cts.map +1 -1
  495. package/dist/api/project/project.fetch.d.ts +194 -254
  496. package/dist/api/project/project.fetch.d.ts.map +1 -1
  497. package/dist/api/project/project.fetch.js +199 -319
  498. package/dist/api/project/project.fetch.js.map +1 -1
  499. package/dist/api/project/project.js +199 -292
  500. package/dist/api/project/project.js.map +1 -1
  501. package/dist/api/task/task.cjs +38 -49
  502. package/dist/api/task/task.cjs.map +1 -1
  503. package/dist/api/task/task.d.cts +20 -30
  504. package/dist/api/task/task.d.cts.map +1 -1
  505. package/dist/api/task/task.d.ts +20 -30
  506. package/dist/api/task/task.d.ts.map +1 -1
  507. package/dist/api/task/task.fetch.cjs +38 -52
  508. package/dist/api/task/task.fetch.cjs.map +1 -1
  509. package/dist/api/task/task.fetch.d.cts +20 -30
  510. package/dist/api/task/task.fetch.d.cts.map +1 -1
  511. package/dist/api/task/task.fetch.d.ts +20 -30
  512. package/dist/api/task/task.fetch.d.ts.map +1 -1
  513. package/dist/api/task/task.fetch.js +39 -51
  514. package/dist/api/task/task.fetch.js.map +1 -1
  515. package/dist/api/task/task.js +39 -48
  516. package/dist/api/task/task.js.map +1 -1
  517. package/dist/api/type/type.cjs +15 -9
  518. package/dist/api/type/type.cjs.map +1 -1
  519. package/dist/api/type/type.d.cts.map +1 -1
  520. package/dist/api/type/type.d.ts.map +1 -1
  521. package/dist/api/type/type.fetch.cjs +15 -9
  522. package/dist/api/type/type.fetch.cjs.map +1 -1
  523. package/dist/api/type/type.fetch.d.cts.map +1 -1
  524. package/dist/api/type/type.fetch.d.ts.map +1 -1
  525. package/dist/api/type/type.fetch.js +15 -9
  526. package/dist/api/type/type.fetch.js.map +1 -1
  527. package/dist/api/type/type.js +15 -9
  528. package/dist/api/type/type.js.map +1 -1
  529. package/dist/api/user/user.cjs +42 -65
  530. package/dist/api/user/user.cjs.map +1 -1
  531. package/dist/api/user/user.d.cts +21 -30
  532. package/dist/api/user/user.d.cts.map +1 -1
  533. package/dist/api/user/user.d.ts +21 -30
  534. package/dist/api/user/user.d.ts.map +1 -1
  535. package/dist/api/user/user.fetch.cjs +42 -68
  536. package/dist/api/user/user.fetch.cjs.map +1 -1
  537. package/dist/api/user/user.fetch.d.cts +21 -30
  538. package/dist/api/user/user.fetch.d.cts.map +1 -1
  539. package/dist/api/user/user.fetch.d.ts +21 -30
  540. package/dist/api/user/user.fetch.d.ts.map +1 -1
  541. package/dist/api/user/user.fetch.js +43 -67
  542. package/dist/api/user/user.fetch.js.map +1 -1
  543. package/dist/api/user/user.js +43 -64
  544. package/dist/api/user/user.js.map +1 -1
  545. package/dist/api/workflow/workflow.cjs +172 -278
  546. package/dist/api/workflow/workflow.cjs.map +1 -1
  547. package/dist/api/workflow/workflow.d.cts +144 -198
  548. package/dist/api/workflow/workflow.d.cts.map +1 -1
  549. package/dist/api/workflow/workflow.d.ts +144 -198
  550. package/dist/api/workflow/workflow.d.ts.map +1 -1
  551. package/dist/api/workflow/workflow.fetch.cjs +172 -299
  552. package/dist/api/workflow/workflow.fetch.cjs.map +1 -1
  553. package/dist/api/workflow/workflow.fetch.d.cts +144 -198
  554. package/dist/api/workflow/workflow.fetch.d.cts.map +1 -1
  555. package/dist/api/workflow/workflow.fetch.d.ts +144 -198
  556. package/dist/api/workflow/workflow.fetch.d.ts.map +1 -1
  557. package/dist/api/workflow/workflow.fetch.js +167 -280
  558. package/dist/api/workflow/workflow.fetch.js.map +1 -1
  559. package/dist/api/workflow/workflow.js +167 -259
  560. package/dist/api/workflow/workflow.js.map +1 -1
  561. package/morph-query-keys.ts +2 -1
  562. package/orval.config.ts +9 -15
  563. package/package.json +4 -2
  564. package/pnpm-workspace.yaml +1 -0
  565. package/src/api/accounting/accounting.fetch.ts +26 -11
  566. package/src/api/accounting/accounting.ts +26 -11
  567. package/src/api/admin/admin.fetch.ts +409 -935
  568. package/src/api/admin/admin.ts +429 -955
  569. package/src/api/api-schemas/accountServerGetNamespaceResponse.fetch.ts +1 -1
  570. package/src/api/api-schemas/accountServerGetNamespaceResponse.ts +1 -1
  571. package/src/api/api-schemas/accountServerGetRegistrationResponse.fetch.ts +1 -1
  572. package/src/api/api-schemas/accountServerGetRegistrationResponse.ts +1 -1
  573. package/src/api/api-schemas/adminDeleteJobManifestParams.fetch.ts +1 -1
  574. package/src/api/api-schemas/adminDeleteJobManifestParams.ts +1 -1
  575. package/src/api/api-schemas/adminGetServiceErrorsParams.fetch.ts +1 -1
  576. package/src/api/api-schemas/adminGetServiceErrorsParams.ts +1 -1
  577. package/src/api/api-schemas/adminGetUsersParams.fetch.ts +1 -1
  578. package/src/api/api-schemas/adminGetUsersParams.ts +1 -1
  579. package/src/api/api-schemas/adminJobManifestGetResponse.fetch.ts +1 -1
  580. package/src/api/api-schemas/adminJobManifestGetResponse.ts +1 -1
  581. package/src/api/api-schemas/adminJobManifestLoadPutResponse.fetch.ts +1 -1
  582. package/src/api/api-schemas/adminJobManifestLoadPutResponse.ts +1 -1
  583. package/src/api/api-schemas/adminUserPutResponse.fetch.ts +1 -1
  584. package/src/api/api-schemas/adminUserPutResponse.ts +1 -1
  585. package/src/api/api-schemas/adminUsersGetResponse.fetch.ts +1 -1
  586. package/src/api/api-schemas/adminUsersGetResponse.ts +1 -1
  587. package/src/api/api-schemas/apiLogDetail.fetch.ts +1 -1
  588. package/src/api/api-schemas/apiLogDetail.ts +1 -1
  589. package/src/api/api-schemas/apiLogDetailMethod.fetch.ts +1 -1
  590. package/src/api/api-schemas/apiLogDetailMethod.ts +1 -1
  591. package/src/api/api-schemas/applicationGetResponse.fetch.ts +1 -1
  592. package/src/api/api-schemas/applicationGetResponse.ts +1 -1
  593. package/src/api/api-schemas/applicationGetResponseCostUnit.fetch.ts +1 -1
  594. package/src/api/api-schemas/applicationGetResponseCostUnit.ts +1 -1
  595. package/src/api/api-schemas/applicationImageVariant.fetch.ts +1 -1
  596. package/src/api/api-schemas/applicationImageVariant.ts +1 -1
  597. package/src/api/api-schemas/applicationImageVariants.fetch.ts +1 -1
  598. package/src/api/api-schemas/applicationImageVariants.ts +1 -1
  599. package/src/api/api-schemas/applicationSummary.fetch.ts +1 -1
  600. package/src/api/api-schemas/applicationSummary.ts +1 -1
  601. package/src/api/api-schemas/applicationsGetResponse.fetch.ts +1 -1
  602. package/src/api/api-schemas/applicationsGetResponse.ts +1 -1
  603. package/src/api/api-schemas/asAdditionalDataProcessingCharge.fetch.ts +1 -1
  604. package/src/api/api-schemas/asAdditionalDataProcessingCharge.ts +1 -1
  605. package/src/api/api-schemas/createPathParams.fetch.ts +1 -1
  606. package/src/api/api-schemas/createPathParams.ts +1 -1
  607. package/src/api/api-schemas/datasetDetail.fetch.ts +1 -1
  608. package/src/api/api-schemas/datasetDetail.ts +1 -1
  609. package/src/api/api-schemas/datasetDigestGetResponse.fetch.ts +1 -1
  610. package/src/api/api-schemas/datasetDigestGetResponse.ts +1 -1
  611. package/src/api/api-schemas/datasetMetaGetResponse.fetch.ts +1 -1
  612. package/src/api/api-schemas/datasetMetaGetResponse.ts +1 -1
  613. package/src/api/api-schemas/datasetMetaPostBodyBody.fetch.ts +1 -1
  614. package/src/api/api-schemas/datasetMetaPostBodyBody.ts +1 -1
  615. package/src/api/api-schemas/datasetPostBodyBody.fetch.ts +1 -1
  616. package/src/api/api-schemas/datasetPostBodyBody.ts +1 -1
  617. package/src/api/api-schemas/datasetPutBodyBody.fetch.ts +1 -1
  618. package/src/api/api-schemas/datasetPutBodyBody.ts +1 -1
  619. package/src/api/api-schemas/datasetPutPostResponse.fetch.ts +1 -1
  620. package/src/api/api-schemas/datasetPutPostResponse.ts +1 -1
  621. package/src/api/api-schemas/datasetSchemaGetResponse.fetch.ts +1 -1
  622. package/src/api/api-schemas/datasetSchemaGetResponse.ts +1 -1
  623. package/src/api/api-schemas/datasetSchemaGetResponseType.fetch.ts +1 -1
  624. package/src/api/api-schemas/datasetSchemaGetResponseType.ts +1 -1
  625. package/src/api/api-schemas/datasetSummary.fetch.ts +1 -1
  626. package/src/api/api-schemas/datasetSummary.ts +1 -1
  627. package/src/api/api-schemas/datasetVersionDeleteResponse.fetch.ts +1 -1
  628. package/src/api/api-schemas/datasetVersionDeleteResponse.ts +1 -1
  629. package/src/api/api-schemas/datasetVersionDetail.fetch.ts +1 -1
  630. package/src/api/api-schemas/datasetVersionDetail.ts +1 -1
  631. package/src/api/api-schemas/datasetVersionDetailLabels.fetch.ts +1 -1
  632. package/src/api/api-schemas/datasetVersionDetailLabels.ts +1 -1
  633. package/src/api/api-schemas/datasetVersionDetailProcessingStage.fetch.ts +1 -1
  634. package/src/api/api-schemas/datasetVersionDetailProcessingStage.ts +1 -1
  635. package/src/api/api-schemas/datasetVersionMetaPostBodyBody.fetch.ts +1 -1
  636. package/src/api/api-schemas/datasetVersionMetaPostBodyBody.ts +1 -1
  637. package/src/api/api-schemas/datasetVersionProjectFile.fetch.ts +1 -1
  638. package/src/api/api-schemas/datasetVersionProjectFile.ts +1 -1
  639. package/src/api/api-schemas/datasetVersionSummary.fetch.ts +1 -1
  640. package/src/api/api-schemas/datasetVersionSummary.ts +1 -1
  641. package/src/api/api-schemas/datasetVersionSummaryLabels.fetch.ts +1 -1
  642. package/src/api/api-schemas/datasetVersionSummaryLabels.ts +1 -1
  643. package/src/api/api-schemas/datasetVersionSummaryProcessingStage.fetch.ts +1 -1
  644. package/src/api/api-schemas/datasetVersionSummaryProcessingStage.ts +1 -1
  645. package/src/api/api-schemas/datasetVersionsGetResponse.fetch.ts +1 -1
  646. package/src/api/api-schemas/datasetVersionsGetResponse.ts +1 -1
  647. package/src/api/api-schemas/datasetsGetResponse.fetch.ts +1 -1
  648. package/src/api/api-schemas/datasetsGetResponse.ts +1 -1
  649. package/src/api/api-schemas/deleteDatasetParams.fetch.ts +1 -1
  650. package/src/api/api-schemas/deleteDatasetParams.ts +1 -1
  651. package/src/api/api-schemas/deletePathParams.fetch.ts +1 -1
  652. package/src/api/api-schemas/deletePathParams.ts +1 -1
  653. package/src/api/api-schemas/deleteUnmanagedFileParams.fetch.ts +1 -1
  654. package/src/api/api-schemas/deleteUnmanagedFileParams.ts +1 -1
  655. package/src/api/api-schemas/dmError.fetch.ts +1 -1
  656. package/src/api/api-schemas/dmError.ts +1 -1
  657. package/src/api/api-schemas/exchangeRateDetail.fetch.ts +1 -1
  658. package/src/api/api-schemas/exchangeRateDetail.ts +1 -1
  659. package/src/api/api-schemas/exchangeRatePutBodyBody.fetch.ts +1 -1
  660. package/src/api/api-schemas/exchangeRatePutBodyBody.ts +1 -1
  661. package/src/api/api-schemas/filePathFile.fetch.ts +1 -1
  662. package/src/api/api-schemas/filePathFile.ts +1 -1
  663. package/src/api/api-schemas/filePostBodyBody.fetch.ts +1 -1
  664. package/src/api/api-schemas/filePostBodyBody.ts +1 -1
  665. package/src/api/api-schemas/filePostResponse.fetch.ts +1 -1
  666. package/src/api/api-schemas/filePostResponse.ts +1 -1
  667. package/src/api/api-schemas/fileStat.fetch.ts +1 -1
  668. package/src/api/api-schemas/fileStat.ts +1 -1
  669. package/src/api/api-schemas/filesGetResponse.fetch.ts +1 -1
  670. package/src/api/api-schemas/filesGetResponse.ts +1 -1
  671. package/src/api/api-schemas/getAllExchangeRatesResponse.fetch.ts +1 -1
  672. package/src/api/api-schemas/getAllExchangeRatesResponse.ts +1 -1
  673. package/src/api/api-schemas/getAllJobExchangeRatesParams.fetch.ts +1 -1
  674. package/src/api/api-schemas/getAllJobExchangeRatesParams.ts +1 -1
  675. package/src/api/api-schemas/getDatasetsParams.fetch.ts +1 -1
  676. package/src/api/api-schemas/getDatasetsParams.ts +1 -1
  677. package/src/api/api-schemas/getExchangeRatesResponse.fetch.ts +1 -1
  678. package/src/api/api-schemas/getExchangeRatesResponse.ts +1 -1
  679. package/src/api/api-schemas/getFilesParams.fetch.ts +1 -1
  680. package/src/api/api-schemas/getFilesParams.ts +1 -1
  681. package/src/api/api-schemas/getInstancesParams.fetch.ts +1 -1
  682. package/src/api/api-schemas/getInstancesParams.ts +1 -1
  683. package/src/api/api-schemas/getJobByVersionParams.fetch.ts +1 -1
  684. package/src/api/api-schemas/getJobByVersionParams.ts +1 -1
  685. package/src/api/api-schemas/getJobExchangeRatesParams.fetch.ts +1 -1
  686. package/src/api/api-schemas/getJobExchangeRatesParams.ts +1 -1
  687. package/src/api/api-schemas/getJobParams.fetch.ts +1 -1
  688. package/src/api/api-schemas/getJobParams.ts +1 -1
  689. package/src/api/api-schemas/getJobsParams.fetch.ts +1 -1
  690. package/src/api/api-schemas/getJobsParams.ts +1 -1
  691. package/src/api/api-schemas/getProjectFileParams.fetch.ts +1 -1
  692. package/src/api/api-schemas/getProjectFileParams.ts +1 -1
  693. package/src/api/api-schemas/getProjectFileWithTokenParams.fetch.ts +1 -1
  694. package/src/api/api-schemas/getProjectFileWithTokenParams.ts +1 -1
  695. package/src/api/api-schemas/getProjectsParams.fetch.ts +1 -1
  696. package/src/api/api-schemas/getProjectsParams.ts +1 -1
  697. package/src/api/api-schemas/getRunningWorkflowsParams.fetch.ts +1 -1
  698. package/src/api/api-schemas/getRunningWorkflowsParams.ts +1 -1
  699. package/src/api/api-schemas/getTaskParams.fetch.ts +1 -1
  700. package/src/api/api-schemas/getTaskParams.ts +1 -1
  701. package/src/api/api-schemas/getTasksParams.fetch.ts +1 -1
  702. package/src/api/api-schemas/getTasksParams.ts +1 -1
  703. package/src/api/api-schemas/getUserAccountParams.fetch.ts +1 -1
  704. package/src/api/api-schemas/getUserAccountParams.ts +1 -1
  705. package/src/api/api-schemas/getUserApiLogParams.fetch.ts +1 -1
  706. package/src/api/api-schemas/getUserApiLogParams.ts +1 -1
  707. package/src/api/api-schemas/getUserInventoryParams.fetch.ts +1 -1
  708. package/src/api/api-schemas/getUserInventoryParams.ts +1 -1
  709. package/src/api/api-schemas/getVersionsParams.fetch.ts +1 -1
  710. package/src/api/api-schemas/getVersionsParams.ts +1 -1
  711. package/src/api/api-schemas/index.ts +1 -1
  712. package/src/api/api-schemas/inputHandlerDetail.fetch.ts +1 -1
  713. package/src/api/api-schemas/inputHandlerDetail.ts +1 -1
  714. package/src/api/api-schemas/inputHandlerGetResponse.fetch.ts +1 -1
  715. package/src/api/api-schemas/inputHandlerGetResponse.ts +1 -1
  716. package/src/api/api-schemas/instanceDeleteResponse.fetch.ts +1 -1
  717. package/src/api/api-schemas/instanceDeleteResponse.ts +1 -1
  718. package/src/api/api-schemas/instanceDryRunPostResponse.fetch.ts +1 -1
  719. package/src/api/api-schemas/instanceDryRunPostResponse.ts +1 -1
  720. package/src/api/api-schemas/instanceGetResponse.fetch.ts +1 -1
  721. package/src/api/api-schemas/instanceGetResponse.ts +1 -1
  722. package/src/api/api-schemas/instanceGetResponseApplicationType.fetch.ts +1 -1
  723. package/src/api/api-schemas/instanceGetResponseApplicationType.ts +1 -1
  724. package/src/api/api-schemas/instanceGetResponseJobImageType.fetch.ts +1 -1
  725. package/src/api/api-schemas/instanceGetResponseJobImageType.ts +1 -1
  726. package/src/api/api-schemas/instanceGetResponseOutputs.fetch.ts +1 -1
  727. package/src/api/api-schemas/instanceGetResponseOutputs.ts +1 -1
  728. package/src/api/api-schemas/instanceGetResponsePhase.fetch.ts +1 -1
  729. package/src/api/api-schemas/instanceGetResponsePhase.ts +1 -1
  730. package/src/api/api-schemas/instancePostBodyBody.fetch.ts +1 -1
  731. package/src/api/api-schemas/instancePostBodyBody.ts +1 -1
  732. package/src/api/api-schemas/instancePostResponse.fetch.ts +1 -1
  733. package/src/api/api-schemas/instancePostResponse.ts +1 -1
  734. package/src/api/api-schemas/instanceSummary.fetch.ts +1 -1
  735. package/src/api/api-schemas/instanceSummary.ts +1 -1
  736. package/src/api/api-schemas/instanceSummaryApplicationType.fetch.ts +1 -1
  737. package/src/api/api-schemas/instanceSummaryApplicationType.ts +1 -1
  738. package/src/api/api-schemas/instanceSummaryJobImageType.fetch.ts +1 -1
  739. package/src/api/api-schemas/instanceSummaryJobImageType.ts +1 -1
  740. package/src/api/api-schemas/instanceSummaryOutputs.fetch.ts +1 -1
  741. package/src/api/api-schemas/instanceSummaryOutputs.ts +1 -1
  742. package/src/api/api-schemas/instanceSummaryPhase.fetch.ts +1 -1
  743. package/src/api/api-schemas/instanceSummaryPhase.ts +1 -1
  744. package/src/api/api-schemas/instanceTask.fetch.ts +1 -1
  745. package/src/api/api-schemas/instanceTask.ts +1 -1
  746. package/src/api/api-schemas/instanceTaskPurpose.fetch.ts +1 -1
  747. package/src/api/api-schemas/instanceTaskPurpose.ts +1 -1
  748. package/src/api/api-schemas/instancesGetResponse.fetch.ts +1 -1
  749. package/src/api/api-schemas/instancesGetResponse.ts +1 -1
  750. package/src/api/api-schemas/inventoryDatasetDetail.fetch.ts +1 -1
  751. package/src/api/api-schemas/inventoryDatasetDetail.ts +1 -1
  752. package/src/api/api-schemas/inventoryProjectDetail.fetch.ts +1 -1
  753. package/src/api/api-schemas/inventoryProjectDetail.ts +1 -1
  754. package/src/api/api-schemas/inventoryUserDetail.fetch.ts +1 -1
  755. package/src/api/api-schemas/inventoryUserDetail.ts +1 -1
  756. package/src/api/api-schemas/inventoryUserDetailDatasets.fetch.ts +1 -1
  757. package/src/api/api-schemas/inventoryUserDetailDatasets.ts +1 -1
  758. package/src/api/api-schemas/inventoryUserDetailProjects.fetch.ts +1 -1
  759. package/src/api/api-schemas/inventoryUserDetailProjects.ts +1 -1
  760. package/src/api/api-schemas/inventoryUserGetResponse.fetch.ts +1 -1
  761. package/src/api/api-schemas/inventoryUserGetResponse.ts +1 -1
  762. package/src/api/api-schemas/jobApplication.fetch.ts +1 -1
  763. package/src/api/api-schemas/jobApplication.ts +1 -1
  764. package/src/api/api-schemas/jobExchangeRateSummary.fetch.ts +1 -1
  765. package/src/api/api-schemas/jobExchangeRateSummary.ts +1 -1
  766. package/src/api/api-schemas/jobGetResponse.fetch.ts +1 -1
  767. package/src/api/api-schemas/jobGetResponse.ts +1 -1
  768. package/src/api/api-schemas/jobGetResponseImageType.fetch.ts +1 -1
  769. package/src/api/api-schemas/jobGetResponseImageType.ts +1 -1
  770. package/src/api/api-schemas/jobManifestDetail.fetch.ts +1 -1
  771. package/src/api/api-schemas/jobManifestDetail.ts +1 -1
  772. package/src/api/api-schemas/jobManifestPutBodyBody.fetch.ts +1 -1
  773. package/src/api/api-schemas/jobManifestPutBodyBody.ts +1 -1
  774. package/src/api/api-schemas/jobOrderDetail.fetch.ts +1 -1
  775. package/src/api/api-schemas/jobOrderDetail.ts +1 -1
  776. package/src/api/api-schemas/jobReplacement.fetch.ts +1 -1
  777. package/src/api/api-schemas/jobReplacement.ts +1 -1
  778. package/src/api/api-schemas/jobReplacements.fetch.ts +1 -1
  779. package/src/api/api-schemas/jobReplacements.ts +1 -1
  780. package/src/api/api-schemas/jobSummary.fetch.ts +1 -1
  781. package/src/api/api-schemas/jobSummary.ts +1 -1
  782. package/src/api/api-schemas/jobSummaryImageType.fetch.ts +1 -1
  783. package/src/api/api-schemas/jobSummaryImageType.ts +1 -1
  784. package/src/api/api-schemas/jobVariables.fetch.ts +1 -1
  785. package/src/api/api-schemas/jobVariables.ts +1 -1
  786. package/src/api/api-schemas/jobVariablesInputs.fetch.ts +1 -1
  787. package/src/api/api-schemas/jobVariablesInputs.ts +1 -1
  788. package/src/api/api-schemas/jobVariablesOptions.fetch.ts +1 -1
  789. package/src/api/api-schemas/jobVariablesOptions.ts +1 -1
  790. package/src/api/api-schemas/jobVariablesOutputs.fetch.ts +1 -1
  791. package/src/api/api-schemas/jobVariablesOutputs.ts +1 -1
  792. package/src/api/api-schemas/jobsGetResponse.fetch.ts +1 -1
  793. package/src/api/api-schemas/jobsGetResponse.ts +1 -1
  794. package/src/api/api-schemas/modeGetResponse.fetch.ts +1 -1
  795. package/src/api/api-schemas/modeGetResponse.ts +1 -1
  796. package/src/api/api-schemas/moveFileInProjectParams.fetch.ts +1 -1
  797. package/src/api/api-schemas/moveFileInProjectParams.ts +1 -1
  798. package/src/api/api-schemas/movePathParams.fetch.ts +1 -1
  799. package/src/api/api-schemas/movePathParams.ts +1 -1
  800. package/src/api/api-schemas/patchInstanceParams.fetch.ts +1 -1
  801. package/src/api/api-schemas/patchInstanceParams.ts +1 -1
  802. package/src/api/api-schemas/projectDeleteResponse.fetch.ts +1 -1
  803. package/src/api/api-schemas/projectDeleteResponse.ts +1 -1
  804. package/src/api/api-schemas/projectDetail.fetch.ts +1 -1
  805. package/src/api/api-schemas/projectDetail.ts +1 -1
  806. package/src/api/api-schemas/projectFileDetail.fetch.ts +1 -1
  807. package/src/api/api-schemas/projectFileDetail.ts +1 -1
  808. package/src/api/api-schemas/projectFileDetailProcessingStage.fetch.ts +1 -1
  809. package/src/api/api-schemas/projectFileDetailProcessingStage.ts +1 -1
  810. package/src/api/api-schemas/projectFilePutBodyBody.fetch.ts +1 -1
  811. package/src/api/api-schemas/projectFilePutBodyBody.ts +1 -1
  812. package/src/api/api-schemas/projectGetResponse.fetch.ts +1 -1
  813. package/src/api/api-schemas/projectGetResponse.ts +1 -1
  814. package/src/api/api-schemas/projectPatchBodyBody.fetch.ts +1 -1
  815. package/src/api/api-schemas/projectPatchBodyBody.ts +1 -1
  816. package/src/api/api-schemas/projectPostBodyBody.fetch.ts +1 -1
  817. package/src/api/api-schemas/projectPostBodyBody.ts +1 -1
  818. package/src/api/api-schemas/projectPostResponse.fetch.ts +1 -1
  819. package/src/api/api-schemas/projectPostResponse.ts +1 -1
  820. package/src/api/api-schemas/projectsGetResponse.fetch.ts +1 -1
  821. package/src/api/api-schemas/projectsGetResponse.ts +1 -1
  822. package/src/api/api-schemas/qActiveDaysParameter.fetch.ts +1 -1
  823. package/src/api/api-schemas/qActiveDaysParameter.ts +1 -1
  824. package/src/api/api-schemas/qApplicationIdParameter.fetch.ts +1 -1
  825. package/src/api/api-schemas/qApplicationIdParameter.ts +1 -1
  826. package/src/api/api-schemas/qCurrentParameter.fetch.ts +1 -1
  827. package/src/api/api-schemas/qCurrentParameter.ts +1 -1
  828. package/src/api/api-schemas/qDatasetMimeTypeParameter.fetch.ts +1 -1
  829. package/src/api/api-schemas/qDatasetMimeTypeParameter.ts +1 -1
  830. package/src/api/api-schemas/qDoNotImpersonateParameter.fetch.ts +1 -1
  831. package/src/api/api-schemas/qDoNotImpersonateParameter.ts +1 -1
  832. package/src/api/api-schemas/qDstFileParameter.fetch.ts +1 -1
  833. package/src/api/api-schemas/qDstFileParameter.ts +1 -1
  834. package/src/api/api-schemas/qEditorsParameter.fetch.ts +1 -1
  835. package/src/api/api-schemas/qEditorsParameter.ts +1 -1
  836. package/src/api/api-schemas/qEventLimitParameter.fetch.ts +1 -1
  837. package/src/api/api-schemas/qEventLimitParameter.ts +1 -1
  838. package/src/api/api-schemas/qEventPriorOrdinalParameter.fetch.ts +1 -1
  839. package/src/api/api-schemas/qEventPriorOrdinalParameter.ts +1 -1
  840. package/src/api/api-schemas/qExcludeDoneParameter.fetch.ts +1 -1
  841. package/src/api/api-schemas/qExcludeDoneParameter.ts +1 -1
  842. package/src/api/api-schemas/qExcludePurposeParameter.fetch.ts +1 -1
  843. package/src/api/api-schemas/qExcludePurposeParameter.ts +1 -1
  844. package/src/api/api-schemas/qExcludeRemovalParameter.fetch.ts +1 -1
  845. package/src/api/api-schemas/qExcludeRemovalParameter.ts +1 -1
  846. package/src/api/api-schemas/qFileDstPathParameter.fetch.ts +1 -1
  847. package/src/api/api-schemas/qFileDstPathParameter.ts +1 -1
  848. package/src/api/api-schemas/qFileParameter.fetch.ts +1 -1
  849. package/src/api/api-schemas/qFileParameter.ts +1 -1
  850. package/src/api/api-schemas/qFilePathParameter.fetch.ts +1 -1
  851. package/src/api/api-schemas/qFilePathParameter.ts +1 -1
  852. package/src/api/api-schemas/qFileProjectIdParameter.fetch.ts +1 -1
  853. package/src/api/api-schemas/qFileProjectIdParameter.ts +1 -1
  854. package/src/api/api-schemas/qFileSrcPathParameter.fetch.ts +1 -1
  855. package/src/api/api-schemas/qFileSrcPathParameter.ts +1 -1
  856. package/src/api/api-schemas/qFromParameter.fetch.ts +1 -1
  857. package/src/api/api-schemas/qFromParameter.ts +1 -1
  858. package/src/api/api-schemas/qIdleDaysParameter.fetch.ts +1 -1
  859. package/src/api/api-schemas/qIdleDaysParameter.ts +1 -1
  860. package/src/api/api-schemas/qIncludeAcknowledgedParameter.fetch.ts +1 -1
  861. package/src/api/api-schemas/qIncludeAcknowledgedParameter.ts +1 -1
  862. package/src/api/api-schemas/qIncludeDeletedParameter.fetch.ts +1 -1
  863. package/src/api/api-schemas/qIncludeDeletedParameter.ts +1 -1
  864. package/src/api/api-schemas/qIncludeHiddenParameter.fetch.ts +1 -1
  865. package/src/api/api-schemas/qIncludeHiddenParameter.ts +1 -1
  866. package/src/api/api-schemas/qInstanceArchiveParameter.fetch.ts +1 -1
  867. package/src/api/api-schemas/qInstanceArchiveParameter.ts +1 -1
  868. package/src/api/api-schemas/qInstanceCallbackContextParameter.fetch.ts +1 -1
  869. package/src/api/api-schemas/qInstanceCallbackContextParameter.ts +1 -1
  870. package/src/api/api-schemas/qJobCollectionParameter.fetch.ts +1 -1
  871. package/src/api/api-schemas/qJobCollectionParameter.ts +1 -1
  872. package/src/api/api-schemas/qJobIdParameter.fetch.ts +1 -1
  873. package/src/api/api-schemas/qJobIdParameter.ts +1 -1
  874. package/src/api/api-schemas/qJobJobParameter.fetch.ts +1 -1
  875. package/src/api/api-schemas/qJobJobParameter.ts +1 -1
  876. package/src/api/api-schemas/qJobVersionParameter.fetch.ts +1 -1
  877. package/src/api/api-schemas/qJobVersionParameter.ts +1 -1
  878. package/src/api/api-schemas/qKeepProjectFilesParameter.fetch.ts +1 -1
  879. package/src/api/api-schemas/qKeepProjectFilesParameter.ts +1 -1
  880. package/src/api/api-schemas/qLabelsParameter.fetch.ts +1 -1
  881. package/src/api/api-schemas/qLabelsParameter.ts +1 -1
  882. package/src/api/api-schemas/qOnlyUndefinedParameter.fetch.ts +1 -1
  883. package/src/api/api-schemas/qOnlyUndefinedParameter.ts +1 -1
  884. package/src/api/api-schemas/qOrgIdParameter.fetch.ts +1 -1
  885. package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
  886. package/src/api/api-schemas/qOwnersParameter.fetch.ts +1 -1
  887. package/src/api/api-schemas/qOwnersParameter.ts +1 -1
  888. package/src/api/api-schemas/qProjectIdParameter.fetch.ts +1 -1
  889. package/src/api/api-schemas/qProjectIdParameter.ts +1 -1
  890. package/src/api/api-schemas/qProjectNameParameter.fetch.ts +1 -1
  891. package/src/api/api-schemas/qProjectNameParameter.ts +1 -1
  892. package/src/api/api-schemas/qPurgeParameter.fetch.ts +1 -1
  893. package/src/api/api-schemas/qPurgeParameter.ts +1 -1
  894. package/src/api/api-schemas/qPurposeParameter.fetch.ts +1 -1
  895. package/src/api/api-schemas/qPurposeParameter.ts +1 -1
  896. package/src/api/api-schemas/qTokenParameter.fetch.ts +1 -1
  897. package/src/api/api-schemas/qTokenParameter.ts +1 -1
  898. package/src/api/api-schemas/qUnitIdParameter.fetch.ts +1 -1
  899. package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
  900. package/src/api/api-schemas/qUntilParameter.fetch.ts +1 -1
  901. package/src/api/api-schemas/qUntilParameter.ts +1 -1
  902. package/src/api/api-schemas/qUsernameParameter.fetch.ts +1 -1
  903. package/src/api/api-schemas/qUsernameParameter.ts +1 -1
  904. package/src/api/api-schemas/qUsernamesParameter.fetch.ts +1 -1
  905. package/src/api/api-schemas/qUsernamesParameter.ts +1 -1
  906. package/src/api/api-schemas/qWorkflowIdParameter.fetch.ts +1 -1
  907. package/src/api/api-schemas/qWorkflowIdParameter.ts +1 -1
  908. package/src/api/api-schemas/runningWorkflowGetAllResponse.fetch.ts +1 -1
  909. package/src/api/api-schemas/runningWorkflowGetAllResponse.ts +1 -1
  910. package/src/api/api-schemas/runningWorkflowGetResponse.fetch.ts +1 -1
  911. package/src/api/api-schemas/runningWorkflowGetResponse.ts +1 -1
  912. package/src/api/api-schemas/runningWorkflowGetResponseStatus.fetch.ts +1 -1
  913. package/src/api/api-schemas/runningWorkflowGetResponseStatus.ts +1 -1
  914. package/src/api/api-schemas/runningWorkflowGetResponseVariables.fetch.ts +1 -1
  915. package/src/api/api-schemas/runningWorkflowGetResponseVariables.ts +1 -1
  916. package/src/api/api-schemas/runningWorkflowProject.fetch.ts +1 -1
  917. package/src/api/api-schemas/runningWorkflowProject.ts +1 -1
  918. package/src/api/api-schemas/runningWorkflowStep.fetch.ts +1 -1
  919. package/src/api/api-schemas/runningWorkflowStep.ts +1 -1
  920. package/src/api/api-schemas/runningWorkflowStepStatus.fetch.ts +1 -1
  921. package/src/api/api-schemas/runningWorkflowStepStatus.ts +1 -1
  922. package/src/api/api-schemas/runningWorkflowStepVariables.fetch.ts +1 -1
  923. package/src/api/api-schemas/runningWorkflowStepVariables.ts +1 -1
  924. package/src/api/api-schemas/runningWorkflowStepsGetResponse.fetch.ts +1 -1
  925. package/src/api/api-schemas/runningWorkflowStepsGetResponse.ts +1 -1
  926. package/src/api/api-schemas/runningWorkflowSummary.fetch.ts +1 -1
  927. package/src/api/api-schemas/runningWorkflowSummary.ts +1 -1
  928. package/src/api/api-schemas/runningWorkflowSummaryStatus.fetch.ts +1 -1
  929. package/src/api/api-schemas/runningWorkflowSummaryStatus.ts +1 -1
  930. package/src/api/api-schemas/runningWorkflowWorkflow.fetch.ts +1 -1
  931. package/src/api/api-schemas/runningWorkflowWorkflow.ts +1 -1
  932. package/src/api/api-schemas/serviceErrorSummary.fetch.ts +1 -1
  933. package/src/api/api-schemas/serviceErrorSummary.ts +1 -1
  934. package/src/api/api-schemas/serviceErrorSummarySeverity.fetch.ts +1 -1
  935. package/src/api/api-schemas/serviceErrorSummarySeverity.ts +1 -1
  936. package/src/api/api-schemas/serviceErrorsGetResponse.fetch.ts +1 -1
  937. package/src/api/api-schemas/serviceErrorsGetResponse.ts +1 -1
  938. package/src/api/api-schemas/taskEvent.fetch.ts +1 -1
  939. package/src/api/api-schemas/taskEvent.ts +1 -1
  940. package/src/api/api-schemas/taskEventLevel.fetch.ts +1 -1
  941. package/src/api/api-schemas/taskEventLevel.ts +1 -1
  942. package/src/api/api-schemas/taskGetResponse.fetch.ts +1 -1
  943. package/src/api/api-schemas/taskGetResponse.ts +1 -1
  944. package/src/api/api-schemas/taskGetResponsePurpose.fetch.ts +1 -1
  945. package/src/api/api-schemas/taskGetResponsePurpose.ts +1 -1
  946. package/src/api/api-schemas/taskIdentity.fetch.ts +1 -1
  947. package/src/api/api-schemas/taskIdentity.ts +1 -1
  948. package/src/api/api-schemas/taskState.fetch.ts +1 -1
  949. package/src/api/api-schemas/taskState.ts +1 -1
  950. package/src/api/api-schemas/taskStateState.fetch.ts +1 -1
  951. package/src/api/api-schemas/taskStateState.ts +1 -1
  952. package/src/api/api-schemas/taskSummary.fetch.ts +1 -1
  953. package/src/api/api-schemas/taskSummary.ts +1 -1
  954. package/src/api/api-schemas/taskSummaryProcessingStage.fetch.ts +1 -1
  955. package/src/api/api-schemas/taskSummaryProcessingStage.ts +1 -1
  956. package/src/api/api-schemas/tasksGetResponse.fetch.ts +1 -1
  957. package/src/api/api-schemas/tasksGetResponse.ts +1 -1
  958. package/src/api/api-schemas/typeSummary.fetch.ts +1 -1
  959. package/src/api/api-schemas/typeSummary.ts +1 -1
  960. package/src/api/api-schemas/typeSummaryFormatterOptions.fetch.ts +1 -1
  961. package/src/api/api-schemas/typeSummaryFormatterOptions.ts +1 -1
  962. package/src/api/api-schemas/typeSummaryFormatterOptionsType.fetch.ts +1 -1
  963. package/src/api/api-schemas/typeSummaryFormatterOptionsType.ts +1 -1
  964. package/src/api/api-schemas/typesGetResponse.fetch.ts +1 -1
  965. package/src/api/api-schemas/typesGetResponse.ts +1 -1
  966. package/src/api/api-schemas/userAccountDetail.fetch.ts +1 -1
  967. package/src/api/api-schemas/userAccountDetail.ts +1 -1
  968. package/src/api/api-schemas/userAccountGetResponse.fetch.ts +1 -1
  969. package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
  970. package/src/api/api-schemas/userAccountPatchBodyBody.fetch.ts +1 -1
  971. package/src/api/api-schemas/userAccountPatchBodyBody.ts +1 -1
  972. package/src/api/api-schemas/userActivityDetail.fetch.ts +1 -1
  973. package/src/api/api-schemas/userActivityDetail.ts +1 -1
  974. package/src/api/api-schemas/userActivityDetailPeriod.fetch.ts +1 -1
  975. package/src/api/api-schemas/userActivityDetailPeriod.ts +1 -1
  976. package/src/api/api-schemas/userApiLogGetResponse.fetch.ts +1 -1
  977. package/src/api/api-schemas/userApiLogGetResponse.ts +1 -1
  978. package/src/api/api-schemas/userApiTokenGetResponse.fetch.ts +1 -1
  979. package/src/api/api-schemas/userApiTokenGetResponse.ts +1 -1
  980. package/src/api/api-schemas/userDetail.fetch.ts +1 -1
  981. package/src/api/api-schemas/userDetail.ts +1 -1
  982. package/src/api/api-schemas/userPatchBodyBody.fetch.ts +1 -1
  983. package/src/api/api-schemas/userPatchBodyBody.ts +1 -1
  984. package/src/api/api-schemas/userSummary.fetch.ts +1 -1
  985. package/src/api/api-schemas/userSummary.ts +1 -1
  986. package/src/api/api-schemas/usersGetResponse.fetch.ts +1 -1
  987. package/src/api/api-schemas/usersGetResponse.ts +1 -1
  988. package/src/api/api-schemas/versionGetResponse.fetch.ts +1 -1
  989. package/src/api/api-schemas/versionGetResponse.ts +1 -1
  990. package/src/api/api-schemas/workflowDefinitionGetResponse.fetch.ts +1 -1
  991. package/src/api/api-schemas/workflowDefinitionGetResponse.ts +1 -1
  992. package/src/api/api-schemas/workflowGetAllResponse.fetch.ts +1 -1
  993. package/src/api/api-schemas/workflowGetAllResponse.ts +1 -1
  994. package/src/api/api-schemas/workflowGetResponse.fetch.ts +1 -1
  995. package/src/api/api-schemas/workflowGetResponse.ts +1 -1
  996. package/src/api/api-schemas/workflowGetResponseScope.fetch.ts +1 -1
  997. package/src/api/api-schemas/workflowGetResponseScope.ts +1 -1
  998. package/src/api/api-schemas/workflowGetResponseVariables.fetch.ts +1 -1
  999. package/src/api/api-schemas/workflowGetResponseVariables.ts +1 -1
  1000. package/src/api/api-schemas/workflowPatchBodyBody.fetch.ts +1 -1
  1001. package/src/api/api-schemas/workflowPatchBodyBody.ts +1 -1
  1002. package/src/api/api-schemas/workflowPatchResponse.fetch.ts +1 -1
  1003. package/src/api/api-schemas/workflowPatchResponse.ts +1 -1
  1004. package/src/api/api-schemas/workflowPostBodyBody.fetch.ts +1 -1
  1005. package/src/api/api-schemas/workflowPostBodyBody.ts +1 -1
  1006. package/src/api/api-schemas/workflowPostBodyBodyScope.fetch.ts +1 -1
  1007. package/src/api/api-schemas/workflowPostBodyBodyScope.ts +1 -1
  1008. package/src/api/api-schemas/workflowPostResponse.fetch.ts +1 -1
  1009. package/src/api/api-schemas/workflowPostResponse.ts +1 -1
  1010. package/src/api/api-schemas/workflowRunPostBodyBody.fetch.ts +1 -1
  1011. package/src/api/api-schemas/workflowRunPostBodyBody.ts +1 -1
  1012. package/src/api/api-schemas/workflowRunPostResponse.fetch.ts +1 -1
  1013. package/src/api/api-schemas/workflowRunPostResponse.ts +1 -1
  1014. package/src/api/api-schemas/workflowStepSummary.fetch.ts +1 -1
  1015. package/src/api/api-schemas/workflowStepSummary.ts +1 -1
  1016. package/src/api/api-schemas/workflowStepSummarySpecification.fetch.ts +1 -1
  1017. package/src/api/api-schemas/workflowStepSummarySpecification.ts +1 -1
  1018. package/src/api/api-schemas/workflowSummary.fetch.ts +1 -1
  1019. package/src/api/api-schemas/workflowSummary.ts +1 -1
  1020. package/src/api/api-schemas/workflowSummaryScope.fetch.ts +1 -1
  1021. package/src/api/api-schemas/workflowSummaryScope.ts +1 -1
  1022. package/src/api/api-schemas/workflowVersionPutBodyBody.fetch.ts +1 -1
  1023. package/src/api/api-schemas/workflowVersionPutBodyBody.ts +1 -1
  1024. package/src/api/api-schemas/workflowVersionPutResponse.fetch.ts +1 -1
  1025. package/src/api/api-schemas/workflowVersionPutResponse.ts +1 -1
  1026. package/src/api/application/application.fetch.ts +20 -5
  1027. package/src/api/application/application.ts +20 -5
  1028. package/src/api/configuration/configuration.fetch.ts +20 -5
  1029. package/src/api/configuration/configuration.ts +20 -5
  1030. package/src/api/dataset/dataset.fetch.ts +269 -615
  1031. package/src/api/dataset/dataset.ts +269 -615
  1032. package/src/api/digest/digest.fetch.ts +18 -3
  1033. package/src/api/digest/digest.ts +18 -3
  1034. package/src/api/file-and-path/file-and-path.fetch.ts +420 -876
  1035. package/src/api/file-and-path/file-and-path.ts +420 -876
  1036. package/src/api/instance/instance.fetch.ts +266 -569
  1037. package/src/api/instance/instance.ts +266 -569
  1038. package/src/api/inventory/inventory.fetch.ts +18 -3
  1039. package/src/api/inventory/inventory.ts +18 -3
  1040. package/src/api/job/job.fetch.ts +79 -132
  1041. package/src/api/job/job.ts +79 -132
  1042. package/src/api/metadata/metadata.fetch.ts +122 -282
  1043. package/src/api/metadata/metadata.ts +122 -285
  1044. package/src/api/project/project.fetch.ts +467 -1095
  1045. package/src/api/project/project.ts +506 -1134
  1046. package/src/api/task/task.fetch.ts +72 -112
  1047. package/src/api/task/task.ts +72 -112
  1048. package/src/api/type/type.fetch.ts +18 -3
  1049. package/src/api/type/type.ts +18 -3
  1050. package/src/api/user/user.fetch.ts +78 -118
  1051. package/src/api/user/user.ts +78 -118
  1052. package/src/api/workflow/workflow.fetch.ts +496 -958
  1053. package/src/api/workflow/workflow.ts +477 -939
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.16.0 🍺
2
+ * Generated by orval v8.22.0 🍺
3
3
  * Do not edit manually.
4
4
  * Dataset Manager API
5
5
  * The Dataset Manager API service.
@@ -8,16 +8,19 @@
8
8
  *
9
9
  * OpenAPI spec version: 6.7
10
10
  */
11
- import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
11
+ import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
13
13
  DataTag,
14
14
  DefinedInitialDataOptions,
15
15
  DefinedUseQueryResult,
16
16
  InvalidateOptions,
17
+ MutationFunction,
17
18
  QueryClient,
18
19
  QueryFunction,
19
20
  QueryKey,
20
21
  UndefinedInitialDataOptions,
22
+ UseMutationOptions,
23
+ UseMutationResult,
21
24
  UseQueryOptions,
22
25
  UseQueryResult,
23
26
  UseSuspenseQueryOptions,
@@ -45,6 +48,21 @@ import type { ErrorType } from "../../custom-fetch";
45
48
 
46
49
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
47
50
 
51
+ const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {
52
+ const result = { queryKey } as T & { queryKey: K };
53
+ for (const key of Object.keys(query)) {
54
+ // The explicit queryKey always wins, matching the previous
55
+ // `{ ...query, queryKey }` spread where it was set last.
56
+ if (key === "queryKey") continue;
57
+ Object.defineProperty(result, key, {
58
+ enumerable: true,
59
+ configurable: true,
60
+ get: () => (query as Record<string, unknown>)[key],
61
+ });
62
+ }
63
+ return result;
64
+ };
65
+
48
66
  export type createPathResponse201 = { data: void; status: 201 };
49
67
 
50
68
  export type createPathResponse401 = { data: void; status: 401 };
@@ -89,123 +107,68 @@ export const createPath = async (
89
107
  return customFetch<createPathResponse>(getCreatePathUrl(params), { ...options, method: "PUT" });
90
108
  };
91
109
 
92
- export const getCreatePathQueryKey = (params?: CreatePathParams) => {
93
- return ["data-manager", "PUT", "path", ...(params ? [params] : [])] as const;
94
- };
95
-
96
- export const getCreatePathQueryOptions = <
97
- TData = Awaited<ReturnType<typeof createPath>>,
110
+ export const getCreatePathMutationOptions = <
98
111
  TError = ErrorType<void | DmError>,
99
- >(
100
- params: CreatePathParams,
101
- options?: {
102
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
103
- request?: SecondParameter<typeof customFetch>;
104
- },
105
- ) => {
106
- const { query: queryOptions, request: requestOptions } = options ?? {};
107
-
108
- const queryKey = queryOptions?.queryKey ?? getCreatePathQueryKey(params);
109
-
110
- const queryFn: QueryFunction<Awaited<ReturnType<typeof createPath>>> = ({ signal }) =>
111
- createPath(params, { signal, ...requestOptions });
112
-
113
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
112
+ TContext = unknown,
113
+ >(options?: {
114
+ mutation?: UseMutationOptions<
114
115
  Awaited<ReturnType<typeof createPath>>,
115
116
  TError,
116
- TData
117
- > & { queryKey: DataTag<QueryKey, TData, TError> };
117
+ { params: CreatePathParams },
118
+ TContext
119
+ >;
120
+ request?: SecondParameter<typeof customFetch>;
121
+ }): UseMutationOptions<
122
+ Awaited<ReturnType<typeof createPath>>,
123
+ TError,
124
+ { params: CreatePathParams },
125
+ TContext
126
+ > => {
127
+ const mutationKey = ["createPath"];
128
+ const { mutation: mutationOptions, request: requestOptions } = options
129
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
130
+ ? options
131
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
132
+ : { mutation: { mutationKey }, request: undefined };
133
+
134
+ const mutationFn: MutationFunction<
135
+ Awaited<ReturnType<typeof createPath>>,
136
+ { params: CreatePathParams }
137
+ > = (props) => {
138
+ const { params } = props ?? {};
139
+
140
+ return createPath(params, requestOptions);
141
+ };
142
+
143
+ return { mutationFn, ...mutationOptions };
118
144
  };
119
145
 
120
- export type CreatePathQueryResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;
121
- export type CreatePathQueryError = ErrorType<void | DmError>;
146
+ export type CreatePathMutationResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;
147
+
148
+ export type CreatePathMutationError = ErrorType<void | DmError>;
122
149
 
123
- export function useCreatePath<
124
- TData = Awaited<ReturnType<typeof createPath>>,
125
- TError = ErrorType<void | DmError>,
126
- >(
127
- params: CreatePathParams,
128
- options: {
129
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
130
- Pick<
131
- DefinedInitialDataOptions<
132
- Awaited<ReturnType<typeof createPath>>,
133
- TError,
134
- Awaited<ReturnType<typeof createPath>>
135
- >,
136
- "initialData"
137
- >;
138
- request?: SecondParameter<typeof customFetch>;
139
- },
140
- queryClient?: QueryClient,
141
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
142
- export function useCreatePath<
143
- TData = Awaited<ReturnType<typeof createPath>>,
144
- TError = ErrorType<void | DmError>,
145
- >(
146
- params: CreatePathParams,
147
- options?: {
148
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
149
- Pick<
150
- UndefinedInitialDataOptions<
151
- Awaited<ReturnType<typeof createPath>>,
152
- TError,
153
- Awaited<ReturnType<typeof createPath>>
154
- >,
155
- "initialData"
156
- >;
157
- request?: SecondParameter<typeof customFetch>;
158
- },
159
- queryClient?: QueryClient,
160
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
161
- export function useCreatePath<
162
- TData = Awaited<ReturnType<typeof createPath>>,
163
- TError = ErrorType<void | DmError>,
164
- >(
165
- params: CreatePathParams,
166
- options?: {
167
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
168
- request?: SecondParameter<typeof customFetch>;
169
- },
170
- queryClient?: QueryClient,
171
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
172
150
  /**
173
151
  * @summary Create a new Project Path
174
152
  */
175
-
176
- export function useCreatePath<
177
- TData = Awaited<ReturnType<typeof createPath>>,
178
- TError = ErrorType<void | DmError>,
179
- >(
180
- params: CreatePathParams,
153
+ export const useCreatePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
181
154
  options?: {
182
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
155
+ mutation?: UseMutationOptions<
156
+ Awaited<ReturnType<typeof createPath>>,
157
+ TError,
158
+ { params: CreatePathParams },
159
+ TContext
160
+ >;
183
161
  request?: SecondParameter<typeof customFetch>;
184
162
  },
185
163
  queryClient?: QueryClient,
186
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
187
- const queryOptions = getCreatePathQueryOptions(params, options);
188
-
189
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
190
- queryKey: DataTag<QueryKey, TData, TError>;
191
- };
192
-
193
- return { ...query, queryKey: queryOptions.queryKey };
194
- }
195
-
196
- /**
197
- * @summary Create a new Project Path
198
- */
199
- export const invalidateCreatePath = async (
200
- queryClient: QueryClient,
201
- params: CreatePathParams,
202
- options?: InvalidateOptions,
203
- ): Promise<QueryClient> => {
204
- await queryClient.invalidateQueries({ queryKey: getCreatePathQueryKey(params) }, options);
205
-
206
- return queryClient;
164
+ ): UseMutationResult<
165
+ Awaited<ReturnType<typeof createPath>>,
166
+ TError,
167
+ { params: CreatePathParams },
168
+ TContext
169
+ > => {
170
+ return useMutation(getCreatePathMutationOptions(options), queryClient);
207
171
  };
208
-
209
172
  export type deletePathResponse204 = { data: void; status: 204 };
210
173
 
211
174
  export type deletePathResponse401 = { data: void; status: 401 };
@@ -253,123 +216,68 @@ export const deletePath = async (
253
216
  });
254
217
  };
255
218
 
256
- export const getDeletePathQueryKey = (params?: DeletePathParams) => {
257
- return ["data-manager", "DELETE", "path", ...(params ? [params] : [])] as const;
258
- };
259
-
260
- export const getDeletePathQueryOptions = <
261
- TData = Awaited<ReturnType<typeof deletePath>>,
219
+ export const getDeletePathMutationOptions = <
262
220
  TError = ErrorType<void | DmError>,
263
- >(
264
- params: DeletePathParams,
265
- options?: {
266
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
267
- request?: SecondParameter<typeof customFetch>;
268
- },
269
- ) => {
270
- const { query: queryOptions, request: requestOptions } = options ?? {};
271
-
272
- const queryKey = queryOptions?.queryKey ?? getDeletePathQueryKey(params);
273
-
274
- const queryFn: QueryFunction<Awaited<ReturnType<typeof deletePath>>> = ({ signal }) =>
275
- deletePath(params, { signal, ...requestOptions });
276
-
277
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
221
+ TContext = unknown,
222
+ >(options?: {
223
+ mutation?: UseMutationOptions<
278
224
  Awaited<ReturnType<typeof deletePath>>,
279
225
  TError,
280
- TData
281
- > & { queryKey: DataTag<QueryKey, TData, TError> };
226
+ { params: DeletePathParams },
227
+ TContext
228
+ >;
229
+ request?: SecondParameter<typeof customFetch>;
230
+ }): UseMutationOptions<
231
+ Awaited<ReturnType<typeof deletePath>>,
232
+ TError,
233
+ { params: DeletePathParams },
234
+ TContext
235
+ > => {
236
+ const mutationKey = ["deletePath"];
237
+ const { mutation: mutationOptions, request: requestOptions } = options
238
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
239
+ ? options
240
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
241
+ : { mutation: { mutationKey }, request: undefined };
242
+
243
+ const mutationFn: MutationFunction<
244
+ Awaited<ReturnType<typeof deletePath>>,
245
+ { params: DeletePathParams }
246
+ > = (props) => {
247
+ const { params } = props ?? {};
248
+
249
+ return deletePath(params, requestOptions);
250
+ };
251
+
252
+ return { mutationFn, ...mutationOptions };
282
253
  };
283
254
 
284
- export type DeletePathQueryResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;
285
- export type DeletePathQueryError = ErrorType<void | DmError>;
255
+ export type DeletePathMutationResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;
256
+
257
+ export type DeletePathMutationError = ErrorType<void | DmError>;
286
258
 
287
- export function useDeletePath<
288
- TData = Awaited<ReturnType<typeof deletePath>>,
289
- TError = ErrorType<void | DmError>,
290
- >(
291
- params: DeletePathParams,
292
- options: {
293
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
294
- Pick<
295
- DefinedInitialDataOptions<
296
- Awaited<ReturnType<typeof deletePath>>,
297
- TError,
298
- Awaited<ReturnType<typeof deletePath>>
299
- >,
300
- "initialData"
301
- >;
302
- request?: SecondParameter<typeof customFetch>;
303
- },
304
- queryClient?: QueryClient,
305
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
306
- export function useDeletePath<
307
- TData = Awaited<ReturnType<typeof deletePath>>,
308
- TError = ErrorType<void | DmError>,
309
- >(
310
- params: DeletePathParams,
311
- options?: {
312
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
313
- Pick<
314
- UndefinedInitialDataOptions<
315
- Awaited<ReturnType<typeof deletePath>>,
316
- TError,
317
- Awaited<ReturnType<typeof deletePath>>
318
- >,
319
- "initialData"
320
- >;
321
- request?: SecondParameter<typeof customFetch>;
322
- },
323
- queryClient?: QueryClient,
324
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
325
- export function useDeletePath<
326
- TData = Awaited<ReturnType<typeof deletePath>>,
327
- TError = ErrorType<void | DmError>,
328
- >(
329
- params: DeletePathParams,
330
- options?: {
331
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
332
- request?: SecondParameter<typeof customFetch>;
333
- },
334
- queryClient?: QueryClient,
335
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
336
259
  /**
337
260
  * @summary Delete a Project Path
338
261
  */
339
-
340
- export function useDeletePath<
341
- TData = Awaited<ReturnType<typeof deletePath>>,
342
- TError = ErrorType<void | DmError>,
343
- >(
344
- params: DeletePathParams,
262
+ export const useDeletePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
345
263
  options?: {
346
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
264
+ mutation?: UseMutationOptions<
265
+ Awaited<ReturnType<typeof deletePath>>,
266
+ TError,
267
+ { params: DeletePathParams },
268
+ TContext
269
+ >;
347
270
  request?: SecondParameter<typeof customFetch>;
348
271
  },
349
272
  queryClient?: QueryClient,
350
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
351
- const queryOptions = getDeletePathQueryOptions(params, options);
352
-
353
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
354
- queryKey: DataTag<QueryKey, TData, TError>;
355
- };
356
-
357
- return { ...query, queryKey: queryOptions.queryKey };
358
- }
359
-
360
- /**
361
- * @summary Delete a Project Path
362
- */
363
- export const invalidateDeletePath = async (
364
- queryClient: QueryClient,
365
- params: DeletePathParams,
366
- options?: InvalidateOptions,
367
- ): Promise<QueryClient> => {
368
- await queryClient.invalidateQueries({ queryKey: getDeletePathQueryKey(params) }, options);
369
-
370
- return queryClient;
273
+ ): UseMutationResult<
274
+ Awaited<ReturnType<typeof deletePath>>,
275
+ TError,
276
+ { params: DeletePathParams },
277
+ TContext
278
+ > => {
279
+ return useMutation(getDeletePathMutationOptions(options), queryClient);
371
280
  };
372
-
373
281
  export type movePathResponse200 = { data: void; status: 200 };
374
282
 
375
283
  export type movePathResponse401 = { data: void; status: 401 };
@@ -414,123 +322,68 @@ export const movePath = async (
414
322
  return customFetch<movePathResponse>(getMovePathUrl(params), { ...options, method: "PUT" });
415
323
  };
416
324
 
417
- export const getMovePathQueryKey = (params?: MovePathParams) => {
418
- return ["data-manager", "PUT", "path", "move", ...(params ? [params] : [])] as const;
419
- };
420
-
421
- export const getMovePathQueryOptions = <
422
- TData = Awaited<ReturnType<typeof movePath>>,
325
+ export const getMovePathMutationOptions = <
423
326
  TError = ErrorType<void | DmError>,
424
- >(
425
- params: MovePathParams,
426
- options?: {
427
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
428
- request?: SecondParameter<typeof customFetch>;
429
- },
430
- ) => {
431
- const { query: queryOptions, request: requestOptions } = options ?? {};
432
-
433
- const queryKey = queryOptions?.queryKey ?? getMovePathQueryKey(params);
434
-
435
- const queryFn: QueryFunction<Awaited<ReturnType<typeof movePath>>> = ({ signal }) =>
436
- movePath(params, { signal, ...requestOptions });
437
-
438
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
327
+ TContext = unknown,
328
+ >(options?: {
329
+ mutation?: UseMutationOptions<
439
330
  Awaited<ReturnType<typeof movePath>>,
440
331
  TError,
441
- TData
442
- > & { queryKey: DataTag<QueryKey, TData, TError> };
332
+ { params: MovePathParams },
333
+ TContext
334
+ >;
335
+ request?: SecondParameter<typeof customFetch>;
336
+ }): UseMutationOptions<
337
+ Awaited<ReturnType<typeof movePath>>,
338
+ TError,
339
+ { params: MovePathParams },
340
+ TContext
341
+ > => {
342
+ const mutationKey = ["movePath"];
343
+ const { mutation: mutationOptions, request: requestOptions } = options
344
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
345
+ ? options
346
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
347
+ : { mutation: { mutationKey }, request: undefined };
348
+
349
+ const mutationFn: MutationFunction<
350
+ Awaited<ReturnType<typeof movePath>>,
351
+ { params: MovePathParams }
352
+ > = (props) => {
353
+ const { params } = props ?? {};
354
+
355
+ return movePath(params, requestOptions);
356
+ };
357
+
358
+ return { mutationFn, ...mutationOptions };
443
359
  };
444
360
 
445
- export type MovePathQueryResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;
446
- export type MovePathQueryError = ErrorType<void | DmError>;
361
+ export type MovePathMutationResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;
362
+
363
+ export type MovePathMutationError = ErrorType<void | DmError>;
447
364
 
448
- export function useMovePath<
449
- TData = Awaited<ReturnType<typeof movePath>>,
450
- TError = ErrorType<void | DmError>,
451
- >(
452
- params: MovePathParams,
453
- options: {
454
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
455
- Pick<
456
- DefinedInitialDataOptions<
457
- Awaited<ReturnType<typeof movePath>>,
458
- TError,
459
- Awaited<ReturnType<typeof movePath>>
460
- >,
461
- "initialData"
462
- >;
463
- request?: SecondParameter<typeof customFetch>;
464
- },
465
- queryClient?: QueryClient,
466
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
467
- export function useMovePath<
468
- TData = Awaited<ReturnType<typeof movePath>>,
469
- TError = ErrorType<void | DmError>,
470
- >(
471
- params: MovePathParams,
472
- options?: {
473
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
474
- Pick<
475
- UndefinedInitialDataOptions<
476
- Awaited<ReturnType<typeof movePath>>,
477
- TError,
478
- Awaited<ReturnType<typeof movePath>>
479
- >,
480
- "initialData"
481
- >;
482
- request?: SecondParameter<typeof customFetch>;
483
- },
484
- queryClient?: QueryClient,
485
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
486
- export function useMovePath<
487
- TData = Awaited<ReturnType<typeof movePath>>,
488
- TError = ErrorType<void | DmError>,
489
- >(
490
- params: MovePathParams,
491
- options?: {
492
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
493
- request?: SecondParameter<typeof customFetch>;
494
- },
495
- queryClient?: QueryClient,
496
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
497
365
  /**
498
366
  * @summary Move a Project Path
499
367
  */
500
-
501
- export function useMovePath<
502
- TData = Awaited<ReturnType<typeof movePath>>,
503
- TError = ErrorType<void | DmError>,
504
- >(
505
- params: MovePathParams,
368
+ export const useMovePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
506
369
  options?: {
507
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
370
+ mutation?: UseMutationOptions<
371
+ Awaited<ReturnType<typeof movePath>>,
372
+ TError,
373
+ { params: MovePathParams },
374
+ TContext
375
+ >;
508
376
  request?: SecondParameter<typeof customFetch>;
509
377
  },
510
378
  queryClient?: QueryClient,
511
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
512
- const queryOptions = getMovePathQueryOptions(params, options);
513
-
514
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
515
- queryKey: DataTag<QueryKey, TData, TError>;
516
- };
517
-
518
- return { ...query, queryKey: queryOptions.queryKey };
519
- }
520
-
521
- /**
522
- * @summary Move a Project Path
523
- */
524
- export const invalidateMovePath = async (
525
- queryClient: QueryClient,
526
- params: MovePathParams,
527
- options?: InvalidateOptions,
528
- ): Promise<QueryClient> => {
529
- await queryClient.invalidateQueries({ queryKey: getMovePathQueryKey(params) }, options);
530
-
531
- return queryClient;
379
+ ): UseMutationResult<
380
+ Awaited<ReturnType<typeof movePath>>,
381
+ TError,
382
+ { params: MovePathParams },
383
+ TContext
384
+ > => {
385
+ return useMutation(getMovePathMutationOptions(options), queryClient);
532
386
  };
533
-
534
387
  export type getProjectFileResponse200 = { data: void; status: 200 };
535
388
 
536
389
  export type getProjectFileResponse401 = { data: void; status: 401 };
@@ -692,7 +545,7 @@ export function useGetProjectFile<
692
545
  queryKey: DataTag<QueryKey, TData, TError>;
693
546
  };
694
547
 
695
- return { ...query, queryKey: queryOptions.queryKey };
548
+ return withQueryKey(query, queryOptions.queryKey);
696
549
  }
697
550
 
698
551
  /**
@@ -811,7 +664,7 @@ export function useGetProjectFileSuspense<
811
664
  TError
812
665
  > & { queryKey: DataTag<QueryKey, TData, TError> };
813
666
 
814
- return { ...query, queryKey: queryOptions.queryKey };
667
+ return withQueryKey(query, queryOptions.queryKey);
815
668
  }
816
669
 
817
670
  export type addFileToProjectResponse201 = { data: void; status: 201 };
@@ -864,139 +717,70 @@ export const addFileToProject = async (
864
717
  });
865
718
  };
866
719
 
867
- export const getAddFileToProjectQueryKey = (
868
- projectId: string,
869
- projectFilePutBodyBody?: ProjectFilePutBodyBody,
870
- ) => {
871
- return ["data-manager", "PUT", "project", projectId, "file", projectFilePutBodyBody] as const;
720
+ export const getAddFileToProjectMutationOptions = <
721
+ TError = ErrorType<void | DmError>,
722
+ TContext = unknown,
723
+ >(options?: {
724
+ mutation?: UseMutationOptions<
725
+ Awaited<ReturnType<typeof addFileToProject>>,
726
+ TError,
727
+ { projectId: string; data: ProjectFilePutBodyBody },
728
+ TContext
729
+ >;
730
+ request?: SecondParameter<typeof customFetch>;
731
+ }): UseMutationOptions<
732
+ Awaited<ReturnType<typeof addFileToProject>>,
733
+ TError,
734
+ { projectId: string; data: ProjectFilePutBodyBody },
735
+ TContext
736
+ > => {
737
+ const mutationKey = ["addFileToProject"];
738
+ const { mutation: mutationOptions, request: requestOptions } = options
739
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
740
+ ? options
741
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
742
+ : { mutation: { mutationKey }, request: undefined };
743
+
744
+ const mutationFn: MutationFunction<
745
+ Awaited<ReturnType<typeof addFileToProject>>,
746
+ { projectId: string; data: ProjectFilePutBodyBody }
747
+ > = (props) => {
748
+ const { projectId, data } = props ?? {};
749
+
750
+ return addFileToProject(projectId, data, requestOptions);
751
+ };
752
+
753
+ return { mutationFn, ...mutationOptions };
872
754
  };
873
755
 
874
- export const getAddFileToProjectQueryOptions = <
875
- TData = Awaited<ReturnType<typeof addFileToProject>>,
876
- TError = ErrorType<void | DmError>,
877
- >(
878
- projectId: string,
879
- projectFilePutBodyBody: ProjectFilePutBodyBody,
756
+ export type AddFileToProjectMutationResult = NonNullable<
757
+ Awaited<ReturnType<typeof addFileToProject>>
758
+ >;
759
+ export type AddFileToProjectMutationBody = ProjectFilePutBodyBody;
760
+ export type AddFileToProjectMutationError = ErrorType<void | DmError>;
761
+
762
+ /**
763
+ * @summary Upload a file into a Project
764
+ */
765
+ export const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
880
766
  options?: {
881
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
882
- request?: SecondParameter<typeof customFetch>;
883
- },
884
- ) => {
885
- const { query: queryOptions, request: requestOptions } = options ?? {};
886
-
887
- const queryKey =
888
- queryOptions?.queryKey ?? getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody);
889
-
890
- const queryFn: QueryFunction<Awaited<ReturnType<typeof addFileToProject>>> = ({ signal }) =>
891
- addFileToProject(projectId, projectFilePutBodyBody, { signal, ...requestOptions });
892
-
893
- return {
894
- queryKey,
895
- queryFn,
896
- enabled: projectId !== null && projectId !== undefined,
897
- ...queryOptions,
898
- } as UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData> & {
899
- queryKey: DataTag<QueryKey, TData, TError>;
900
- };
901
- };
902
-
903
- export type AddFileToProjectQueryResult = NonNullable<Awaited<ReturnType<typeof addFileToProject>>>;
904
- export type AddFileToProjectQueryError = ErrorType<void | DmError>;
905
-
906
- export function useAddFileToProject<
907
- TData = Awaited<ReturnType<typeof addFileToProject>>,
908
- TError = ErrorType<void | DmError>,
909
- >(
910
- projectId: string,
911
- projectFilePutBodyBody: ProjectFilePutBodyBody,
912
- options: {
913
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
914
- Pick<
915
- DefinedInitialDataOptions<
916
- Awaited<ReturnType<typeof addFileToProject>>,
917
- TError,
918
- Awaited<ReturnType<typeof addFileToProject>>
919
- >,
920
- "initialData"
921
- >;
922
- request?: SecondParameter<typeof customFetch>;
923
- },
924
- queryClient?: QueryClient,
925
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
926
- export function useAddFileToProject<
927
- TData = Awaited<ReturnType<typeof addFileToProject>>,
928
- TError = ErrorType<void | DmError>,
929
- >(
930
- projectId: string,
931
- projectFilePutBodyBody: ProjectFilePutBodyBody,
932
- options?: {
933
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
934
- Pick<
935
- UndefinedInitialDataOptions<
936
- Awaited<ReturnType<typeof addFileToProject>>,
937
- TError,
938
- Awaited<ReturnType<typeof addFileToProject>>
939
- >,
940
- "initialData"
941
- >;
767
+ mutation?: UseMutationOptions<
768
+ Awaited<ReturnType<typeof addFileToProject>>,
769
+ TError,
770
+ { projectId: string; data: ProjectFilePutBodyBody },
771
+ TContext
772
+ >;
942
773
  request?: SecondParameter<typeof customFetch>;
943
774
  },
944
775
  queryClient?: QueryClient,
945
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
946
- export function useAddFileToProject<
947
- TData = Awaited<ReturnType<typeof addFileToProject>>,
948
- TError = ErrorType<void | DmError>,
949
- >(
950
- projectId: string,
951
- projectFilePutBodyBody: ProjectFilePutBodyBody,
952
- options?: {
953
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
954
- request?: SecondParameter<typeof customFetch>;
955
- },
956
- queryClient?: QueryClient,
957
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
958
- /**
959
- * @summary Upload a file into a Project
960
- */
961
-
962
- export function useAddFileToProject<
963
- TData = Awaited<ReturnType<typeof addFileToProject>>,
964
- TError = ErrorType<void | DmError>,
965
- >(
966
- projectId: string,
967
- projectFilePutBodyBody: ProjectFilePutBodyBody,
968
- options?: {
969
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
970
- request?: SecondParameter<typeof customFetch>;
971
- },
972
- queryClient?: QueryClient,
973
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
974
- const queryOptions = getAddFileToProjectQueryOptions(projectId, projectFilePutBodyBody, options);
975
-
976
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
977
- queryKey: DataTag<QueryKey, TData, TError>;
978
- };
979
-
980
- return { ...query, queryKey: queryOptions.queryKey };
981
- }
982
-
983
- /**
984
- * @summary Upload a file into a Project
985
- */
986
- export const invalidateAddFileToProject = async (
987
- queryClient: QueryClient,
988
- projectId: string,
989
- projectFilePutBodyBody: ProjectFilePutBodyBody,
990
- options?: InvalidateOptions,
991
- ): Promise<QueryClient> => {
992
- await queryClient.invalidateQueries(
993
- { queryKey: getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody) },
994
- options,
995
- );
996
-
997
- return queryClient;
776
+ ): UseMutationResult<
777
+ Awaited<ReturnType<typeof addFileToProject>>,
778
+ TError,
779
+ { projectId: string; data: ProjectFilePutBodyBody },
780
+ TContext
781
+ > => {
782
+ return useMutation(getAddFileToProjectMutationOptions(options), queryClient);
998
783
  };
999
-
1000
784
  export type getProjectFileWithTokenResponse200 = { data: void; status: 200 };
1001
785
 
1002
786
  export type getProjectFileWithTokenResponse403 = { data: DmError; status: 403 };
@@ -1184,7 +968,7 @@ export function useGetProjectFileWithToken<
1184
968
  queryKey: DataTag<QueryKey, TData, TError>;
1185
969
  };
1186
970
 
1187
- return { ...query, queryKey: queryOptions.queryKey };
971
+ return withQueryKey(query, queryOptions.queryKey);
1188
972
  }
1189
973
 
1190
974
  /**
@@ -1304,7 +1088,7 @@ export function useGetProjectFileWithTokenSuspense<
1304
1088
  TError
1305
1089
  > & { queryKey: DataTag<QueryKey, TData, TError> };
1306
1090
 
1307
- return { ...query, queryKey: queryOptions.queryKey };
1091
+ return withQueryKey(query, queryOptions.queryKey);
1308
1092
  }
1309
1093
 
1310
1094
  export type getFilesResponse200 = { data: FilesGetResponse; status: 200 };
@@ -1450,7 +1234,7 @@ export function useGetFiles<
1450
1234
  queryKey: DataTag<QueryKey, TData, TError>;
1451
1235
  };
1452
1236
 
1453
- return { ...query, queryKey: queryOptions.queryKey };
1237
+ return withQueryKey(query, queryOptions.queryKey);
1454
1238
  }
1455
1239
 
1456
1240
  /**
@@ -1548,7 +1332,7 @@ export function useGetFilesSuspense<
1548
1332
  TError
1549
1333
  > & { queryKey: DataTag<QueryKey, TData, TError> };
1550
1334
 
1551
- return { ...query, queryKey: queryOptions.queryKey };
1335
+ return withQueryKey(query, queryOptions.queryKey);
1552
1336
  }
1553
1337
 
1554
1338
  export type attachFileResponse201 = { data: FilePostResponse; status: 201 };
@@ -1614,126 +1398,68 @@ export const attachFile = async (
1614
1398
  });
1615
1399
  };
1616
1400
 
1617
- export const getAttachFileQueryKey = (filePostBodyBody?: FilePostBodyBody) => {
1618
- return ["data-manager", "POST", "file", filePostBodyBody] as const;
1619
- };
1620
-
1621
- export const getAttachFileQueryOptions = <
1622
- TData = Awaited<ReturnType<typeof attachFile>>,
1401
+ export const getAttachFileMutationOptions = <
1623
1402
  TError = ErrorType<void | DmError>,
1624
- >(
1625
- filePostBodyBody: FilePostBodyBody,
1626
- options?: {
1627
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
1628
- request?: SecondParameter<typeof customFetch>;
1629
- },
1630
- ) => {
1631
- const { query: queryOptions, request: requestOptions } = options ?? {};
1632
-
1633
- const queryKey = queryOptions?.queryKey ?? getAttachFileQueryKey(filePostBodyBody);
1634
-
1635
- const queryFn: QueryFunction<Awaited<ReturnType<typeof attachFile>>> = ({ signal }) =>
1636
- attachFile(filePostBodyBody, { signal, ...requestOptions });
1637
-
1638
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
1403
+ TContext = unknown,
1404
+ >(options?: {
1405
+ mutation?: UseMutationOptions<
1639
1406
  Awaited<ReturnType<typeof attachFile>>,
1640
1407
  TError,
1641
- TData
1642
- > & { queryKey: DataTag<QueryKey, TData, TError> };
1408
+ { data: FilePostBodyBody },
1409
+ TContext
1410
+ >;
1411
+ request?: SecondParameter<typeof customFetch>;
1412
+ }): UseMutationOptions<
1413
+ Awaited<ReturnType<typeof attachFile>>,
1414
+ TError,
1415
+ { data: FilePostBodyBody },
1416
+ TContext
1417
+ > => {
1418
+ const mutationKey = ["attachFile"];
1419
+ const { mutation: mutationOptions, request: requestOptions } = options
1420
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
1421
+ ? options
1422
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
1423
+ : { mutation: { mutationKey }, request: undefined };
1424
+
1425
+ const mutationFn: MutationFunction<
1426
+ Awaited<ReturnType<typeof attachFile>>,
1427
+ { data: FilePostBodyBody }
1428
+ > = (props) => {
1429
+ const { data } = props ?? {};
1430
+
1431
+ return attachFile(data, requestOptions);
1432
+ };
1433
+
1434
+ return { mutationFn, ...mutationOptions };
1643
1435
  };
1644
1436
 
1645
- export type AttachFileQueryResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;
1646
- export type AttachFileQueryError = ErrorType<void | DmError>;
1437
+ export type AttachFileMutationResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;
1438
+ export type AttachFileMutationBody = FilePostBodyBody;
1439
+ export type AttachFileMutationError = ErrorType<void | DmError>;
1647
1440
 
1648
- export function useAttachFile<
1649
- TData = Awaited<ReturnType<typeof attachFile>>,
1650
- TError = ErrorType<void | DmError>,
1651
- >(
1652
- filePostBodyBody: FilePostBodyBody,
1653
- options: {
1654
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
1655
- Pick<
1656
- DefinedInitialDataOptions<
1657
- Awaited<ReturnType<typeof attachFile>>,
1658
- TError,
1659
- Awaited<ReturnType<typeof attachFile>>
1660
- >,
1661
- "initialData"
1662
- >;
1663
- request?: SecondParameter<typeof customFetch>;
1664
- },
1665
- queryClient?: QueryClient,
1666
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1667
- export function useAttachFile<
1668
- TData = Awaited<ReturnType<typeof attachFile>>,
1669
- TError = ErrorType<void | DmError>,
1670
- >(
1671
- filePostBodyBody: FilePostBodyBody,
1672
- options?: {
1673
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
1674
- Pick<
1675
- UndefinedInitialDataOptions<
1676
- Awaited<ReturnType<typeof attachFile>>,
1677
- TError,
1678
- Awaited<ReturnType<typeof attachFile>>
1679
- >,
1680
- "initialData"
1681
- >;
1682
- request?: SecondParameter<typeof customFetch>;
1683
- },
1684
- queryClient?: QueryClient,
1685
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1686
- export function useAttachFile<
1687
- TData = Awaited<ReturnType<typeof attachFile>>,
1688
- TError = ErrorType<void | DmError>,
1689
- >(
1690
- filePostBodyBody: FilePostBodyBody,
1691
- options?: {
1692
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
1693
- request?: SecondParameter<typeof customFetch>;
1694
- },
1695
- queryClient?: QueryClient,
1696
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1697
1441
  /**
1698
1442
  * @summary Attach a Dataset, as a File, to a Project
1699
1443
  */
1700
-
1701
- export function useAttachFile<
1702
- TData = Awaited<ReturnType<typeof attachFile>>,
1703
- TError = ErrorType<void | DmError>,
1704
- >(
1705
- filePostBodyBody: FilePostBodyBody,
1444
+ export const useAttachFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
1706
1445
  options?: {
1707
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
1446
+ mutation?: UseMutationOptions<
1447
+ Awaited<ReturnType<typeof attachFile>>,
1448
+ TError,
1449
+ { data: FilePostBodyBody },
1450
+ TContext
1451
+ >;
1708
1452
  request?: SecondParameter<typeof customFetch>;
1709
1453
  },
1710
1454
  queryClient?: QueryClient,
1711
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
1712
- const queryOptions = getAttachFileQueryOptions(filePostBodyBody, options);
1713
-
1714
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
1715
- queryKey: DataTag<QueryKey, TData, TError>;
1716
- };
1717
-
1718
- return { ...query, queryKey: queryOptions.queryKey };
1719
- }
1720
-
1721
- /**
1722
- * @summary Attach a Dataset, as a File, to a Project
1723
- */
1724
- export const invalidateAttachFile = async (
1725
- queryClient: QueryClient,
1726
- filePostBodyBody: FilePostBodyBody,
1727
- options?: InvalidateOptions,
1728
- ): Promise<QueryClient> => {
1729
- await queryClient.invalidateQueries(
1730
- { queryKey: getAttachFileQueryKey(filePostBodyBody) },
1731
- options,
1732
- );
1733
-
1734
- return queryClient;
1455
+ ): UseMutationResult<
1456
+ Awaited<ReturnType<typeof attachFile>>,
1457
+ TError,
1458
+ { data: FilePostBodyBody },
1459
+ TContext
1460
+ > => {
1461
+ return useMutation(getAttachFileMutationOptions(options), queryClient);
1735
1462
  };
1736
-
1737
1463
  export type deleteUnmanagedFileResponse204 = { data: void; status: 204 };
1738
1464
 
1739
1465
  export type deleteUnmanagedFileResponse401 = { data: void; status: 401 };
@@ -1788,138 +1514,70 @@ export const deleteUnmanagedFile = async (
1788
1514
  });
1789
1515
  };
1790
1516
 
1791
- export const getDeleteUnmanagedFileQueryKey = (params?: DeleteUnmanagedFileParams) => {
1792
- return ["data-manager", "DELETE", "file", ...(params ? [params] : [])] as const;
1793
- };
1794
-
1795
- export const getDeleteUnmanagedFileQueryOptions = <
1796
- TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1517
+ export const getDeleteUnmanagedFileMutationOptions = <
1797
1518
  TError = ErrorType<void | DmError>,
1798
- >(
1799
- params: DeleteUnmanagedFileParams,
1800
- options?: {
1801
- query?: Partial<
1802
- UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
1803
- >;
1804
- request?: SecondParameter<typeof customFetch>;
1805
- },
1806
- ) => {
1807
- const { query: queryOptions, request: requestOptions } = options ?? {};
1808
-
1809
- const queryKey = queryOptions?.queryKey ?? getDeleteUnmanagedFileQueryKey(params);
1810
-
1811
- const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteUnmanagedFile>>> = ({ signal }) =>
1812
- deleteUnmanagedFile(params, { signal, ...requestOptions });
1813
-
1814
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
1519
+ TContext = unknown,
1520
+ >(options?: {
1521
+ mutation?: UseMutationOptions<
1815
1522
  Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1816
1523
  TError,
1817
- TData
1818
- > & { queryKey: DataTag<QueryKey, TData, TError> };
1524
+ { params: DeleteUnmanagedFileParams },
1525
+ TContext
1526
+ >;
1527
+ request?: SecondParameter<typeof customFetch>;
1528
+ }): UseMutationOptions<
1529
+ Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1530
+ TError,
1531
+ { params: DeleteUnmanagedFileParams },
1532
+ TContext
1533
+ > => {
1534
+ const mutationKey = ["deleteUnmanagedFile"];
1535
+ const { mutation: mutationOptions, request: requestOptions } = options
1536
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
1537
+ ? options
1538
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
1539
+ : { mutation: { mutationKey }, request: undefined };
1540
+
1541
+ const mutationFn: MutationFunction<
1542
+ Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1543
+ { params: DeleteUnmanagedFileParams }
1544
+ > = (props) => {
1545
+ const { params } = props ?? {};
1546
+
1547
+ return deleteUnmanagedFile(params, requestOptions);
1548
+ };
1549
+
1550
+ return { mutationFn, ...mutationOptions };
1819
1551
  };
1820
1552
 
1821
- export type DeleteUnmanagedFileQueryResult = NonNullable<
1553
+ export type DeleteUnmanagedFileMutationResult = NonNullable<
1822
1554
  Awaited<ReturnType<typeof deleteUnmanagedFile>>
1823
1555
  >;
1824
- export type DeleteUnmanagedFileQueryError = ErrorType<void | DmError>;
1825
1556
 
1826
- export function useDeleteUnmanagedFile<
1827
- TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1828
- TError = ErrorType<void | DmError>,
1829
- >(
1830
- params: DeleteUnmanagedFileParams,
1831
- options: {
1832
- query: Partial<
1833
- UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
1834
- > &
1835
- Pick<
1836
- DefinedInitialDataOptions<
1837
- Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1838
- TError,
1839
- Awaited<ReturnType<typeof deleteUnmanagedFile>>
1840
- >,
1841
- "initialData"
1842
- >;
1843
- request?: SecondParameter<typeof customFetch>;
1844
- },
1845
- queryClient?: QueryClient,
1846
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1847
- export function useDeleteUnmanagedFile<
1848
- TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1849
- TError = ErrorType<void | DmError>,
1850
- >(
1851
- params: DeleteUnmanagedFileParams,
1852
- options?: {
1853
- query?: Partial<
1854
- UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
1855
- > &
1856
- Pick<
1857
- UndefinedInitialDataOptions<
1858
- Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1859
- TError,
1860
- Awaited<ReturnType<typeof deleteUnmanagedFile>>
1861
- >,
1862
- "initialData"
1863
- >;
1864
- request?: SecondParameter<typeof customFetch>;
1865
- },
1866
- queryClient?: QueryClient,
1867
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1868
- export function useDeleteUnmanagedFile<
1869
- TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1870
- TError = ErrorType<void | DmError>,
1871
- >(
1872
- params: DeleteUnmanagedFileParams,
1873
- options?: {
1874
- query?: Partial<
1875
- UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
1876
- >;
1877
- request?: SecondParameter<typeof customFetch>;
1878
- },
1879
- queryClient?: QueryClient,
1880
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1557
+ export type DeleteUnmanagedFileMutationError = ErrorType<void | DmError>;
1558
+
1881
1559
  /**
1882
1560
  * @summary Delete an unmanaged Project File
1883
1561
  */
1884
-
1885
- export function useDeleteUnmanagedFile<
1886
- TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1887
- TError = ErrorType<void | DmError>,
1888
- >(
1889
- params: DeleteUnmanagedFileParams,
1562
+ export const useDeleteUnmanagedFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
1890
1563
  options?: {
1891
- query?: Partial<
1892
- UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
1564
+ mutation?: UseMutationOptions<
1565
+ Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1566
+ TError,
1567
+ { params: DeleteUnmanagedFileParams },
1568
+ TContext
1893
1569
  >;
1894
1570
  request?: SecondParameter<typeof customFetch>;
1895
1571
  },
1896
1572
  queryClient?: QueryClient,
1897
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
1898
- const queryOptions = getDeleteUnmanagedFileQueryOptions(params, options);
1899
-
1900
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
1901
- queryKey: DataTag<QueryKey, TData, TError>;
1902
- };
1903
-
1904
- return { ...query, queryKey: queryOptions.queryKey };
1905
- }
1906
-
1907
- /**
1908
- * @summary Delete an unmanaged Project File
1909
- */
1910
- export const invalidateDeleteUnmanagedFile = async (
1911
- queryClient: QueryClient,
1912
- params: DeleteUnmanagedFileParams,
1913
- options?: InvalidateOptions,
1914
- ): Promise<QueryClient> => {
1915
- await queryClient.invalidateQueries(
1916
- { queryKey: getDeleteUnmanagedFileQueryKey(params) },
1917
- options,
1918
- );
1919
-
1920
- return queryClient;
1573
+ ): UseMutationResult<
1574
+ Awaited<ReturnType<typeof deleteUnmanagedFile>>,
1575
+ TError,
1576
+ { params: DeleteUnmanagedFileParams },
1577
+ TContext
1578
+ > => {
1579
+ return useMutation(getDeleteUnmanagedFileMutationOptions(options), queryClient);
1921
1580
  };
1922
-
1923
1581
  export type moveFileInProjectResponse200 = { data: void; status: 200 };
1924
1582
 
1925
1583
  export type moveFileInProjectResponse401 = { data: void; status: 401 };
@@ -1969,125 +1627,70 @@ export const moveFileInProject = async (
1969
1627
  });
1970
1628
  };
1971
1629
 
1972
- export const getMoveFileInProjectQueryKey = (params?: MoveFileInProjectParams) => {
1973
- return ["data-manager", "PUT", "file", "move", ...(params ? [params] : [])] as const;
1974
- };
1975
-
1976
- export const getMoveFileInProjectQueryOptions = <
1977
- TData = Awaited<ReturnType<typeof moveFileInProject>>,
1630
+ export const getMoveFileInProjectMutationOptions = <
1978
1631
  TError = ErrorType<void | DmError>,
1979
- >(
1980
- params: MoveFileInProjectParams,
1981
- options?: {
1982
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
1983
- request?: SecondParameter<typeof customFetch>;
1984
- },
1985
- ) => {
1986
- const { query: queryOptions, request: requestOptions } = options ?? {};
1987
-
1988
- const queryKey = queryOptions?.queryKey ?? getMoveFileInProjectQueryKey(params);
1989
-
1990
- const queryFn: QueryFunction<Awaited<ReturnType<typeof moveFileInProject>>> = ({ signal }) =>
1991
- moveFileInProject(params, { signal, ...requestOptions });
1992
-
1993
- return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
1632
+ TContext = unknown,
1633
+ >(options?: {
1634
+ mutation?: UseMutationOptions<
1994
1635
  Awaited<ReturnType<typeof moveFileInProject>>,
1995
1636
  TError,
1996
- TData
1997
- > & { queryKey: DataTag<QueryKey, TData, TError> };
1637
+ { params: MoveFileInProjectParams },
1638
+ TContext
1639
+ >;
1640
+ request?: SecondParameter<typeof customFetch>;
1641
+ }): UseMutationOptions<
1642
+ Awaited<ReturnType<typeof moveFileInProject>>,
1643
+ TError,
1644
+ { params: MoveFileInProjectParams },
1645
+ TContext
1646
+ > => {
1647
+ const mutationKey = ["moveFileInProject"];
1648
+ const { mutation: mutationOptions, request: requestOptions } = options
1649
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
1650
+ ? options
1651
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
1652
+ : { mutation: { mutationKey }, request: undefined };
1653
+
1654
+ const mutationFn: MutationFunction<
1655
+ Awaited<ReturnType<typeof moveFileInProject>>,
1656
+ { params: MoveFileInProjectParams }
1657
+ > = (props) => {
1658
+ const { params } = props ?? {};
1659
+
1660
+ return moveFileInProject(params, requestOptions);
1661
+ };
1662
+
1663
+ return { mutationFn, ...mutationOptions };
1998
1664
  };
1999
1665
 
2000
- export type MoveFileInProjectQueryResult = NonNullable<
1666
+ export type MoveFileInProjectMutationResult = NonNullable<
2001
1667
  Awaited<ReturnType<typeof moveFileInProject>>
2002
1668
  >;
2003
- export type MoveFileInProjectQueryError = ErrorType<void | DmError>;
2004
1669
 
2005
- export function useMoveFileInProject<
2006
- TData = Awaited<ReturnType<typeof moveFileInProject>>,
2007
- TError = ErrorType<void | DmError>,
2008
- >(
2009
- params: MoveFileInProjectParams,
2010
- options: {
2011
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
2012
- Pick<
2013
- DefinedInitialDataOptions<
2014
- Awaited<ReturnType<typeof moveFileInProject>>,
2015
- TError,
2016
- Awaited<ReturnType<typeof moveFileInProject>>
2017
- >,
2018
- "initialData"
2019
- >;
2020
- request?: SecondParameter<typeof customFetch>;
2021
- },
2022
- queryClient?: QueryClient,
2023
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
2024
- export function useMoveFileInProject<
2025
- TData = Awaited<ReturnType<typeof moveFileInProject>>,
2026
- TError = ErrorType<void | DmError>,
2027
- >(
2028
- params: MoveFileInProjectParams,
2029
- options?: {
2030
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
2031
- Pick<
2032
- UndefinedInitialDataOptions<
2033
- Awaited<ReturnType<typeof moveFileInProject>>,
2034
- TError,
2035
- Awaited<ReturnType<typeof moveFileInProject>>
2036
- >,
2037
- "initialData"
2038
- >;
2039
- request?: SecondParameter<typeof customFetch>;
2040
- },
2041
- queryClient?: QueryClient,
2042
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
2043
- export function useMoveFileInProject<
2044
- TData = Awaited<ReturnType<typeof moveFileInProject>>,
2045
- TError = ErrorType<void | DmError>,
2046
- >(
2047
- params: MoveFileInProjectParams,
2048
- options?: {
2049
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
2050
- request?: SecondParameter<typeof customFetch>;
2051
- },
2052
- queryClient?: QueryClient,
2053
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
1670
+ export type MoveFileInProjectMutationError = ErrorType<void | DmError>;
1671
+
2054
1672
  /**
2055
1673
  * @summary Move an unmanaged file in a Project
2056
1674
  */
2057
-
2058
- export function useMoveFileInProject<
2059
- TData = Awaited<ReturnType<typeof moveFileInProject>>,
2060
- TError = ErrorType<void | DmError>,
2061
- >(
2062
- params: MoveFileInProjectParams,
1675
+ export const useMoveFileInProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
2063
1676
  options?: {
2064
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
1677
+ mutation?: UseMutationOptions<
1678
+ Awaited<ReturnType<typeof moveFileInProject>>,
1679
+ TError,
1680
+ { params: MoveFileInProjectParams },
1681
+ TContext
1682
+ >;
2065
1683
  request?: SecondParameter<typeof customFetch>;
2066
1684
  },
2067
1685
  queryClient?: QueryClient,
2068
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
2069
- const queryOptions = getMoveFileInProjectQueryOptions(params, options);
2070
-
2071
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
2072
- queryKey: DataTag<QueryKey, TData, TError>;
2073
- };
2074
-
2075
- return { ...query, queryKey: queryOptions.queryKey };
2076
- }
2077
-
2078
- /**
2079
- * @summary Move an unmanaged file in a Project
2080
- */
2081
- export const invalidateMoveFileInProject = async (
2082
- queryClient: QueryClient,
2083
- params: MoveFileInProjectParams,
2084
- options?: InvalidateOptions,
2085
- ): Promise<QueryClient> => {
2086
- await queryClient.invalidateQueries({ queryKey: getMoveFileInProjectQueryKey(params) }, options);
2087
-
2088
- return queryClient;
1686
+ ): UseMutationResult<
1687
+ Awaited<ReturnType<typeof moveFileInProject>>,
1688
+ TError,
1689
+ { params: MoveFileInProjectParams },
1690
+ TContext
1691
+ > => {
1692
+ return useMutation(getMoveFileInProjectMutationOptions(options), queryClient);
2089
1693
  };
2090
-
2091
1694
  export type deleteFileResponse204 = { data: void; status: 204 };
2092
1695
 
2093
1696
  export type deleteFileResponse401 = { data: void; status: 401 };
@@ -2127,126 +1730,67 @@ export const deleteFile = async (
2127
1730
  });
2128
1731
  };
2129
1732
 
2130
- export const getDeleteFileQueryKey = (fileId: string) => {
2131
- return ["data-manager", "DELETE", "file", fileId] as const;
2132
- };
2133
-
2134
- export const getDeleteFileQueryOptions = <
2135
- TData = Awaited<ReturnType<typeof deleteFile>>,
1733
+ export const getDeleteFileMutationOptions = <
2136
1734
  TError = ErrorType<void | DmError>,
2137
- >(
2138
- fileId: string,
2139
- options?: {
2140
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
2141
- request?: SecondParameter<typeof customFetch>;
2142
- },
2143
- ) => {
2144
- const { query: queryOptions, request: requestOptions } = options ?? {};
2145
-
2146
- const queryKey = queryOptions?.queryKey ?? getDeleteFileQueryKey(fileId);
2147
-
2148
- const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteFile>>> = ({ signal }) =>
2149
- deleteFile(fileId, { signal, ...requestOptions });
2150
-
2151
- return {
2152
- queryKey,
2153
- queryFn,
2154
- enabled: fileId !== null && fileId !== undefined,
2155
- ...queryOptions,
2156
- } as UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData> & {
2157
- queryKey: DataTag<QueryKey, TData, TError>;
1735
+ TContext = unknown,
1736
+ >(options?: {
1737
+ mutation?: UseMutationOptions<
1738
+ Awaited<ReturnType<typeof deleteFile>>,
1739
+ TError,
1740
+ { fileId: string },
1741
+ TContext
1742
+ >;
1743
+ request?: SecondParameter<typeof customFetch>;
1744
+ }): UseMutationOptions<
1745
+ Awaited<ReturnType<typeof deleteFile>>,
1746
+ TError,
1747
+ { fileId: string },
1748
+ TContext
1749
+ > => {
1750
+ const mutationKey = ["deleteFile"];
1751
+ const { mutation: mutationOptions, request: requestOptions } = options
1752
+ ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
1753
+ ? options
1754
+ : { ...options, mutation: { ...options.mutation, mutationKey } }
1755
+ : { mutation: { mutationKey }, request: undefined };
1756
+
1757
+ const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (
1758
+ props,
1759
+ ) => {
1760
+ const { fileId } = props ?? {};
1761
+
1762
+ return deleteFile(fileId, requestOptions);
2158
1763
  };
1764
+
1765
+ return { mutationFn, ...mutationOptions };
2159
1766
  };
2160
1767
 
2161
- export type DeleteFileQueryResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;
2162
- export type DeleteFileQueryError = ErrorType<void | DmError>;
1768
+ export type DeleteFileMutationResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;
1769
+
1770
+ export type DeleteFileMutationError = ErrorType<void | DmError>;
2163
1771
 
2164
- export function useDeleteFile<
2165
- TData = Awaited<ReturnType<typeof deleteFile>>,
2166
- TError = ErrorType<void | DmError>,
2167
- >(
2168
- fileId: string,
2169
- options: {
2170
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
2171
- Pick<
2172
- DefinedInitialDataOptions<
2173
- Awaited<ReturnType<typeof deleteFile>>,
2174
- TError,
2175
- Awaited<ReturnType<typeof deleteFile>>
2176
- >,
2177
- "initialData"
2178
- >;
2179
- request?: SecondParameter<typeof customFetch>;
2180
- },
2181
- queryClient?: QueryClient,
2182
- ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
2183
- export function useDeleteFile<
2184
- TData = Awaited<ReturnType<typeof deleteFile>>,
2185
- TError = ErrorType<void | DmError>,
2186
- >(
2187
- fileId: string,
2188
- options?: {
2189
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
2190
- Pick<
2191
- UndefinedInitialDataOptions<
2192
- Awaited<ReturnType<typeof deleteFile>>,
2193
- TError,
2194
- Awaited<ReturnType<typeof deleteFile>>
2195
- >,
2196
- "initialData"
2197
- >;
2198
- request?: SecondParameter<typeof customFetch>;
2199
- },
2200
- queryClient?: QueryClient,
2201
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
2202
- export function useDeleteFile<
2203
- TData = Awaited<ReturnType<typeof deleteFile>>,
2204
- TError = ErrorType<void | DmError>,
2205
- >(
2206
- fileId: string,
2207
- options?: {
2208
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
2209
- request?: SecondParameter<typeof customFetch>;
2210
- },
2211
- queryClient?: QueryClient,
2212
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
2213
1772
  /**
2214
1773
  * @summary Delete/detach a File (from a Project)
2215
1774
  */
2216
-
2217
- export function useDeleteFile<
2218
- TData = Awaited<ReturnType<typeof deleteFile>>,
2219
- TError = ErrorType<void | DmError>,
2220
- >(
2221
- fileId: string,
1775
+ export const useDeleteFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
2222
1776
  options?: {
2223
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
1777
+ mutation?: UseMutationOptions<
1778
+ Awaited<ReturnType<typeof deleteFile>>,
1779
+ TError,
1780
+ { fileId: string },
1781
+ TContext
1782
+ >;
2224
1783
  request?: SecondParameter<typeof customFetch>;
2225
1784
  },
2226
1785
  queryClient?: QueryClient,
2227
- ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
2228
- const queryOptions = getDeleteFileQueryOptions(fileId, options);
2229
-
2230
- const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
2231
- queryKey: DataTag<QueryKey, TData, TError>;
2232
- };
2233
-
2234
- return { ...query, queryKey: queryOptions.queryKey };
2235
- }
2236
-
2237
- /**
2238
- * @summary Delete/detach a File (from a Project)
2239
- */
2240
- export const invalidateDeleteFile = async (
2241
- queryClient: QueryClient,
2242
- fileId: string,
2243
- options?: InvalidateOptions,
2244
- ): Promise<QueryClient> => {
2245
- await queryClient.invalidateQueries({ queryKey: getDeleteFileQueryKey(fileId) }, options);
2246
-
2247
- return queryClient;
1786
+ ): UseMutationResult<
1787
+ Awaited<ReturnType<typeof deleteFile>>,
1788
+ TError,
1789
+ { fileId: string },
1790
+ TContext
1791
+ > => {
1792
+ return useMutation(getDeleteFileMutationOptions(options), queryClient);
2248
1793
  };
2249
-
2250
1794
  export type downloadFileResponse200 = { data: void; status: 200 };
2251
1795
 
2252
1796
  export type downloadFileResponse401 = { data: void; status: 401 };
@@ -2388,7 +1932,7 @@ export function useDownloadFile<
2388
1932
  queryKey: DataTag<QueryKey, TData, TError>;
2389
1933
  };
2390
1934
 
2391
- return { ...query, queryKey: queryOptions.queryKey };
1935
+ return withQueryKey(query, queryOptions.queryKey);
2392
1936
  }
2393
1937
 
2394
1938
  /**
@@ -2496,5 +2040,5 @@ export function useDownloadFileSuspense<
2496
2040
  TError
2497
2041
  > & { queryKey: DataTag<QueryKey, TData, TError> };
2498
2042
 
2499
- return { ...query, queryKey: queryOptions.queryKey };
2043
+ return withQueryKey(query, queryOptions.queryKey);
2500
2044
  }