@squonk/data-manager-client 5.4.0 → 6.1.0

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