@orangefox-recovery/foxinternalclient 5.3.0 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/.openapi-generator/FILES +54 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +199 -28
  4. package/dist/apis/DeviceApi.d.ts +1 -1
  5. package/dist/apis/DeviceApi.js +10 -5
  6. package/dist/apis/FoxFactoryApi.d.ts +1 -1
  7. package/dist/apis/FoxFactoryApi.js +27 -11
  8. package/dist/apis/GitlabApi.d.ts +1 -1
  9. package/dist/apis/GitlabApi.js +4 -2
  10. package/dist/apis/InternalApi.d.ts +25 -1
  11. package/dist/apis/InternalApi.js +98 -21
  12. package/dist/apis/PasteApi.d.ts +1 -1
  13. package/dist/apis/PasteApi.js +6 -3
  14. package/dist/apis/ReleaseApi.d.ts +1 -1
  15. package/dist/apis/ReleaseApi.js +11 -5
  16. package/dist/apis/StatsApi.d.ts +1 -1
  17. package/dist/apis/StatsApi.js +3 -2
  18. package/dist/esm/apis/DeviceApi.d.ts +1 -1
  19. package/dist/esm/apis/DeviceApi.js +10 -5
  20. package/dist/esm/apis/FoxFactoryApi.d.ts +1 -1
  21. package/dist/esm/apis/FoxFactoryApi.js +27 -11
  22. package/dist/esm/apis/GitlabApi.d.ts +1 -1
  23. package/dist/esm/apis/GitlabApi.js +4 -2
  24. package/dist/esm/apis/InternalApi.d.ts +25 -1
  25. package/dist/esm/apis/InternalApi.js +98 -21
  26. package/dist/esm/apis/PasteApi.d.ts +1 -1
  27. package/dist/esm/apis/PasteApi.js +6 -3
  28. package/dist/esm/apis/ReleaseApi.d.ts +1 -1
  29. package/dist/esm/apis/ReleaseApi.js +11 -5
  30. package/dist/esm/apis/StatsApi.d.ts +1 -1
  31. package/dist/esm/apis/StatsApi.js +3 -2
  32. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +1 -1
  33. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +1 -1
  34. package/dist/esm/models/BuildStatusEnum.d.ts +1 -1
  35. package/dist/esm/models/BuildStatusEnum.js +1 -1
  36. package/dist/esm/models/BuildTaskResponse.d.ts +1 -1
  37. package/dist/esm/models/BuildTaskResponse.js +3 -3
  38. package/dist/esm/models/BuildTaskShortResponse.d.ts +1 -1
  39. package/dist/esm/models/BuildTaskShortResponse.js +3 -3
  40. package/dist/esm/models/DeviceInternalResponse.d.ts +13 -1
  41. package/dist/esm/models/DeviceInternalResponse.js +5 -1
  42. package/dist/esm/models/DeviceResponse.d.ts +13 -1
  43. package/dist/esm/models/DeviceResponse.js +5 -1
  44. package/dist/esm/models/DeviceStatsResponse.d.ts +1 -1
  45. package/dist/esm/models/DeviceStatsResponse.js +1 -1
  46. package/dist/esm/models/DeviceUpdateBody.d.ts +1 -1
  47. package/dist/esm/models/DeviceUpdateBody.js +1 -1
  48. package/dist/esm/models/FFStatusEnum.d.ts +1 -1
  49. package/dist/esm/models/FFStatusEnum.js +1 -1
  50. package/dist/esm/models/FFStatusResponse.d.ts +1 -1
  51. package/dist/esm/models/FFStatusResponse.js +1 -1
  52. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +1 -1
  53. package/dist/esm/models/GlobalStatsAggregationModel.js +1 -1
  54. package/dist/esm/models/HTTPValidationError.d.ts +1 -1
  55. package/dist/esm/models/HTTPValidationError.js +1 -1
  56. package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +1 -1
  57. package/dist/esm/models/ListResponseBuildTaskShortResponse.js +1 -1
  58. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  59. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  60. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  61. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  62. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +1 -1
  63. package/dist/esm/models/ListResponseShortReleaseResponse.js +1 -1
  64. package/dist/esm/models/ListResponseStr.d.ts +1 -1
  65. package/dist/esm/models/ListResponseStr.js +1 -1
  66. package/dist/esm/models/ListResponseUserShortResponse.d.ts +1 -1
  67. package/dist/esm/models/ListResponseUserShortResponse.js +1 -1
  68. package/dist/esm/models/LogListResponse.d.ts +1 -1
  69. package/dist/esm/models/LogListResponse.js +1 -1
  70. package/dist/esm/models/LogResponse.d.ts +1 -1
  71. package/dist/esm/models/LogResponse.js +2 -2
  72. package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
  73. package/dist/esm/models/MaintainerShortModel.js +1 -1
  74. package/dist/esm/models/NewBuildTaskBody.d.ts +1 -1
  75. package/dist/esm/models/NewBuildTaskBody.js +1 -1
  76. package/dist/esm/models/NewDeviceBody.d.ts +1 -1
  77. package/dist/esm/models/NewDeviceBody.js +1 -1
  78. package/dist/esm/models/PasteInput.d.ts +1 -1
  79. package/dist/esm/models/PasteInput.js +1 -1
  80. package/dist/esm/models/PasteOutput.d.ts +1 -1
  81. package/dist/esm/models/PasteOutput.js +2 -2
  82. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  83. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  84. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  85. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  86. package/dist/esm/models/ReleaseInternalResponse.d.ts +13 -1
  87. package/dist/esm/models/ReleaseInternalResponse.js +7 -1
  88. package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +1 -1
  89. package/dist/esm/models/ReleaseInternalResponsePropValue.js +1 -1
  90. package/dist/esm/models/ReleaseResponse.d.ts +13 -1
  91. package/dist/esm/models/ReleaseResponse.js +7 -1
  92. package/dist/esm/models/ReleaseStatsResponse.d.ts +1 -1
  93. package/dist/esm/models/ReleaseStatsResponse.js +1 -1
  94. package/dist/esm/models/ReleaseType.d.ts +1 -1
  95. package/dist/esm/models/ReleaseType.js +1 -1
  96. package/dist/esm/models/ReleaseUpdateBody.d.ts +1 -1
  97. package/dist/esm/models/ReleaseUpdateBody.js +1 -1
  98. package/dist/esm/models/ReleasesSort.d.ts +1 -1
  99. package/dist/esm/models/ReleasesSort.js +1 -1
  100. package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
  101. package/dist/esm/models/ResponseGetReleases.js +1 -1
  102. package/dist/esm/models/ShortDeviceResponse.d.ts +13 -1
  103. package/dist/esm/models/ShortDeviceResponse.js +5 -1
  104. package/dist/esm/models/ShortReleaseResponse.d.ts +13 -1
  105. package/dist/esm/models/ShortReleaseResponse.js +7 -1
  106. package/dist/esm/models/TaskUpdateBody.d.ts +1 -1
  107. package/dist/esm/models/TaskUpdateBody.js +1 -1
  108. package/dist/esm/models/TokenResponse.d.ts +1 -1
  109. package/dist/esm/models/TokenResponse.js +1 -1
  110. package/dist/esm/models/UserGitlab.d.ts +1 -1
  111. package/dist/esm/models/UserGitlab.js +1 -1
  112. package/dist/esm/models/UserInternalResponse.d.ts +1 -1
  113. package/dist/esm/models/UserInternalResponse.js +1 -1
  114. package/dist/esm/models/UserMail.d.ts +1 -1
  115. package/dist/esm/models/UserMail.js +1 -1
  116. package/dist/esm/models/UserShortResponse.d.ts +1 -1
  117. package/dist/esm/models/UserShortResponse.js +1 -1
  118. package/dist/esm/models/UserTelegram.d.ts +1 -1
  119. package/dist/esm/models/UserTelegram.js +1 -1
  120. package/dist/esm/models/UserUpdateBody.d.ts +1 -1
  121. package/dist/esm/models/UserUpdateBody.js +1 -1
  122. package/dist/esm/models/ValidationError.d.ts +1 -1
  123. package/dist/esm/models/ValidationError.js +1 -1
  124. package/dist/esm/models/ValidationErrorLocInner.d.ts +1 -1
  125. package/dist/esm/models/ValidationErrorLocInner.js +1 -1
  126. package/dist/esm/runtime.d.ts +1 -1
  127. package/dist/esm/runtime.js +1 -1
  128. package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +1 -1
  129. package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +1 -1
  130. package/dist/models/BuildStatusEnum.d.ts +1 -1
  131. package/dist/models/BuildStatusEnum.js +1 -1
  132. package/dist/models/BuildTaskResponse.d.ts +1 -1
  133. package/dist/models/BuildTaskResponse.js +3 -3
  134. package/dist/models/BuildTaskShortResponse.d.ts +1 -1
  135. package/dist/models/BuildTaskShortResponse.js +3 -3
  136. package/dist/models/DeviceInternalResponse.d.ts +13 -1
  137. package/dist/models/DeviceInternalResponse.js +5 -1
  138. package/dist/models/DeviceResponse.d.ts +13 -1
  139. package/dist/models/DeviceResponse.js +5 -1
  140. package/dist/models/DeviceStatsResponse.d.ts +1 -1
  141. package/dist/models/DeviceStatsResponse.js +1 -1
  142. package/dist/models/DeviceUpdateBody.d.ts +1 -1
  143. package/dist/models/DeviceUpdateBody.js +1 -1
  144. package/dist/models/FFStatusEnum.d.ts +1 -1
  145. package/dist/models/FFStatusEnum.js +1 -1
  146. package/dist/models/FFStatusResponse.d.ts +1 -1
  147. package/dist/models/FFStatusResponse.js +1 -1
  148. package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
  149. package/dist/models/GlobalStatsAggregationModel.js +1 -1
  150. package/dist/models/HTTPValidationError.d.ts +1 -1
  151. package/dist/models/HTTPValidationError.js +1 -1
  152. package/dist/models/ListResponseBuildTaskShortResponse.d.ts +1 -1
  153. package/dist/models/ListResponseBuildTaskShortResponse.js +1 -1
  154. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  155. package/dist/models/ListResponseReleaseResponse.js +1 -1
  156. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  157. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  158. package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
  159. package/dist/models/ListResponseShortReleaseResponse.js +1 -1
  160. package/dist/models/ListResponseStr.d.ts +1 -1
  161. package/dist/models/ListResponseStr.js +1 -1
  162. package/dist/models/ListResponseUserShortResponse.d.ts +1 -1
  163. package/dist/models/ListResponseUserShortResponse.js +1 -1
  164. package/dist/models/LogListResponse.d.ts +1 -1
  165. package/dist/models/LogListResponse.js +1 -1
  166. package/dist/models/LogResponse.d.ts +1 -1
  167. package/dist/models/LogResponse.js +2 -2
  168. package/dist/models/MaintainerShortModel.d.ts +1 -1
  169. package/dist/models/MaintainerShortModel.js +1 -1
  170. package/dist/models/NewBuildTaskBody.d.ts +1 -1
  171. package/dist/models/NewBuildTaskBody.js +1 -1
  172. package/dist/models/NewDeviceBody.d.ts +1 -1
  173. package/dist/models/NewDeviceBody.js +1 -1
  174. package/dist/models/PasteInput.d.ts +1 -1
  175. package/dist/models/PasteInput.js +1 -1
  176. package/dist/models/PasteOutput.d.ts +1 -1
  177. package/dist/models/PasteOutput.js +2 -2
  178. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  179. package/dist/models/RecoveryImgResponse.js +1 -1
  180. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  181. package/dist/models/ReleaseGroupsResponse.js +1 -1
  182. package/dist/models/ReleaseInternalResponse.d.ts +13 -1
  183. package/dist/models/ReleaseInternalResponse.js +7 -1
  184. package/dist/models/ReleaseInternalResponsePropValue.d.ts +1 -1
  185. package/dist/models/ReleaseInternalResponsePropValue.js +1 -1
  186. package/dist/models/ReleaseResponse.d.ts +13 -1
  187. package/dist/models/ReleaseResponse.js +7 -1
  188. package/dist/models/ReleaseStatsResponse.d.ts +1 -1
  189. package/dist/models/ReleaseStatsResponse.js +1 -1
  190. package/dist/models/ReleaseType.d.ts +1 -1
  191. package/dist/models/ReleaseType.js +1 -1
  192. package/dist/models/ReleaseUpdateBody.d.ts +1 -1
  193. package/dist/models/ReleaseUpdateBody.js +1 -1
  194. package/dist/models/ReleasesSort.d.ts +1 -1
  195. package/dist/models/ReleasesSort.js +1 -1
  196. package/dist/models/ResponseGetReleases.d.ts +1 -1
  197. package/dist/models/ResponseGetReleases.js +1 -1
  198. package/dist/models/ShortDeviceResponse.d.ts +13 -1
  199. package/dist/models/ShortDeviceResponse.js +5 -1
  200. package/dist/models/ShortReleaseResponse.d.ts +13 -1
  201. package/dist/models/ShortReleaseResponse.js +7 -1
  202. package/dist/models/TaskUpdateBody.d.ts +1 -1
  203. package/dist/models/TaskUpdateBody.js +1 -1
  204. package/dist/models/TokenResponse.d.ts +1 -1
  205. package/dist/models/TokenResponse.js +1 -1
  206. package/dist/models/UserGitlab.d.ts +1 -1
  207. package/dist/models/UserGitlab.js +1 -1
  208. package/dist/models/UserInternalResponse.d.ts +1 -1
  209. package/dist/models/UserInternalResponse.js +1 -1
  210. package/dist/models/UserMail.d.ts +1 -1
  211. package/dist/models/UserMail.js +1 -1
  212. package/dist/models/UserShortResponse.d.ts +1 -1
  213. package/dist/models/UserShortResponse.js +1 -1
  214. package/dist/models/UserTelegram.d.ts +1 -1
  215. package/dist/models/UserTelegram.js +1 -1
  216. package/dist/models/UserUpdateBody.d.ts +1 -1
  217. package/dist/models/UserUpdateBody.js +1 -1
  218. package/dist/models/ValidationError.d.ts +1 -1
  219. package/dist/models/ValidationError.js +1 -1
  220. package/dist/models/ValidationErrorLocInner.d.ts +1 -1
  221. package/dist/models/ValidationErrorLocInner.js +1 -1
  222. package/dist/runtime.d.ts +1 -1
  223. package/dist/runtime.js +1 -1
  224. package/docs/BodyChangePasswordProfileChangePasswordPost.md +36 -0
  225. package/docs/BuildStatusEnum.md +32 -0
  226. package/docs/BuildTaskResponse.md +56 -0
  227. package/docs/BuildTaskShortResponse.md +52 -0
  228. package/docs/DeviceApi.md +315 -0
  229. package/docs/DeviceInternalResponse.md +64 -0
  230. package/docs/DeviceResponse.md +60 -0
  231. package/docs/DeviceStatsResponse.md +38 -0
  232. package/docs/DeviceUpdateBody.md +44 -0
  233. package/docs/FFStatusEnum.md +32 -0
  234. package/docs/FFStatusResponse.md +34 -0
  235. package/docs/FoxFactoryApi.md +758 -0
  236. package/docs/GitlabApi.md +78 -0
  237. package/docs/GlobalStatsAggregationModel.md +40 -0
  238. package/docs/HTTPValidationError.md +34 -0
  239. package/docs/InternalApi.md +1608 -0
  240. package/docs/ListResponseBuildTaskShortResponse.md +36 -0
  241. package/docs/ListResponseReleaseResponse.md +36 -0
  242. package/docs/ListResponseShortDeviceResponse.md +36 -0
  243. package/docs/ListResponseShortReleaseResponse.md +36 -0
  244. package/docs/ListResponseStr.md +36 -0
  245. package/docs/ListResponseUserShortResponse.md +36 -0
  246. package/docs/LogListResponse.md +40 -0
  247. package/docs/LogResponse.md +50 -0
  248. package/docs/MaintainerShortModel.md +38 -0
  249. package/docs/NewBuildTaskBody.md +42 -0
  250. package/docs/NewDeviceBody.md +40 -0
  251. package/docs/PasteApi.md +149 -0
  252. package/docs/PasteInput.md +34 -0
  253. package/docs/PasteOutput.md +40 -0
  254. package/docs/RecoveryImgResponse.md +36 -0
  255. package/docs/ReleaseApi.md +354 -0
  256. package/docs/ReleaseGroupsResponse.md +34 -0
  257. package/docs/ReleaseInternalResponse.md +78 -0
  258. package/docs/ReleaseInternalResponsePropValue.md +32 -0
  259. package/docs/ReleaseResponse.md +72 -0
  260. package/docs/ReleaseStatsResponse.md +38 -0
  261. package/docs/ReleaseType.md +32 -0
  262. package/docs/ReleaseUpdateBody.md +40 -0
  263. package/docs/ReleasesSort.md +32 -0
  264. package/docs/ResponseGetReleases.md +36 -0
  265. package/docs/ShortDeviceResponse.md +54 -0
  266. package/docs/ShortReleaseResponse.md +60 -0
  267. package/docs/StatsApi.md +69 -0
  268. package/docs/TaskUpdateBody.md +36 -0
  269. package/docs/TokenResponse.md +36 -0
  270. package/docs/UserGitlab.md +34 -0
  271. package/docs/UserInternalResponse.md +52 -0
  272. package/docs/UserMail.md +34 -0
  273. package/docs/UserShortResponse.md +40 -0
  274. package/docs/UserTelegram.md +34 -0
  275. package/docs/UserUpdateBody.md +42 -0
  276. package/docs/ValidationError.md +38 -0
  277. package/docs/ValidationErrorLocInner.md +32 -0
  278. package/package.json +5 -2
  279. package/src/apis/DeviceApi.ts +18 -5
  280. package/src/apis/FoxFactoryApi.ts +47 -11
  281. package/src/apis/GitlabApi.ts +6 -2
  282. package/src/apis/InternalApi.ts +165 -21
  283. package/src/apis/PasteApi.ts +10 -3
  284. package/src/apis/ReleaseApi.ts +19 -5
  285. package/src/apis/StatsApi.ts +5 -2
  286. package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +1 -1
  287. package/src/models/BuildStatusEnum.ts +1 -1
  288. package/src/models/BuildTaskResponse.ts +3 -3
  289. package/src/models/BuildTaskShortResponse.ts +3 -3
  290. package/src/models/DeviceInternalResponse.ts +17 -1
  291. package/src/models/DeviceResponse.ts +17 -1
  292. package/src/models/DeviceStatsResponse.ts +1 -1
  293. package/src/models/DeviceUpdateBody.ts +1 -1
  294. package/src/models/FFStatusEnum.ts +1 -1
  295. package/src/models/FFStatusResponse.ts +1 -1
  296. package/src/models/GlobalStatsAggregationModel.ts +1 -1
  297. package/src/models/HTTPValidationError.ts +1 -1
  298. package/src/models/ListResponseBuildTaskShortResponse.ts +1 -1
  299. package/src/models/ListResponseReleaseResponse.ts +1 -1
  300. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  301. package/src/models/ListResponseShortReleaseResponse.ts +1 -1
  302. package/src/models/ListResponseStr.ts +1 -1
  303. package/src/models/ListResponseUserShortResponse.ts +1 -1
  304. package/src/models/LogListResponse.ts +1 -1
  305. package/src/models/LogResponse.ts +2 -2
  306. package/src/models/MaintainerShortModel.ts +1 -1
  307. package/src/models/NewBuildTaskBody.ts +1 -1
  308. package/src/models/NewDeviceBody.ts +1 -1
  309. package/src/models/PasteInput.ts +1 -1
  310. package/src/models/PasteOutput.ts +2 -2
  311. package/src/models/RecoveryImgResponse.ts +1 -1
  312. package/src/models/ReleaseGroupsResponse.ts +1 -1
  313. package/src/models/ReleaseInternalResponse.ts +18 -1
  314. package/src/models/ReleaseInternalResponsePropValue.ts +1 -1
  315. package/src/models/ReleaseResponse.ts +18 -1
  316. package/src/models/ReleaseStatsResponse.ts +1 -1
  317. package/src/models/ReleaseType.ts +1 -1
  318. package/src/models/ReleaseUpdateBody.ts +1 -1
  319. package/src/models/ReleasesSort.ts +1 -1
  320. package/src/models/ResponseGetReleases.ts +1 -1
  321. package/src/models/ShortDeviceResponse.ts +17 -1
  322. package/src/models/ShortReleaseResponse.ts +18 -1
  323. package/src/models/TaskUpdateBody.ts +1 -1
  324. package/src/models/TokenResponse.ts +1 -1
  325. package/src/models/UserGitlab.ts +1 -1
  326. package/src/models/UserInternalResponse.ts +1 -1
  327. package/src/models/UserMail.ts +1 -1
  328. package/src/models/UserShortResponse.ts +1 -1
  329. package/src/models/UserTelegram.ts +1 -1
  330. package/src/models/UserUpdateBody.ts +1 -1
  331. package/src/models/ValidationError.ts +1 -1
  332. package/src/models/ValidationErrorLocInner.ts +1 -1
  333. package/src/runtime.ts +1 -1
@@ -0,0 +1,36 @@
1
+
2
+ # BodyChangePasswordProfileChangePasswordPost
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `oldPassword` | string
10
+ `newPassword` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { BodyChangePasswordProfileChangePasswordPost } from '@orangefox-recovery/foxinternalclient'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "oldPassword": null,
20
+ "newPassword": null,
21
+ } satisfies BodyChangePasswordProfileChangePasswordPost
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as BodyChangePasswordProfileChangePasswordPost
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,32 @@
1
+
2
+ # BuildStatusEnum
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { BuildStatusEnum } from '@orangefox-recovery/foxinternalclient'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies BuildStatusEnum
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as BuildStatusEnum
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,56 @@
1
+
2
+ # BuildTaskResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `startedById` | string
11
+ `device` | [ShortDeviceResponse](ShortDeviceResponse.md)
12
+ `status` | [BuildStatusEnum](BuildStatusEnum.md)
13
+ `version` | string
14
+ `type` | [ReleaseType](ReleaseType.md)
15
+ `variant` | string
16
+ `startedAt` | Date
17
+ `finishedAt` | Date
18
+ `hasArtifact` | boolean
19
+ `environment` | { [key: string]: string; }
20
+ `logs` | Array<string>
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import type { BuildTaskResponse } from '@orangefox-recovery/foxinternalclient'
26
+
27
+ // TODO: Update the object below with actual values
28
+ const example = {
29
+ "id": null,
30
+ "startedById": null,
31
+ "device": null,
32
+ "status": null,
33
+ "version": null,
34
+ "type": null,
35
+ "variant": null,
36
+ "startedAt": null,
37
+ "finishedAt": null,
38
+ "hasArtifact": null,
39
+ "environment": null,
40
+ "logs": null,
41
+ } satisfies BuildTaskResponse
42
+
43
+ console.log(example)
44
+
45
+ // Convert the instance to a JSON string
46
+ const exampleJSON: string = JSON.stringify(example)
47
+ console.log(exampleJSON)
48
+
49
+ // Parse the JSON string back to an object
50
+ const exampleParsed = JSON.parse(exampleJSON) as BuildTaskResponse
51
+ console.log(exampleParsed)
52
+ ```
53
+
54
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
55
+
56
+
@@ -0,0 +1,52 @@
1
+
2
+ # BuildTaskShortResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `startedById` | string
11
+ `device` | [ShortDeviceResponse](ShortDeviceResponse.md)
12
+ `status` | [BuildStatusEnum](BuildStatusEnum.md)
13
+ `version` | string
14
+ `type` | [ReleaseType](ReleaseType.md)
15
+ `variant` | string
16
+ `startedAt` | Date
17
+ `finishedAt` | Date
18
+ `hasArtifact` | boolean
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { BuildTaskShortResponse } from '@orangefox-recovery/foxinternalclient'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "startedById": null,
29
+ "device": null,
30
+ "status": null,
31
+ "version": null,
32
+ "type": null,
33
+ "variant": null,
34
+ "startedAt": null,
35
+ "finishedAt": null,
36
+ "hasArtifact": null,
37
+ } satisfies BuildTaskShortResponse
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as BuildTaskShortResponse
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,315 @@
1
+ # DeviceApi
2
+
3
+ All URIs are relative to *https://api.orangefox.download*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**getDevice**](DeviceApi.md#getdevice) | **GET** /devices/get | Get Device |
8
+ | [**getDeviceDeprecated**](DeviceApi.md#getdevicedeprecated) | **GET** /devices/{device_id} | Get Device Short |
9
+ | [**getDevices**](DeviceApi.md#getdevices) | **GET** /devices/ | Get Devices |
10
+ | [**getOems**](DeviceApi.md#getoems) | **GET** /oems/ | Get Oems |
11
+
12
+
13
+
14
+ ## getDevice
15
+
16
+ > DeviceResponse getDevice(deviceId, id, codename)
17
+
18
+ Get Device
19
+
20
+ 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.
21
+
22
+ ### Example
23
+
24
+ ```ts
25
+ import {
26
+ Configuration,
27
+ DeviceApi,
28
+ } from '@orangefox-recovery/foxinternalclient';
29
+ import type { GetDeviceRequest } from '@orangefox-recovery/foxinternalclient';
30
+
31
+ async function example() {
32
+ console.log("🚀 Testing @orangefox-recovery/foxinternalclient SDK...");
33
+ const api = new DeviceApi();
34
+
35
+ const body = {
36
+ // string (optional)
37
+ deviceId: deviceId_example,
38
+ // string | Filter by Device ID (deprecated) (optional)
39
+ id: id_example,
40
+ // string | Not recommended to use when you can (optional)
41
+ codename: codename_example,
42
+ } satisfies GetDeviceRequest;
43
+
44
+ try {
45
+ const data = await api.getDevice(body);
46
+ console.log(data);
47
+ } catch (error) {
48
+ console.error(error);
49
+ }
50
+ }
51
+
52
+ // Run the test
53
+ example().catch(console.error);
54
+ ```
55
+
56
+ ### Parameters
57
+
58
+
59
+ | Name | Type | Description | Notes |
60
+ |------------- | ------------- | ------------- | -------------|
61
+ | **deviceId** | `string` | | [Optional] [Defaults to `undefined`] |
62
+ | **id** | `string` | Filter by Device ID (deprecated) | [Optional] [Defaults to `undefined`] |
63
+ | **codename** | `string` | Not recommended to use when you can | [Optional] [Defaults to `undefined`] |
64
+
65
+ ### Return type
66
+
67
+ [**DeviceResponse**](DeviceResponse.md)
68
+
69
+ ### Authorization
70
+
71
+ No authorization required
72
+
73
+ ### HTTP request headers
74
+
75
+ - **Content-Type**: Not defined
76
+ - **Accept**: `application/json`
77
+
78
+
79
+ ### HTTP response details
80
+ | Status code | Description | Response headers |
81
+ |-------------|-------------|------------------|
82
+ | **200** | Successful Response | - |
83
+ | **404** | Item not found | - |
84
+ | **400** | Bad request | - |
85
+ | **422** | Validation Error | - |
86
+
87
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
88
+
89
+
90
+ ## getDeviceDeprecated
91
+
92
+ > DeviceResponse getDeviceDeprecated(deviceId)
93
+
94
+ Get Device Short
95
+
96
+ Gets device info using device ID.
97
+
98
+ ### Example
99
+
100
+ ```ts
101
+ import {
102
+ Configuration,
103
+ DeviceApi,
104
+ } from '@orangefox-recovery/foxinternalclient';
105
+ import type { GetDeviceDeprecatedRequest } from '@orangefox-recovery/foxinternalclient';
106
+
107
+ async function example() {
108
+ console.log("🚀 Testing @orangefox-recovery/foxinternalclient SDK...");
109
+ const api = new DeviceApi();
110
+
111
+ const body = {
112
+ // string
113
+ deviceId: deviceId_example,
114
+ } satisfies GetDeviceDeprecatedRequest;
115
+
116
+ try {
117
+ const data = await api.getDeviceDeprecated(body);
118
+ console.log(data);
119
+ } catch (error) {
120
+ console.error(error);
121
+ }
122
+ }
123
+
124
+ // Run the test
125
+ example().catch(console.error);
126
+ ```
127
+
128
+ ### Parameters
129
+
130
+
131
+ | Name | Type | Description | Notes |
132
+ |------------- | ------------- | ------------- | -------------|
133
+ | **deviceId** | `string` | | [Defaults to `undefined`] |
134
+
135
+ ### Return type
136
+
137
+ [**DeviceResponse**](DeviceResponse.md)
138
+
139
+ ### Authorization
140
+
141
+ No authorization required
142
+
143
+ ### HTTP request headers
144
+
145
+ - **Content-Type**: Not defined
146
+ - **Accept**: `application/json`
147
+
148
+
149
+ ### HTTP response details
150
+ | Status code | Description | Response headers |
151
+ |-------------|-------------|------------------|
152
+ | **200** | Successful Response | - |
153
+ | **404** | Item not found | - |
154
+ | **422** | Validation Error | - |
155
+
156
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
157
+
158
+
159
+ ## getDevices
160
+
161
+ > ListResponseShortDeviceResponse getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit)
162
+
163
+ Get Devices
164
+
165
+ 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.
166
+
167
+ ### Example
168
+
169
+ ```ts
170
+ import {
171
+ Configuration,
172
+ DeviceApi,
173
+ } from '@orangefox-recovery/foxinternalclient';
174
+ import type { GetDevicesRequest } from '@orangefox-recovery/foxinternalclient';
175
+
176
+ async function example() {
177
+ console.log("🚀 Testing @orangefox-recovery/foxinternalclient SDK...");
178
+ const api = new DeviceApi();
179
+
180
+ const body = {
181
+ // Array<string> | Filter by Device IDs (optional)
182
+ id: ...,
183
+ // Array<string> | Filter by Device IDs (deprecated) (optional)
184
+ id2: ...,
185
+ // Array<string> | Filter by OEM names (optional)
186
+ oemName: ...,
187
+ // Array<string> | Filter by device codenames (optional)
188
+ codename: ...,
189
+ // Array<string> | Filter by model names (optional)
190
+ modelName: ...,
191
+ // boolean | Supported status (optional)
192
+ supported: true,
193
+ // Array<string> | Filter by maintainer ID (optional)
194
+ maintainer: ...,
195
+ // boolean | Filter by Freezed status (optional)
196
+ freezed: true,
197
+ // boolean | Filter by has releases status (optional)
198
+ hasReleases: true,
199
+ // number | Skip query results (optional)
200
+ skip: 56,
201
+ // number | Limit query results (0 means unlimited) (optional)
202
+ limit: 56,
203
+ } satisfies GetDevicesRequest;
204
+
205
+ try {
206
+ const data = await api.getDevices(body);
207
+ console.log(data);
208
+ } catch (error) {
209
+ console.error(error);
210
+ }
211
+ }
212
+
213
+ // Run the test
214
+ example().catch(console.error);
215
+ ```
216
+
217
+ ### Parameters
218
+
219
+
220
+ | Name | Type | Description | Notes |
221
+ |------------- | ------------- | ------------- | -------------|
222
+ | **id** | `Array<string>` | Filter by Device IDs | [Optional] |
223
+ | **id2** | `Array<string>` | Filter by Device IDs (deprecated) | [Optional] |
224
+ | **oemName** | `Array<string>` | Filter by OEM names | [Optional] |
225
+ | **codename** | `Array<string>` | Filter by device codenames | [Optional] |
226
+ | **modelName** | `Array<string>` | Filter by model names | [Optional] |
227
+ | **supported** | `boolean` | Supported status | [Optional] [Defaults to `undefined`] |
228
+ | **maintainer** | `Array<string>` | Filter by maintainer ID | [Optional] |
229
+ | **freezed** | `boolean` | Filter by Freezed status | [Optional] [Defaults to `undefined`] |
230
+ | **hasReleases** | `boolean` | Filter by has releases status | [Optional] [Defaults to `undefined`] |
231
+ | **skip** | `number` | Skip query results | [Optional] [Defaults to `undefined`] |
232
+ | **limit** | `number` | Limit query results (0 means unlimited) | [Optional] [Defaults to `undefined`] |
233
+
234
+ ### Return type
235
+
236
+ [**ListResponseShortDeviceResponse**](ListResponseShortDeviceResponse.md)
237
+
238
+ ### Authorization
239
+
240
+ No authorization required
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: `application/json`
246
+
247
+
248
+ ### HTTP response details
249
+ | Status code | Description | Response headers |
250
+ |-------------|-------------|------------------|
251
+ | **200** | Successful Response | - |
252
+ | **404** | Item not found | - |
253
+ | **422** | Validation Error | - |
254
+
255
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
256
+
257
+
258
+ ## getOems
259
+
260
+ > ListResponseStr getOems()
261
+
262
+ Get Oems
263
+
264
+ Lists all OEM names
265
+
266
+ ### Example
267
+
268
+ ```ts
269
+ import {
270
+ Configuration,
271
+ DeviceApi,
272
+ } from '@orangefox-recovery/foxinternalclient';
273
+ import type { GetOemsRequest } from '@orangefox-recovery/foxinternalclient';
274
+
275
+ async function example() {
276
+ console.log("🚀 Testing @orangefox-recovery/foxinternalclient SDK...");
277
+ const api = new DeviceApi();
278
+
279
+ try {
280
+ const data = await api.getOems();
281
+ console.log(data);
282
+ } catch (error) {
283
+ console.error(error);
284
+ }
285
+ }
286
+
287
+ // Run the test
288
+ example().catch(console.error);
289
+ ```
290
+
291
+ ### Parameters
292
+
293
+ This endpoint does not need any parameter.
294
+
295
+ ### Return type
296
+
297
+ [**ListResponseStr**](ListResponseStr.md)
298
+
299
+ ### Authorization
300
+
301
+ No authorization required
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: `application/json`
307
+
308
+
309
+ ### HTTP response details
310
+ | Status code | Description | Response headers |
311
+ |-------------|-------------|------------------|
312
+ | **200** | Successful Response | - |
313
+
314
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
315
+
@@ -0,0 +1,64 @@
1
+
2
+ # DeviceInternalResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `codename` | string
10
+ `modelName` | string
11
+ `oemName` | string
12
+ `id` | string
13
+ `codenames` | Array&lt;string&gt;
14
+ `modelNames` | Array&lt;string&gt;
15
+ `supported` | boolean
16
+ `isFeatured` | boolean
17
+ `featuredText` | string
18
+ `maintainer` | [MaintainerShortModel](MaintainerShortModel.md)
19
+ `notes` | string
20
+ `deviceTree` | string
21
+ `stats` | [DeviceStatsResponse](DeviceStatsResponse.md)
22
+ `freezed` | boolean
23
+ `fullName` | string
24
+ `url` | string
25
+
26
+ ## Example
27
+
28
+ ```typescript
29
+ import type { DeviceInternalResponse } from '@orangefox-recovery/foxinternalclient'
30
+
31
+ // TODO: Update the object below with actual values
32
+ const example = {
33
+ "codename": null,
34
+ "modelName": null,
35
+ "oemName": null,
36
+ "id": null,
37
+ "codenames": null,
38
+ "modelNames": null,
39
+ "supported": null,
40
+ "isFeatured": null,
41
+ "featuredText": null,
42
+ "maintainer": null,
43
+ "notes": null,
44
+ "deviceTree": null,
45
+ "stats": null,
46
+ "freezed": null,
47
+ "fullName": null,
48
+ "url": null,
49
+ } satisfies DeviceInternalResponse
50
+
51
+ console.log(example)
52
+
53
+ // Convert the instance to a JSON string
54
+ const exampleJSON: string = JSON.stringify(example)
55
+ console.log(exampleJSON)
56
+
57
+ // Parse the JSON string back to an object
58
+ const exampleParsed = JSON.parse(exampleJSON) as DeviceInternalResponse
59
+ console.log(exampleParsed)
60
+ ```
61
+
62
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
63
+
64
+
@@ -0,0 +1,60 @@
1
+
2
+ # DeviceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `codename` | string
10
+ `modelName` | string
11
+ `oemName` | string
12
+ `id` | string
13
+ `codenames` | Array&lt;string&gt;
14
+ `modelNames` | Array&lt;string&gt;
15
+ `supported` | boolean
16
+ `isFeatured` | boolean
17
+ `featuredText` | string
18
+ `maintainer` | [MaintainerShortModel](MaintainerShortModel.md)
19
+ `notes` | string
20
+ `deviceTree` | string
21
+ `fullName` | string
22
+ `url` | string
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { DeviceResponse } from '@orangefox-recovery/foxinternalclient'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "codename": null,
32
+ "modelName": null,
33
+ "oemName": null,
34
+ "id": null,
35
+ "codenames": null,
36
+ "modelNames": null,
37
+ "supported": null,
38
+ "isFeatured": null,
39
+ "featuredText": null,
40
+ "maintainer": null,
41
+ "notes": null,
42
+ "deviceTree": null,
43
+ "fullName": null,
44
+ "url": null,
45
+ } satisfies DeviceResponse
46
+
47
+ console.log(example)
48
+
49
+ // Convert the instance to a JSON string
50
+ const exampleJSON: string = JSON.stringify(example)
51
+ console.log(exampleJSON)
52
+
53
+ // Parse the JSON string back to an object
54
+ const exampleParsed = JSON.parse(exampleJSON) as DeviceResponse
55
+ console.log(exampleParsed)
56
+ ```
57
+
58
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
+
60
+
@@ -0,0 +1,38 @@
1
+
2
+ # DeviceStatsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `count` | number
10
+ `days` | { [key: string]: number; }
11
+ `mirrors` | { [key: string]: number; }
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { DeviceStatsResponse } from '@orangefox-recovery/foxinternalclient'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "count": null,
21
+ "days": null,
22
+ "mirrors": null,
23
+ } satisfies DeviceStatsResponse
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as DeviceStatsResponse
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,44 @@
1
+
2
+ # DeviceUpdateBody
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `oemName` | string
10
+ `codenames` | Array&lt;string&gt;
11
+ `modelNames` | Array&lt;string&gt;
12
+ `supported` | boolean
13
+ `freezed` | boolean
14
+ `notes` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { DeviceUpdateBody } from '@orangefox-recovery/foxinternalclient'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "oemName": null,
24
+ "codenames": null,
25
+ "modelNames": null,
26
+ "supported": null,
27
+ "freezed": null,
28
+ "notes": null,
29
+ } satisfies DeviceUpdateBody
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as DeviceUpdateBody
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+