@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
package/dist/esm/api.d.ts DELETED
@@ -1,3964 +0,0 @@
1
- /**
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.
4
- *
5
- * The version of the OpenAPI document: 5.2.6
6
- * Contact: admin@orangefox.tech
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface BodyChangePasswordProfileChangePasswordPost
20
- */
21
- export interface BodyChangePasswordProfileChangePasswordPost {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof BodyChangePasswordProfileChangePasswordPost
26
- */
27
- 'old_password': string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof BodyChangePasswordProfileChangePasswordPost
32
- */
33
- 'new_password': string;
34
- }
35
- /**
36
- *
37
- * @export
38
- * @enum {string}
39
- */
40
- export declare const BuildStatusEnum: {
41
- readonly Pending: "pending";
42
- readonly Running: "running";
43
- readonly Cancelling: "cancelling";
44
- readonly Uploading: "uploading";
45
- readonly Success: "success";
46
- readonly Cancelled: "cancelled";
47
- readonly Failed: "failed";
48
- };
49
- export type BuildStatusEnum = typeof BuildStatusEnum[keyof typeof BuildStatusEnum];
50
- /**
51
- *
52
- * @export
53
- * @interface BuildTaskResponse
54
- */
55
- export interface BuildTaskResponse {
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof BuildTaskResponse
60
- */
61
- 'id': string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof BuildTaskResponse
66
- */
67
- 'started_by_id': string;
68
- /**
69
- *
70
- * @type {ShortDeviceResponse}
71
- * @memberof BuildTaskResponse
72
- */
73
- 'device': ShortDeviceResponse;
74
- /**
75
- *
76
- * @type {BuildStatusEnum}
77
- * @memberof BuildTaskResponse
78
- */
79
- 'status': BuildStatusEnum;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof BuildTaskResponse
84
- */
85
- 'version'?: string;
86
- /**
87
- *
88
- * @type {ReleaseType}
89
- * @memberof BuildTaskResponse
90
- */
91
- 'type'?: ReleaseType;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof BuildTaskResponse
96
- */
97
- 'variant'?: string;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof BuildTaskResponse
102
- */
103
- 'started_at': string;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof BuildTaskResponse
108
- */
109
- 'finished_at'?: string | null;
110
- /**
111
- *
112
- * @type {boolean}
113
- * @memberof BuildTaskResponse
114
- */
115
- 'has_artifact': boolean;
116
- /**
117
- *
118
- * @type {{ [key: string]: string; }}
119
- * @memberof BuildTaskResponse
120
- */
121
- 'environment'?: {
122
- [key: string]: string;
123
- } | null;
124
- /**
125
- *
126
- * @type {Array<string>}
127
- * @memberof BuildTaskResponse
128
- */
129
- 'logs'?: Array<string>;
130
- }
131
- /**
132
- *
133
- * @export
134
- * @interface BuildTaskShortResponse
135
- */
136
- export interface BuildTaskShortResponse {
137
- /**
138
- *
139
- * @type {string}
140
- * @memberof BuildTaskShortResponse
141
- */
142
- 'id': string;
143
- /**
144
- *
145
- * @type {string}
146
- * @memberof BuildTaskShortResponse
147
- */
148
- 'started_by_id': string;
149
- /**
150
- *
151
- * @type {ShortDeviceResponse}
152
- * @memberof BuildTaskShortResponse
153
- */
154
- 'device': ShortDeviceResponse;
155
- /**
156
- *
157
- * @type {BuildStatusEnum}
158
- * @memberof BuildTaskShortResponse
159
- */
160
- 'status': BuildStatusEnum;
161
- /**
162
- *
163
- * @type {string}
164
- * @memberof BuildTaskShortResponse
165
- */
166
- 'version'?: string;
167
- /**
168
- *
169
- * @type {ReleaseType}
170
- * @memberof BuildTaskShortResponse
171
- */
172
- 'type'?: ReleaseType;
173
- /**
174
- *
175
- * @type {string}
176
- * @memberof BuildTaskShortResponse
177
- */
178
- 'variant'?: string;
179
- /**
180
- *
181
- * @type {string}
182
- * @memberof BuildTaskShortResponse
183
- */
184
- 'started_at': string;
185
- /**
186
- *
187
- * @type {string}
188
- * @memberof BuildTaskShortResponse
189
- */
190
- 'finished_at'?: string | null;
191
- /**
192
- *
193
- * @type {boolean}
194
- * @memberof BuildTaskShortResponse
195
- */
196
- 'has_artifact': boolean;
197
- }
198
- /**
199
- *
200
- * @export
201
- * @interface DeviceInternalResponse
202
- */
203
- export interface DeviceInternalResponse {
204
- /**
205
- *
206
- * @type {string}
207
- * @memberof DeviceInternalResponse
208
- * @deprecated
209
- */
210
- '_id': string;
211
- /**
212
- * Device codename, legacy
213
- * @type {string}
214
- * @memberof DeviceInternalResponse
215
- * @deprecated
216
- */
217
- 'codename': string;
218
- /**
219
- * Model name of device, does not include the OEM part, legacy
220
- * @type {string}
221
- * @memberof DeviceInternalResponse
222
- * @deprecated
223
- */
224
- 'model_name': string;
225
- /**
226
- *
227
- * @type {string}
228
- * @memberof DeviceInternalResponse
229
- */
230
- 'oem_name': string;
231
- /**
232
- *
233
- * @type {string}
234
- * @memberof DeviceInternalResponse
235
- */
236
- 'id': string;
237
- /**
238
- *
239
- * @type {Array<string>}
240
- * @memberof DeviceInternalResponse
241
- */
242
- 'codenames': Array<string>;
243
- /**
244
- *
245
- * @type {Array<string>}
246
- * @memberof DeviceInternalResponse
247
- */
248
- 'model_names': Array<string>;
249
- /**
250
- *
251
- * @type {boolean}
252
- * @memberof DeviceInternalResponse
253
- */
254
- 'supported': boolean;
255
- /**
256
- *
257
- * @type {MaintainerShortModel}
258
- * @memberof DeviceInternalResponse
259
- */
260
- 'maintainer': MaintainerShortModel;
261
- /**
262
- *
263
- * @type {string}
264
- * @memberof DeviceInternalResponse
265
- */
266
- 'notes'?: string | null;
267
- /**
268
- *
269
- * @type {string}
270
- * @memberof DeviceInternalResponse
271
- */
272
- 'device_tree'?: string | null;
273
- /**
274
- *
275
- * @type {DeviceStatsResponse}
276
- * @memberof DeviceInternalResponse
277
- */
278
- 'stats': DeviceStatsResponse | null;
279
- /**
280
- *
281
- * @type {boolean}
282
- * @memberof DeviceInternalResponse
283
- */
284
- 'freezed': boolean;
285
- /**
286
- * Full name of device / devices, legacy
287
- * @type {string}
288
- * @memberof DeviceInternalResponse
289
- */
290
- 'full_name': string;
291
- /**
292
- * URL of the device on the official website
293
- * @type {string}
294
- * @memberof DeviceInternalResponse
295
- */
296
- 'url': string;
297
- }
298
- /**
299
- *
300
- * @export
301
- * @interface DeviceResponse
302
- */
303
- export interface DeviceResponse {
304
- /**
305
- *
306
- * @type {string}
307
- * @memberof DeviceResponse
308
- * @deprecated
309
- */
310
- '_id': string;
311
- /**
312
- * Device codename, legacy
313
- * @type {string}
314
- * @memberof DeviceResponse
315
- * @deprecated
316
- */
317
- 'codename': string;
318
- /**
319
- * Model name of device, does not include the OEM part, legacy
320
- * @type {string}
321
- * @memberof DeviceResponse
322
- * @deprecated
323
- */
324
- 'model_name': string;
325
- /**
326
- *
327
- * @type {string}
328
- * @memberof DeviceResponse
329
- */
330
- 'oem_name': string;
331
- /**
332
- *
333
- * @type {string}
334
- * @memberof DeviceResponse
335
- */
336
- 'id': string;
337
- /**
338
- *
339
- * @type {Array<string>}
340
- * @memberof DeviceResponse
341
- */
342
- 'codenames': Array<string>;
343
- /**
344
- *
345
- * @type {Array<string>}
346
- * @memberof DeviceResponse
347
- */
348
- 'model_names': Array<string>;
349
- /**
350
- *
351
- * @type {boolean}
352
- * @memberof DeviceResponse
353
- */
354
- 'supported': boolean;
355
- /**
356
- *
357
- * @type {MaintainerShortModel}
358
- * @memberof DeviceResponse
359
- */
360
- 'maintainer': MaintainerShortModel;
361
- /**
362
- *
363
- * @type {string}
364
- * @memberof DeviceResponse
365
- */
366
- 'notes'?: string | null;
367
- /**
368
- *
369
- * @type {string}
370
- * @memberof DeviceResponse
371
- */
372
- 'device_tree'?: string | null;
373
- /**
374
- * Full name of device / devices, legacy
375
- * @type {string}
376
- * @memberof DeviceResponse
377
- */
378
- 'full_name': string;
379
- /**
380
- * URL of the device on the official website
381
- * @type {string}
382
- * @memberof DeviceResponse
383
- */
384
- 'url': string;
385
- }
386
- /**
387
- *
388
- * @export
389
- * @interface DeviceStatsResponse
390
- */
391
- export interface DeviceStatsResponse {
392
- /**
393
- *
394
- * @type {number}
395
- * @memberof DeviceStatsResponse
396
- */
397
- 'count': number;
398
- /**
399
- *
400
- * @type {{ [key: string]: number; }}
401
- * @memberof DeviceStatsResponse
402
- */
403
- 'days': {
404
- [key: string]: number;
405
- };
406
- /**
407
- *
408
- * @type {{ [key: string]: number; }}
409
- * @memberof DeviceStatsResponse
410
- */
411
- 'mirrors': {
412
- [key: string]: number;
413
- };
414
- }
415
- /**
416
- *
417
- * @export
418
- * @interface DeviceUpdateBody
419
- */
420
- export interface DeviceUpdateBody {
421
- /**
422
- *
423
- * @type {string}
424
- * @memberof DeviceUpdateBody
425
- */
426
- 'oem_name'?: string | null;
427
- /**
428
- *
429
- * @type {Array<string>}
430
- * @memberof DeviceUpdateBody
431
- */
432
- 'codenames'?: Array<string> | null;
433
- /**
434
- *
435
- * @type {Array<string>}
436
- * @memberof DeviceUpdateBody
437
- */
438
- 'model_names'?: Array<string> | null;
439
- /**
440
- *
441
- * @type {boolean}
442
- * @memberof DeviceUpdateBody
443
- */
444
- 'supported'?: boolean | null;
445
- /**
446
- *
447
- * @type {boolean}
448
- * @memberof DeviceUpdateBody
449
- */
450
- 'freezed'?: boolean | null;
451
- /**
452
- *
453
- * @type {string}
454
- * @memberof DeviceUpdateBody
455
- */
456
- 'notes'?: string | null;
457
- }
458
- /**
459
- *
460
- * @export
461
- * @enum {string}
462
- */
463
- export declare const FFStatusEnum: {
464
- readonly Free: "free";
465
- readonly Busy: "busy";
466
- readonly Offline: "offline";
467
- };
468
- export type FFStatusEnum = typeof FFStatusEnum[keyof typeof FFStatusEnum];
469
- /**
470
- *
471
- * @export
472
- * @interface FFStatusResponse
473
- */
474
- export interface FFStatusResponse {
475
- /**
476
- *
477
- * @type {FFStatusEnum}
478
- * @memberof FFStatusResponse
479
- */
480
- 'status': FFStatusEnum;
481
- }
482
- /**
483
- *
484
- * @export
485
- * @interface GlobalStatsAggregationModel
486
- */
487
- export interface GlobalStatsAggregationModel {
488
- /**
489
- *
490
- * @type {number}
491
- * @memberof GlobalStatsAggregationModel
492
- */
493
- 'count': number;
494
- /**
495
- *
496
- * @type {number}
497
- * @memberof GlobalStatsAggregationModel
498
- */
499
- 'deviceCount': number;
500
- /**
501
- *
502
- * @type {number}
503
- * @memberof GlobalStatsAggregationModel
504
- */
505
- 'releaseCount': number;
506
- /**
507
- *
508
- * @type {{ [key: string]: number; }}
509
- * @memberof GlobalStatsAggregationModel
510
- */
511
- 'days': {
512
- [key: string]: number;
513
- };
514
- }
515
- /**
516
- *
517
- * @export
518
- * @interface HTTPValidationError
519
- */
520
- export interface HTTPValidationError {
521
- /**
522
- *
523
- * @type {Array<ValidationError>}
524
- * @memberof HTTPValidationError
525
- */
526
- 'detail'?: Array<ValidationError>;
527
- }
528
- /**
529
- *
530
- * @export
531
- * @interface ListResponseBuildTaskShortResponse
532
- */
533
- export interface ListResponseBuildTaskShortResponse {
534
- /**
535
- *
536
- * @type {Array<BuildTaskShortResponse>}
537
- * @memberof ListResponseBuildTaskShortResponse
538
- */
539
- 'data': Array<BuildTaskShortResponse>;
540
- /**
541
- *
542
- * @type {number}
543
- * @memberof ListResponseBuildTaskShortResponse
544
- */
545
- 'count': number;
546
- }
547
- /**
548
- *
549
- * @export
550
- * @interface ListResponseReleaseResponse
551
- */
552
- export interface ListResponseReleaseResponse {
553
- /**
554
- *
555
- * @type {Array<ReleaseResponse>}
556
- * @memberof ListResponseReleaseResponse
557
- */
558
- 'data': Array<ReleaseResponse>;
559
- /**
560
- *
561
- * @type {number}
562
- * @memberof ListResponseReleaseResponse
563
- */
564
- 'count': number;
565
- }
566
- /**
567
- *
568
- * @export
569
- * @interface ListResponseShortDeviceResponse
570
- */
571
- export interface ListResponseShortDeviceResponse {
572
- /**
573
- *
574
- * @type {Array<ShortDeviceResponse>}
575
- * @memberof ListResponseShortDeviceResponse
576
- */
577
- 'data': Array<ShortDeviceResponse>;
578
- /**
579
- *
580
- * @type {number}
581
- * @memberof ListResponseShortDeviceResponse
582
- */
583
- 'count': number;
584
- }
585
- /**
586
- *
587
- * @export
588
- * @interface ListResponseShortReleaseResponse
589
- */
590
- export interface ListResponseShortReleaseResponse {
591
- /**
592
- *
593
- * @type {Array<ShortReleaseResponse>}
594
- * @memberof ListResponseShortReleaseResponse
595
- */
596
- 'data': Array<ShortReleaseResponse>;
597
- /**
598
- *
599
- * @type {number}
600
- * @memberof ListResponseShortReleaseResponse
601
- */
602
- 'count': number;
603
- }
604
- /**
605
- *
606
- * @export
607
- * @interface ListResponseStr
608
- */
609
- export interface ListResponseStr {
610
- /**
611
- *
612
- * @type {Array<string>}
613
- * @memberof ListResponseStr
614
- */
615
- 'data': Array<string>;
616
- /**
617
- *
618
- * @type {number}
619
- * @memberof ListResponseStr
620
- */
621
- 'count': number;
622
- }
623
- /**
624
- *
625
- * @export
626
- * @interface ListResponseUserShortResponse
627
- */
628
- export interface ListResponseUserShortResponse {
629
- /**
630
- *
631
- * @type {Array<UserShortResponse>}
632
- * @memberof ListResponseUserShortResponse
633
- */
634
- 'data': Array<UserShortResponse>;
635
- /**
636
- *
637
- * @type {number}
638
- * @memberof ListResponseUserShortResponse
639
- */
640
- 'count': number;
641
- }
642
- /**
643
- *
644
- * @export
645
- * @interface LogListResponse
646
- */
647
- export interface LogListResponse {
648
- /**
649
- *
650
- * @type {Array<LogResponse>}
651
- * @memberof LogListResponse
652
- */
653
- 'logs': Array<LogResponse>;
654
- /**
655
- *
656
- * @type {number}
657
- * @memberof LogListResponse
658
- */
659
- 'total': number;
660
- /**
661
- *
662
- * @type {number}
663
- * @memberof LogListResponse
664
- */
665
- 'page': number;
666
- /**
667
- *
668
- * @type {number}
669
- * @memberof LogListResponse
670
- */
671
- 'per_page': number;
672
- }
673
- /**
674
- *
675
- * @export
676
- * @interface LogResponse
677
- */
678
- export interface LogResponse {
679
- /**
680
- *
681
- * @type {string}
682
- * @memberof LogResponse
683
- */
684
- 'id': string;
685
- /**
686
- *
687
- * @type {MaintainerShortModel}
688
- * @memberof LogResponse
689
- */
690
- 'user': MaintainerShortModel;
691
- /**
692
- *
693
- * @type {string}
694
- * @memberof LogResponse
695
- */
696
- 'timestamp': string;
697
- /**
698
- *
699
- * @type {string}
700
- * @memberof LogResponse
701
- */
702
- 'action': string;
703
- /**
704
- *
705
- * @type {string}
706
- * @memberof LogResponse
707
- */
708
- 'ip'?: string | null;
709
- /**
710
- *
711
- * @type {string}
712
- * @memberof LogResponse
713
- */
714
- 'device_id'?: string | null;
715
- /**
716
- *
717
- * @type {string}
718
- * @memberof LogResponse
719
- */
720
- 'release_id'?: string | null;
721
- /**
722
- *
723
- * @type {string}
724
- * @memberof LogResponse
725
- */
726
- 'user_id'?: string | null;
727
- /**
728
- *
729
- * @type {{ [key: string]: any; }}
730
- * @memberof LogResponse
731
- */
732
- 'data'?: {
733
- [key: string]: any;
734
- } | null;
735
- }
736
- /**
737
- *
738
- * @export
739
- * @interface MaintainerShortModel
740
- */
741
- export interface MaintainerShortModel {
742
- /**
743
- *
744
- * @type {string}
745
- * @memberof MaintainerShortModel
746
- * @deprecated
747
- */
748
- '_id': string;
749
- /**
750
- *
751
- * @type {string}
752
- * @memberof MaintainerShortModel
753
- */
754
- 'id': string;
755
- /**
756
- *
757
- * @type {string}
758
- * @memberof MaintainerShortModel
759
- */
760
- 'name': string;
761
- /**
762
- *
763
- * @type {string}
764
- * @memberof MaintainerShortModel
765
- */
766
- 'username': string;
767
- }
768
- /**
769
- *
770
- * @export
771
- * @interface NewBuildTaskBody
772
- */
773
- export interface NewBuildTaskBody {
774
- /**
775
- *
776
- * @type {string}
777
- * @memberof NewBuildTaskBody
778
- */
779
- 'device_id': string;
780
- /**
781
- *
782
- * @type {string}
783
- * @memberof NewBuildTaskBody
784
- */
785
- 'tree_branch'?: string | null;
786
- /**
787
- *
788
- * @type {ReleaseType}
789
- * @memberof NewBuildTaskBody
790
- */
791
- 'type'?: ReleaseType;
792
- /**
793
- *
794
- * @type {string}
795
- * @memberof NewBuildTaskBody
796
- */
797
- 'variant'?: string;
798
- /**
799
- *
800
- * @type {Array<string>}
801
- * @memberof NewBuildTaskBody
802
- */
803
- 'additional_env'?: Array<string> | null;
804
- }
805
- /**
806
- *
807
- * @export
808
- * @interface NewDeviceBody
809
- */
810
- export interface NewDeviceBody {
811
- /**
812
- *
813
- * @type {string}
814
- * @memberof NewDeviceBody
815
- */
816
- 'oem_name': string;
817
- /**
818
- *
819
- * @type {Array<string>}
820
- * @memberof NewDeviceBody
821
- */
822
- 'codenames': Array<string>;
823
- /**
824
- *
825
- * @type {Array<string>}
826
- * @memberof NewDeviceBody
827
- */
828
- 'model_names': Array<string>;
829
- /**
830
- *
831
- * @type {string}
832
- * @memberof NewDeviceBody
833
- */
834
- 'maintainer': string;
835
- }
836
- /**
837
- *
838
- * @export
839
- * @interface PasteInput
840
- */
841
- export interface PasteInput {
842
- /**
843
- *
844
- * @type {string}
845
- * @memberof PasteInput
846
- */
847
- '_id'?: string | null;
848
- /**
849
- *
850
- * @type {string}
851
- * @memberof PasteInput
852
- */
853
- 'content': string;
854
- /**
855
- *
856
- * @type {string}
857
- * @memberof PasteInput
858
- */
859
- 'ip_address': string;
860
- /**
861
- *
862
- * @type {string}
863
- * @memberof PasteInput
864
- */
865
- 'created_at'?: string;
866
- }
867
- /**
868
- *
869
- * @export
870
- * @interface PasteOutput
871
- */
872
- export interface PasteOutput {
873
- /**
874
- *
875
- * @type {string}
876
- * @memberof PasteOutput
877
- */
878
- '_id'?: string | null;
879
- /**
880
- *
881
- * @type {string}
882
- * @memberof PasteOutput
883
- */
884
- 'content': string;
885
- /**
886
- *
887
- * @type {string}
888
- * @memberof PasteOutput
889
- */
890
- 'ip_address': string;
891
- /**
892
- *
893
- * @type {string}
894
- * @memberof PasteOutput
895
- */
896
- 'created_at'?: string;
897
- }
898
- /**
899
- *
900
- * @export
901
- * @interface RecoveryImgResponse
902
- */
903
- export interface RecoveryImgResponse {
904
- /**
905
- *
906
- * @type {number}
907
- * @memberof RecoveryImgResponse
908
- */
909
- 'size': number;
910
- /**
911
- *
912
- * @type {string}
913
- * @memberof RecoveryImgResponse
914
- */
915
- 'md5': string;
916
- }
917
- /**
918
- *
919
- * @export
920
- * @interface ReleaseGroupsResponse
921
- */
922
- export interface ReleaseGroupsResponse {
923
- /**
924
- *
925
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
926
- * @memberof ReleaseGroupsResponse
927
- */
928
- 'data': {
929
- [key: string]: Array<ReleaseResponse>;
930
- };
931
- }
932
- /**
933
- *
934
- * @export
935
- * @interface ReleaseInternalResponse
936
- */
937
- export interface ReleaseInternalResponse {
938
- /**
939
- *
940
- * @type {string}
941
- * @memberof ReleaseInternalResponse
942
- * @deprecated
943
- */
944
- '_id': string;
945
- /**
946
- *
947
- * @type {number}
948
- * @memberof ReleaseInternalResponse
949
- * @deprecated
950
- */
951
- 'size': number;
952
- /**
953
- * Release ID, that\'s how we indentify the release in the infrastructure
954
- * @type {string}
955
- * @memberof ReleaseInternalResponse
956
- */
957
- 'id': string;
958
- /**
959
- *
960
- * @type {string}
961
- * @memberof ReleaseInternalResponse
962
- */
963
- 'build_id'?: string | null;
964
- /**
965
- *
966
- * @type {string}
967
- * @memberof ReleaseInternalResponse
968
- */
969
- 'filename': string;
970
- /**
971
- *
972
- * @type {string}
973
- * @memberof ReleaseInternalResponse
974
- */
975
- 'variant': string;
976
- /**
977
- *
978
- * @type {string}
979
- * @memberof ReleaseInternalResponse
980
- */
981
- 'device_id': string;
982
- /**
983
- *
984
- * @type {number}
985
- * @memberof ReleaseInternalResponse
986
- */
987
- 'date': number;
988
- /**
989
- *
990
- * @type {string}
991
- * @memberof ReleaseInternalResponse
992
- */
993
- 'md5': string;
994
- /**
995
- *
996
- * @type {string}
997
- * @memberof ReleaseInternalResponse
998
- */
999
- 'version': string;
1000
- /**
1001
- *
1002
- * @type {ReleaseType}
1003
- * @memberof ReleaseInternalResponse
1004
- */
1005
- 'type': ReleaseType;
1006
- /**
1007
- *
1008
- * @type {string}
1009
- * @memberof ReleaseInternalResponse
1010
- */
1011
- 'maintainer_id'?: string | null;
1012
- /**
1013
- *
1014
- * @type {boolean}
1015
- * @memberof ReleaseInternalResponse
1016
- */
1017
- 'archived': boolean;
1018
- /**
1019
- *
1020
- * @type {RecoveryImgResponse}
1021
- * @memberof ReleaseInternalResponse
1022
- */
1023
- 'recovery_img': RecoveryImgResponse;
1024
- /**
1025
- *
1026
- * @type {Array<string>}
1027
- * @memberof ReleaseInternalResponse
1028
- */
1029
- 'changelog': Array<string>;
1030
- /**
1031
- *
1032
- * @type {Array<string>}
1033
- * @memberof ReleaseInternalResponse
1034
- */
1035
- 'bugs': Array<string> | null;
1036
- /**
1037
- *
1038
- * @type {string}
1039
- * @memberof ReleaseInternalResponse
1040
- */
1041
- 'notes': string | null;
1042
- /**
1043
- *
1044
- * @type {{ [key: string]: ReleaseInternalResponsePropValue; }}
1045
- * @memberof ReleaseInternalResponse
1046
- */
1047
- 'prop'?: {
1048
- [key: string]: ReleaseInternalResponsePropValue;
1049
- } | null;
1050
- /**
1051
- *
1052
- * @type {ReleaseStatsResponse}
1053
- * @memberof ReleaseInternalResponse
1054
- */
1055
- 'stats'?: ReleaseStatsResponse | null;
1056
- /**
1057
- *
1058
- * @type {MaintainerShortModel}
1059
- * @memberof ReleaseInternalResponse
1060
- */
1061
- 'maintainer': MaintainerShortModel;
1062
- /**
1063
- * URL of the release on the official website
1064
- * @type {string}
1065
- * @memberof ReleaseInternalResponse
1066
- */
1067
- 'url': string;
1068
- /**
1069
- * Mirrors list (deprecated)
1070
- * @type {{ [key: string]: string; }}
1071
- * @memberof ReleaseInternalResponse
1072
- */
1073
- 'mirrors': {
1074
- [key: string]: string;
1075
- };
1076
- }
1077
- /**
1078
- *
1079
- * @export
1080
- * @interface ReleaseInternalResponsePropValue
1081
- */
1082
- export interface ReleaseInternalResponsePropValue {
1083
- }
1084
- /**
1085
- *
1086
- * @export
1087
- * @interface ReleaseResponse
1088
- */
1089
- export interface ReleaseResponse {
1090
- /**
1091
- *
1092
- * @type {string}
1093
- * @memberof ReleaseResponse
1094
- * @deprecated
1095
- */
1096
- '_id': string;
1097
- /**
1098
- *
1099
- * @type {number}
1100
- * @memberof ReleaseResponse
1101
- * @deprecated
1102
- */
1103
- 'size': number;
1104
- /**
1105
- * Release ID, that\'s how we indentify the release in the infrastructure
1106
- * @type {string}
1107
- * @memberof ReleaseResponse
1108
- */
1109
- 'id': string;
1110
- /**
1111
- *
1112
- * @type {string}
1113
- * @memberof ReleaseResponse
1114
- */
1115
- 'build_id'?: string | null;
1116
- /**
1117
- *
1118
- * @type {string}
1119
- * @memberof ReleaseResponse
1120
- */
1121
- 'filename': string;
1122
- /**
1123
- *
1124
- * @type {string}
1125
- * @memberof ReleaseResponse
1126
- */
1127
- 'variant': string;
1128
- /**
1129
- *
1130
- * @type {string}
1131
- * @memberof ReleaseResponse
1132
- */
1133
- 'device_id': string;
1134
- /**
1135
- *
1136
- * @type {number}
1137
- * @memberof ReleaseResponse
1138
- */
1139
- 'date': number;
1140
- /**
1141
- *
1142
- * @type {string}
1143
- * @memberof ReleaseResponse
1144
- */
1145
- 'md5': string;
1146
- /**
1147
- *
1148
- * @type {string}
1149
- * @memberof ReleaseResponse
1150
- */
1151
- 'version': string;
1152
- /**
1153
- *
1154
- * @type {ReleaseType}
1155
- * @memberof ReleaseResponse
1156
- */
1157
- 'type': ReleaseType;
1158
- /**
1159
- *
1160
- * @type {string}
1161
- * @memberof ReleaseResponse
1162
- */
1163
- 'maintainer_id'?: string | null;
1164
- /**
1165
- *
1166
- * @type {boolean}
1167
- * @memberof ReleaseResponse
1168
- */
1169
- 'archived': boolean;
1170
- /**
1171
- *
1172
- * @type {RecoveryImgResponse}
1173
- * @memberof ReleaseResponse
1174
- */
1175
- 'recovery_img': RecoveryImgResponse;
1176
- /**
1177
- *
1178
- * @type {Array<string>}
1179
- * @memberof ReleaseResponse
1180
- */
1181
- 'changelog': Array<string>;
1182
- /**
1183
- *
1184
- * @type {Array<string>}
1185
- * @memberof ReleaseResponse
1186
- */
1187
- 'bugs': Array<string> | null;
1188
- /**
1189
- *
1190
- * @type {string}
1191
- * @memberof ReleaseResponse
1192
- */
1193
- 'notes': string | null;
1194
- /**
1195
- * URL of the release on the official website
1196
- * @type {string}
1197
- * @memberof ReleaseResponse
1198
- */
1199
- 'url': string;
1200
- /**
1201
- * Mirrors list (deprecated)
1202
- * @type {{ [key: string]: string; }}
1203
- * @memberof ReleaseResponse
1204
- */
1205
- 'mirrors': {
1206
- [key: string]: string;
1207
- };
1208
- }
1209
- /**
1210
- *
1211
- * @export
1212
- * @interface ReleaseStatsResponse
1213
- */
1214
- export interface ReleaseStatsResponse {
1215
- /**
1216
- *
1217
- * @type {number}
1218
- * @memberof ReleaseStatsResponse
1219
- */
1220
- 'count': number;
1221
- /**
1222
- *
1223
- * @type {{ [key: string]: number; }}
1224
- * @memberof ReleaseStatsResponse
1225
- */
1226
- 'days': {
1227
- [key: string]: number;
1228
- };
1229
- /**
1230
- *
1231
- * @type {{ [key: string]: number; }}
1232
- * @memberof ReleaseStatsResponse
1233
- */
1234
- 'mirrors': {
1235
- [key: string]: number;
1236
- };
1237
- }
1238
- /**
1239
- *
1240
- * @export
1241
- * @enum {string}
1242
- */
1243
- export declare const ReleaseType: {
1244
- readonly Stable: "stable";
1245
- readonly Beta: "beta";
1246
- readonly Alpha: "alpha";
1247
- };
1248
- export type ReleaseType = typeof ReleaseType[keyof typeof ReleaseType];
1249
- /**
1250
- *
1251
- * @export
1252
- * @interface ReleaseUpdateBody
1253
- */
1254
- export interface ReleaseUpdateBody {
1255
- /**
1256
- *
1257
- * @type {Array<string>}
1258
- * @memberof ReleaseUpdateBody
1259
- */
1260
- 'changelog'?: Array<string> | null;
1261
- /**
1262
- *
1263
- * @type {Array<string>}
1264
- * @memberof ReleaseUpdateBody
1265
- */
1266
- 'bugs'?: Array<string> | null;
1267
- /**
1268
- *
1269
- * @type {string}
1270
- * @memberof ReleaseUpdateBody
1271
- */
1272
- 'notes'?: string | null;
1273
- /**
1274
- *
1275
- * @type {boolean}
1276
- * @memberof ReleaseUpdateBody
1277
- */
1278
- 'freezed'?: boolean | null;
1279
- }
1280
- /**
1281
- *
1282
- * @export
1283
- * @enum {string}
1284
- */
1285
- export declare const ReleasesSort: {
1286
- readonly DateAsc: "date_asc";
1287
- readonly DateDesc: "date_desc";
1288
- };
1289
- export type ReleasesSort = typeof ReleasesSort[keyof typeof ReleasesSort];
1290
- /**
1291
- *
1292
- * @export
1293
- * @interface ResponseGetReleases
1294
- */
1295
- export interface ResponseGetReleases {
1296
- /**
1297
- *
1298
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
1299
- * @memberof ResponseGetReleases
1300
- */
1301
- 'data': {
1302
- [key: string]: Array<ReleaseResponse>;
1303
- };
1304
- /**
1305
- *
1306
- * @type {number}
1307
- * @memberof ResponseGetReleases
1308
- */
1309
- 'count': number;
1310
- }
1311
- /**
1312
- *
1313
- * @export
1314
- * @interface ShortDeviceResponse
1315
- */
1316
- export interface ShortDeviceResponse {
1317
- /**
1318
- *
1319
- * @type {string}
1320
- * @memberof ShortDeviceResponse
1321
- * @deprecated
1322
- */
1323
- '_id': string;
1324
- /**
1325
- * Device codename, legacy
1326
- * @type {string}
1327
- * @memberof ShortDeviceResponse
1328
- * @deprecated
1329
- */
1330
- 'codename': string;
1331
- /**
1332
- * Model name of device, does not include the OEM part, legacy
1333
- * @type {string}
1334
- * @memberof ShortDeviceResponse
1335
- * @deprecated
1336
- */
1337
- 'model_name': string;
1338
- /**
1339
- *
1340
- * @type {string}
1341
- * @memberof ShortDeviceResponse
1342
- */
1343
- 'oem_name': string;
1344
- /**
1345
- *
1346
- * @type {string}
1347
- * @memberof ShortDeviceResponse
1348
- */
1349
- 'id': string;
1350
- /**
1351
- *
1352
- * @type {Array<string>}
1353
- * @memberof ShortDeviceResponse
1354
- */
1355
- 'codenames': Array<string>;
1356
- /**
1357
- *
1358
- * @type {Array<string>}
1359
- * @memberof ShortDeviceResponse
1360
- */
1361
- 'model_names': Array<string>;
1362
- /**
1363
- *
1364
- * @type {boolean}
1365
- * @memberof ShortDeviceResponse
1366
- */
1367
- 'supported': boolean;
1368
- /**
1369
- * Full name of device / devices, legacy
1370
- * @type {string}
1371
- * @memberof ShortDeviceResponse
1372
- */
1373
- 'full_name': string;
1374
- /**
1375
- * URL of the device on the official website
1376
- * @type {string}
1377
- * @memberof ShortDeviceResponse
1378
- */
1379
- 'url': string;
1380
- }
1381
- /**
1382
- *
1383
- * @export
1384
- * @interface ShortReleaseResponse
1385
- */
1386
- export interface ShortReleaseResponse {
1387
- /**
1388
- *
1389
- * @type {string}
1390
- * @memberof ShortReleaseResponse
1391
- * @deprecated
1392
- */
1393
- '_id': string;
1394
- /**
1395
- *
1396
- * @type {number}
1397
- * @memberof ShortReleaseResponse
1398
- * @deprecated
1399
- */
1400
- 'size': number;
1401
- /**
1402
- * Release ID, that\'s how we indentify the release in the infrastructure
1403
- * @type {string}
1404
- * @memberof ShortReleaseResponse
1405
- */
1406
- 'id': string;
1407
- /**
1408
- *
1409
- * @type {string}
1410
- * @memberof ShortReleaseResponse
1411
- */
1412
- 'build_id'?: string | null;
1413
- /**
1414
- *
1415
- * @type {string}
1416
- * @memberof ShortReleaseResponse
1417
- */
1418
- 'filename': string;
1419
- /**
1420
- *
1421
- * @type {string}
1422
- * @memberof ShortReleaseResponse
1423
- */
1424
- 'variant': string;
1425
- /**
1426
- *
1427
- * @type {string}
1428
- * @memberof ShortReleaseResponse
1429
- */
1430
- 'device_id': string;
1431
- /**
1432
- *
1433
- * @type {number}
1434
- * @memberof ShortReleaseResponse
1435
- */
1436
- 'date': number;
1437
- /**
1438
- *
1439
- * @type {string}
1440
- * @memberof ShortReleaseResponse
1441
- */
1442
- 'md5': string;
1443
- /**
1444
- *
1445
- * @type {string}
1446
- * @memberof ShortReleaseResponse
1447
- */
1448
- 'version': string;
1449
- /**
1450
- *
1451
- * @type {ReleaseType}
1452
- * @memberof ShortReleaseResponse
1453
- */
1454
- 'type': ReleaseType;
1455
- /**
1456
- *
1457
- * @type {string}
1458
- * @memberof ShortReleaseResponse
1459
- */
1460
- 'maintainer_id'?: string | null;
1461
- /**
1462
- *
1463
- * @type {boolean}
1464
- * @memberof ShortReleaseResponse
1465
- */
1466
- 'archived': boolean;
1467
- }
1468
- /**
1469
- *
1470
- * @export
1471
- * @interface TaskUpdateBody
1472
- */
1473
- export interface TaskUpdateBody {
1474
- /**
1475
- *
1476
- * @type {BuildStatusEnum}
1477
- * @memberof TaskUpdateBody
1478
- */
1479
- 'status'?: BuildStatusEnum | null;
1480
- /**
1481
- *
1482
- * @type {Array<string>}
1483
- * @memberof TaskUpdateBody
1484
- */
1485
- 'logs'?: Array<string> | null;
1486
- }
1487
- /**
1488
- *
1489
- * @export
1490
- * @interface TokenResponse
1491
- */
1492
- export interface TokenResponse {
1493
- /**
1494
- *
1495
- * @type {string}
1496
- * @memberof TokenResponse
1497
- */
1498
- 'access_token': string;
1499
- /**
1500
- *
1501
- * @type {string}
1502
- * @memberof TokenResponse
1503
- */
1504
- 'token_type'?: string;
1505
- }
1506
- /**
1507
- *
1508
- * @export
1509
- * @interface UserGitlab
1510
- */
1511
- export interface UserGitlab {
1512
- /**
1513
- *
1514
- * @type {number}
1515
- * @memberof UserGitlab
1516
- */
1517
- 'id': number;
1518
- }
1519
- /**
1520
- *
1521
- * @export
1522
- * @interface UserInternalResponse
1523
- */
1524
- export interface UserInternalResponse {
1525
- /**
1526
- *
1527
- * @type {string}
1528
- * @memberof UserInternalResponse
1529
- */
1530
- 'id': string;
1531
- /**
1532
- *
1533
- * @type {string}
1534
- * @memberof UserInternalResponse
1535
- */
1536
- 'username': string;
1537
- /**
1538
- *
1539
- * @type {string}
1540
- * @memberof UserInternalResponse
1541
- */
1542
- 'name': string;
1543
- /**
1544
- *
1545
- * @type {boolean}
1546
- * @memberof UserInternalResponse
1547
- */
1548
- 'freezed': boolean;
1549
- /**
1550
- *
1551
- * @type {Array<string>}
1552
- * @memberof UserInternalResponse
1553
- */
1554
- 'roles': Array<string>;
1555
- /**
1556
- *
1557
- * @type {UserTelegram}
1558
- * @memberof UserInternalResponse
1559
- */
1560
- 'telegram'?: UserTelegram | null;
1561
- /**
1562
- *
1563
- * @type {UserGitlab}
1564
- * @memberof UserInternalResponse
1565
- */
1566
- 'gitlab'?: UserGitlab | null;
1567
- /**
1568
- *
1569
- * @type {UserMail}
1570
- * @memberof UserInternalResponse
1571
- */
1572
- 'mail'?: UserMail | null;
1573
- /**
1574
- *
1575
- * @type {string}
1576
- * @memberof UserInternalResponse
1577
- */
1578
- 'admin_notes'?: string | null;
1579
- /**
1580
- *
1581
- * @type {Array<ShortDeviceResponse>}
1582
- * @memberof UserInternalResponse
1583
- */
1584
- 'maintained_devices': Array<ShortDeviceResponse>;
1585
- }
1586
- /**
1587
- *
1588
- * @export
1589
- * @interface UserMail
1590
- */
1591
- export interface UserMail {
1592
- /**
1593
- *
1594
- * @type {string}
1595
- * @memberof UserMail
1596
- */
1597
- 'username': string;
1598
- }
1599
- /**
1600
- *
1601
- * @export
1602
- * @interface UserShortResponse
1603
- */
1604
- export interface UserShortResponse {
1605
- /**
1606
- *
1607
- * @type {string}
1608
- * @memberof UserShortResponse
1609
- */
1610
- 'id': string;
1611
- /**
1612
- *
1613
- * @type {string}
1614
- * @memberof UserShortResponse
1615
- */
1616
- 'username': string;
1617
- /**
1618
- *
1619
- * @type {string}
1620
- * @memberof UserShortResponse
1621
- */
1622
- 'name': string;
1623
- /**
1624
- *
1625
- * @type {boolean}
1626
- * @memberof UserShortResponse
1627
- */
1628
- 'freezed': boolean;
1629
- }
1630
- /**
1631
- *
1632
- * @export
1633
- * @interface UserTelegram
1634
- */
1635
- export interface UserTelegram {
1636
- /**
1637
- *
1638
- * @type {number}
1639
- * @memberof UserTelegram
1640
- */
1641
- 'id': number;
1642
- }
1643
- /**
1644
- *
1645
- * @export
1646
- * @interface UserUpdateBody
1647
- */
1648
- export interface UserUpdateBody {
1649
- /**
1650
- *
1651
- * @type {string}
1652
- * @memberof UserUpdateBody
1653
- */
1654
- 'username'?: string | null;
1655
- /**
1656
- *
1657
- * @type {string}
1658
- * @memberof UserUpdateBody
1659
- */
1660
- 'name'?: string | null;
1661
- /**
1662
- *
1663
- * @type {boolean}
1664
- * @memberof UserUpdateBody
1665
- */
1666
- 'freezed'?: boolean | null;
1667
- /**
1668
- *
1669
- * @type {Array<string>}
1670
- * @memberof UserUpdateBody
1671
- */
1672
- 'roles'?: Array<string> | null;
1673
- /**
1674
- *
1675
- * @type {string}
1676
- * @memberof UserUpdateBody
1677
- */
1678
- 'admin_notes'?: string | null;
1679
- }
1680
- /**
1681
- *
1682
- * @export
1683
- * @interface ValidationError
1684
- */
1685
- export interface ValidationError {
1686
- /**
1687
- *
1688
- * @type {Array<ValidationErrorLocInner>}
1689
- * @memberof ValidationError
1690
- */
1691
- 'loc': Array<ValidationErrorLocInner>;
1692
- /**
1693
- *
1694
- * @type {string}
1695
- * @memberof ValidationError
1696
- */
1697
- 'msg': string;
1698
- /**
1699
- *
1700
- * @type {string}
1701
- * @memberof ValidationError
1702
- */
1703
- 'type': string;
1704
- }
1705
- /**
1706
- *
1707
- * @export
1708
- * @interface ValidationErrorLocInner
1709
- */
1710
- export interface ValidationErrorLocInner {
1711
- }
1712
- /**
1713
- * DeviceApi - axios parameter creator
1714
- * @export
1715
- */
1716
- export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
1717
- /**
1718
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
1719
- * @summary Get Device
1720
- * @param {string | null} [deviceId]
1721
- * @param {string | null} [id] Filter by Device ID (deprecated)
1722
- * @param {string | null} [codename] Not recommended to use when you can
1723
- * @param {*} [options] Override http request option.
1724
- * @throws {RequiredError}
1725
- */
1726
- getDevice: (deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1727
- /**
1728
- * Gets device info using device ID.
1729
- * @summary Get Device Short
1730
- * @param {string} deviceId
1731
- * @param {*} [options] Override http request option.
1732
- * @deprecated
1733
- * @throws {RequiredError}
1734
- */
1735
- getDeviceDeprecated: (deviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1736
- /**
1737
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
1738
- * @summary Get Devices
1739
- * @param {Array<string>} [id] Filter by Device IDs
1740
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1741
- * @param {Array<string>} [oemName] Filter by OEM names
1742
- * @param {Array<string>} [codename] Filter by device codenames
1743
- * @param {Array<string>} [modelName] Filter by model names
1744
- * @param {boolean | null} [supported] Supported status
1745
- * @param {Array<string>} [maintainer] Filter by maintainer ID
1746
- * @param {boolean | null} [freezed] Filter by Freezed status
1747
- * @param {boolean | null} [hasReleases] Filter by has releases status
1748
- * @param {number | null} [skip] Skip query results
1749
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1750
- * @param {*} [options] Override http request option.
1751
- * @throws {RequiredError}
1752
- */
1753
- getDevices: (id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1754
- /**
1755
- * Lists all OEM names
1756
- * @summary Get Oems
1757
- * @param {*} [options] Override http request option.
1758
- * @throws {RequiredError}
1759
- */
1760
- getOems: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1761
- };
1762
- /**
1763
- * DeviceApi - functional programming interface
1764
- * @export
1765
- */
1766
- export declare const DeviceApiFp: (configuration?: Configuration) => {
1767
- /**
1768
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
1769
- * @summary Get Device
1770
- * @param {string | null} [deviceId]
1771
- * @param {string | null} [id] Filter by Device ID (deprecated)
1772
- * @param {string | null} [codename] Not recommended to use when you can
1773
- * @param {*} [options] Override http request option.
1774
- * @throws {RequiredError}
1775
- */
1776
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
1777
- /**
1778
- * Gets device info using device ID.
1779
- * @summary Get Device Short
1780
- * @param {string} deviceId
1781
- * @param {*} [options] Override http request option.
1782
- * @deprecated
1783
- * @throws {RequiredError}
1784
- */
1785
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
1786
- /**
1787
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
1788
- * @summary Get Devices
1789
- * @param {Array<string>} [id] Filter by Device IDs
1790
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1791
- * @param {Array<string>} [oemName] Filter by OEM names
1792
- * @param {Array<string>} [codename] Filter by device codenames
1793
- * @param {Array<string>} [modelName] Filter by model names
1794
- * @param {boolean | null} [supported] Supported status
1795
- * @param {Array<string>} [maintainer] Filter by maintainer ID
1796
- * @param {boolean | null} [freezed] Filter by Freezed status
1797
- * @param {boolean | null} [hasReleases] Filter by has releases status
1798
- * @param {number | null} [skip] Skip query results
1799
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1800
- * @param {*} [options] Override http request option.
1801
- * @throws {RequiredError}
1802
- */
1803
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortDeviceResponse>>;
1804
- /**
1805
- * Lists all OEM names
1806
- * @summary Get Oems
1807
- * @param {*} [options] Override http request option.
1808
- * @throws {RequiredError}
1809
- */
1810
- getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>>;
1811
- };
1812
- /**
1813
- * DeviceApi - factory interface
1814
- * @export
1815
- */
1816
- export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1817
- /**
1818
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
1819
- * @summary Get Device
1820
- * @param {string | null} [deviceId]
1821
- * @param {string | null} [id] Filter by Device ID (deprecated)
1822
- * @param {string | null} [codename] Not recommended to use when you can
1823
- * @param {*} [options] Override http request option.
1824
- * @throws {RequiredError}
1825
- */
1826
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1827
- /**
1828
- * Gets device info using device ID.
1829
- * @summary Get Device Short
1830
- * @param {string} deviceId
1831
- * @param {*} [options] Override http request option.
1832
- * @deprecated
1833
- * @throws {RequiredError}
1834
- */
1835
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1836
- /**
1837
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
1838
- * @summary Get Devices
1839
- * @param {Array<string>} [id] Filter by Device IDs
1840
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1841
- * @param {Array<string>} [oemName] Filter by OEM names
1842
- * @param {Array<string>} [codename] Filter by device codenames
1843
- * @param {Array<string>} [modelName] Filter by model names
1844
- * @param {boolean | null} [supported] Supported status
1845
- * @param {Array<string>} [maintainer] Filter by maintainer ID
1846
- * @param {boolean | null} [freezed] Filter by Freezed status
1847
- * @param {boolean | null} [hasReleases] Filter by has releases status
1848
- * @param {number | null} [skip] Skip query results
1849
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1850
- * @param {*} [options] Override http request option.
1851
- * @throws {RequiredError}
1852
- */
1853
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
1854
- /**
1855
- * Lists all OEM names
1856
- * @summary Get Oems
1857
- * @param {*} [options] Override http request option.
1858
- * @throws {RequiredError}
1859
- */
1860
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1861
- };
1862
- /**
1863
- * DeviceApi - interface
1864
- * @export
1865
- * @interface DeviceApi
1866
- */
1867
- export interface DeviceApiInterface {
1868
- /**
1869
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
1870
- * @summary Get Device
1871
- * @param {string | null} [deviceId]
1872
- * @param {string | null} [id] Filter by Device ID (deprecated)
1873
- * @param {string | null} [codename] Not recommended to use when you can
1874
- * @param {*} [options] Override http request option.
1875
- * @throws {RequiredError}
1876
- * @memberof DeviceApiInterface
1877
- */
1878
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1879
- /**
1880
- * Gets device info using device ID.
1881
- * @summary Get Device Short
1882
- * @param {string} deviceId
1883
- * @param {*} [options] Override http request option.
1884
- * @deprecated
1885
- * @throws {RequiredError}
1886
- * @memberof DeviceApiInterface
1887
- */
1888
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1889
- /**
1890
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
1891
- * @summary Get Devices
1892
- * @param {Array<string>} [id] Filter by Device IDs
1893
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1894
- * @param {Array<string>} [oemName] Filter by OEM names
1895
- * @param {Array<string>} [codename] Filter by device codenames
1896
- * @param {Array<string>} [modelName] Filter by model names
1897
- * @param {boolean | null} [supported] Supported status
1898
- * @param {Array<string>} [maintainer] Filter by maintainer ID
1899
- * @param {boolean | null} [freezed] Filter by Freezed status
1900
- * @param {boolean | null} [hasReleases] Filter by has releases status
1901
- * @param {number | null} [skip] Skip query results
1902
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1903
- * @param {*} [options] Override http request option.
1904
- * @throws {RequiredError}
1905
- * @memberof DeviceApiInterface
1906
- */
1907
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
1908
- /**
1909
- * Lists all OEM names
1910
- * @summary Get Oems
1911
- * @param {*} [options] Override http request option.
1912
- * @throws {RequiredError}
1913
- * @memberof DeviceApiInterface
1914
- */
1915
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1916
- }
1917
- /**
1918
- * DeviceApi - object-oriented interface
1919
- * @export
1920
- * @class DeviceApi
1921
- * @extends {BaseAPI}
1922
- */
1923
- export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
1924
- /**
1925
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
1926
- * @summary Get Device
1927
- * @param {string | null} [deviceId]
1928
- * @param {string | null} [id] Filter by Device ID (deprecated)
1929
- * @param {string | null} [codename] Not recommended to use when you can
1930
- * @param {*} [options] Override http request option.
1931
- * @throws {RequiredError}
1932
- * @memberof DeviceApi
1933
- */
1934
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
1935
- /**
1936
- * Gets device info using device ID.
1937
- * @summary Get Device Short
1938
- * @param {string} deviceId
1939
- * @param {*} [options] Override http request option.
1940
- * @deprecated
1941
- * @throws {RequiredError}
1942
- * @memberof DeviceApi
1943
- */
1944
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
1945
- /**
1946
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
1947
- * @summary Get Devices
1948
- * @param {Array<string>} [id] Filter by Device IDs
1949
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1950
- * @param {Array<string>} [oemName] Filter by OEM names
1951
- * @param {Array<string>} [codename] Filter by device codenames
1952
- * @param {Array<string>} [modelName] Filter by model names
1953
- * @param {boolean | null} [supported] Supported status
1954
- * @param {Array<string>} [maintainer] Filter by maintainer ID
1955
- * @param {boolean | null} [freezed] Filter by Freezed status
1956
- * @param {boolean | null} [hasReleases] Filter by has releases status
1957
- * @param {number | null} [skip] Skip query results
1958
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1959
- * @param {*} [options] Override http request option.
1960
- * @throws {RequiredError}
1961
- * @memberof DeviceApi
1962
- */
1963
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortDeviceResponse, any>>;
1964
- /**
1965
- * Lists all OEM names
1966
- * @summary Get Oems
1967
- * @param {*} [options] Override http request option.
1968
- * @throws {RequiredError}
1969
- * @memberof DeviceApi
1970
- */
1971
- getOems(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseStr, any>>;
1972
- }
1973
- /**
1974
- * FoxFactoryApi - axios parameter creator
1975
- * @export
1976
- */
1977
- export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configuration) => {
1978
- /**
1979
- * 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.
1980
- * @summary Cancel Task
1981
- * @param {string} taskId
1982
- * @param {*} [options] Override http request option.
1983
- * @throws {RequiredError}
1984
- */
1985
- cancelTaskFactoryTaskIdCancelPost: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1986
- /**
1987
- * 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.
1988
- * @summary Delete Task
1989
- * @param {string} taskId
1990
- * @param {*} [options] Override http request option.
1991
- * @throws {RequiredError}
1992
- */
1993
- deleteTaskFactoryTaskIdDelete: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1994
- /**
1995
- * 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
1996
- * @summary Download Artifact
1997
- * @param {string} taskId
1998
- * @param {*} [options] Override http request option.
1999
- * @throws {RequiredError}
2000
- */
2001
- downloadArtifactFactoryTaskIdArtifactGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2002
- /**
2003
- * 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.
2004
- * @summary Factory Status
2005
- * @param {*} [options] Override http request option.
2006
- * @throws {RequiredError}
2007
- */
2008
- factoryStatusFactoryStatusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2009
- /**
2010
- * 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.
2011
- * @summary Get Task
2012
- * @param {string} taskId
2013
- * @param {*} [options] Override http request option.
2014
- * @throws {RequiredError}
2015
- */
2016
- getTaskFactoryTaskIdGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2017
- /**
2018
- * 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
2019
- * @summary List Tasks
2020
- * @param {string | null} [deviceId]
2021
- * @param {*} [options] Override http request option.
2022
- * @throws {RequiredError}
2023
- */
2024
- listTasksFactoryGet: (deviceId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2025
- /**
2026
- * 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.
2027
- * @summary New Task
2028
- * @param {NewBuildTaskBody} newBuildTaskBody
2029
- * @param {*} [options] Override http request option.
2030
- * @throws {RequiredError}
2031
- */
2032
- newTaskFactoryPost: (newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2033
- /**
2034
- * 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.
2035
- * @summary Update Task
2036
- * @param {string} taskId
2037
- * @param {TaskUpdateBody} taskUpdateBody
2038
- * @param {*} [options] Override http request option.
2039
- * @throws {RequiredError}
2040
- */
2041
- updateTaskFactoryTaskIdPatch: (taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2042
- /**
2043
- * Endpoint for FoxFactory worker to update its status.
2044
- * @summary Update Worker Status
2045
- * @param {string} body
2046
- * @param {*} [options] Override http request option.
2047
- * @throws {RequiredError}
2048
- */
2049
- updateWorkerStatusFactoryUpdateStatusPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2050
- /**
2051
- * 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
2052
- * @summary Upload Artifact
2053
- * @param {string} taskId
2054
- * @param {File} artifact
2055
- * @param {string} md5Hash
2056
- * @param {*} [options] Override http request option.
2057
- * @throws {RequiredError}
2058
- */
2059
- uploadArtifactFactoryTaskIdArtifactPost: (taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2060
- };
2061
- /**
2062
- * FoxFactoryApi - functional programming interface
2063
- * @export
2064
- */
2065
- export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
2066
- /**
2067
- * 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.
2068
- * @summary Cancel Task
2069
- * @param {string} taskId
2070
- * @param {*} [options] Override http request option.
2071
- * @throws {RequiredError}
2072
- */
2073
- cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
2074
- /**
2075
- * 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.
2076
- * @summary Delete Task
2077
- * @param {string} taskId
2078
- * @param {*} [options] Override http request option.
2079
- * @throws {RequiredError}
2080
- */
2081
- deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2082
- /**
2083
- * 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
2084
- * @summary Download Artifact
2085
- * @param {string} taskId
2086
- * @param {*} [options] Override http request option.
2087
- * @throws {RequiredError}
2088
- */
2089
- downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2090
- /**
2091
- * 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.
2092
- * @summary Factory Status
2093
- * @param {*} [options] Override http request option.
2094
- * @throws {RequiredError}
2095
- */
2096
- factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FFStatusResponse>>;
2097
- /**
2098
- * 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.
2099
- * @summary Get Task
2100
- * @param {string} taskId
2101
- * @param {*} [options] Override http request option.
2102
- * @throws {RequiredError}
2103
- */
2104
- getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
2105
- /**
2106
- * 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
2107
- * @summary List Tasks
2108
- * @param {string | null} [deviceId]
2109
- * @param {*} [options] Override http request option.
2110
- * @throws {RequiredError}
2111
- */
2112
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseBuildTaskShortResponse>>;
2113
- /**
2114
- * 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.
2115
- * @summary New Task
2116
- * @param {NewBuildTaskBody} newBuildTaskBody
2117
- * @param {*} [options] Override http request option.
2118
- * @throws {RequiredError}
2119
- */
2120
- newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2121
- /**
2122
- * 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.
2123
- * @summary Update Task
2124
- * @param {string} taskId
2125
- * @param {TaskUpdateBody} taskUpdateBody
2126
- * @param {*} [options] Override http request option.
2127
- * @throws {RequiredError}
2128
- */
2129
- updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2130
- /**
2131
- * Endpoint for FoxFactory worker to update its status.
2132
- * @summary Update Worker Status
2133
- * @param {string} body
2134
- * @param {*} [options] Override http request option.
2135
- * @throws {RequiredError}
2136
- */
2137
- updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2138
- /**
2139
- * 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
2140
- * @summary Upload Artifact
2141
- * @param {string} taskId
2142
- * @param {File} artifact
2143
- * @param {string} md5Hash
2144
- * @param {*} [options] Override http request option.
2145
- * @throws {RequiredError}
2146
- */
2147
- uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2148
- };
2149
- /**
2150
- * FoxFactoryApi - factory interface
2151
- * @export
2152
- */
2153
- export declare const FoxFactoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2154
- /**
2155
- * 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.
2156
- * @summary Cancel Task
2157
- * @param {string} taskId
2158
- * @param {*} [options] Override http request option.
2159
- * @throws {RequiredError}
2160
- */
2161
- cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2162
- /**
2163
- * 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.
2164
- * @summary Delete Task
2165
- * @param {string} taskId
2166
- * @param {*} [options] Override http request option.
2167
- * @throws {RequiredError}
2168
- */
2169
- deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2170
- /**
2171
- * 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
2172
- * @summary Download Artifact
2173
- * @param {string} taskId
2174
- * @param {*} [options] Override http request option.
2175
- * @throws {RequiredError}
2176
- */
2177
- downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2178
- /**
2179
- * 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.
2180
- * @summary Factory Status
2181
- * @param {*} [options] Override http request option.
2182
- * @throws {RequiredError}
2183
- */
2184
- factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<FFStatusResponse>;
2185
- /**
2186
- * 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.
2187
- * @summary Get Task
2188
- * @param {string} taskId
2189
- * @param {*} [options] Override http request option.
2190
- * @throws {RequiredError}
2191
- */
2192
- getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2193
- /**
2194
- * 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
2195
- * @summary List Tasks
2196
- * @param {string | null} [deviceId]
2197
- * @param {*} [options] Override http request option.
2198
- * @throws {RequiredError}
2199
- */
2200
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseBuildTaskShortResponse>;
2201
- /**
2202
- * 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.
2203
- * @summary New Task
2204
- * @param {NewBuildTaskBody} newBuildTaskBody
2205
- * @param {*} [options] Override http request option.
2206
- * @throws {RequiredError}
2207
- */
2208
- newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2209
- /**
2210
- * 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.
2211
- * @summary Update Task
2212
- * @param {string} taskId
2213
- * @param {TaskUpdateBody} taskUpdateBody
2214
- * @param {*} [options] Override http request option.
2215
- * @throws {RequiredError}
2216
- */
2217
- updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2218
- /**
2219
- * Endpoint for FoxFactory worker to update its status.
2220
- * @summary Update Worker Status
2221
- * @param {string} body
2222
- * @param {*} [options] Override http request option.
2223
- * @throws {RequiredError}
2224
- */
2225
- updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2226
- /**
2227
- * 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
2228
- * @summary Upload Artifact
2229
- * @param {string} taskId
2230
- * @param {File} artifact
2231
- * @param {string} md5Hash
2232
- * @param {*} [options] Override http request option.
2233
- * @throws {RequiredError}
2234
- */
2235
- uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2236
- };
2237
- /**
2238
- * FoxFactoryApi - interface
2239
- * @export
2240
- * @interface FoxFactoryApi
2241
- */
2242
- export interface FoxFactoryApiInterface {
2243
- /**
2244
- * 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.
2245
- * @summary Cancel Task
2246
- * @param {string} taskId
2247
- * @param {*} [options] Override http request option.
2248
- * @throws {RequiredError}
2249
- * @memberof FoxFactoryApiInterface
2250
- */
2251
- cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2252
- /**
2253
- * 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.
2254
- * @summary Delete Task
2255
- * @param {string} taskId
2256
- * @param {*} [options] Override http request option.
2257
- * @throws {RequiredError}
2258
- * @memberof FoxFactoryApiInterface
2259
- */
2260
- deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2261
- /**
2262
- * 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
2263
- * @summary Download Artifact
2264
- * @param {string} taskId
2265
- * @param {*} [options] Override http request option.
2266
- * @throws {RequiredError}
2267
- * @memberof FoxFactoryApiInterface
2268
- */
2269
- downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2270
- /**
2271
- * 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.
2272
- * @summary Factory Status
2273
- * @param {*} [options] Override http request option.
2274
- * @throws {RequiredError}
2275
- * @memberof FoxFactoryApiInterface
2276
- */
2277
- factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<FFStatusResponse>;
2278
- /**
2279
- * 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.
2280
- * @summary Get Task
2281
- * @param {string} taskId
2282
- * @param {*} [options] Override http request option.
2283
- * @throws {RequiredError}
2284
- * @memberof FoxFactoryApiInterface
2285
- */
2286
- getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2287
- /**
2288
- * 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
2289
- * @summary List Tasks
2290
- * @param {string | null} [deviceId]
2291
- * @param {*} [options] Override http request option.
2292
- * @throws {RequiredError}
2293
- * @memberof FoxFactoryApiInterface
2294
- */
2295
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseBuildTaskShortResponse>;
2296
- /**
2297
- * 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.
2298
- * @summary New Task
2299
- * @param {NewBuildTaskBody} newBuildTaskBody
2300
- * @param {*} [options] Override http request option.
2301
- * @throws {RequiredError}
2302
- * @memberof FoxFactoryApiInterface
2303
- */
2304
- newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2305
- /**
2306
- * 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.
2307
- * @summary Update Task
2308
- * @param {string} taskId
2309
- * @param {TaskUpdateBody} taskUpdateBody
2310
- * @param {*} [options] Override http request option.
2311
- * @throws {RequiredError}
2312
- * @memberof FoxFactoryApiInterface
2313
- */
2314
- updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2315
- /**
2316
- * Endpoint for FoxFactory worker to update its status.
2317
- * @summary Update Worker Status
2318
- * @param {string} body
2319
- * @param {*} [options] Override http request option.
2320
- * @throws {RequiredError}
2321
- * @memberof FoxFactoryApiInterface
2322
- */
2323
- updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2324
- /**
2325
- * 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
2326
- * @summary Upload Artifact
2327
- * @param {string} taskId
2328
- * @param {File} artifact
2329
- * @param {string} md5Hash
2330
- * @param {*} [options] Override http request option.
2331
- * @throws {RequiredError}
2332
- * @memberof FoxFactoryApiInterface
2333
- */
2334
- uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2335
- }
2336
- /**
2337
- * FoxFactoryApi - object-oriented interface
2338
- * @export
2339
- * @class FoxFactoryApi
2340
- * @extends {BaseAPI}
2341
- */
2342
- export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInterface {
2343
- /**
2344
- * 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.
2345
- * @summary Cancel Task
2346
- * @param {string} taskId
2347
- * @param {*} [options] Override http request option.
2348
- * @throws {RequiredError}
2349
- * @memberof FoxFactoryApi
2350
- */
2351
- cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
2352
- /**
2353
- * 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.
2354
- * @summary Delete Task
2355
- * @param {string} taskId
2356
- * @param {*} [options] Override http request option.
2357
- * @throws {RequiredError}
2358
- * @memberof FoxFactoryApi
2359
- */
2360
- deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2361
- /**
2362
- * 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
2363
- * @summary Download Artifact
2364
- * @param {string} taskId
2365
- * @param {*} [options] Override http request option.
2366
- * @throws {RequiredError}
2367
- * @memberof FoxFactoryApi
2368
- */
2369
- downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
2370
- /**
2371
- * 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.
2372
- * @summary Factory Status
2373
- * @param {*} [options] Override http request option.
2374
- * @throws {RequiredError}
2375
- * @memberof FoxFactoryApi
2376
- */
2377
- factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FFStatusResponse, any>>;
2378
- /**
2379
- * 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.
2380
- * @summary Get Task
2381
- * @param {string} taskId
2382
- * @param {*} [options] Override http request option.
2383
- * @throws {RequiredError}
2384
- * @memberof FoxFactoryApi
2385
- */
2386
- getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
2387
- /**
2388
- * 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
2389
- * @summary List Tasks
2390
- * @param {string | null} [deviceId]
2391
- * @param {*} [options] Override http request option.
2392
- * @throws {RequiredError}
2393
- * @memberof FoxFactoryApi
2394
- */
2395
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseBuildTaskShortResponse, any>>;
2396
- /**
2397
- * 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.
2398
- * @summary New Task
2399
- * @param {NewBuildTaskBody} newBuildTaskBody
2400
- * @param {*} [options] Override http request option.
2401
- * @throws {RequiredError}
2402
- * @memberof FoxFactoryApi
2403
- */
2404
- newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2405
- /**
2406
- * 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.
2407
- * @summary Update Task
2408
- * @param {string} taskId
2409
- * @param {TaskUpdateBody} taskUpdateBody
2410
- * @param {*} [options] Override http request option.
2411
- * @throws {RequiredError}
2412
- * @memberof FoxFactoryApi
2413
- */
2414
- updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2415
- /**
2416
- * Endpoint for FoxFactory worker to update its status.
2417
- * @summary Update Worker Status
2418
- * @param {string} body
2419
- * @param {*} [options] Override http request option.
2420
- * @throws {RequiredError}
2421
- * @memberof FoxFactoryApi
2422
- */
2423
- updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
2424
- /**
2425
- * 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
2426
- * @summary Upload Artifact
2427
- * @param {string} taskId
2428
- * @param {File} artifact
2429
- * @param {string} md5Hash
2430
- * @param {*} [options] Override http request option.
2431
- * @throws {RequiredError}
2432
- * @memberof FoxFactoryApi
2433
- */
2434
- uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2435
- }
2436
- /**
2437
- * GitlabApi - axios parameter creator
2438
- * @export
2439
- */
2440
- export declare const GitlabApiAxiosParamCreator: (configuration?: Configuration) => {
2441
- /**
2442
- *
2443
- * @summary Device Add Gitlab Repo
2444
- * @param {string} deviceId
2445
- * @param {string} glProjectUrl
2446
- * @param {*} [options] Override http request option.
2447
- * @throws {RequiredError}
2448
- */
2449
- deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost: (deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2450
- };
2451
- /**
2452
- * GitlabApi - functional programming interface
2453
- * @export
2454
- */
2455
- export declare const GitlabApiFp: (configuration?: Configuration) => {
2456
- /**
2457
- *
2458
- * @summary Device Add Gitlab Repo
2459
- * @param {string} deviceId
2460
- * @param {string} glProjectUrl
2461
- * @param {*} [options] Override http request option.
2462
- * @throws {RequiredError}
2463
- */
2464
- deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2465
- };
2466
- /**
2467
- * GitlabApi - factory interface
2468
- * @export
2469
- */
2470
- export declare const GitlabApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2471
- /**
2472
- *
2473
- * @summary Device Add Gitlab Repo
2474
- * @param {string} deviceId
2475
- * @param {string} glProjectUrl
2476
- * @param {*} [options] Override http request option.
2477
- * @throws {RequiredError}
2478
- */
2479
- deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2480
- };
2481
- /**
2482
- * GitlabApi - interface
2483
- * @export
2484
- * @interface GitlabApi
2485
- */
2486
- export interface GitlabApiInterface {
2487
- /**
2488
- *
2489
- * @summary Device Add Gitlab Repo
2490
- * @param {string} deviceId
2491
- * @param {string} glProjectUrl
2492
- * @param {*} [options] Override http request option.
2493
- * @throws {RequiredError}
2494
- * @memberof GitlabApiInterface
2495
- */
2496
- deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2497
- }
2498
- /**
2499
- * GitlabApi - object-oriented interface
2500
- * @export
2501
- * @class GitlabApi
2502
- * @extends {BaseAPI}
2503
- */
2504
- export declare class GitlabApi extends BaseAPI implements GitlabApiInterface {
2505
- /**
2506
- *
2507
- * @summary Device Add Gitlab Repo
2508
- * @param {string} deviceId
2509
- * @param {string} glProjectUrl
2510
- * @param {*} [options] Override http request option.
2511
- * @throws {RequiredError}
2512
- * @memberof GitlabApi
2513
- */
2514
- deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2515
- }
2516
- /**
2517
- * InternalApi - axios parameter creator
2518
- * @export
2519
- */
2520
- export declare const InternalApiAxiosParamCreator: (configuration?: Configuration) => {
2521
- /**
2522
- * Change the password for a user.
2523
- * @summary Change Password
2524
- * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2525
- * @param {*} [options] Override http request option.
2526
- * @throws {RequiredError}
2527
- */
2528
- changePasswordProfileChangePasswordPost: (bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2529
- /**
2530
- * Delete release
2531
- * @summary Del Release
2532
- * @param {string} releaseId
2533
- * @param {*} [options] Override http request option.
2534
- * @throws {RequiredError}
2535
- */
2536
- delReleaseInternalReleasesReleaseIdDelete: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2537
- /**
2538
- * Delete a paste by ID. Requires admin permissions.
2539
- * @summary Delete Paste
2540
- * @param {string} pasteId
2541
- * @param {*} [options] Override http request option.
2542
- * @throws {RequiredError}
2543
- */
2544
- deletePasteInternalPastePasteIdDelete: (pasteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2545
- /**
2546
- *
2547
- * @summary Delete User
2548
- * @param {string} userId
2549
- * @param {*} [options] Override http request option.
2550
- * @throws {RequiredError}
2551
- */
2552
- deleteUserInternalUsersUserIdDelete: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2553
- /**
2554
- * Edit Release information
2555
- * @summary Edit Release
2556
- * @param {string} releaseId
2557
- * @param {ReleaseUpdateBody} releaseUpdateBody
2558
- * @param {*} [options] Override http request option.
2559
- * @throws {RequiredError}
2560
- */
2561
- editReleaseInternalReleasesReleaseIdPut: (releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2562
- /**
2563
- *
2564
- * @summary Get Device Info
2565
- * @param {string} deviceId
2566
- * @param {*} [options] Override http request option.
2567
- * @throws {RequiredError}
2568
- */
2569
- getDeviceInfoInternalDevicesDeviceIdGet: (deviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2570
- /**
2571
- * Get a paginated list of logs with optional filtering.
2572
- * @summary Get Logs
2573
- * @param {number} [page]
2574
- * @param {number} [perPage]
2575
- * @param {string | null} [deviceId]
2576
- * @param {string | null} [releaseId]
2577
- * @param {string | null} [userId]
2578
- * @param {boolean | null} [hideVerbose]
2579
- * @param {*} [options] Override http request option.
2580
- * @throws {RequiredError}
2581
- */
2582
- getLogsInternalLogsGet: (page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2583
- /**
2584
- * Get release information
2585
- * @summary Get Release Info
2586
- * @param {string} releaseId
2587
- * @param {*} [options] Override http request option.
2588
- * @throws {RequiredError}
2589
- */
2590
- getReleaseInfoInternalReleasesReleaseIdGet: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2591
- /**
2592
- * Download release ZIP directly
2593
- * @summary Get Release Zip
2594
- * @param {string} releaseId
2595
- * @param {*} [options] Override http request option.
2596
- * @throws {RequiredError}
2597
- */
2598
- getReleaseZipInternalReleasesReleaseIdDlGet: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2599
- /**
2600
- *
2601
- * @summary Get User By Id
2602
- * @param {string} userId
2603
- * @param {*} [options] Override http request option.
2604
- * @throws {RequiredError}
2605
- */
2606
- getUserByIdInternalUsersUserIdGet: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2607
- /**
2608
- *
2609
- * @summary List Users
2610
- * @param {*} [options] Override http request option.
2611
- * @throws {RequiredError}
2612
- */
2613
- listUsersInternalUsersGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2614
- /**
2615
- * OAuth2 compatible token login, get an access token for future requests
2616
- * @summary Login Oauth
2617
- * @param {string} username
2618
- * @param {string} password
2619
- * @param {number} [minTime]
2620
- * @param {number} [maxTime]
2621
- * @param {string | null} [grantType]
2622
- * @param {string} [scope]
2623
- * @param {string | null} [clientId]
2624
- * @param {string | null} [clientSecret]
2625
- * @param {*} [options] Override http request option.
2626
- * @throws {RequiredError}
2627
- */
2628
- loginOauthAuthLoginPost: (username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2629
- /**
2630
- *
2631
- * @summary Logout
2632
- * @param {string} body
2633
- * @param {*} [options] Override http request option.
2634
- * @throws {RequiredError}
2635
- */
2636
- logoutAuthLogoutPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2637
- /**
2638
- *
2639
- * @summary New Device
2640
- * @param {NewDeviceBody} newDeviceBody
2641
- * @param {*} [options] Override http request option.
2642
- * @throws {RequiredError}
2643
- */
2644
- newDeviceInternalDevicesPost: (newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2645
- /**
2646
- *
2647
- * @summary New Release
2648
- * @param {string} deviceId
2649
- * @param {File} releaseZip
2650
- * @param {string} md5
2651
- * @param {Array<string>} changelog
2652
- * @param {Array<string>} [bugs]
2653
- * @param {string | null} [notes]
2654
- * @param {boolean} [force]
2655
- * @param {*} [options] Override http request option.
2656
- * @throws {RequiredError}
2657
- */
2658
- newReleaseInternalReleasesPost: (deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2659
- /**
2660
- *
2661
- * @summary Renew
2662
- * @param {string} body
2663
- * @param {*} [options] Override http request option.
2664
- * @throws {RequiredError}
2665
- */
2666
- renewAuthRenewPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2667
- /**
2668
- *
2669
- * @summary Update Device
2670
- * @param {string} deviceId
2671
- * @param {DeviceUpdateBody} deviceUpdateBody
2672
- * @param {*} [options] Override http request option.
2673
- * @throws {RequiredError}
2674
- */
2675
- updateDeviceInternalDevicesDeviceIdPut: (deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2676
- /**
2677
- * Update a paste by ID. Requires admin permissions.
2678
- * @summary Update Paste
2679
- * @param {string} pasteId
2680
- * @param {PasteInput} pasteInput
2681
- * @param {*} [options] Override http request option.
2682
- * @throws {RequiredError}
2683
- */
2684
- updatePasteInternalPastePasteIdPut: (pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2685
- /**
2686
- *
2687
- * @summary Update User
2688
- * @param {string} userId
2689
- * @param {UserUpdateBody} userUpdateBody
2690
- * @param {*} [options] Override http request option.
2691
- * @throws {RequiredError}
2692
- */
2693
- updateUserInternalUsersUserIdPut: (userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2694
- };
2695
- /**
2696
- * InternalApi - functional programming interface
2697
- * @export
2698
- */
2699
- export declare const InternalApiFp: (configuration?: Configuration) => {
2700
- /**
2701
- * Change the password for a user.
2702
- * @summary Change Password
2703
- * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2704
- * @param {*} [options] Override http request option.
2705
- * @throws {RequiredError}
2706
- */
2707
- changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2708
- /**
2709
- * Delete release
2710
- * @summary Del Release
2711
- * @param {string} releaseId
2712
- * @param {*} [options] Override http request option.
2713
- * @throws {RequiredError}
2714
- */
2715
- delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2716
- /**
2717
- * Delete a paste by ID. Requires admin permissions.
2718
- * @summary Delete Paste
2719
- * @param {string} pasteId
2720
- * @param {*} [options] Override http request option.
2721
- * @throws {RequiredError}
2722
- */
2723
- deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2724
- /**
2725
- *
2726
- * @summary Delete User
2727
- * @param {string} userId
2728
- * @param {*} [options] Override http request option.
2729
- * @throws {RequiredError}
2730
- */
2731
- deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2732
- /**
2733
- * Edit Release information
2734
- * @summary Edit Release
2735
- * @param {string} releaseId
2736
- * @param {ReleaseUpdateBody} releaseUpdateBody
2737
- * @param {*} [options] Override http request option.
2738
- * @throws {RequiredError}
2739
- */
2740
- editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2741
- /**
2742
- *
2743
- * @summary Get Device Info
2744
- * @param {string} deviceId
2745
- * @param {*} [options] Override http request option.
2746
- * @throws {RequiredError}
2747
- */
2748
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInternalResponse>>;
2749
- /**
2750
- * Get a paginated list of logs with optional filtering.
2751
- * @summary Get Logs
2752
- * @param {number} [page]
2753
- * @param {number} [perPage]
2754
- * @param {string | null} [deviceId]
2755
- * @param {string | null} [releaseId]
2756
- * @param {string | null} [userId]
2757
- * @param {boolean | null} [hideVerbose]
2758
- * @param {*} [options] Override http request option.
2759
- * @throws {RequiredError}
2760
- */
2761
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogListResponse>>;
2762
- /**
2763
- * Get release information
2764
- * @summary Get Release Info
2765
- * @param {string} releaseId
2766
- * @param {*} [options] Override http request option.
2767
- * @throws {RequiredError}
2768
- */
2769
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseInternalResponse>>;
2770
- /**
2771
- * Download release ZIP directly
2772
- * @summary Get Release Zip
2773
- * @param {string} releaseId
2774
- * @param {*} [options] Override http request option.
2775
- * @throws {RequiredError}
2776
- */
2777
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2778
- /**
2779
- *
2780
- * @summary Get User By Id
2781
- * @param {string} userId
2782
- * @param {*} [options] Override http request option.
2783
- * @throws {RequiredError}
2784
- */
2785
- getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInternalResponse>>;
2786
- /**
2787
- *
2788
- * @summary List Users
2789
- * @param {*} [options] Override http request option.
2790
- * @throws {RequiredError}
2791
- */
2792
- listUsersInternalUsersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseUserShortResponse>>;
2793
- /**
2794
- * OAuth2 compatible token login, get an access token for future requests
2795
- * @summary Login Oauth
2796
- * @param {string} username
2797
- * @param {string} password
2798
- * @param {number} [minTime]
2799
- * @param {number} [maxTime]
2800
- * @param {string | null} [grantType]
2801
- * @param {string} [scope]
2802
- * @param {string | null} [clientId]
2803
- * @param {string | null} [clientSecret]
2804
- * @param {*} [options] Override http request option.
2805
- * @throws {RequiredError}
2806
- */
2807
- loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponse>>;
2808
- /**
2809
- *
2810
- * @summary Logout
2811
- * @param {string} body
2812
- * @param {*} [options] Override http request option.
2813
- * @throws {RequiredError}
2814
- */
2815
- logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2816
- /**
2817
- *
2818
- * @summary New Device
2819
- * @param {NewDeviceBody} newDeviceBody
2820
- * @param {*} [options] Override http request option.
2821
- * @throws {RequiredError}
2822
- */
2823
- newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2824
- /**
2825
- *
2826
- * @summary New Release
2827
- * @param {string} deviceId
2828
- * @param {File} releaseZip
2829
- * @param {string} md5
2830
- * @param {Array<string>} changelog
2831
- * @param {Array<string>} [bugs]
2832
- * @param {string | null} [notes]
2833
- * @param {boolean} [force]
2834
- * @param {*} [options] Override http request option.
2835
- * @throws {RequiredError}
2836
- */
2837
- newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
2838
- /**
2839
- *
2840
- * @summary Renew
2841
- * @param {string} body
2842
- * @param {*} [options] Override http request option.
2843
- * @throws {RequiredError}
2844
- */
2845
- renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2846
- /**
2847
- *
2848
- * @summary Update Device
2849
- * @param {string} deviceId
2850
- * @param {DeviceUpdateBody} deviceUpdateBody
2851
- * @param {*} [options] Override http request option.
2852
- * @throws {RequiredError}
2853
- */
2854
- updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2855
- /**
2856
- * Update a paste by ID. Requires admin permissions.
2857
- * @summary Update Paste
2858
- * @param {string} pasteId
2859
- * @param {PasteInput} pasteInput
2860
- * @param {*} [options] Override http request option.
2861
- * @throws {RequiredError}
2862
- */
2863
- updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
2864
- /**
2865
- *
2866
- * @summary Update User
2867
- * @param {string} userId
2868
- * @param {UserUpdateBody} userUpdateBody
2869
- * @param {*} [options] Override http request option.
2870
- * @throws {RequiredError}
2871
- */
2872
- updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2873
- };
2874
- /**
2875
- * InternalApi - factory interface
2876
- * @export
2877
- */
2878
- export declare const InternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2879
- /**
2880
- * Change the password for a user.
2881
- * @summary Change Password
2882
- * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2883
- * @param {*} [options] Override http request option.
2884
- * @throws {RequiredError}
2885
- */
2886
- changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2887
- /**
2888
- * Delete release
2889
- * @summary Del Release
2890
- * @param {string} releaseId
2891
- * @param {*} [options] Override http request option.
2892
- * @throws {RequiredError}
2893
- */
2894
- delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2895
- /**
2896
- * Delete a paste by ID. Requires admin permissions.
2897
- * @summary Delete Paste
2898
- * @param {string} pasteId
2899
- * @param {*} [options] Override http request option.
2900
- * @throws {RequiredError}
2901
- */
2902
- deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2903
- /**
2904
- *
2905
- * @summary Delete User
2906
- * @param {string} userId
2907
- * @param {*} [options] Override http request option.
2908
- * @throws {RequiredError}
2909
- */
2910
- deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2911
- /**
2912
- * Edit Release information
2913
- * @summary Edit Release
2914
- * @param {string} releaseId
2915
- * @param {ReleaseUpdateBody} releaseUpdateBody
2916
- * @param {*} [options] Override http request option.
2917
- * @throws {RequiredError}
2918
- */
2919
- editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2920
- /**
2921
- *
2922
- * @summary Get Device Info
2923
- * @param {string} deviceId
2924
- * @param {*} [options] Override http request option.
2925
- * @throws {RequiredError}
2926
- */
2927
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
2928
- /**
2929
- * Get a paginated list of logs with optional filtering.
2930
- * @summary Get Logs
2931
- * @param {number} [page]
2932
- * @param {number} [perPage]
2933
- * @param {string | null} [deviceId]
2934
- * @param {string | null} [releaseId]
2935
- * @param {string | null} [userId]
2936
- * @param {boolean | null} [hideVerbose]
2937
- * @param {*} [options] Override http request option.
2938
- * @throws {RequiredError}
2939
- */
2940
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
2941
- /**
2942
- * Get release information
2943
- * @summary Get Release Info
2944
- * @param {string} releaseId
2945
- * @param {*} [options] Override http request option.
2946
- * @throws {RequiredError}
2947
- */
2948
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
2949
- /**
2950
- * Download release ZIP directly
2951
- * @summary Get Release Zip
2952
- * @param {string} releaseId
2953
- * @param {*} [options] Override http request option.
2954
- * @throws {RequiredError}
2955
- */
2956
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2957
- /**
2958
- *
2959
- * @summary Get User By Id
2960
- * @param {string} userId
2961
- * @param {*} [options] Override http request option.
2962
- * @throws {RequiredError}
2963
- */
2964
- getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<UserInternalResponse>;
2965
- /**
2966
- *
2967
- * @summary List Users
2968
- * @param {*} [options] Override http request option.
2969
- * @throws {RequiredError}
2970
- */
2971
- listUsersInternalUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseUserShortResponse>;
2972
- /**
2973
- * OAuth2 compatible token login, get an access token for future requests
2974
- * @summary Login Oauth
2975
- * @param {string} username
2976
- * @param {string} password
2977
- * @param {number} [minTime]
2978
- * @param {number} [maxTime]
2979
- * @param {string | null} [grantType]
2980
- * @param {string} [scope]
2981
- * @param {string | null} [clientId]
2982
- * @param {string | null} [clientSecret]
2983
- * @param {*} [options] Override http request option.
2984
- * @throws {RequiredError}
2985
- */
2986
- loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
2987
- /**
2988
- *
2989
- * @summary Logout
2990
- * @param {string} body
2991
- * @param {*} [options] Override http request option.
2992
- * @throws {RequiredError}
2993
- */
2994
- logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2995
- /**
2996
- *
2997
- * @summary New Device
2998
- * @param {NewDeviceBody} newDeviceBody
2999
- * @param {*} [options] Override http request option.
3000
- * @throws {RequiredError}
3001
- */
3002
- newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3003
- /**
3004
- *
3005
- * @summary New Release
3006
- * @param {string} deviceId
3007
- * @param {File} releaseZip
3008
- * @param {string} md5
3009
- * @param {Array<string>} changelog
3010
- * @param {Array<string>} [bugs]
3011
- * @param {string | null} [notes]
3012
- * @param {boolean} [force]
3013
- * @param {*} [options] Override http request option.
3014
- * @throws {RequiredError}
3015
- */
3016
- newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3017
- /**
3018
- *
3019
- * @summary Renew
3020
- * @param {string} body
3021
- * @param {*} [options] Override http request option.
3022
- * @throws {RequiredError}
3023
- */
3024
- renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3025
- /**
3026
- *
3027
- * @summary Update Device
3028
- * @param {string} deviceId
3029
- * @param {DeviceUpdateBody} deviceUpdateBody
3030
- * @param {*} [options] Override http request option.
3031
- * @throws {RequiredError}
3032
- */
3033
- updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3034
- /**
3035
- * Update a paste by ID. Requires admin permissions.
3036
- * @summary Update Paste
3037
- * @param {string} pasteId
3038
- * @param {PasteInput} pasteInput
3039
- * @param {*} [options] Override http request option.
3040
- * @throws {RequiredError}
3041
- */
3042
- updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3043
- /**
3044
- *
3045
- * @summary Update User
3046
- * @param {string} userId
3047
- * @param {UserUpdateBody} userUpdateBody
3048
- * @param {*} [options] Override http request option.
3049
- * @throws {RequiredError}
3050
- */
3051
- updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3052
- };
3053
- /**
3054
- * InternalApi - interface
3055
- * @export
3056
- * @interface InternalApi
3057
- */
3058
- export interface InternalApiInterface {
3059
- /**
3060
- * Change the password for a user.
3061
- * @summary Change Password
3062
- * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
3063
- * @param {*} [options] Override http request option.
3064
- * @throws {RequiredError}
3065
- * @memberof InternalApiInterface
3066
- */
3067
- changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3068
- /**
3069
- * Delete release
3070
- * @summary Del Release
3071
- * @param {string} releaseId
3072
- * @param {*} [options] Override http request option.
3073
- * @throws {RequiredError}
3074
- * @memberof InternalApiInterface
3075
- */
3076
- delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3077
- /**
3078
- * Delete a paste by ID. Requires admin permissions.
3079
- * @summary Delete Paste
3080
- * @param {string} pasteId
3081
- * @param {*} [options] Override http request option.
3082
- * @throws {RequiredError}
3083
- * @memberof InternalApiInterface
3084
- */
3085
- deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3086
- /**
3087
- *
3088
- * @summary Delete User
3089
- * @param {string} userId
3090
- * @param {*} [options] Override http request option.
3091
- * @throws {RequiredError}
3092
- * @memberof InternalApiInterface
3093
- */
3094
- deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3095
- /**
3096
- * Edit Release information
3097
- * @summary Edit Release
3098
- * @param {string} releaseId
3099
- * @param {ReleaseUpdateBody} releaseUpdateBody
3100
- * @param {*} [options] Override http request option.
3101
- * @throws {RequiredError}
3102
- * @memberof InternalApiInterface
3103
- */
3104
- editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3105
- /**
3106
- *
3107
- * @summary Get Device Info
3108
- * @param {string} deviceId
3109
- * @param {*} [options] Override http request option.
3110
- * @throws {RequiredError}
3111
- * @memberof InternalApiInterface
3112
- */
3113
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
3114
- /**
3115
- * Get a paginated list of logs with optional filtering.
3116
- * @summary Get Logs
3117
- * @param {number} [page]
3118
- * @param {number} [perPage]
3119
- * @param {string | null} [deviceId]
3120
- * @param {string | null} [releaseId]
3121
- * @param {string | null} [userId]
3122
- * @param {boolean | null} [hideVerbose]
3123
- * @param {*} [options] Override http request option.
3124
- * @throws {RequiredError}
3125
- * @memberof InternalApiInterface
3126
- */
3127
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
3128
- /**
3129
- * Get release information
3130
- * @summary Get Release Info
3131
- * @param {string} releaseId
3132
- * @param {*} [options] Override http request option.
3133
- * @throws {RequiredError}
3134
- * @memberof InternalApiInterface
3135
- */
3136
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
3137
- /**
3138
- * Download release ZIP directly
3139
- * @summary Get Release Zip
3140
- * @param {string} releaseId
3141
- * @param {*} [options] Override http request option.
3142
- * @throws {RequiredError}
3143
- * @memberof InternalApiInterface
3144
- */
3145
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3146
- /**
3147
- *
3148
- * @summary Get User By Id
3149
- * @param {string} userId
3150
- * @param {*} [options] Override http request option.
3151
- * @throws {RequiredError}
3152
- * @memberof InternalApiInterface
3153
- */
3154
- getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<UserInternalResponse>;
3155
- /**
3156
- *
3157
- * @summary List Users
3158
- * @param {*} [options] Override http request option.
3159
- * @throws {RequiredError}
3160
- * @memberof InternalApiInterface
3161
- */
3162
- listUsersInternalUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseUserShortResponse>;
3163
- /**
3164
- * OAuth2 compatible token login, get an access token for future requests
3165
- * @summary Login Oauth
3166
- * @param {string} username
3167
- * @param {string} password
3168
- * @param {number} [minTime]
3169
- * @param {number} [maxTime]
3170
- * @param {string | null} [grantType]
3171
- * @param {string} [scope]
3172
- * @param {string | null} [clientId]
3173
- * @param {string | null} [clientSecret]
3174
- * @param {*} [options] Override http request option.
3175
- * @throws {RequiredError}
3176
- * @memberof InternalApiInterface
3177
- */
3178
- loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
3179
- /**
3180
- *
3181
- * @summary Logout
3182
- * @param {string} body
3183
- * @param {*} [options] Override http request option.
3184
- * @throws {RequiredError}
3185
- * @memberof InternalApiInterface
3186
- */
3187
- logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
3188
- /**
3189
- *
3190
- * @summary New Device
3191
- * @param {NewDeviceBody} newDeviceBody
3192
- * @param {*} [options] Override http request option.
3193
- * @throws {RequiredError}
3194
- * @memberof InternalApiInterface
3195
- */
3196
- newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3197
- /**
3198
- *
3199
- * @summary New Release
3200
- * @param {string} deviceId
3201
- * @param {File} releaseZip
3202
- * @param {string} md5
3203
- * @param {Array<string>} changelog
3204
- * @param {Array<string>} [bugs]
3205
- * @param {string | null} [notes]
3206
- * @param {boolean} [force]
3207
- * @param {*} [options] Override http request option.
3208
- * @throws {RequiredError}
3209
- * @memberof InternalApiInterface
3210
- */
3211
- newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3212
- /**
3213
- *
3214
- * @summary Renew
3215
- * @param {string} body
3216
- * @param {*} [options] Override http request option.
3217
- * @throws {RequiredError}
3218
- * @memberof InternalApiInterface
3219
- */
3220
- renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3221
- /**
3222
- *
3223
- * @summary Update Device
3224
- * @param {string} deviceId
3225
- * @param {DeviceUpdateBody} deviceUpdateBody
3226
- * @param {*} [options] Override http request option.
3227
- * @throws {RequiredError}
3228
- * @memberof InternalApiInterface
3229
- */
3230
- updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3231
- /**
3232
- * Update a paste by ID. Requires admin permissions.
3233
- * @summary Update Paste
3234
- * @param {string} pasteId
3235
- * @param {PasteInput} pasteInput
3236
- * @param {*} [options] Override http request option.
3237
- * @throws {RequiredError}
3238
- * @memberof InternalApiInterface
3239
- */
3240
- updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3241
- /**
3242
- *
3243
- * @summary Update User
3244
- * @param {string} userId
3245
- * @param {UserUpdateBody} userUpdateBody
3246
- * @param {*} [options] Override http request option.
3247
- * @throws {RequiredError}
3248
- * @memberof InternalApiInterface
3249
- */
3250
- updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
3251
- }
3252
- /**
3253
- * InternalApi - object-oriented interface
3254
- * @export
3255
- * @class InternalApi
3256
- * @extends {BaseAPI}
3257
- */
3258
- export declare class InternalApi extends BaseAPI implements InternalApiInterface {
3259
- /**
3260
- * Change the password for a user.
3261
- * @summary Change Password
3262
- * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
3263
- * @param {*} [options] Override http request option.
3264
- * @throws {RequiredError}
3265
- * @memberof InternalApi
3266
- */
3267
- changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3268
- /**
3269
- * Delete release
3270
- * @summary Del Release
3271
- * @param {string} releaseId
3272
- * @param {*} [options] Override http request option.
3273
- * @throws {RequiredError}
3274
- * @memberof InternalApi
3275
- */
3276
- delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3277
- /**
3278
- * Delete a paste by ID. Requires admin permissions.
3279
- * @summary Delete Paste
3280
- * @param {string} pasteId
3281
- * @param {*} [options] Override http request option.
3282
- * @throws {RequiredError}
3283
- * @memberof InternalApi
3284
- */
3285
- deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3286
- /**
3287
- *
3288
- * @summary Delete User
3289
- * @param {string} userId
3290
- * @param {*} [options] Override http request option.
3291
- * @throws {RequiredError}
3292
- * @memberof InternalApi
3293
- */
3294
- deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3295
- /**
3296
- * Edit Release information
3297
- * @summary Edit Release
3298
- * @param {string} releaseId
3299
- * @param {ReleaseUpdateBody} releaseUpdateBody
3300
- * @param {*} [options] Override http request option.
3301
- * @throws {RequiredError}
3302
- * @memberof InternalApi
3303
- */
3304
- editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3305
- /**
3306
- *
3307
- * @summary Get Device Info
3308
- * @param {string} deviceId
3309
- * @param {*} [options] Override http request option.
3310
- * @throws {RequiredError}
3311
- * @memberof InternalApi
3312
- */
3313
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceInternalResponse, any>>;
3314
- /**
3315
- * Get a paginated list of logs with optional filtering.
3316
- * @summary Get Logs
3317
- * @param {number} [page]
3318
- * @param {number} [perPage]
3319
- * @param {string | null} [deviceId]
3320
- * @param {string | null} [releaseId]
3321
- * @param {string | null} [userId]
3322
- * @param {boolean | null} [hideVerbose]
3323
- * @param {*} [options] Override http request option.
3324
- * @throws {RequiredError}
3325
- * @memberof InternalApi
3326
- */
3327
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogListResponse, any>>;
3328
- /**
3329
- * Get release information
3330
- * @summary Get Release Info
3331
- * @param {string} releaseId
3332
- * @param {*} [options] Override http request option.
3333
- * @throws {RequiredError}
3334
- * @memberof InternalApi
3335
- */
3336
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseInternalResponse, any>>;
3337
- /**
3338
- * Download release ZIP directly
3339
- * @summary Get Release Zip
3340
- * @param {string} releaseId
3341
- * @param {*} [options] Override http request option.
3342
- * @throws {RequiredError}
3343
- * @memberof InternalApi
3344
- */
3345
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3346
- /**
3347
- *
3348
- * @summary Get User By Id
3349
- * @param {string} userId
3350
- * @param {*} [options] Override http request option.
3351
- * @throws {RequiredError}
3352
- * @memberof InternalApi
3353
- */
3354
- getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInternalResponse, any>>;
3355
- /**
3356
- *
3357
- * @summary List Users
3358
- * @param {*} [options] Override http request option.
3359
- * @throws {RequiredError}
3360
- * @memberof InternalApi
3361
- */
3362
- listUsersInternalUsersGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseUserShortResponse, any>>;
3363
- /**
3364
- * OAuth2 compatible token login, get an access token for future requests
3365
- * @summary Login Oauth
3366
- * @param {string} username
3367
- * @param {string} password
3368
- * @param {number} [minTime]
3369
- * @param {number} [maxTime]
3370
- * @param {string | null} [grantType]
3371
- * @param {string} [scope]
3372
- * @param {string | null} [clientId]
3373
- * @param {string | null} [clientSecret]
3374
- * @param {*} [options] Override http request option.
3375
- * @throws {RequiredError}
3376
- * @memberof InternalApi
3377
- */
3378
- loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenResponse, any>>;
3379
- /**
3380
- *
3381
- * @summary Logout
3382
- * @param {string} body
3383
- * @param {*} [options] Override http request option.
3384
- * @throws {RequiredError}
3385
- * @memberof InternalApi
3386
- */
3387
- logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3388
- /**
3389
- *
3390
- * @summary New Device
3391
- * @param {NewDeviceBody} newDeviceBody
3392
- * @param {*} [options] Override http request option.
3393
- * @throws {RequiredError}
3394
- * @memberof InternalApi
3395
- */
3396
- newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3397
- /**
3398
- *
3399
- * @summary New Release
3400
- * @param {string} deviceId
3401
- * @param {File} releaseZip
3402
- * @param {string} md5
3403
- * @param {Array<string>} changelog
3404
- * @param {Array<string>} [bugs]
3405
- * @param {string | null} [notes]
3406
- * @param {boolean} [force]
3407
- * @param {*} [options] Override http request option.
3408
- * @throws {RequiredError}
3409
- * @memberof InternalApi
3410
- */
3411
- newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3412
- /**
3413
- *
3414
- * @summary Renew
3415
- * @param {string} body
3416
- * @param {*} [options] Override http request option.
3417
- * @throws {RequiredError}
3418
- * @memberof InternalApi
3419
- */
3420
- renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3421
- /**
3422
- *
3423
- * @summary Update Device
3424
- * @param {string} deviceId
3425
- * @param {DeviceUpdateBody} deviceUpdateBody
3426
- * @param {*} [options] Override http request option.
3427
- * @throws {RequiredError}
3428
- * @memberof InternalApi
3429
- */
3430
- updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3431
- /**
3432
- * Update a paste by ID. Requires admin permissions.
3433
- * @summary Update Paste
3434
- * @param {string} pasteId
3435
- * @param {PasteInput} pasteInput
3436
- * @param {*} [options] Override http request option.
3437
- * @throws {RequiredError}
3438
- * @memberof InternalApi
3439
- */
3440
- updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
3441
- /**
3442
- *
3443
- * @summary Update User
3444
- * @param {string} userId
3445
- * @param {UserUpdateBody} userUpdateBody
3446
- * @param {*} [options] Override http request option.
3447
- * @throws {RequiredError}
3448
- * @memberof InternalApi
3449
- */
3450
- updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3451
- }
3452
- /**
3453
- * PasteApi - axios parameter creator
3454
- * @export
3455
- */
3456
- export declare const PasteApiAxiosParamCreator: (configuration?: Configuration) => {
3457
- /**
3458
- * Create a new paste.
3459
- * @summary Create Paste
3460
- * @param {PasteInput} pasteInput
3461
- * @param {*} [options] Override http request option.
3462
- * @throws {RequiredError}
3463
- */
3464
- createPastePastePost: (pasteInput: PasteInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3465
- /**
3466
- * Get a paste by ID.
3467
- * @summary Get Paste
3468
- * @param {string} pasteId
3469
- * @param {*} [options] Override http request option.
3470
- * @throws {RequiredError}
3471
- */
3472
- getPastePastePasteIdGet: (pasteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3473
- };
3474
- /**
3475
- * PasteApi - functional programming interface
3476
- * @export
3477
- */
3478
- export declare const PasteApiFp: (configuration?: Configuration) => {
3479
- /**
3480
- * Create a new paste.
3481
- * @summary Create Paste
3482
- * @param {PasteInput} pasteInput
3483
- * @param {*} [options] Override http request option.
3484
- * @throws {RequiredError}
3485
- */
3486
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
3487
- /**
3488
- * Get a paste by ID.
3489
- * @summary Get Paste
3490
- * @param {string} pasteId
3491
- * @param {*} [options] Override http request option.
3492
- * @throws {RequiredError}
3493
- */
3494
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
3495
- };
3496
- /**
3497
- * PasteApi - factory interface
3498
- * @export
3499
- */
3500
- export declare const PasteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3501
- /**
3502
- * Create a new paste.
3503
- * @summary Create Paste
3504
- * @param {PasteInput} pasteInput
3505
- * @param {*} [options] Override http request option.
3506
- * @throws {RequiredError}
3507
- */
3508
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3509
- /**
3510
- * Get a paste by ID.
3511
- * @summary Get Paste
3512
- * @param {string} pasteId
3513
- * @param {*} [options] Override http request option.
3514
- * @throws {RequiredError}
3515
- */
3516
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3517
- };
3518
- /**
3519
- * PasteApi - interface
3520
- * @export
3521
- * @interface PasteApi
3522
- */
3523
- export interface PasteApiInterface {
3524
- /**
3525
- * Create a new paste.
3526
- * @summary Create Paste
3527
- * @param {PasteInput} pasteInput
3528
- * @param {*} [options] Override http request option.
3529
- * @throws {RequiredError}
3530
- * @memberof PasteApiInterface
3531
- */
3532
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3533
- /**
3534
- * Get a paste by ID.
3535
- * @summary Get Paste
3536
- * @param {string} pasteId
3537
- * @param {*} [options] Override http request option.
3538
- * @throws {RequiredError}
3539
- * @memberof PasteApiInterface
3540
- */
3541
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
3542
- }
3543
- /**
3544
- * PasteApi - object-oriented interface
3545
- * @export
3546
- * @class PasteApi
3547
- * @extends {BaseAPI}
3548
- */
3549
- export declare class PasteApi extends BaseAPI implements PasteApiInterface {
3550
- /**
3551
- * Create a new paste.
3552
- * @summary Create Paste
3553
- * @param {PasteInput} pasteInput
3554
- * @param {*} [options] Override http request option.
3555
- * @throws {RequiredError}
3556
- * @memberof PasteApi
3557
- */
3558
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
3559
- /**
3560
- * Get a paste by ID.
3561
- * @summary Get Paste
3562
- * @param {string} pasteId
3563
- * @param {*} [options] Override http request option.
3564
- * @throws {RequiredError}
3565
- * @memberof PasteApi
3566
- */
3567
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
3568
- }
3569
- /**
3570
- * ReleaseApi - axios parameter creator
3571
- * @export
3572
- */
3573
- export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration) => {
3574
- /**
3575
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
3576
- * @summary Get Release
3577
- * @param {string | null} [releaseId] Release ID
3578
- * @param {string | null} [id] Release ID (deprecated)
3579
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3580
- * @param {string | null} [filename]
3581
- * @param {*} [options] Override http request option.
3582
- * @throws {RequiredError}
3583
- */
3584
- getRelease: (releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3585
- /**
3586
- * Gets release information using the release ID, nothing to discuss really.
3587
- * @summary Get Release Short
3588
- * @param {string} releaseId
3589
- * @param {*} [options] Override http request option.
3590
- * @deprecated
3591
- * @throws {RequiredError}
3592
- */
3593
- getReleaseDeprecated: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3594
- /**
3595
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
3596
- * @summary Get Releases
3597
- * @param {Array<string>} [id] Filter by Release IDs
3598
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
3599
- * @param {Array<string>} [buildId] Filter by Build IDs
3600
- * @param {Array<string>} [deviceId] Filter by Device IDs
3601
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
3602
- * @param {Array<string>} [codename] Filter by device codenames
3603
- * @param {Array<string>} [version] Filter by release version
3604
- * @param {Array<ReleaseType>} [type] Filter by release type
3605
- * @param {boolean | null} [archived] Filter by the archived status
3606
- * @param {boolean | null} [freezed] Filter by the freezed status
3607
- * @param {string | null} [afterReleaseId] Show releases after the provided one
3608
- * @param {number | null} [afterDate] Show releases after the provided timestamp
3609
- * @param {ReleasesSort} [sort] Sort mode
3610
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3611
- * @param {number | null} [skip] Skip query results
3612
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3613
- * @param {*} [options] Override http request option.
3614
- * @throws {RequiredError}
3615
- */
3616
- getReleases: (id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3617
- /**
3618
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
3619
- * @summary Get Updates
3620
- * @param {string} lastKnownId
3621
- * @param {Array<string>} [deviceId] Filter by device ID
3622
- * @param {Array<ReleaseType>} [type] Filter by release type
3623
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3624
- * @param {number | null} [skip] Skip query results
3625
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3626
- * @param {*} [options] Override http request option.
3627
- * @deprecated
3628
- * @throws {RequiredError}
3629
- */
3630
- getUpdatesDeprecated: (lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3631
- };
3632
- /**
3633
- * ReleaseApi - functional programming interface
3634
- * @export
3635
- */
3636
- export declare const ReleaseApiFp: (configuration?: Configuration) => {
3637
- /**
3638
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
3639
- * @summary Get Release
3640
- * @param {string | null} [releaseId] Release ID
3641
- * @param {string | null} [id] Release ID (deprecated)
3642
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3643
- * @param {string | null} [filename]
3644
- * @param {*} [options] Override http request option.
3645
- * @throws {RequiredError}
3646
- */
3647
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
3648
- /**
3649
- * Gets release information using the release ID, nothing to discuss really.
3650
- * @summary Get Release Short
3651
- * @param {string} releaseId
3652
- * @param {*} [options] Override http request option.
3653
- * @deprecated
3654
- * @throws {RequiredError}
3655
- */
3656
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
3657
- /**
3658
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
3659
- * @summary Get Releases
3660
- * @param {Array<string>} [id] Filter by Release IDs
3661
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
3662
- * @param {Array<string>} [buildId] Filter by Build IDs
3663
- * @param {Array<string>} [deviceId] Filter by Device IDs
3664
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
3665
- * @param {Array<string>} [codename] Filter by device codenames
3666
- * @param {Array<string>} [version] Filter by release version
3667
- * @param {Array<ReleaseType>} [type] Filter by release type
3668
- * @param {boolean | null} [archived] Filter by the archived status
3669
- * @param {boolean | null} [freezed] Filter by the freezed status
3670
- * @param {string | null} [afterReleaseId] Show releases after the provided one
3671
- * @param {number | null} [afterDate] Show releases after the provided timestamp
3672
- * @param {ReleasesSort} [sort] Sort mode
3673
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3674
- * @param {number | null} [skip] Skip query results
3675
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3676
- * @param {*} [options] Override http request option.
3677
- * @throws {RequiredError}
3678
- */
3679
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetReleases>>;
3680
- /**
3681
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
3682
- * @summary Get Updates
3683
- * @param {string} lastKnownId
3684
- * @param {Array<string>} [deviceId] Filter by device ID
3685
- * @param {Array<ReleaseType>} [type] Filter by release type
3686
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3687
- * @param {number | null} [skip] Skip query results
3688
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3689
- * @param {*} [options] Override http request option.
3690
- * @deprecated
3691
- * @throws {RequiredError}
3692
- */
3693
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortReleaseResponse>>;
3694
- };
3695
- /**
3696
- * ReleaseApi - factory interface
3697
- * @export
3698
- */
3699
- export declare const ReleaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3700
- /**
3701
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
3702
- * @summary Get Release
3703
- * @param {string | null} [releaseId] Release ID
3704
- * @param {string | null} [id] Release ID (deprecated)
3705
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3706
- * @param {string | null} [filename]
3707
- * @param {*} [options] Override http request option.
3708
- * @throws {RequiredError}
3709
- */
3710
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3711
- /**
3712
- * Gets release information using the release ID, nothing to discuss really.
3713
- * @summary Get Release Short
3714
- * @param {string} releaseId
3715
- * @param {*} [options] Override http request option.
3716
- * @deprecated
3717
- * @throws {RequiredError}
3718
- */
3719
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3720
- /**
3721
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
3722
- * @summary Get Releases
3723
- * @param {Array<string>} [id] Filter by Release IDs
3724
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
3725
- * @param {Array<string>} [buildId] Filter by Build IDs
3726
- * @param {Array<string>} [deviceId] Filter by Device IDs
3727
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
3728
- * @param {Array<string>} [codename] Filter by device codenames
3729
- * @param {Array<string>} [version] Filter by release version
3730
- * @param {Array<ReleaseType>} [type] Filter by release type
3731
- * @param {boolean | null} [archived] Filter by the archived status
3732
- * @param {boolean | null} [freezed] Filter by the freezed status
3733
- * @param {string | null} [afterReleaseId] Show releases after the provided one
3734
- * @param {number | null} [afterDate] Show releases after the provided timestamp
3735
- * @param {ReleasesSort} [sort] Sort mode
3736
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3737
- * @param {number | null} [skip] Skip query results
3738
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3739
- * @param {*} [options] Override http request option.
3740
- * @throws {RequiredError}
3741
- */
3742
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
3743
- /**
3744
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
3745
- * @summary Get Updates
3746
- * @param {string} lastKnownId
3747
- * @param {Array<string>} [deviceId] Filter by device ID
3748
- * @param {Array<ReleaseType>} [type] Filter by release type
3749
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3750
- * @param {number | null} [skip] Skip query results
3751
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3752
- * @param {*} [options] Override http request option.
3753
- * @deprecated
3754
- * @throws {RequiredError}
3755
- */
3756
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
3757
- };
3758
- /**
3759
- * ReleaseApi - interface
3760
- * @export
3761
- * @interface ReleaseApi
3762
- */
3763
- export interface ReleaseApiInterface {
3764
- /**
3765
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
3766
- * @summary Get Release
3767
- * @param {string | null} [releaseId] Release ID
3768
- * @param {string | null} [id] Release ID (deprecated)
3769
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3770
- * @param {string | null} [filename]
3771
- * @param {*} [options] Override http request option.
3772
- * @throws {RequiredError}
3773
- * @memberof ReleaseApiInterface
3774
- */
3775
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3776
- /**
3777
- * Gets release information using the release ID, nothing to discuss really.
3778
- * @summary Get Release Short
3779
- * @param {string} releaseId
3780
- * @param {*} [options] Override http request option.
3781
- * @deprecated
3782
- * @throws {RequiredError}
3783
- * @memberof ReleaseApiInterface
3784
- */
3785
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3786
- /**
3787
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
3788
- * @summary Get Releases
3789
- * @param {Array<string>} [id] Filter by Release IDs
3790
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
3791
- * @param {Array<string>} [buildId] Filter by Build IDs
3792
- * @param {Array<string>} [deviceId] Filter by Device IDs
3793
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
3794
- * @param {Array<string>} [codename] Filter by device codenames
3795
- * @param {Array<string>} [version] Filter by release version
3796
- * @param {Array<ReleaseType>} [type] Filter by release type
3797
- * @param {boolean | null} [archived] Filter by the archived status
3798
- * @param {boolean | null} [freezed] Filter by the freezed status
3799
- * @param {string | null} [afterReleaseId] Show releases after the provided one
3800
- * @param {number | null} [afterDate] Show releases after the provided timestamp
3801
- * @param {ReleasesSort} [sort] Sort mode
3802
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3803
- * @param {number | null} [skip] Skip query results
3804
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3805
- * @param {*} [options] Override http request option.
3806
- * @throws {RequiredError}
3807
- * @memberof ReleaseApiInterface
3808
- */
3809
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
3810
- /**
3811
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
3812
- * @summary Get Updates
3813
- * @param {string} lastKnownId
3814
- * @param {Array<string>} [deviceId] Filter by device ID
3815
- * @param {Array<ReleaseType>} [type] Filter by release type
3816
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3817
- * @param {number | null} [skip] Skip query results
3818
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3819
- * @param {*} [options] Override http request option.
3820
- * @deprecated
3821
- * @throws {RequiredError}
3822
- * @memberof ReleaseApiInterface
3823
- */
3824
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
3825
- }
3826
- /**
3827
- * ReleaseApi - object-oriented interface
3828
- * @export
3829
- * @class ReleaseApi
3830
- * @extends {BaseAPI}
3831
- */
3832
- export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
3833
- /**
3834
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
3835
- * @summary Get Release
3836
- * @param {string | null} [releaseId] Release ID
3837
- * @param {string | null} [id] Release ID (deprecated)
3838
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3839
- * @param {string | null} [filename]
3840
- * @param {*} [options] Override http request option.
3841
- * @throws {RequiredError}
3842
- * @memberof ReleaseApi
3843
- */
3844
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3845
- /**
3846
- * Gets release information using the release ID, nothing to discuss really.
3847
- * @summary Get Release Short
3848
- * @param {string} releaseId
3849
- * @param {*} [options] Override http request option.
3850
- * @deprecated
3851
- * @throws {RequiredError}
3852
- * @memberof ReleaseApi
3853
- */
3854
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3855
- /**
3856
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
3857
- * @summary Get Releases
3858
- * @param {Array<string>} [id] Filter by Release IDs
3859
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
3860
- * @param {Array<string>} [buildId] Filter by Build IDs
3861
- * @param {Array<string>} [deviceId] Filter by Device IDs
3862
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
3863
- * @param {Array<string>} [codename] Filter by device codenames
3864
- * @param {Array<string>} [version] Filter by release version
3865
- * @param {Array<ReleaseType>} [type] Filter by release type
3866
- * @param {boolean | null} [archived] Filter by the archived status
3867
- * @param {boolean | null} [freezed] Filter by the freezed status
3868
- * @param {string | null} [afterReleaseId] Show releases after the provided one
3869
- * @param {number | null} [afterDate] Show releases after the provided timestamp
3870
- * @param {ReleasesSort} [sort] Sort mode
3871
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3872
- * @param {number | null} [skip] Skip query results
3873
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3874
- * @param {*} [options] Override http request option.
3875
- * @throws {RequiredError}
3876
- * @memberof ReleaseApi
3877
- */
3878
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetReleases, any>>;
3879
- /**
3880
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
3881
- * @summary Get Updates
3882
- * @param {string} lastKnownId
3883
- * @param {Array<string>} [deviceId] Filter by device ID
3884
- * @param {Array<ReleaseType>} [type] Filter by release type
3885
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3886
- * @param {number | null} [skip] Skip query results
3887
- * @param {number | null} [limit] Limit query results (0 means unlimited)
3888
- * @param {*} [options] Override http request option.
3889
- * @deprecated
3890
- * @throws {RequiredError}
3891
- * @memberof ReleaseApi
3892
- */
3893
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortReleaseResponse, any>>;
3894
- }
3895
- /**
3896
- * StatsApi - axios parameter creator
3897
- * @export
3898
- */
3899
- export declare const StatsApiAxiosParamCreator: (configuration?: Configuration) => {
3900
- /**
3901
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
3902
- * @summary Public Stats
3903
- * @param {*} [options] Override http request option.
3904
- * @throws {RequiredError}
3905
- */
3906
- getPublicStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3907
- };
3908
- /**
3909
- * StatsApi - functional programming interface
3910
- * @export
3911
- */
3912
- export declare const StatsApiFp: (configuration?: Configuration) => {
3913
- /**
3914
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
3915
- * @summary Public Stats
3916
- * @param {*} [options] Override http request option.
3917
- * @throws {RequiredError}
3918
- */
3919
- getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>>;
3920
- };
3921
- /**
3922
- * StatsApi - factory interface
3923
- * @export
3924
- */
3925
- export declare const StatsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3926
- /**
3927
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
3928
- * @summary Public Stats
3929
- * @param {*} [options] Override http request option.
3930
- * @throws {RequiredError}
3931
- */
3932
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
3933
- };
3934
- /**
3935
- * StatsApi - interface
3936
- * @export
3937
- * @interface StatsApi
3938
- */
3939
- export interface StatsApiInterface {
3940
- /**
3941
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
3942
- * @summary Public Stats
3943
- * @param {*} [options] Override http request option.
3944
- * @throws {RequiredError}
3945
- * @memberof StatsApiInterface
3946
- */
3947
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
3948
- }
3949
- /**
3950
- * StatsApi - object-oriented interface
3951
- * @export
3952
- * @class StatsApi
3953
- * @extends {BaseAPI}
3954
- */
3955
- export declare class StatsApi extends BaseAPI implements StatsApiInterface {
3956
- /**
3957
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
3958
- * @summary Public Stats
3959
- * @param {*} [options] Override http request option.
3960
- * @throws {RequiredError}
3961
- * @memberof StatsApi
3962
- */
3963
- getPublicStats(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GlobalStatsAggregationModel, any>>;
3964
- }