@orangefox-recovery/foxinternalclient 5.4.0 → 6.0.4

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 (462) hide show
  1. package/.openapi-generator/FILES +34 -40
  2. package/README.md +74 -85
  3. package/dist/apis/DeviceApi.d.ts +89 -107
  4. package/dist/apis/DeviceApi.js +60 -71
  5. package/dist/apis/FoxFactoryApi.d.ts +163 -199
  6. package/dist/apis/FoxFactoryApi.js +122 -233
  7. package/dist/apis/GitlabApi.d.ts +21 -18
  8. package/dist/apis/GitlabApi.js +21 -12
  9. package/dist/apis/InternalApi.d.ts +452 -545
  10. package/dist/apis/InternalApi.js +413 -650
  11. package/dist/apis/PasteApi.d.ts +33 -39
  12. package/dist/apis/PasteApi.js +23 -27
  13. package/dist/apis/ReleaseApi.d.ts +145 -143
  14. package/dist/apis/ReleaseApi.js +108 -95
  15. package/dist/apis/ReportApi.d.ts +64 -0
  16. package/dist/apis/ReportApi.js +89 -0
  17. package/dist/apis/StatsApi.d.ts +19 -19
  18. package/dist/apis/StatsApi.js +14 -14
  19. package/dist/apis/index.d.ts +1 -0
  20. package/dist/apis/index.js +1 -0
  21. package/dist/esm/apis/DeviceApi.d.ts +89 -107
  22. package/dist/esm/apis/DeviceApi.js +61 -72
  23. package/dist/esm/apis/FoxFactoryApi.d.ts +163 -199
  24. package/dist/esm/apis/FoxFactoryApi.js +123 -234
  25. package/dist/esm/apis/GitlabApi.d.ts +21 -18
  26. package/dist/esm/apis/GitlabApi.js +21 -12
  27. package/dist/esm/apis/InternalApi.d.ts +452 -545
  28. package/dist/esm/apis/InternalApi.js +414 -651
  29. package/dist/esm/apis/PasteApi.d.ts +33 -39
  30. package/dist/esm/apis/PasteApi.js +24 -28
  31. package/dist/esm/apis/ReleaseApi.d.ts +145 -143
  32. package/dist/esm/apis/ReleaseApi.js +109 -96
  33. package/dist/esm/apis/ReportApi.d.ts +64 -0
  34. package/dist/esm/apis/ReportApi.js +85 -0
  35. package/dist/esm/apis/StatsApi.d.ts +19 -19
  36. package/dist/esm/apis/StatsApi.js +15 -15
  37. package/dist/esm/apis/index.d.ts +1 -0
  38. package/dist/esm/apis/index.js +1 -0
  39. package/dist/esm/models/BuildTaskResponse.d.ts +22 -26
  40. package/dist/esm/models/BuildTaskResponse.js +30 -24
  41. package/dist/esm/models/BuildTaskShortResponse.d.ts +19 -21
  42. package/dist/esm/models/BuildTaskShortResponse.js +27 -23
  43. package/dist/esm/models/ChangePasswordBody.d.ts +38 -0
  44. package/dist/esm/models/ChangePasswordBody.js +47 -0
  45. package/dist/esm/models/DeletePasskeyBody.d.ts +32 -0
  46. package/dist/esm/models/DeletePasskeyBody.js +43 -0
  47. package/dist/esm/models/DeviceInternalResponse.d.ts +40 -36
  48. package/dist/esm/models/DeviceInternalResponse.js +36 -30
  49. package/dist/esm/models/DeviceResponse.d.ts +33 -29
  50. package/dist/esm/models/DeviceResponse.js +34 -26
  51. package/dist/esm/models/DeviceStatsResponse.d.ts +2 -2
  52. package/dist/esm/models/DeviceStatsResponse.js +2 -2
  53. package/dist/esm/models/DeviceUpdateBody.d.ts +13 -13
  54. package/dist/esm/models/DeviceUpdateBody.js +8 -8
  55. package/dist/esm/models/ErrorResponse.d.ts +32 -0
  56. package/dist/esm/models/ErrorResponse.js +43 -0
  57. package/dist/esm/models/FFStatusResponse.d.ts +4 -5
  58. package/dist/esm/models/FFStatusResponse.js +4 -5
  59. package/dist/esm/models/GlobalStatsResponse.d.ts +52 -0
  60. package/dist/esm/models/{GlobalStatsAggregationModel.js → GlobalStatsResponse.js} +14 -14
  61. package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +8 -8
  62. package/dist/esm/models/ListResponseBuildTaskShortResponse.js +8 -7
  63. package/dist/esm/models/ListResponseBuildTaskShortResponseDataInner.d.ts +87 -0
  64. package/dist/esm/models/ListResponseBuildTaskShortResponseDataInner.js +78 -0
  65. package/dist/esm/models/ListResponsePasteResponse.d.ts +39 -0
  66. package/dist/esm/models/ListResponsePasteResponse.js +48 -0
  67. package/dist/esm/models/ListResponsePasteResponseDataInner.d.ts +50 -0
  68. package/dist/esm/models/ListResponsePasteResponseDataInner.js +53 -0
  69. package/dist/esm/models/ListResponseReleaseResponse.d.ts +8 -8
  70. package/dist/esm/models/ListResponseReleaseResponse.js +8 -7
  71. package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +155 -0
  72. package/dist/esm/models/ListResponseReleaseResponseDataInner.js +114 -0
  73. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +8 -8
  74. package/dist/esm/models/ListResponseShortDeviceResponse.js +8 -7
  75. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +98 -0
  76. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +85 -0
  77. package/dist/esm/models/ListResponseString.d.ts +38 -0
  78. package/dist/esm/models/ListResponseString.js +47 -0
  79. package/dist/esm/models/ListResponseUserShortResponse.d.ts +8 -8
  80. package/dist/esm/models/ListResponseUserShortResponse.js +8 -7
  81. package/dist/esm/models/ListResponseUserShortResponseDataInner.d.ts +50 -0
  82. package/dist/esm/models/ListResponseUserShortResponseDataInner.js +55 -0
  83. package/dist/esm/models/LogListResponse.d.ts +5 -5
  84. package/dist/esm/models/LogListResponse.js +6 -6
  85. package/dist/esm/models/LogResponse.d.ts +15 -17
  86. package/dist/esm/models/LogResponse.js +16 -16
  87. package/dist/esm/models/LoginForm.d.ts +38 -0
  88. package/dist/esm/models/LoginForm.js +47 -0
  89. package/dist/esm/models/MaintainerShortResponse.d.ts +50 -0
  90. package/dist/esm/models/MaintainerShortResponse.js +55 -0
  91. package/dist/esm/models/NewBuildTaskBody.d.ts +13 -8
  92. package/dist/esm/models/NewBuildTaskBody.js +8 -7
  93. package/dist/esm/models/NewDeviceBody.d.ts +8 -8
  94. package/dist/esm/models/NewDeviceBody.js +9 -9
  95. package/dist/esm/models/NewReportRequest.d.ts +58 -0
  96. package/dist/esm/models/NewReportRequest.js +55 -0
  97. package/dist/esm/models/PasskeyCredentialResponse.d.ts +15 -15
  98. package/dist/esm/models/PasskeyCredentialResponse.js +14 -14
  99. package/dist/esm/models/PasskeyRegisterOptionsRequest.d.ts +3 -3
  100. package/dist/esm/models/PasskeyRegisterOptionsRequest.js +2 -2
  101. package/dist/esm/models/PasskeyVerifyRequest.d.ts +8 -10
  102. package/dist/esm/models/PasskeyVerifyRequest.js +6 -6
  103. package/dist/esm/models/PasteInput.d.ts +3 -3
  104. package/dist/esm/models/PasteInput.js +2 -2
  105. package/dist/esm/models/PasteResponse.d.ts +50 -0
  106. package/dist/esm/models/PasteResponse.js +53 -0
  107. package/dist/esm/models/RecoveryImgResponse.d.ts +6 -6
  108. package/dist/esm/models/RecoveryImgResponse.js +6 -6
  109. package/dist/esm/models/ReleaseGroupsResponse.d.ts +2 -2
  110. package/dist/esm/models/ReleaseGroupsResponse.js +2 -2
  111. package/dist/esm/models/ReleaseInternalResponse.d.ts +54 -53
  112. package/dist/esm/models/ReleaseInternalResponse.js +52 -53
  113. package/dist/esm/models/ReleaseResponse.d.ts +46 -42
  114. package/dist/esm/models/ReleaseResponse.js +45 -44
  115. package/dist/esm/models/ReleaseStatsResponse.d.ts +2 -2
  116. package/dist/esm/models/ReleaseStatsResponse.js +2 -2
  117. package/dist/esm/models/ReleaseUpdateBody.d.ts +9 -9
  118. package/dist/esm/models/ReleaseUpdateBody.js +6 -6
  119. package/dist/esm/models/RenamePasskeyBody.d.ts +3 -3
  120. package/dist/esm/models/RenamePasskeyBody.js +2 -2
  121. package/dist/esm/models/ShortDeviceResponse.d.ts +29 -25
  122. package/dist/esm/models/ShortDeviceResponse.js +26 -18
  123. package/dist/esm/models/ShortReleaseResponse.d.ts +31 -27
  124. package/dist/esm/models/ShortReleaseResponse.js +35 -32
  125. package/dist/esm/models/TaskUpdateBody.d.ts +7 -8
  126. package/dist/esm/models/TaskUpdateBody.js +4 -5
  127. package/dist/esm/models/TokenResponse.d.ts +3 -3
  128. package/dist/esm/models/TokenResponse.js +5 -3
  129. package/dist/esm/models/UserInternalResponse.d.ts +21 -24
  130. package/dist/esm/models/UserInternalResponse.js +20 -23
  131. package/dist/esm/models/UserShortResponse.d.ts +7 -7
  132. package/dist/esm/models/UserShortResponse.js +9 -9
  133. package/dist/esm/models/UserUpdateBody.d.ts +9 -9
  134. package/dist/esm/models/UserUpdateBody.js +8 -8
  135. package/dist/esm/models/WorkerStatusBody.d.ts +32 -0
  136. package/dist/esm/models/WorkerStatusBody.js +43 -0
  137. package/dist/esm/models/index.d.ts +16 -20
  138. package/dist/esm/models/index.js +16 -20
  139. package/dist/esm/runtime.d.ts +2 -2
  140. package/dist/esm/runtime.js +2 -2
  141. package/dist/models/BuildTaskResponse.d.ts +22 -26
  142. package/dist/models/BuildTaskResponse.js +30 -24
  143. package/dist/models/BuildTaskShortResponse.d.ts +19 -21
  144. package/dist/models/BuildTaskShortResponse.js +27 -23
  145. package/dist/models/ChangePasswordBody.d.ts +38 -0
  146. package/dist/models/ChangePasswordBody.js +54 -0
  147. package/dist/models/DeletePasskeyBody.d.ts +32 -0
  148. package/dist/models/DeletePasskeyBody.js +50 -0
  149. package/dist/models/DeviceInternalResponse.d.ts +40 -36
  150. package/dist/models/DeviceInternalResponse.js +36 -30
  151. package/dist/models/DeviceResponse.d.ts +33 -29
  152. package/dist/models/DeviceResponse.js +34 -26
  153. package/dist/models/DeviceStatsResponse.d.ts +2 -2
  154. package/dist/models/DeviceStatsResponse.js +2 -2
  155. package/dist/models/DeviceUpdateBody.d.ts +13 -13
  156. package/dist/models/DeviceUpdateBody.js +8 -8
  157. package/dist/models/ErrorResponse.d.ts +32 -0
  158. package/dist/models/ErrorResponse.js +50 -0
  159. package/dist/models/FFStatusResponse.d.ts +4 -5
  160. package/dist/models/FFStatusResponse.js +4 -5
  161. package/dist/models/GlobalStatsResponse.d.ts +52 -0
  162. package/dist/models/GlobalStatsResponse.js +62 -0
  163. package/dist/models/ListResponseBuildTaskShortResponse.d.ts +8 -8
  164. package/dist/models/ListResponseBuildTaskShortResponse.js +8 -7
  165. package/dist/models/ListResponseBuildTaskShortResponseDataInner.d.ts +87 -0
  166. package/dist/models/ListResponseBuildTaskShortResponseDataInner.js +85 -0
  167. package/dist/models/ListResponsePasteResponse.d.ts +39 -0
  168. package/dist/models/ListResponsePasteResponse.js +55 -0
  169. package/dist/models/ListResponsePasteResponseDataInner.d.ts +50 -0
  170. package/dist/models/ListResponsePasteResponseDataInner.js +60 -0
  171. package/dist/models/ListResponseReleaseResponse.d.ts +8 -8
  172. package/dist/models/ListResponseReleaseResponse.js +8 -7
  173. package/dist/models/ListResponseReleaseResponseDataInner.d.ts +155 -0
  174. package/dist/models/ListResponseReleaseResponseDataInner.js +121 -0
  175. package/dist/models/ListResponseShortDeviceResponse.d.ts +8 -8
  176. package/dist/models/ListResponseShortDeviceResponse.js +8 -7
  177. package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +98 -0
  178. package/dist/models/ListResponseShortDeviceResponseDataInner.js +92 -0
  179. package/dist/models/ListResponseString.d.ts +38 -0
  180. package/dist/models/ListResponseString.js +54 -0
  181. package/dist/models/ListResponseUserShortResponse.d.ts +8 -8
  182. package/dist/models/ListResponseUserShortResponse.js +8 -7
  183. package/dist/models/ListResponseUserShortResponseDataInner.d.ts +50 -0
  184. package/dist/models/ListResponseUserShortResponseDataInner.js +62 -0
  185. package/dist/models/LogListResponse.d.ts +5 -5
  186. package/dist/models/LogListResponse.js +6 -6
  187. package/dist/models/LogResponse.d.ts +15 -17
  188. package/dist/models/LogResponse.js +16 -16
  189. package/dist/models/LoginForm.d.ts +38 -0
  190. package/dist/models/LoginForm.js +54 -0
  191. package/dist/models/MaintainerShortResponse.d.ts +50 -0
  192. package/dist/models/MaintainerShortResponse.js +62 -0
  193. package/dist/models/NewBuildTaskBody.d.ts +13 -8
  194. package/dist/models/NewBuildTaskBody.js +8 -7
  195. package/dist/models/NewDeviceBody.d.ts +8 -8
  196. package/dist/models/NewDeviceBody.js +9 -9
  197. package/dist/models/NewReportRequest.d.ts +58 -0
  198. package/dist/models/NewReportRequest.js +62 -0
  199. package/dist/models/PasskeyCredentialResponse.d.ts +15 -15
  200. package/dist/models/PasskeyCredentialResponse.js +14 -14
  201. package/dist/models/PasskeyRegisterOptionsRequest.d.ts +3 -3
  202. package/dist/models/PasskeyRegisterOptionsRequest.js +2 -2
  203. package/dist/models/PasskeyVerifyRequest.d.ts +8 -10
  204. package/dist/models/PasskeyVerifyRequest.js +6 -6
  205. package/dist/models/PasteInput.d.ts +3 -3
  206. package/dist/models/PasteInput.js +2 -2
  207. package/dist/models/PasteResponse.d.ts +50 -0
  208. package/dist/models/PasteResponse.js +60 -0
  209. package/dist/models/RecoveryImgResponse.d.ts +6 -6
  210. package/dist/models/RecoveryImgResponse.js +6 -6
  211. package/dist/models/ReleaseGroupsResponse.d.ts +2 -2
  212. package/dist/models/ReleaseGroupsResponse.js +2 -2
  213. package/dist/models/ReleaseInternalResponse.d.ts +54 -53
  214. package/dist/models/ReleaseInternalResponse.js +52 -53
  215. package/dist/models/ReleaseResponse.d.ts +46 -42
  216. package/dist/models/ReleaseResponse.js +45 -44
  217. package/dist/models/ReleaseStatsResponse.d.ts +2 -2
  218. package/dist/models/ReleaseStatsResponse.js +2 -2
  219. package/dist/models/ReleaseUpdateBody.d.ts +9 -9
  220. package/dist/models/ReleaseUpdateBody.js +6 -6
  221. package/dist/models/RenamePasskeyBody.d.ts +3 -3
  222. package/dist/models/RenamePasskeyBody.js +2 -2
  223. package/dist/models/ShortDeviceResponse.d.ts +29 -25
  224. package/dist/models/ShortDeviceResponse.js +26 -18
  225. package/dist/models/ShortReleaseResponse.d.ts +31 -27
  226. package/dist/models/ShortReleaseResponse.js +35 -32
  227. package/dist/models/TaskUpdateBody.d.ts +7 -8
  228. package/dist/models/TaskUpdateBody.js +4 -5
  229. package/dist/models/TokenResponse.d.ts +3 -3
  230. package/dist/models/TokenResponse.js +5 -3
  231. package/dist/models/UserInternalResponse.d.ts +21 -24
  232. package/dist/models/UserInternalResponse.js +20 -23
  233. package/dist/models/UserShortResponse.d.ts +7 -7
  234. package/dist/models/UserShortResponse.js +9 -9
  235. package/dist/models/UserUpdateBody.d.ts +9 -9
  236. package/dist/models/UserUpdateBody.js +8 -8
  237. package/dist/models/WorkerStatusBody.d.ts +32 -0
  238. package/dist/models/WorkerStatusBody.js +50 -0
  239. package/dist/models/index.d.ts +16 -20
  240. package/dist/models/index.js +16 -20
  241. package/dist/runtime.d.ts +2 -2
  242. package/dist/runtime.js +2 -2
  243. package/docs/BuildTaskResponse.md +13 -13
  244. package/docs/BuildTaskShortResponse.md +12 -12
  245. package/docs/{BodyChangePasswordProfileChangePasswordPost.md → ChangePasswordBody.md} +6 -6
  246. package/docs/{PasswordConfirmationBody.md → DeletePasskeyBody.md} +5 -4
  247. package/docs/DeviceApi.md +83 -90
  248. package/docs/DeviceInternalResponse.md +22 -19
  249. package/docs/DeviceResponse.md +19 -17
  250. package/docs/DeviceUpdateBody.md +7 -6
  251. package/docs/{LocationInner.md → ErrorResponse.md} +6 -4
  252. package/docs/FFStatusResponse.md +1 -1
  253. package/docs/FoxFactoryApi.md +140 -191
  254. package/docs/GitlabApi.md +21 -14
  255. package/docs/{GlobalStatsAggregationModel.md → GlobalStatsResponse.md} +6 -6
  256. package/docs/InternalApi.md +433 -586
  257. package/docs/ListResponseBuildTaskShortResponse.md +2 -2
  258. package/docs/ListResponseBuildTaskShortResponseDataInner.md +52 -0
  259. package/docs/{ListResponseShortReleaseResponse.md → ListResponsePasteResponse.md} +6 -6
  260. package/docs/{UserGitlab.md → ListResponsePasteResponseDataInner.md} +11 -5
  261. package/docs/ListResponseReleaseResponse.md +2 -2
  262. package/docs/ListResponseReleaseResponseDataInner.md +74 -0
  263. package/docs/ListResponseShortDeviceResponse.md +2 -2
  264. package/docs/ListResponseShortDeviceResponseDataInner.md +56 -0
  265. package/docs/{ListResponseStr.md → ListResponseString.md} +6 -6
  266. package/docs/ListResponseUserShortResponse.md +2 -2
  267. package/docs/ListResponseUserShortResponseDataInner.md +40 -0
  268. package/docs/LogListResponse.md +2 -2
  269. package/docs/LogResponse.md +10 -10
  270. package/docs/{UserMail.md → LoginForm.md} +7 -4
  271. package/docs/{MaintainerShortModel.md → MaintainerShortResponse.md} +9 -7
  272. package/docs/NewBuildTaskBody.md +6 -3
  273. package/docs/NewDeviceBody.md +5 -4
  274. package/docs/{FFStatusEnum.md → NewReportRequest.md} +14 -4
  275. package/docs/PasskeyCredentialResponse.md +9 -8
  276. package/docs/PasskeyRegisterOptionsRequest.md +1 -0
  277. package/docs/PasskeyVerifyRequest.md +4 -3
  278. package/docs/PasteApi.md +25 -29
  279. package/docs/{PasteOutput.md → PasteResponse.md} +7 -7
  280. package/docs/RecoveryImgResponse.md +2 -2
  281. package/docs/ReleaseApi.md +176 -118
  282. package/docs/ReleaseInternalResponse.md +34 -31
  283. package/docs/ReleaseResponse.md +28 -26
  284. package/docs/ReleaseUpdateBody.md +5 -4
  285. package/docs/RenamePasskeyBody.md +1 -0
  286. package/docs/ReportApi.md +84 -0
  287. package/docs/ShortDeviceResponse.md +14 -12
  288. package/docs/ShortReleaseResponse.md +22 -20
  289. package/docs/StatsApi.md +10 -10
  290. package/docs/TaskUpdateBody.md +3 -2
  291. package/docs/UserInternalResponse.md +13 -13
  292. package/docs/UserShortResponse.md +4 -4
  293. package/docs/UserUpdateBody.md +7 -6
  294. package/docs/{BuildStatusEnum.md → WorkerStatusBody.md} +6 -4
  295. package/package.json +3 -12
  296. package/src/apis/DeviceApi.ts +130 -148
  297. package/src/apis/FoxFactoryApi.ts +239 -385
  298. package/src/apis/GitlabApi.ts +36 -25
  299. package/src/apis/InternalApi.ts +736 -1113
  300. package/src/apis/PasteApi.ts +47 -53
  301. package/src/apis/ReleaseApi.ts +237 -228
  302. package/src/apis/ReportApi.ts +139 -0
  303. package/src/apis/StatsApi.ts +28 -25
  304. package/src/apis/index.ts +1 -0
  305. package/src/models/BuildTaskResponse.ts +45 -57
  306. package/src/models/BuildTaskShortResponse.ts +40 -53
  307. package/src/models/ChangePasswordBody.ts +75 -0
  308. package/src/models/DeletePasskeyBody.ts +66 -0
  309. package/src/models/DeviceInternalResponse.ts +75 -66
  310. package/src/models/DeviceResponse.ts +65 -55
  311. package/src/models/DeviceStatsResponse.ts +2 -2
  312. package/src/models/DeviceUpdateBody.ts +19 -19
  313. package/src/models/ErrorResponse.ts +66 -0
  314. package/src/models/FFStatusResponse.ts +6 -16
  315. package/src/models/GlobalStatsResponse.ts +93 -0
  316. package/src/models/ListResponseBuildTaskShortResponse.ts +17 -16
  317. package/src/models/ListResponseBuildTaskShortResponseDataInner.ts +154 -0
  318. package/src/models/ListResponsePasteResponse.ts +83 -0
  319. package/src/models/ListResponsePasteResponseDataInner.ts +92 -0
  320. package/src/models/ListResponseReleaseResponse.ts +17 -16
  321. package/src/models/ListResponseReleaseResponseDataInner.ts +249 -0
  322. package/src/models/ListResponseShortDeviceResponse.ts +17 -16
  323. package/src/models/ListResponseShortDeviceResponseDataInner.ts +164 -0
  324. package/src/models/ListResponseString.ts +75 -0
  325. package/src/models/ListResponseUserShortResponse.ts +17 -16
  326. package/src/models/ListResponseUserShortResponseDataInner.ts +93 -0
  327. package/src/models/LogListResponse.ts +8 -8
  328. package/src/models/LogResponse.ts +32 -32
  329. package/src/models/LoginForm.ts +75 -0
  330. package/src/models/MaintainerShortResponse.ts +93 -0
  331. package/src/models/NewBuildTaskBody.ts +19 -21
  332. package/src/models/NewDeviceBody.ts +14 -14
  333. package/src/models/NewReportRequest.ts +100 -0
  334. package/src/models/PasskeyCredentialResponse.ts +25 -25
  335. package/src/models/PasskeyRegisterOptionsRequest.ts +3 -3
  336. package/src/models/PasskeyVerifyRequest.ts +11 -11
  337. package/src/models/PasteInput.ts +3 -3
  338. package/src/models/PasteResponse.ts +92 -0
  339. package/src/models/RecoveryImgResponse.ts +9 -9
  340. package/src/models/ReleaseGroupsResponse.ts +2 -2
  341. package/src/models/ReleaseInternalResponse.ts +104 -112
  342. package/src/models/ReleaseResponse.ts +85 -86
  343. package/src/models/ReleaseStatsResponse.ts +2 -2
  344. package/src/models/ReleaseUpdateBody.ts +13 -13
  345. package/src/models/RenamePasskeyBody.ts +3 -3
  346. package/src/models/ShortDeviceResponse.ts +50 -40
  347. package/src/models/ShortReleaseResponse.ts +62 -64
  348. package/src/models/TaskUpdateBody.ts +9 -19
  349. package/src/models/TokenResponse.ts +5 -4
  350. package/src/models/UserInternalResponse.ts +38 -59
  351. package/src/models/UserShortResponse.ts +13 -13
  352. package/src/models/UserUpdateBody.ts +15 -15
  353. package/src/models/WorkerStatusBody.ts +66 -0
  354. package/src/models/index.ts +16 -20
  355. package/src/runtime.ts +2 -2
  356. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +0 -38
  357. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +0 -47
  358. package/dist/esm/models/BuildStatusEnum.d.ts +0 -30
  359. package/dist/esm/models/BuildStatusEnum.js +0 -48
  360. package/dist/esm/models/FFStatusEnum.d.ts +0 -26
  361. package/dist/esm/models/FFStatusEnum.js +0 -44
  362. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +0 -52
  363. package/dist/esm/models/HTTPValidationError.d.ts +0 -33
  364. package/dist/esm/models/HTTPValidationError.js +0 -42
  365. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +0 -39
  366. package/dist/esm/models/ListResponseShortReleaseResponse.js +0 -47
  367. package/dist/esm/models/ListResponseStr.d.ts +0 -38
  368. package/dist/esm/models/ListResponseStr.js +0 -46
  369. package/dist/esm/models/LocationInner.d.ts +0 -26
  370. package/dist/esm/models/LocationInner.js +0 -31
  371. package/dist/esm/models/MaintainerShortModel.d.ts +0 -44
  372. package/dist/esm/models/MaintainerShortModel.js +0 -51
  373. package/dist/esm/models/PasskeyOptionsResponse.d.ts +0 -40
  374. package/dist/esm/models/PasskeyOptionsResponse.js +0 -47
  375. package/dist/esm/models/PasswordConfirmationBody.d.ts +0 -32
  376. package/dist/esm/models/PasswordConfirmationBody.js +0 -43
  377. package/dist/esm/models/PasteOutput.d.ts +0 -50
  378. package/dist/esm/models/PasteOutput.js +0 -53
  379. package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +0 -26
  380. package/dist/esm/models/ReleaseInternalResponsePropValue.js +0 -31
  381. package/dist/esm/models/ReleaseType.d.ts +0 -26
  382. package/dist/esm/models/ReleaseType.js +0 -44
  383. package/dist/esm/models/ReleasesSort.d.ts +0 -25
  384. package/dist/esm/models/ReleasesSort.js +0 -43
  385. package/dist/esm/models/ResponseGetReleases.d.ts +0 -41
  386. package/dist/esm/models/ResponseGetReleases.js +0 -46
  387. package/dist/esm/models/UserGitlab.d.ts +0 -32
  388. package/dist/esm/models/UserGitlab.js +0 -43
  389. package/dist/esm/models/UserMail.d.ts +0 -32
  390. package/dist/esm/models/UserMail.js +0 -43
  391. package/dist/esm/models/UserTelegram.d.ts +0 -32
  392. package/dist/esm/models/UserTelegram.js +0 -43
  393. package/dist/esm/models/ValidationError.d.ts +0 -57
  394. package/dist/esm/models/ValidationError.js +0 -56
  395. package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +0 -38
  396. package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +0 -54
  397. package/dist/models/BuildStatusEnum.d.ts +0 -30
  398. package/dist/models/BuildStatusEnum.js +0 -56
  399. package/dist/models/FFStatusEnum.d.ts +0 -26
  400. package/dist/models/FFStatusEnum.js +0 -52
  401. package/dist/models/GlobalStatsAggregationModel.d.ts +0 -52
  402. package/dist/models/GlobalStatsAggregationModel.js +0 -62
  403. package/dist/models/HTTPValidationError.d.ts +0 -33
  404. package/dist/models/HTTPValidationError.js +0 -49
  405. package/dist/models/ListResponseShortReleaseResponse.d.ts +0 -39
  406. package/dist/models/ListResponseShortReleaseResponse.js +0 -54
  407. package/dist/models/ListResponseStr.d.ts +0 -38
  408. package/dist/models/ListResponseStr.js +0 -53
  409. package/dist/models/LocationInner.d.ts +0 -26
  410. package/dist/models/LocationInner.js +0 -38
  411. package/dist/models/MaintainerShortModel.d.ts +0 -44
  412. package/dist/models/MaintainerShortModel.js +0 -58
  413. package/dist/models/PasskeyOptionsResponse.d.ts +0 -40
  414. package/dist/models/PasskeyOptionsResponse.js +0 -54
  415. package/dist/models/PasswordConfirmationBody.d.ts +0 -32
  416. package/dist/models/PasswordConfirmationBody.js +0 -50
  417. package/dist/models/PasteOutput.d.ts +0 -50
  418. package/dist/models/PasteOutput.js +0 -60
  419. package/dist/models/ReleaseInternalResponsePropValue.d.ts +0 -26
  420. package/dist/models/ReleaseInternalResponsePropValue.js +0 -38
  421. package/dist/models/ReleaseType.d.ts +0 -26
  422. package/dist/models/ReleaseType.js +0 -52
  423. package/dist/models/ReleasesSort.d.ts +0 -25
  424. package/dist/models/ReleasesSort.js +0 -51
  425. package/dist/models/ResponseGetReleases.d.ts +0 -41
  426. package/dist/models/ResponseGetReleases.js +0 -53
  427. package/dist/models/UserGitlab.d.ts +0 -32
  428. package/dist/models/UserGitlab.js +0 -50
  429. package/dist/models/UserMail.d.ts +0 -32
  430. package/dist/models/UserMail.js +0 -50
  431. package/dist/models/UserTelegram.d.ts +0 -32
  432. package/dist/models/UserTelegram.js +0 -50
  433. package/dist/models/ValidationError.d.ts +0 -57
  434. package/dist/models/ValidationError.js +0 -63
  435. package/docs/HTTPValidationError.md +0 -34
  436. package/docs/PasskeyOptionsResponse.md +0 -36
  437. package/docs/ReleaseInternalResponsePropValue.md +0 -32
  438. package/docs/ReleaseType.md +0 -32
  439. package/docs/ReleasesSort.md +0 -32
  440. package/docs/ResponseGetReleases.md +0 -36
  441. package/docs/UserTelegram.md +0 -34
  442. package/docs/ValidationError.md +0 -42
  443. package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +0 -75
  444. package/src/models/BuildStatusEnum.ts +0 -58
  445. package/src/models/FFStatusEnum.ts +0 -54
  446. package/src/models/GlobalStatsAggregationModel.ts +0 -93
  447. package/src/models/HTTPValidationError.ts +0 -73
  448. package/src/models/ListResponseShortReleaseResponse.ts +0 -82
  449. package/src/models/ListResponseStr.ts +0 -74
  450. package/src/models/LocationInner.ts +0 -46
  451. package/src/models/MaintainerShortModel.ts +0 -84
  452. package/src/models/PasskeyOptionsResponse.ts +0 -75
  453. package/src/models/PasswordConfirmationBody.ts +0 -66
  454. package/src/models/PasteOutput.ts +0 -92
  455. package/src/models/ReleaseInternalResponsePropValue.ts +0 -46
  456. package/src/models/ReleaseType.ts +0 -54
  457. package/src/models/ReleasesSort.ts +0 -53
  458. package/src/models/ResponseGetReleases.ts +0 -96
  459. package/src/models/UserGitlab.ts +0 -66
  460. package/src/models/UserMail.ts +0 -66
  461. package/src/models/UserTelegram.ts +0 -66
  462. package/src/models/ValidationError.ts +0 -108
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Fox API
3
- * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
3
+ * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.4.0
5
+ * The version of the OpenAPI document: 6.0.4
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,36 +10,34 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BuildTaskResponse, FFStatusResponse, ListResponseBuildTaskShortResponse, NewBuildTaskBody, TaskUpdateBody } from '../models/index';
14
- export interface CancelTaskFactoryTaskIdCancelPostRequest {
13
+ import type { BuildTaskResponse, FFStatusResponse, ListResponseBuildTaskShortResponse, NewBuildTaskBody, TaskUpdateBody, WorkerStatusBody } from '../models/index';
14
+ export interface CancelTaskRequest {
15
15
  taskId: string;
16
16
  }
17
- export interface DeleteTaskFactoryTaskIdDeleteRequest {
17
+ export interface CreateTaskRequest {
18
+ newBuildTaskBody: NewBuildTaskBody;
19
+ }
20
+ export interface DeleteTaskRequest {
18
21
  taskId: string;
19
22
  }
20
- export interface DownloadArtifactFactoryTaskIdArtifactGetRequest {
23
+ export interface DownloadArtifactRequest {
21
24
  taskId: string;
22
25
  }
23
- export interface GetTaskFactoryTaskIdGetRequest {
26
+ export interface GetTaskRequest {
24
27
  taskId: string;
25
28
  }
26
- export interface ListTasksFactoryGetRequest {
29
+ export interface ListTasksRequest {
27
30
  deviceId?: string | null;
28
31
  }
29
- export interface NewTaskFactoryPostRequest {
30
- newBuildTaskBody: NewBuildTaskBody;
31
- }
32
- export interface UpdateTaskFactoryTaskIdPatchRequest {
32
+ export interface UpdateTaskRequest {
33
33
  taskId: string;
34
34
  taskUpdateBody: TaskUpdateBody;
35
35
  }
36
- export interface UpdateWorkerStatusFactoryUpdateStatusPostRequest {
37
- body: string;
36
+ export interface UpdateWorkerStatusRequest {
37
+ workerStatusBody: WorkerStatusBody;
38
38
  }
39
- export interface UploadArtifactFactoryTaskIdArtifactPostRequest {
39
+ export interface UploadArtifactRequest {
40
40
  taskId: string;
41
- artifact: string;
42
- md5Hash: string;
43
41
  }
44
42
  /**
45
43
  * FoxFactoryApi - interface
@@ -49,362 +47,328 @@ export interface UploadArtifactFactoryTaskIdArtifactPostRequest {
49
47
  */
50
48
  export interface FoxFactoryApiInterface {
51
49
  /**
52
- * Creates request options for cancelTaskFactoryTaskIdCancelPost without sending the request
53
- * @param {string} taskId
50
+ * Creates request options for cancelTask without sending the request
51
+ * @param {string} taskId Build task ID
54
52
  * @throws {RequiredError}
55
53
  * @memberof FoxFactoryApiInterface
56
54
  */
57
- cancelTaskFactoryTaskIdCancelPostRequestOpts(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest): Promise<runtime.RequestOpts>;
55
+ cancelTaskRequestOpts(requestParameters: CancelTaskRequest): Promise<runtime.RequestOpts>;
58
56
  /**
59
- * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
60
- * @summary Cancel Task
61
- * @param {string} taskId
57
+ *
58
+ * @summary POST /internal/factory/{task_id}/cancel – Cancel a running build task.
59
+ * @param {string} taskId Build task ID
62
60
  * @param {*} [options] Override http request option.
63
61
  * @throws {RequiredError}
64
62
  * @memberof FoxFactoryApiInterface
65
63
  */
66
- cancelTaskFactoryTaskIdCancelPostRaw(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
64
+ cancelTaskRaw(requestParameters: CancelTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
67
65
  /**
68
- * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
69
- * Cancel Task
66
+ * POST /internal/factory/{task_id}/cancel Cancel a running build task.
70
67
  */
71
- cancelTaskFactoryTaskIdCancelPost(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
68
+ cancelTask(requestParameters: CancelTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
72
69
  /**
73
- * Creates request options for deleteTaskFactoryTaskIdDelete without sending the request
74
- * @param {string} taskId
70
+ * Creates request options for createTask without sending the request
71
+ * @param {NewBuildTaskBody} newBuildTaskBody
75
72
  * @throws {RequiredError}
76
73
  * @memberof FoxFactoryApiInterface
77
74
  */
78
- deleteTaskFactoryTaskIdDeleteRequestOpts(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest): Promise<runtime.RequestOpts>;
75
+ createTaskRequestOpts(requestParameters: CreateTaskRequest): Promise<runtime.RequestOpts>;
79
76
  /**
80
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised. Also deletes any associated artifact files.
81
- * @summary Delete Task
82
- * @param {string} taskId
77
+ *
78
+ * @summary POST /internal/factory – Create a new build task.
79
+ * @param {NewBuildTaskBody} newBuildTaskBody
83
80
  * @param {*} [options] Override http request option.
84
81
  * @throws {RequiredError}
85
82
  * @memberof FoxFactoryApiInterface
86
83
  */
87
- deleteTaskFactoryTaskIdDeleteRaw(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
84
+ createTaskRaw(requestParameters: CreateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
88
85
  /**
89
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised. Also deletes any associated artifact files.
90
- * Delete Task
86
+ * POST /internal/factory Create a new build task.
91
87
  */
92
- deleteTaskFactoryTaskIdDelete(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
88
+ createTask(requestParameters: CreateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
93
89
  /**
94
- * Creates request options for downloadArtifactFactoryTaskIdArtifactGet without sending the request
95
- * @param {string} taskId
90
+ * Creates request options for deleteTask without sending the request
91
+ * @param {string} taskId Build task ID
96
92
  * @throws {RequiredError}
97
93
  * @memberof FoxFactoryApiInterface
98
94
  */
99
- downloadArtifactFactoryTaskIdArtifactGetRequestOpts(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest): Promise<runtime.RequestOpts>;
95
+ deleteTaskRequestOpts(requestParameters: DeleteTaskRequest): Promise<runtime.RequestOpts>;
100
96
  /**
101
- * Download the artifact file for a specific build task. This endpoint allows maintainers and foxfactory workers to download the artifact file associated with a build task. Parameters: task_id: The ID of the build task
102
- * @summary Download Artifact
103
- * @param {string} taskId
97
+ *
98
+ * @summary DELETE /internal/factory/{task_id} – Delete a build task and its artifact.
99
+ * @param {string} taskId Build task ID
104
100
  * @param {*} [options] Override http request option.
105
101
  * @throws {RequiredError}
106
102
  * @memberof FoxFactoryApiInterface
107
103
  */
108
- downloadArtifactFactoryTaskIdArtifactGetRaw(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
104
+ deleteTaskRaw(requestParameters: DeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
109
105
  /**
110
- * Download the artifact file for a specific build task. This endpoint allows maintainers and foxfactory workers to download the artifact file associated with a build task. Parameters: task_id: The ID of the build task
111
- * Download Artifact
106
+ * DELETE /internal/factory/{task_id} Delete a build task and its artifact.
112
107
  */
113
- downloadArtifactFactoryTaskIdArtifactGet(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
108
+ deleteTask(requestParameters: DeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
114
109
  /**
115
- * Creates request options for factoryStatusFactoryStatusGet without sending the request
110
+ * Creates request options for downloadArtifact without sending the request
111
+ * @param {string} taskId Build task ID
116
112
  * @throws {RequiredError}
117
113
  * @memberof FoxFactoryApiInterface
118
114
  */
119
- factoryStatusFactoryStatusGetRequestOpts(): Promise<runtime.RequestOpts>;
115
+ downloadArtifactRequestOpts(requestParameters: DownloadArtifactRequest): Promise<runtime.RequestOpts>;
120
116
  /**
121
- * Endpoint for clients to get the current status of the worker. If the last update was longer than the defined timeout, worker is considered offline.
122
- * @summary Factory Status
117
+ *
118
+ * @summary GET /internal/factory/{task_id}/artifact – Download a build artifact.
119
+ * @param {string} taskId Build task ID
123
120
  * @param {*} [options] Override http request option.
124
121
  * @throws {RequiredError}
125
122
  * @memberof FoxFactoryApiInterface
126
123
  */
127
- factoryStatusFactoryStatusGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FFStatusResponse>>;
124
+ downloadArtifactRaw(requestParameters: DownloadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
128
125
  /**
129
- * Endpoint for clients to get the current status of the worker. If the last update was longer than the defined timeout, worker is considered offline.
130
- * Factory Status
126
+ * GET /internal/factory/{task_id}/artifact Download a build artifact.
131
127
  */
132
- factoryStatusFactoryStatusGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FFStatusResponse>;
128
+ downloadArtifact(requestParameters: DownloadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
133
129
  /**
134
- * Creates request options for getTaskFactoryTaskIdGet without sending the request
135
- * @param {string} taskId
130
+ * Creates request options for getFactoryStatus without sending the request
136
131
  * @throws {RequiredError}
137
132
  * @memberof FoxFactoryApiInterface
138
133
  */
139
- getTaskFactoryTaskIdGetRequestOpts(requestParameters: GetTaskFactoryTaskIdGetRequest): Promise<runtime.RequestOpts>;
134
+ getFactoryStatusRequestOpts(): Promise<runtime.RequestOpts>;
140
135
  /**
141
- * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
142
- * @summary Get Task
143
- * @param {string} taskId
136
+ *
137
+ * @summary GET /internal/factory/status – Get the current FoxFactory worker status.
144
138
  * @param {*} [options] Override http request option.
145
139
  * @throws {RequiredError}
146
140
  * @memberof FoxFactoryApiInterface
147
141
  */
148
- getTaskFactoryTaskIdGetRaw(requestParameters: GetTaskFactoryTaskIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
142
+ getFactoryStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FFStatusResponse>>;
149
143
  /**
150
- * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
151
- * Get Task
144
+ * GET /internal/factory/status Get the current FoxFactory worker status.
152
145
  */
153
- getTaskFactoryTaskIdGet(requestParameters: GetTaskFactoryTaskIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
146
+ getFactoryStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FFStatusResponse>;
154
147
  /**
155
- * Creates request options for listTasksFactoryGet without sending the request
156
- * @param {string} [deviceId]
148
+ * Creates request options for getTask without sending the request
149
+ * @param {string} taskId Build task ID
157
150
  * @throws {RequiredError}
158
151
  * @memberof FoxFactoryApiInterface
159
152
  */
160
- listTasksFactoryGetRequestOpts(requestParameters: ListTasksFactoryGetRequest): Promise<runtime.RequestOpts>;
153
+ getTaskRequestOpts(requestParameters: GetTaskRequest): Promise<runtime.RequestOpts>;
161
154
  /**
162
- * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
163
- * @summary List Tasks
164
- * @param {string} [deviceId]
155
+ *
156
+ * @summary GET /internal/factory/{task_id} – Get a single build task.
157
+ * @param {string} taskId Build task ID
165
158
  * @param {*} [options] Override http request option.
166
159
  * @throws {RequiredError}
167
160
  * @memberof FoxFactoryApiInterface
168
161
  */
169
- listTasksFactoryGetRaw(requestParameters: ListTasksFactoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseBuildTaskShortResponse>>;
162
+ getTaskRaw(requestParameters: GetTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
170
163
  /**
171
- * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
172
- * List Tasks
164
+ * GET /internal/factory/{task_id} Get a single build task.
173
165
  */
174
- listTasksFactoryGet(requestParameters: ListTasksFactoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseBuildTaskShortResponse>;
166
+ getTask(requestParameters: GetTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
175
167
  /**
176
- * Creates request options for newTaskFactoryPost without sending the request
177
- * @param {NewBuildTaskBody} newBuildTaskBody
168
+ * Creates request options for listTasks without sending the request
169
+ * @param {string} [deviceId]
178
170
  * @throws {RequiredError}
179
171
  * @memberof FoxFactoryApiInterface
180
172
  */
181
- newTaskFactoryPostRequestOpts(requestParameters: NewTaskFactoryPostRequest): Promise<runtime.RequestOpts>;
173
+ listTasksRequestOpts(requestParameters: ListTasksRequest): Promise<runtime.RequestOpts>;
182
174
  /**
183
- * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
184
- * @summary New Task
185
- * @param {NewBuildTaskBody} newBuildTaskBody
175
+ *
176
+ * @summary GET /internal/factory – List build tasks.
177
+ * @param {string} [deviceId]
186
178
  * @param {*} [options] Override http request option.
187
179
  * @throws {RequiredError}
188
180
  * @memberof FoxFactoryApiInterface
189
181
  */
190
- newTaskFactoryPostRaw(requestParameters: NewTaskFactoryPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
182
+ listTasksRaw(requestParameters: ListTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseBuildTaskShortResponse>>;
191
183
  /**
192
- * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
193
- * New Task
184
+ * GET /internal/factory List build tasks.
194
185
  */
195
- newTaskFactoryPost(requestParameters: NewTaskFactoryPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
186
+ listTasks(requestParameters: ListTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseBuildTaskShortResponse>;
196
187
  /**
197
- * Creates request options for updateTaskFactoryTaskIdPatch without sending the request
198
- * @param {string} taskId
188
+ * Creates request options for updateTask without sending the request
189
+ * @param {string} taskId Build task ID
199
190
  * @param {TaskUpdateBody} taskUpdateBody
200
191
  * @throws {RequiredError}
201
192
  * @memberof FoxFactoryApiInterface
202
193
  */
203
- updateTaskFactoryTaskIdPatchRequestOpts(requestParameters: UpdateTaskFactoryTaskIdPatchRequest): Promise<runtime.RequestOpts>;
194
+ updateTaskRequestOpts(requestParameters: UpdateTaskRequest): Promise<runtime.RequestOpts>;
204
195
  /**
205
- * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
206
- * @summary Update Task
207
- * @param {string} taskId
196
+ *
197
+ * @summary PATCH /internal/factory/{task_id} – Update task status / logs.
198
+ * @param {string} taskId Build task ID
208
199
  * @param {TaskUpdateBody} taskUpdateBody
209
200
  * @param {*} [options] Override http request option.
210
201
  * @throws {RequiredError}
211
202
  * @memberof FoxFactoryApiInterface
212
203
  */
213
- updateTaskFactoryTaskIdPatchRaw(requestParameters: UpdateTaskFactoryTaskIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
204
+ updateTaskRaw(requestParameters: UpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
214
205
  /**
215
- * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
216
- * Update Task
206
+ * PATCH /internal/factory/{task_id} Update task status / logs.
217
207
  */
218
- updateTaskFactoryTaskIdPatch(requestParameters: UpdateTaskFactoryTaskIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
208
+ updateTask(requestParameters: UpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
219
209
  /**
220
- * Creates request options for updateWorkerStatusFactoryUpdateStatusPost without sending the request
221
- * @param {string} body
210
+ * Creates request options for updateWorkerStatus without sending the request
211
+ * @param {WorkerStatusBody} workerStatusBody
222
212
  * @throws {RequiredError}
223
213
  * @memberof FoxFactoryApiInterface
224
214
  */
225
- updateWorkerStatusFactoryUpdateStatusPostRequestOpts(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest): Promise<runtime.RequestOpts>;
215
+ updateWorkerStatusRequestOpts(requestParameters: UpdateWorkerStatusRequest): Promise<runtime.RequestOpts>;
226
216
  /**
227
- * Endpoint for FoxFactory worker to update its status.
228
- * @summary Update Worker Status
229
- * @param {string} body
217
+ *
218
+ * @summary POST /internal/factory/update_status – Worker heartbeat / status update.
219
+ * @param {WorkerStatusBody} workerStatusBody
230
220
  * @param {*} [options] Override http request option.
231
221
  * @throws {RequiredError}
232
222
  * @memberof FoxFactoryApiInterface
233
223
  */
234
- updateWorkerStatusFactoryUpdateStatusPostRaw(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
224
+ updateWorkerStatusRaw(requestParameters: UpdateWorkerStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
235
225
  /**
236
- * Endpoint for FoxFactory worker to update its status.
237
- * Update Worker Status
226
+ * POST /internal/factory/update_status Worker heartbeat / status update.
238
227
  */
239
- updateWorkerStatusFactoryUpdateStatusPost(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
228
+ updateWorkerStatus(requestParameters: UpdateWorkerStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
240
229
  /**
241
- * Creates request options for uploadArtifactFactoryTaskIdArtifactPost without sending the request
242
- * @param {string} taskId
243
- * @param {string} artifact
244
- * @param {string} md5Hash
230
+ * Creates request options for uploadArtifact without sending the request
231
+ * @param {string} taskId Build task ID
245
232
  * @throws {RequiredError}
246
233
  * @memberof FoxFactoryApiInterface
247
234
  */
248
- uploadArtifactFactoryTaskIdArtifactPostRequestOpts(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest): Promise<runtime.RequestOpts>;
235
+ uploadArtifactRequestOpts(requestParameters: UploadArtifactRequest): Promise<runtime.RequestOpts>;
249
236
  /**
250
- * Upload an artifact zip file for a specific build task. This endpoint allows foxfactory workers to upload an artifact zip file, verifies its MD5 hash, and stores it in the appropriate directory. Parameters: task_id: The ID of the build task artifact: The artifact zip file to upload md5_hash: The expected MD5 hash of the artifact file
251
- * @summary Upload Artifact
252
- * @param {string} taskId
253
- * @param {string} artifact
254
- * @param {string} md5Hash
237
+ *
238
+ * @summary POST /internal/factory/{task_id}/artifact – Upload a build artifact.
239
+ * @param {string} taskId Build task ID
255
240
  * @param {*} [options] Override http request option.
256
241
  * @throws {RequiredError}
257
242
  * @memberof FoxFactoryApiInterface
258
243
  */
259
- uploadArtifactFactoryTaskIdArtifactPostRaw(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
244
+ uploadArtifactRaw(requestParameters: UploadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
260
245
  /**
261
- * Upload an artifact zip file for a specific build task. This endpoint allows foxfactory workers to upload an artifact zip file, verifies its MD5 hash, and stores it in the appropriate directory. Parameters: task_id: The ID of the build task artifact: The artifact zip file to upload md5_hash: The expected MD5 hash of the artifact file
262
- * Upload Artifact
246
+ * POST /internal/factory/{task_id}/artifact Upload a build artifact.
263
247
  */
264
- uploadArtifactFactoryTaskIdArtifactPost(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
248
+ uploadArtifact(requestParameters: UploadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
265
249
  }
266
250
  /**
267
251
  *
268
252
  */
269
253
  export declare class FoxFactoryApi extends runtime.BaseAPI implements FoxFactoryApiInterface {
270
254
  /**
271
- * Creates request options for cancelTaskFactoryTaskIdCancelPost without sending the request
255
+ * Creates request options for cancelTask without sending the request
272
256
  */
273
- cancelTaskFactoryTaskIdCancelPostRequestOpts(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest): Promise<runtime.RequestOpts>;
257
+ cancelTaskRequestOpts(requestParameters: CancelTaskRequest): Promise<runtime.RequestOpts>;
274
258
  /**
275
- * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
276
- * Cancel Task
259
+ * POST /internal/factory/{task_id}/cancel Cancel a running build task.
277
260
  */
278
- cancelTaskFactoryTaskIdCancelPostRaw(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
261
+ cancelTaskRaw(requestParameters: CancelTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
279
262
  /**
280
- * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
281
- * Cancel Task
263
+ * POST /internal/factory/{task_id}/cancel Cancel a running build task.
282
264
  */
283
- cancelTaskFactoryTaskIdCancelPost(requestParameters: CancelTaskFactoryTaskIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
265
+ cancelTask(requestParameters: CancelTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
284
266
  /**
285
- * Creates request options for deleteTaskFactoryTaskIdDelete without sending the request
267
+ * Creates request options for createTask without sending the request
286
268
  */
287
- deleteTaskFactoryTaskIdDeleteRequestOpts(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest): Promise<runtime.RequestOpts>;
269
+ createTaskRequestOpts(requestParameters: CreateTaskRequest): Promise<runtime.RequestOpts>;
288
270
  /**
289
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised. Also deletes any associated artifact files.
290
- * Delete Task
271
+ * POST /internal/factory Create a new build task.
291
272
  */
292
- deleteTaskFactoryTaskIdDeleteRaw(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
273
+ createTaskRaw(requestParameters: CreateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
293
274
  /**
294
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised. Also deletes any associated artifact files.
295
- * Delete Task
275
+ * POST /internal/factory Create a new build task.
296
276
  */
297
- deleteTaskFactoryTaskIdDelete(requestParameters: DeleteTaskFactoryTaskIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
277
+ createTask(requestParameters: CreateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
298
278
  /**
299
- * Creates request options for downloadArtifactFactoryTaskIdArtifactGet without sending the request
279
+ * Creates request options for deleteTask without sending the request
300
280
  */
301
- downloadArtifactFactoryTaskIdArtifactGetRequestOpts(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest): Promise<runtime.RequestOpts>;
281
+ deleteTaskRequestOpts(requestParameters: DeleteTaskRequest): Promise<runtime.RequestOpts>;
302
282
  /**
303
- * Download the artifact file for a specific build task. This endpoint allows maintainers and foxfactory workers to download the artifact file associated with a build task. Parameters: task_id: The ID of the build task
304
- * Download Artifact
283
+ * DELETE /internal/factory/{task_id} Delete a build task and its artifact.
305
284
  */
306
- downloadArtifactFactoryTaskIdArtifactGetRaw(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
285
+ deleteTaskRaw(requestParameters: DeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
307
286
  /**
308
- * Download the artifact file for a specific build task. This endpoint allows maintainers and foxfactory workers to download the artifact file associated with a build task. Parameters: task_id: The ID of the build task
309
- * Download Artifact
287
+ * DELETE /internal/factory/{task_id} Delete a build task and its artifact.
310
288
  */
311
- downloadArtifactFactoryTaskIdArtifactGet(requestParameters: DownloadArtifactFactoryTaskIdArtifactGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
289
+ deleteTask(requestParameters: DeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
312
290
  /**
313
- * Creates request options for factoryStatusFactoryStatusGet without sending the request
291
+ * Creates request options for downloadArtifact without sending the request
314
292
  */
315
- factoryStatusFactoryStatusGetRequestOpts(): Promise<runtime.RequestOpts>;
293
+ downloadArtifactRequestOpts(requestParameters: DownloadArtifactRequest): Promise<runtime.RequestOpts>;
316
294
  /**
317
- * Endpoint for clients to get the current status of the worker. If the last update was longer than the defined timeout, worker is considered offline.
318
- * Factory Status
295
+ * GET /internal/factory/{task_id}/artifact Download a build artifact.
319
296
  */
320
- factoryStatusFactoryStatusGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FFStatusResponse>>;
297
+ downloadArtifactRaw(requestParameters: DownloadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
321
298
  /**
322
- * Endpoint for clients to get the current status of the worker. If the last update was longer than the defined timeout, worker is considered offline.
323
- * Factory Status
299
+ * GET /internal/factory/{task_id}/artifact Download a build artifact.
324
300
  */
325
- factoryStatusFactoryStatusGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FFStatusResponse>;
301
+ downloadArtifact(requestParameters: DownloadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
326
302
  /**
327
- * Creates request options for getTaskFactoryTaskIdGet without sending the request
303
+ * Creates request options for getFactoryStatus without sending the request
328
304
  */
329
- getTaskFactoryTaskIdGetRequestOpts(requestParameters: GetTaskFactoryTaskIdGetRequest): Promise<runtime.RequestOpts>;
305
+ getFactoryStatusRequestOpts(): Promise<runtime.RequestOpts>;
330
306
  /**
331
- * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
332
- * Get Task
307
+ * GET /internal/factory/status Get the current FoxFactory worker status.
333
308
  */
334
- getTaskFactoryTaskIdGetRaw(requestParameters: GetTaskFactoryTaskIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
309
+ getFactoryStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FFStatusResponse>>;
335
310
  /**
336
- * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
337
- * Get Task
311
+ * GET /internal/factory/status Get the current FoxFactory worker status.
338
312
  */
339
- getTaskFactoryTaskIdGet(requestParameters: GetTaskFactoryTaskIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
313
+ getFactoryStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FFStatusResponse>;
340
314
  /**
341
- * Creates request options for listTasksFactoryGet without sending the request
315
+ * Creates request options for getTask without sending the request
342
316
  */
343
- listTasksFactoryGetRequestOpts(requestParameters: ListTasksFactoryGetRequest): Promise<runtime.RequestOpts>;
317
+ getTaskRequestOpts(requestParameters: GetTaskRequest): Promise<runtime.RequestOpts>;
344
318
  /**
345
- * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
346
- * List Tasks
319
+ * GET /internal/factory/{task_id} Get a single build task.
347
320
  */
348
- listTasksFactoryGetRaw(requestParameters: ListTasksFactoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseBuildTaskShortResponse>>;
321
+ getTaskRaw(requestParameters: GetTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuildTaskResponse>>;
349
322
  /**
350
- * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
351
- * List Tasks
323
+ * GET /internal/factory/{task_id} Get a single build task.
352
324
  */
353
- listTasksFactoryGet(requestParameters?: ListTasksFactoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseBuildTaskShortResponse>;
325
+ getTask(requestParameters: GetTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuildTaskResponse>;
354
326
  /**
355
- * Creates request options for newTaskFactoryPost without sending the request
327
+ * Creates request options for listTasks without sending the request
356
328
  */
357
- newTaskFactoryPostRequestOpts(requestParameters: NewTaskFactoryPostRequest): Promise<runtime.RequestOpts>;
329
+ listTasksRequestOpts(requestParameters: ListTasksRequest): Promise<runtime.RequestOpts>;
358
330
  /**
359
- * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
360
- * New Task
331
+ * GET /internal/factory List build tasks.
361
332
  */
362
- newTaskFactoryPostRaw(requestParameters: NewTaskFactoryPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
333
+ listTasksRaw(requestParameters: ListTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseBuildTaskShortResponse>>;
363
334
  /**
364
- * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
365
- * New Task
335
+ * GET /internal/factory List build tasks.
366
336
  */
367
- newTaskFactoryPost(requestParameters: NewTaskFactoryPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
337
+ listTasks(requestParameters?: ListTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseBuildTaskShortResponse>;
368
338
  /**
369
- * Creates request options for updateTaskFactoryTaskIdPatch without sending the request
339
+ * Creates request options for updateTask without sending the request
370
340
  */
371
- updateTaskFactoryTaskIdPatchRequestOpts(requestParameters: UpdateTaskFactoryTaskIdPatchRequest): Promise<runtime.RequestOpts>;
341
+ updateTaskRequestOpts(requestParameters: UpdateTaskRequest): Promise<runtime.RequestOpts>;
372
342
  /**
373
- * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
374
- * Update Task
343
+ * PATCH /internal/factory/{task_id} Update task status / logs.
375
344
  */
376
- updateTaskFactoryTaskIdPatchRaw(requestParameters: UpdateTaskFactoryTaskIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
345
+ updateTaskRaw(requestParameters: UpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
377
346
  /**
378
- * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
379
- * Update Task
347
+ * PATCH /internal/factory/{task_id} Update task status / logs.
380
348
  */
381
- updateTaskFactoryTaskIdPatch(requestParameters: UpdateTaskFactoryTaskIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
349
+ updateTask(requestParameters: UpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
382
350
  /**
383
- * Creates request options for updateWorkerStatusFactoryUpdateStatusPost without sending the request
351
+ * Creates request options for updateWorkerStatus without sending the request
384
352
  */
385
- updateWorkerStatusFactoryUpdateStatusPostRequestOpts(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest): Promise<runtime.RequestOpts>;
353
+ updateWorkerStatusRequestOpts(requestParameters: UpdateWorkerStatusRequest): Promise<runtime.RequestOpts>;
386
354
  /**
387
- * Endpoint for FoxFactory worker to update its status.
388
- * Update Worker Status
355
+ * POST /internal/factory/update_status Worker heartbeat / status update.
389
356
  */
390
- updateWorkerStatusFactoryUpdateStatusPostRaw(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
357
+ updateWorkerStatusRaw(requestParameters: UpdateWorkerStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
391
358
  /**
392
- * Endpoint for FoxFactory worker to update its status.
393
- * Update Worker Status
359
+ * POST /internal/factory/update_status Worker heartbeat / status update.
394
360
  */
395
- updateWorkerStatusFactoryUpdateStatusPost(requestParameters: UpdateWorkerStatusFactoryUpdateStatusPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
361
+ updateWorkerStatus(requestParameters: UpdateWorkerStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
396
362
  /**
397
- * Creates request options for uploadArtifactFactoryTaskIdArtifactPost without sending the request
363
+ * Creates request options for uploadArtifact without sending the request
398
364
  */
399
- uploadArtifactFactoryTaskIdArtifactPostRequestOpts(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest): Promise<runtime.RequestOpts>;
365
+ uploadArtifactRequestOpts(requestParameters: UploadArtifactRequest): Promise<runtime.RequestOpts>;
400
366
  /**
401
- * Upload an artifact zip file for a specific build task. This endpoint allows foxfactory workers to upload an artifact zip file, verifies its MD5 hash, and stores it in the appropriate directory. Parameters: task_id: The ID of the build task artifact: The artifact zip file to upload md5_hash: The expected MD5 hash of the artifact file
402
- * Upload Artifact
367
+ * POST /internal/factory/{task_id}/artifact Upload a build artifact.
403
368
  */
404
- uploadArtifactFactoryTaskIdArtifactPostRaw(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
369
+ uploadArtifactRaw(requestParameters: UploadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
405
370
  /**
406
- * Upload an artifact zip file for a specific build task. This endpoint allows foxfactory workers to upload an artifact zip file, verifies its MD5 hash, and stores it in the appropriate directory. Parameters: task_id: The ID of the build task artifact: The artifact zip file to upload md5_hash: The expected MD5 hash of the artifact file
407
- * Upload Artifact
371
+ * POST /internal/factory/{task_id}/artifact Upload a build artifact.
408
372
  */
409
- uploadArtifactFactoryTaskIdArtifactPost(requestParameters: UploadArtifactFactoryTaskIdArtifactPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
373
+ uploadArtifact(requestParameters: UploadArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
410
374
  }