@orangefox-recovery/foxinternalclient 5.2.6 → 5.2.8

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 (369) hide show
  1. package/.openapi-generator/FILES +58 -60
  2. package/README.md +3 -122
  3. package/dist/apis/DeviceApi.d.ts +158 -0
  4. package/dist/apis/DeviceApi.js +188 -0
  5. package/dist/apis/FoxFactoryApi.d.ts +298 -0
  6. package/dist/apis/FoxFactoryApi.js +507 -0
  7. package/dist/apis/GitlabApi.d.ts +51 -0
  8. package/dist/apis/GitlabApi.js +71 -0
  9. package/dist/apis/InternalApi.d.ts +549 -0
  10. package/dist/apis/InternalApi.js +957 -0
  11. package/dist/apis/PasteApi.d.ts +80 -0
  12. package/dist/apis/PasteApi.js +95 -0
  13. package/dist/apis/ReleaseApi.d.ts +188 -0
  14. package/dist/apis/ReleaseApi.js +226 -0
  15. package/dist/apis/StatsApi.d.ts +49 -0
  16. package/dist/apis/StatsApi.js +60 -0
  17. package/dist/apis/index.d.ts +7 -0
  18. package/dist/apis/index.js +25 -0
  19. package/dist/esm/apis/DeviceApi.d.ts +158 -0
  20. package/dist/esm/apis/DeviceApi.js +184 -0
  21. package/dist/esm/apis/FoxFactoryApi.d.ts +298 -0
  22. package/dist/esm/apis/FoxFactoryApi.js +503 -0
  23. package/dist/esm/apis/GitlabApi.d.ts +51 -0
  24. package/dist/esm/apis/GitlabApi.js +67 -0
  25. package/dist/esm/apis/InternalApi.d.ts +549 -0
  26. package/dist/esm/apis/InternalApi.js +953 -0
  27. package/dist/esm/apis/PasteApi.d.ts +80 -0
  28. package/dist/esm/apis/PasteApi.js +91 -0
  29. package/dist/esm/apis/ReleaseApi.d.ts +188 -0
  30. package/dist/esm/apis/ReleaseApi.js +222 -0
  31. package/dist/esm/apis/StatsApi.d.ts +49 -0
  32. package/dist/esm/apis/StatsApi.js +56 -0
  33. package/dist/esm/apis/index.d.ts +7 -0
  34. package/dist/esm/apis/index.js +9 -0
  35. package/dist/esm/index.d.ts +3 -13
  36. package/dist/esm/index.js +3 -13
  37. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
  38. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +47 -0
  39. package/dist/esm/models/BuildStatusEnum.d.ts +30 -0
  40. package/dist/esm/models/BuildStatusEnum.js +48 -0
  41. package/dist/esm/models/BuildTaskResponse.d.ts +103 -0
  42. package/dist/esm/models/BuildTaskResponse.js +78 -0
  43. package/dist/esm/models/BuildTaskShortResponse.d.ts +89 -0
  44. package/dist/esm/models/BuildTaskShortResponse.js +74 -0
  45. package/dist/esm/models/DeviceInternalResponse.d.ts +114 -0
  46. package/dist/esm/models/DeviceInternalResponse.js +91 -0
  47. package/dist/esm/models/DeviceResponse.d.ts +101 -0
  48. package/dist/esm/models/DeviceResponse.js +82 -0
  49. package/dist/esm/models/DeviceStatsResponse.d.ts +48 -0
  50. package/dist/esm/models/DeviceStatsResponse.js +51 -0
  51. package/dist/esm/models/DeviceUpdateBody.d.ts +62 -0
  52. package/dist/esm/models/DeviceUpdateBody.js +51 -0
  53. package/dist/esm/models/FFStatusEnum.d.ts +26 -0
  54. package/dist/esm/models/FFStatusEnum.js +44 -0
  55. package/dist/esm/models/FFStatusResponse.d.ts +33 -0
  56. package/dist/esm/models/FFStatusResponse.js +44 -0
  57. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
  58. package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
  59. package/dist/esm/models/HTTPValidationError.d.ts +33 -0
  60. package/dist/esm/models/HTTPValidationError.js +42 -0
  61. package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
  62. package/dist/esm/models/ListResponseBuildTaskShortResponse.js +47 -0
  63. package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
  64. package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
  65. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
  66. package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
  67. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
  68. package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
  69. package/dist/esm/models/ListResponseStr.d.ts +38 -0
  70. package/dist/esm/models/ListResponseStr.js +46 -0
  71. package/dist/esm/models/ListResponseUserShortResponse.d.ts +39 -0
  72. package/dist/esm/models/ListResponseUserShortResponse.js +47 -0
  73. package/dist/esm/models/LogListResponse.d.ts +51 -0
  74. package/dist/esm/models/LogListResponse.js +56 -0
  75. package/dist/esm/models/LogResponse.d.ts +83 -0
  76. package/dist/esm/models/LogResponse.js +66 -0
  77. package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
  78. package/dist/esm/models/MaintainerShortModel.js +51 -0
  79. package/dist/esm/models/NewBuildTaskBody.d.ts +57 -0
  80. package/dist/esm/models/NewBuildTaskBody.js +52 -0
  81. package/dist/esm/models/NewDeviceBody.d.ts +50 -0
  82. package/dist/esm/models/NewDeviceBody.js +55 -0
  83. package/dist/esm/models/PasteInput.d.ts +50 -0
  84. package/dist/esm/models/PasteInput.js +51 -0
  85. package/dist/esm/models/PasteOutput.d.ts +50 -0
  86. package/dist/esm/models/PasteOutput.js +51 -0
  87. package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
  88. package/dist/esm/models/RecoveryImgResponse.js +47 -0
  89. package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
  90. package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
  91. package/dist/esm/models/ReleaseInternalResponse.d.ts +162 -0
  92. package/dist/esm/models/ReleaseInternalResponse.js +119 -0
  93. package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +26 -0
  94. package/dist/esm/models/ReleaseInternalResponsePropValue.js +31 -0
  95. package/dist/esm/models/ReleaseResponse.d.ts +139 -0
  96. package/dist/esm/models/ReleaseResponse.js +107 -0
  97. package/dist/esm/models/ReleaseStatsResponse.d.ts +48 -0
  98. package/dist/esm/models/ReleaseStatsResponse.js +51 -0
  99. package/dist/esm/models/ReleaseType.d.ts +26 -0
  100. package/dist/esm/models/ReleaseType.js +44 -0
  101. package/dist/esm/models/ReleaseUpdateBody.d.ts +50 -0
  102. package/dist/esm/models/ReleaseUpdateBody.js +47 -0
  103. package/dist/esm/models/ReleasesSort.d.ts +25 -0
  104. package/dist/esm/models/ReleasesSort.js +43 -0
  105. package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
  106. package/dist/esm/models/ResponseGetReleases.js +46 -0
  107. package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
  108. package/dist/esm/models/ShortDeviceResponse.js +73 -0
  109. package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
  110. package/dist/esm/models/ShortReleaseResponse.js +84 -0
  111. package/dist/esm/models/TaskUpdateBody.d.ts +39 -0
  112. package/dist/esm/models/TaskUpdateBody.js +44 -0
  113. package/dist/esm/models/TokenResponse.d.ts +38 -0
  114. package/dist/esm/models/TokenResponse.js +45 -0
  115. package/dist/esm/models/UserGitlab.d.ts +32 -0
  116. package/dist/esm/models/UserGitlab.js +43 -0
  117. package/dist/esm/models/UserInternalResponse.d.ts +90 -0
  118. package/dist/esm/models/UserInternalResponse.js +75 -0
  119. package/dist/esm/models/UserMail.d.ts +32 -0
  120. package/dist/esm/models/UserMail.js +43 -0
  121. package/dist/esm/models/UserShortResponse.d.ts +50 -0
  122. package/dist/esm/models/UserShortResponse.js +55 -0
  123. package/dist/esm/models/UserTelegram.d.ts +32 -0
  124. package/dist/esm/models/UserTelegram.js +43 -0
  125. package/dist/esm/models/UserUpdateBody.d.ts +56 -0
  126. package/dist/esm/models/UserUpdateBody.js +49 -0
  127. package/dist/esm/models/ValidationError.d.ts +45 -0
  128. package/dist/esm/models/ValidationError.js +52 -0
  129. package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
  130. package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
  131. package/dist/esm/models/index.d.ts +47 -0
  132. package/dist/esm/models/index.js +49 -0
  133. package/dist/esm/runtime.d.ts +184 -0
  134. package/dist/esm/runtime.js +334 -0
  135. package/dist/index.d.ts +3 -13
  136. package/dist/index.js +5 -15
  137. package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
  138. package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +54 -0
  139. package/dist/models/BuildStatusEnum.d.ts +30 -0
  140. package/dist/models/BuildStatusEnum.js +56 -0
  141. package/dist/models/BuildTaskResponse.d.ts +103 -0
  142. package/dist/models/BuildTaskResponse.js +85 -0
  143. package/dist/models/BuildTaskShortResponse.d.ts +89 -0
  144. package/dist/models/BuildTaskShortResponse.js +81 -0
  145. package/dist/models/DeviceInternalResponse.d.ts +114 -0
  146. package/dist/models/DeviceInternalResponse.js +98 -0
  147. package/dist/models/DeviceResponse.d.ts +101 -0
  148. package/dist/models/DeviceResponse.js +89 -0
  149. package/dist/models/DeviceStatsResponse.d.ts +48 -0
  150. package/dist/models/DeviceStatsResponse.js +58 -0
  151. package/dist/models/DeviceUpdateBody.d.ts +62 -0
  152. package/dist/models/DeviceUpdateBody.js +58 -0
  153. package/dist/models/FFStatusEnum.d.ts +26 -0
  154. package/dist/models/FFStatusEnum.js +52 -0
  155. package/dist/models/FFStatusResponse.d.ts +33 -0
  156. package/dist/models/FFStatusResponse.js +51 -0
  157. package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
  158. package/dist/models/GlobalStatsAggregationModel.js +62 -0
  159. package/dist/models/HTTPValidationError.d.ts +33 -0
  160. package/dist/models/HTTPValidationError.js +49 -0
  161. package/dist/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
  162. package/dist/models/ListResponseBuildTaskShortResponse.js +54 -0
  163. package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
  164. package/dist/models/ListResponseReleaseResponse.js +54 -0
  165. package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
  166. package/dist/models/ListResponseShortDeviceResponse.js +54 -0
  167. package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
  168. package/dist/models/ListResponseShortReleaseResponse.js +54 -0
  169. package/dist/models/ListResponseStr.d.ts +38 -0
  170. package/dist/models/ListResponseStr.js +53 -0
  171. package/dist/models/ListResponseUserShortResponse.d.ts +39 -0
  172. package/dist/models/ListResponseUserShortResponse.js +54 -0
  173. package/dist/models/LogListResponse.d.ts +51 -0
  174. package/dist/models/LogListResponse.js +63 -0
  175. package/dist/models/LogResponse.d.ts +83 -0
  176. package/dist/models/LogResponse.js +73 -0
  177. package/dist/models/MaintainerShortModel.d.ts +44 -0
  178. package/dist/models/MaintainerShortModel.js +58 -0
  179. package/dist/models/NewBuildTaskBody.d.ts +57 -0
  180. package/dist/models/NewBuildTaskBody.js +59 -0
  181. package/dist/models/NewDeviceBody.d.ts +50 -0
  182. package/dist/models/NewDeviceBody.js +62 -0
  183. package/dist/models/PasteInput.d.ts +50 -0
  184. package/dist/models/PasteInput.js +58 -0
  185. package/dist/models/PasteOutput.d.ts +50 -0
  186. package/dist/models/PasteOutput.js +58 -0
  187. package/dist/models/RecoveryImgResponse.d.ts +38 -0
  188. package/dist/models/RecoveryImgResponse.js +54 -0
  189. package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
  190. package/dist/models/ReleaseGroupsResponse.js +50 -0
  191. package/dist/models/ReleaseInternalResponse.d.ts +162 -0
  192. package/dist/models/ReleaseInternalResponse.js +126 -0
  193. package/dist/models/ReleaseInternalResponsePropValue.d.ts +26 -0
  194. package/dist/models/ReleaseInternalResponsePropValue.js +38 -0
  195. package/dist/models/ReleaseResponse.d.ts +139 -0
  196. package/dist/models/ReleaseResponse.js +114 -0
  197. package/dist/models/ReleaseStatsResponse.d.ts +48 -0
  198. package/dist/models/ReleaseStatsResponse.js +58 -0
  199. package/dist/models/ReleaseType.d.ts +26 -0
  200. package/dist/models/ReleaseType.js +52 -0
  201. package/dist/models/ReleaseUpdateBody.d.ts +50 -0
  202. package/dist/models/ReleaseUpdateBody.js +54 -0
  203. package/dist/models/ReleasesSort.d.ts +25 -0
  204. package/dist/models/ReleasesSort.js +51 -0
  205. package/dist/models/ResponseGetReleases.d.ts +41 -0
  206. package/dist/models/ResponseGetReleases.js +53 -0
  207. package/dist/models/ShortDeviceResponse.d.ts +82 -0
  208. package/dist/models/ShortDeviceResponse.js +80 -0
  209. package/dist/models/ShortReleaseResponse.d.ts +100 -0
  210. package/dist/models/ShortReleaseResponse.js +91 -0
  211. package/dist/models/TaskUpdateBody.d.ts +39 -0
  212. package/dist/models/TaskUpdateBody.js +51 -0
  213. package/dist/models/TokenResponse.d.ts +38 -0
  214. package/dist/models/TokenResponse.js +52 -0
  215. package/dist/models/UserGitlab.d.ts +32 -0
  216. package/dist/models/UserGitlab.js +50 -0
  217. package/dist/models/UserInternalResponse.d.ts +90 -0
  218. package/dist/models/UserInternalResponse.js +82 -0
  219. package/dist/models/UserMail.d.ts +32 -0
  220. package/dist/models/UserMail.js +50 -0
  221. package/dist/models/UserShortResponse.d.ts +50 -0
  222. package/dist/models/UserShortResponse.js +62 -0
  223. package/dist/models/UserTelegram.d.ts +32 -0
  224. package/dist/models/UserTelegram.js +50 -0
  225. package/dist/models/UserUpdateBody.d.ts +56 -0
  226. package/dist/models/UserUpdateBody.js +56 -0
  227. package/dist/models/ValidationError.d.ts +45 -0
  228. package/dist/models/ValidationError.js +59 -0
  229. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  230. package/dist/models/ValidationErrorLocInner.js +38 -0
  231. package/dist/models/index.d.ts +47 -0
  232. package/dist/models/index.js +65 -0
  233. package/dist/runtime.d.ts +184 -0
  234. package/dist/runtime.js +350 -0
  235. package/package.json +10 -17
  236. package/src/apis/DeviceApi.ts +326 -0
  237. package/src/apis/FoxFactoryApi.ts +807 -0
  238. package/src/apis/GitlabApi.ts +108 -0
  239. package/src/apis/InternalApi.ts +1590 -0
  240. package/src/apis/PasteApi.ts +158 -0
  241. package/src/apis/ReleaseApi.ts +414 -0
  242. package/src/apis/StatsApi.ts +82 -0
  243. package/src/apis/index.ts +9 -0
  244. package/src/index.ts +5 -0
  245. package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +75 -0
  246. package/src/models/BuildStatusEnum.ts +58 -0
  247. package/src/models/BuildTaskResponse.ts +183 -0
  248. package/src/models/BuildTaskShortResponse.ts +167 -0
  249. package/src/models/DeviceInternalResponse.ts +196 -0
  250. package/src/models/DeviceResponse.ts +171 -0
  251. package/src/models/DeviceStatsResponse.ts +84 -0
  252. package/src/models/DeviceUpdateBody.ts +105 -0
  253. package/src/models/FFStatusEnum.ts +54 -0
  254. package/src/models/FFStatusResponse.ts +76 -0
  255. package/src/models/GlobalStatsAggregationModel.ts +93 -0
  256. package/src/models/HTTPValidationError.ts +73 -0
  257. package/src/models/ListResponseBuildTaskShortResponse.ts +82 -0
  258. package/src/models/ListResponseReleaseResponse.ts +82 -0
  259. package/src/models/ListResponseShortDeviceResponse.ts +82 -0
  260. package/src/models/ListResponseShortReleaseResponse.ts +82 -0
  261. package/src/models/ListResponseStr.ts +74 -0
  262. package/src/models/ListResponseUserShortResponse.ts +82 -0
  263. package/src/models/LogListResponse.ts +101 -0
  264. package/src/models/LogResponse.ts +141 -0
  265. package/src/models/MaintainerShortModel.ts +84 -0
  266. package/src/models/NewBuildTaskBody.ts +108 -0
  267. package/src/models/NewDeviceBody.ts +93 -0
  268. package/src/models/PasteInput.ts +91 -0
  269. package/src/models/PasteOutput.ts +91 -0
  270. package/src/models/RecoveryImgResponse.ts +75 -0
  271. package/src/models/ReleaseGroupsResponse.ts +74 -0
  272. package/src/models/ReleaseInternalResponse.ts +279 -0
  273. package/src/models/ReleaseInternalResponsePropValue.ts +46 -0
  274. package/src/models/ReleaseResponse.ts +233 -0
  275. package/src/models/ReleaseStatsResponse.ts +84 -0
  276. package/src/models/ReleaseType.ts +54 -0
  277. package/src/models/ReleaseUpdateBody.ts +89 -0
  278. package/src/models/ReleasesSort.ts +53 -0
  279. package/src/models/ResponseGetReleases.ts +96 -0
  280. package/src/models/ShortDeviceResponse.ts +138 -0
  281. package/src/models/ShortReleaseResponse.ts +174 -0
  282. package/src/models/TaskUpdateBody.ts +83 -0
  283. package/src/models/TokenResponse.ts +74 -0
  284. package/src/models/UserGitlab.ts +66 -0
  285. package/src/models/UserInternalResponse.ts +172 -0
  286. package/src/models/UserMail.ts +66 -0
  287. package/src/models/UserShortResponse.ts +93 -0
  288. package/src/models/UserTelegram.ts +66 -0
  289. package/src/models/UserUpdateBody.ts +97 -0
  290. package/src/models/ValidationError.ts +92 -0
  291. package/src/models/ValidationErrorLocInner.ts +46 -0
  292. package/src/models/index.ts +49 -0
  293. package/src/runtime.ts +432 -0
  294. package/tsconfig.json +2 -4
  295. package/api.ts +0 -6111
  296. package/base.ts +0 -86
  297. package/common.ts +0 -150
  298. package/configuration.ts +0 -115
  299. package/dist/api.d.ts +0 -3964
  300. package/dist/api.js +0 -3664
  301. package/dist/base.d.ts +0 -66
  302. package/dist/base.js +0 -65
  303. package/dist/common.d.ts +0 -65
  304. package/dist/common.js +0 -161
  305. package/dist/configuration.d.ts +0 -91
  306. package/dist/configuration.js +0 -44
  307. package/dist/esm/api.d.ts +0 -3964
  308. package/dist/esm/api.js +0 -3633
  309. package/dist/esm/base.d.ts +0 -66
  310. package/dist/esm/base.js +0 -60
  311. package/dist/esm/common.d.ts +0 -65
  312. package/dist/esm/common.js +0 -149
  313. package/dist/esm/configuration.d.ts +0 -91
  314. package/dist/esm/configuration.js +0 -40
  315. package/docs/BodyChangePasswordProfileChangePasswordPost.md +0 -22
  316. package/docs/BuildStatusEnum.md +0 -20
  317. package/docs/BuildTaskResponse.md +0 -42
  318. package/docs/BuildTaskShortResponse.md +0 -38
  319. package/docs/DeviceApi.md +0 -251
  320. package/docs/DeviceInternalResponse.md +0 -48
  321. package/docs/DeviceResponse.md +0 -44
  322. package/docs/DeviceStatsResponse.md +0 -24
  323. package/docs/DeviceUpdateBody.md +0 -30
  324. package/docs/FFStatusEnum.md +0 -12
  325. package/docs/FFStatusResponse.md +0 -20
  326. package/docs/FoxFactoryApi.md +0 -540
  327. package/docs/GitlabApi.md +0 -62
  328. package/docs/GlobalStatsAggregationModel.md +0 -26
  329. package/docs/HTTPValidationError.md +0 -20
  330. package/docs/InternalApi.md +0 -1072
  331. package/docs/ListResponseBuildTaskShortResponse.md +0 -22
  332. package/docs/ListResponseReleaseResponse.md +0 -22
  333. package/docs/ListResponseShortDeviceResponse.md +0 -22
  334. package/docs/ListResponseShortReleaseResponse.md +0 -22
  335. package/docs/ListResponseStr.md +0 -22
  336. package/docs/ListResponseUserShortResponse.md +0 -22
  337. package/docs/LogListResponse.md +0 -26
  338. package/docs/LogResponse.md +0 -36
  339. package/docs/MaintainerShortModel.md +0 -26
  340. package/docs/NewBuildTaskBody.md +0 -28
  341. package/docs/NewDeviceBody.md +0 -26
  342. package/docs/PasteApi.md +0 -117
  343. package/docs/PasteInput.md +0 -26
  344. package/docs/PasteOutput.md +0 -26
  345. package/docs/RecoveryImgResponse.md +0 -22
  346. package/docs/ReleaseApi.md +0 -289
  347. package/docs/ReleaseGroupsResponse.md +0 -20
  348. package/docs/ReleaseInternalResponse.md +0 -62
  349. package/docs/ReleaseInternalResponsePropValue.md +0 -18
  350. package/docs/ReleaseResponse.md +0 -56
  351. package/docs/ReleaseStatsResponse.md +0 -24
  352. package/docs/ReleaseType.md +0 -12
  353. package/docs/ReleaseUpdateBody.md +0 -26
  354. package/docs/ReleasesSort.md +0 -10
  355. package/docs/ResponseGetReleases.md +0 -22
  356. package/docs/ShortDeviceResponse.md +0 -38
  357. package/docs/ShortReleaseResponse.md +0 -44
  358. package/docs/StatsApi.md +0 -53
  359. package/docs/TaskUpdateBody.md +0 -22
  360. package/docs/TokenResponse.md +0 -22
  361. package/docs/UserGitlab.md +0 -20
  362. package/docs/UserInternalResponse.md +0 -38
  363. package/docs/UserMail.md +0 -20
  364. package/docs/UserShortResponse.md +0 -26
  365. package/docs/UserTelegram.md +0 -20
  366. package/docs/UserUpdateBody.md +0 -28
  367. package/docs/ValidationError.md +0 -24
  368. package/docs/ValidationErrorLocInner.md +0 -18
  369. package/git_push.sh +0 -57
@@ -1,540 +0,0 @@
1
- # FoxFactoryApi
2
-
3
- All URIs are relative to *https://api.orangefox.download*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**cancelTaskFactoryTaskIdCancelPost**](#canceltaskfactorytaskidcancelpost) | **POST** /factory/{task_id}/cancel | Cancel Task|
8
- |[**deleteTaskFactoryTaskIdDelete**](#deletetaskfactorytaskiddelete) | **DELETE** /factory/{task_id} | Delete Task|
9
- |[**downloadArtifactFactoryTaskIdArtifactGet**](#downloadartifactfactorytaskidartifactget) | **GET** /factory/{task_id}/artifact | Download Artifact|
10
- |[**factoryStatusFactoryStatusGet**](#factorystatusfactorystatusget) | **GET** /factory/status | Factory Status|
11
- |[**getTaskFactoryTaskIdGet**](#gettaskfactorytaskidget) | **GET** /factory/{task_id} | Get Task|
12
- |[**listTasksFactoryGet**](#listtasksfactoryget) | **GET** /factory/ | List Tasks|
13
- |[**newTaskFactoryPost**](#newtaskfactorypost) | **POST** /factory/ | New Task|
14
- |[**updateTaskFactoryTaskIdPatch**](#updatetaskfactorytaskidpatch) | **PATCH** /factory/{task_id} | Update Task|
15
- |[**updateWorkerStatusFactoryUpdateStatusPost**](#updateworkerstatusfactoryupdatestatuspost) | **POST** /factory/update_status | Update Worker Status|
16
- |[**uploadArtifactFactoryTaskIdArtifactPost**](#uploadartifactfactorytaskidartifactpost) | **POST** /factory/{task_id}/artifact | Upload Artifact|
17
-
18
- # **cancelTaskFactoryTaskIdCancelPost**
19
- > BuildTaskResponse cancelTaskFactoryTaskIdCancelPost()
20
-
21
- 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.
22
-
23
- ### Example
24
-
25
- ```typescript
26
- import {
27
- FoxFactoryApi,
28
- Configuration
29
- } from '@orangefox-recovery/foxinternalclient';
30
-
31
- const configuration = new Configuration();
32
- const apiInstance = new FoxFactoryApi(configuration);
33
-
34
- let taskId: string; // (default to undefined)
35
-
36
- const { status, data } = await apiInstance.cancelTaskFactoryTaskIdCancelPost(
37
- taskId
38
- );
39
- ```
40
-
41
- ### Parameters
42
-
43
- |Name | Type | Description | Notes|
44
- |------------- | ------------- | ------------- | -------------|
45
- | **taskId** | [**string**] | | defaults to undefined|
46
-
47
-
48
- ### Return type
49
-
50
- **BuildTaskResponse**
51
-
52
- ### Authorization
53
-
54
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
55
-
56
- ### HTTP request headers
57
-
58
- - **Content-Type**: Not defined
59
- - **Accept**: application/json
60
-
61
-
62
- ### HTTP response details
63
- | Status code | Description | Response headers |
64
- |-------------|-------------|------------------|
65
- |**200** | Successful Response | - |
66
- |**422** | Validation Error | - |
67
-
68
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
69
-
70
- # **deleteTaskFactoryTaskIdDelete**
71
- > boolean deleteTaskFactoryTaskIdDelete()
72
-
73
- 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.
74
-
75
- ### Example
76
-
77
- ```typescript
78
- import {
79
- FoxFactoryApi,
80
- Configuration
81
- } from '@orangefox-recovery/foxinternalclient';
82
-
83
- const configuration = new Configuration();
84
- const apiInstance = new FoxFactoryApi(configuration);
85
-
86
- let taskId: string; // (default to undefined)
87
-
88
- const { status, data } = await apiInstance.deleteTaskFactoryTaskIdDelete(
89
- taskId
90
- );
91
- ```
92
-
93
- ### Parameters
94
-
95
- |Name | Type | Description | Notes|
96
- |------------- | ------------- | ------------- | -------------|
97
- | **taskId** | [**string**] | | defaults to undefined|
98
-
99
-
100
- ### Return type
101
-
102
- **boolean**
103
-
104
- ### Authorization
105
-
106
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
107
-
108
- ### HTTP request headers
109
-
110
- - **Content-Type**: Not defined
111
- - **Accept**: application/json
112
-
113
-
114
- ### HTTP response details
115
- | Status code | Description | Response headers |
116
- |-------------|-------------|------------------|
117
- |**200** | Successful Response | - |
118
- |**422** | Validation Error | - |
119
-
120
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
121
-
122
- # **downloadArtifactFactoryTaskIdArtifactGet**
123
- > any downloadArtifactFactoryTaskIdArtifactGet()
124
-
125
- 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
126
-
127
- ### Example
128
-
129
- ```typescript
130
- import {
131
- FoxFactoryApi,
132
- Configuration
133
- } from '@orangefox-recovery/foxinternalclient';
134
-
135
- const configuration = new Configuration();
136
- const apiInstance = new FoxFactoryApi(configuration);
137
-
138
- let taskId: string; // (default to undefined)
139
-
140
- const { status, data } = await apiInstance.downloadArtifactFactoryTaskIdArtifactGet(
141
- taskId
142
- );
143
- ```
144
-
145
- ### Parameters
146
-
147
- |Name | Type | Description | Notes|
148
- |------------- | ------------- | ------------- | -------------|
149
- | **taskId** | [**string**] | | defaults to undefined|
150
-
151
-
152
- ### Return type
153
-
154
- **any**
155
-
156
- ### Authorization
157
-
158
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
159
-
160
- ### HTTP request headers
161
-
162
- - **Content-Type**: Not defined
163
- - **Accept**: application/json
164
-
165
-
166
- ### HTTP response details
167
- | Status code | Description | Response headers |
168
- |-------------|-------------|------------------|
169
- |**200** | Successful Response | - |
170
- |**422** | Validation Error | - |
171
-
172
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
173
-
174
- # **factoryStatusFactoryStatusGet**
175
- > FFStatusResponse factoryStatusFactoryStatusGet()
176
-
177
- 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.
178
-
179
- ### Example
180
-
181
- ```typescript
182
- import {
183
- FoxFactoryApi,
184
- Configuration
185
- } from '@orangefox-recovery/foxinternalclient';
186
-
187
- const configuration = new Configuration();
188
- const apiInstance = new FoxFactoryApi(configuration);
189
-
190
- const { status, data } = await apiInstance.factoryStatusFactoryStatusGet();
191
- ```
192
-
193
- ### Parameters
194
- This endpoint does not have any parameters.
195
-
196
-
197
- ### Return type
198
-
199
- **FFStatusResponse**
200
-
201
- ### Authorization
202
-
203
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
204
-
205
- ### HTTP request headers
206
-
207
- - **Content-Type**: Not defined
208
- - **Accept**: application/json
209
-
210
-
211
- ### HTTP response details
212
- | Status code | Description | Response headers |
213
- |-------------|-------------|------------------|
214
- |**200** | Successful Response | - |
215
-
216
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
217
-
218
- # **getTaskFactoryTaskIdGet**
219
- > BuildTaskResponse getTaskFactoryTaskIdGet()
220
-
221
- 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.
222
-
223
- ### Example
224
-
225
- ```typescript
226
- import {
227
- FoxFactoryApi,
228
- Configuration
229
- } from '@orangefox-recovery/foxinternalclient';
230
-
231
- const configuration = new Configuration();
232
- const apiInstance = new FoxFactoryApi(configuration);
233
-
234
- let taskId: string; // (default to undefined)
235
-
236
- const { status, data } = await apiInstance.getTaskFactoryTaskIdGet(
237
- taskId
238
- );
239
- ```
240
-
241
- ### Parameters
242
-
243
- |Name | Type | Description | Notes|
244
- |------------- | ------------- | ------------- | -------------|
245
- | **taskId** | [**string**] | | defaults to undefined|
246
-
247
-
248
- ### Return type
249
-
250
- **BuildTaskResponse**
251
-
252
- ### Authorization
253
-
254
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
255
-
256
- ### HTTP request headers
257
-
258
- - **Content-Type**: Not defined
259
- - **Accept**: application/json
260
-
261
-
262
- ### HTTP response details
263
- | Status code | Description | Response headers |
264
- |-------------|-------------|------------------|
265
- |**200** | Successful Response | - |
266
- |**422** | Validation Error | - |
267
-
268
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
269
-
270
- # **listTasksFactoryGet**
271
- > ListResponseBuildTaskShortResponse listTasksFactoryGet()
272
-
273
- 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
274
-
275
- ### Example
276
-
277
- ```typescript
278
- import {
279
- FoxFactoryApi,
280
- Configuration
281
- } from '@orangefox-recovery/foxinternalclient';
282
-
283
- const configuration = new Configuration();
284
- const apiInstance = new FoxFactoryApi(configuration);
285
-
286
- let deviceId: string; // (optional) (default to undefined)
287
-
288
- const { status, data } = await apiInstance.listTasksFactoryGet(
289
- deviceId
290
- );
291
- ```
292
-
293
- ### Parameters
294
-
295
- |Name | Type | Description | Notes|
296
- |------------- | ------------- | ------------- | -------------|
297
- | **deviceId** | [**string**] | | (optional) defaults to undefined|
298
-
299
-
300
- ### Return type
301
-
302
- **ListResponseBuildTaskShortResponse**
303
-
304
- ### Authorization
305
-
306
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
307
-
308
- ### HTTP request headers
309
-
310
- - **Content-Type**: Not defined
311
- - **Accept**: application/json
312
-
313
-
314
- ### HTTP response details
315
- | Status code | Description | Response headers |
316
- |-------------|-------------|------------------|
317
- |**200** | Successful Response | - |
318
- |**422** | Validation Error | - |
319
-
320
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
321
-
322
- # **newTaskFactoryPost**
323
- > boolean newTaskFactoryPost(newBuildTaskBody)
324
-
325
- 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.
326
-
327
- ### Example
328
-
329
- ```typescript
330
- import {
331
- FoxFactoryApi,
332
- Configuration,
333
- NewBuildTaskBody
334
- } from '@orangefox-recovery/foxinternalclient';
335
-
336
- const configuration = new Configuration();
337
- const apiInstance = new FoxFactoryApi(configuration);
338
-
339
- let newBuildTaskBody: NewBuildTaskBody; //
340
-
341
- const { status, data } = await apiInstance.newTaskFactoryPost(
342
- newBuildTaskBody
343
- );
344
- ```
345
-
346
- ### Parameters
347
-
348
- |Name | Type | Description | Notes|
349
- |------------- | ------------- | ------------- | -------------|
350
- | **newBuildTaskBody** | **NewBuildTaskBody**| | |
351
-
352
-
353
- ### Return type
354
-
355
- **boolean**
356
-
357
- ### Authorization
358
-
359
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
360
-
361
- ### HTTP request headers
362
-
363
- - **Content-Type**: application/json
364
- - **Accept**: application/json
365
-
366
-
367
- ### HTTP response details
368
- | Status code | Description | Response headers |
369
- |-------------|-------------|------------------|
370
- |**200** | Successful Response | - |
371
- |**422** | Validation Error | - |
372
-
373
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
374
-
375
- # **updateTaskFactoryTaskIdPatch**
376
- > boolean updateTaskFactoryTaskIdPatch(taskUpdateBody)
377
-
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
-
380
- ### Example
381
-
382
- ```typescript
383
- import {
384
- FoxFactoryApi,
385
- Configuration,
386
- TaskUpdateBody
387
- } from '@orangefox-recovery/foxinternalclient';
388
-
389
- const configuration = new Configuration();
390
- const apiInstance = new FoxFactoryApi(configuration);
391
-
392
- let taskId: string; // (default to undefined)
393
- let taskUpdateBody: TaskUpdateBody; //
394
-
395
- const { status, data } = await apiInstance.updateTaskFactoryTaskIdPatch(
396
- taskId,
397
- taskUpdateBody
398
- );
399
- ```
400
-
401
- ### Parameters
402
-
403
- |Name | Type | Description | Notes|
404
- |------------- | ------------- | ------------- | -------------|
405
- | **taskUpdateBody** | **TaskUpdateBody**| | |
406
- | **taskId** | [**string**] | | defaults to undefined|
407
-
408
-
409
- ### Return type
410
-
411
- **boolean**
412
-
413
- ### Authorization
414
-
415
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
416
-
417
- ### HTTP request headers
418
-
419
- - **Content-Type**: application/json
420
- - **Accept**: application/json
421
-
422
-
423
- ### HTTP response details
424
- | Status code | Description | Response headers |
425
- |-------------|-------------|------------------|
426
- |**200** | Successful Response | - |
427
- |**422** | Validation Error | - |
428
-
429
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
430
-
431
- # **updateWorkerStatusFactoryUpdateStatusPost**
432
- > any updateWorkerStatusFactoryUpdateStatusPost(body)
433
-
434
- Endpoint for FoxFactory worker to update its status.
435
-
436
- ### Example
437
-
438
- ```typescript
439
- import {
440
- FoxFactoryApi,
441
- Configuration
442
- } from '@orangefox-recovery/foxinternalclient';
443
-
444
- const configuration = new Configuration();
445
- const apiInstance = new FoxFactoryApi(configuration);
446
-
447
- let body: string; //
448
-
449
- const { status, data } = await apiInstance.updateWorkerStatusFactoryUpdateStatusPost(
450
- body
451
- );
452
- ```
453
-
454
- ### Parameters
455
-
456
- |Name | Type | Description | Notes|
457
- |------------- | ------------- | ------------- | -------------|
458
- | **body** | **string**| | |
459
-
460
-
461
- ### Return type
462
-
463
- **any**
464
-
465
- ### Authorization
466
-
467
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
468
-
469
- ### HTTP request headers
470
-
471
- - **Content-Type**: application/json
472
- - **Accept**: application/json
473
-
474
-
475
- ### HTTP response details
476
- | Status code | Description | Response headers |
477
- |-------------|-------------|------------------|
478
- |**200** | Successful Response | - |
479
- |**422** | Validation Error | - |
480
-
481
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
482
-
483
- # **uploadArtifactFactoryTaskIdArtifactPost**
484
- > boolean uploadArtifactFactoryTaskIdArtifactPost()
485
-
486
- 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
487
-
488
- ### Example
489
-
490
- ```typescript
491
- import {
492
- FoxFactoryApi,
493
- Configuration
494
- } from '@orangefox-recovery/foxinternalclient';
495
-
496
- const configuration = new Configuration();
497
- const apiInstance = new FoxFactoryApi(configuration);
498
-
499
- let taskId: string; // (default to undefined)
500
- let artifact: File; // (default to undefined)
501
- let md5Hash: string; // (default to undefined)
502
-
503
- const { status, data } = await apiInstance.uploadArtifactFactoryTaskIdArtifactPost(
504
- taskId,
505
- artifact,
506
- md5Hash
507
- );
508
- ```
509
-
510
- ### Parameters
511
-
512
- |Name | Type | Description | Notes|
513
- |------------- | ------------- | ------------- | -------------|
514
- | **taskId** | [**string**] | | defaults to undefined|
515
- | **artifact** | [**File**] | | defaults to undefined|
516
- | **md5Hash** | [**string**] | | defaults to undefined|
517
-
518
-
519
- ### Return type
520
-
521
- **boolean**
522
-
523
- ### Authorization
524
-
525
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
526
-
527
- ### HTTP request headers
528
-
529
- - **Content-Type**: multipart/form-data
530
- - **Accept**: application/json
531
-
532
-
533
- ### HTTP response details
534
- | Status code | Description | Response headers |
535
- |-------------|-------------|------------------|
536
- |**200** | Successful Response | - |
537
- |**422** | Validation Error | - |
538
-
539
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
540
-
package/docs/GitlabApi.md DELETED
@@ -1,62 +0,0 @@
1
- # GitlabApi
2
-
3
- All URIs are relative to *https://api.orangefox.download*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost**](#deviceaddgitlabrepogitlabdevicedeviceidgitlabpost) | **POST** /gitlab/device/{device_id}/gitlab | Device Add Gitlab Repo|
8
-
9
- # **deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost**
10
- > boolean deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost()
11
-
12
-
13
- ### Example
14
-
15
- ```typescript
16
- import {
17
- GitlabApi,
18
- Configuration
19
- } from '@orangefox-recovery/foxinternalclient';
20
-
21
- const configuration = new Configuration();
22
- const apiInstance = new GitlabApi(configuration);
23
-
24
- let deviceId: string; // (default to undefined)
25
- let glProjectUrl: string; // (default to undefined)
26
-
27
- const { status, data } = await apiInstance.deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(
28
- deviceId,
29
- glProjectUrl
30
- );
31
- ```
32
-
33
- ### Parameters
34
-
35
- |Name | Type | Description | Notes|
36
- |------------- | ------------- | ------------- | -------------|
37
- | **deviceId** | [**string**] | | defaults to undefined|
38
- | **glProjectUrl** | [**string**] | | defaults to undefined|
39
-
40
-
41
- ### Return type
42
-
43
- **boolean**
44
-
45
- ### Authorization
46
-
47
- No authorization required
48
-
49
- ### HTTP request headers
50
-
51
- - **Content-Type**: Not defined
52
- - **Accept**: application/json
53
-
54
-
55
- ### HTTP response details
56
- | Status code | Description | Response headers |
57
- |-------------|-------------|------------------|
58
- |**200** | Successful Response | - |
59
- |**422** | Validation Error | - |
60
-
61
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
62
-
@@ -1,26 +0,0 @@
1
- # GlobalStatsAggregationModel
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **count** | **number** | | [default to undefined]
9
- **deviceCount** | **number** | | [default to undefined]
10
- **releaseCount** | **number** | | [default to undefined]
11
- **days** | **{ [key: string]: number; }** | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { GlobalStatsAggregationModel } from '@orangefox-recovery/foxinternalclient';
17
-
18
- const instance: GlobalStatsAggregationModel = {
19
- count,
20
- deviceCount,
21
- releaseCount,
22
- days,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # HTTPValidationError
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **detail** | [**Array<ValidationError>**](ValidationError.md) | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { HTTPValidationError } from '@orangefox-recovery/foxinternalclient';
14
-
15
- const instance: HTTPValidationError = {
16
- detail,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)