@orangefox-recovery/foxinternalclient 5.3.3 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/.openapi-generator/FILES +14 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +18 -5
  4. package/dist/apis/DeviceApi.d.ts +66 -9
  5. package/dist/apis/DeviceApi.js +60 -23
  6. package/dist/apis/FoxFactoryApi.d.ts +115 -3
  7. package/dist/apis/FoxFactoryApi.js +141 -53
  8. package/dist/apis/GitlabApi.d.ts +13 -1
  9. package/dist/apis/GitlabApi.js +14 -5
  10. package/dist/apis/InternalApi.d.ts +496 -4
  11. package/dist/apis/InternalApi.js +594 -108
  12. package/dist/apis/PasteApi.d.ts +23 -1
  13. package/dist/apis/PasteApi.js +29 -11
  14. package/dist/apis/ReleaseApi.d.ts +76 -5
  15. package/dist/apis/ReleaseApi.js +60 -22
  16. package/dist/apis/StatsApi.d.ts +11 -1
  17. package/dist/apis/StatsApi.js +15 -6
  18. package/dist/esm/apis/DeviceApi.d.ts +66 -9
  19. package/dist/esm/apis/DeviceApi.js +60 -23
  20. package/dist/esm/apis/FoxFactoryApi.d.ts +115 -3
  21. package/dist/esm/apis/FoxFactoryApi.js +141 -53
  22. package/dist/esm/apis/GitlabApi.d.ts +13 -1
  23. package/dist/esm/apis/GitlabApi.js +14 -5
  24. package/dist/esm/apis/InternalApi.d.ts +496 -4
  25. package/dist/esm/apis/InternalApi.js +595 -109
  26. package/dist/esm/apis/PasteApi.d.ts +23 -1
  27. package/dist/esm/apis/PasteApi.js +29 -11
  28. package/dist/esm/apis/ReleaseApi.d.ts +76 -5
  29. package/dist/esm/apis/ReleaseApi.js +60 -22
  30. package/dist/esm/apis/StatsApi.d.ts +11 -1
  31. package/dist/esm/apis/StatsApi.js +15 -6
  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 +1 -1
  38. package/dist/esm/models/BuildTaskShortResponse.d.ts +1 -1
  39. package/dist/esm/models/BuildTaskShortResponse.js +1 -1
  40. package/dist/esm/models/DeviceInternalResponse.d.ts +1 -1
  41. package/dist/esm/models/DeviceInternalResponse.js +1 -1
  42. package/dist/esm/models/DeviceResponse.d.ts +1 -1
  43. package/dist/esm/models/DeviceResponse.js +1 -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/LocationInner.d.ts +26 -0
  69. package/dist/esm/models/{ValidationErrorLocInner.js → LocationInner.js} +9 -9
  70. package/dist/esm/models/LogListResponse.d.ts +1 -1
  71. package/dist/esm/models/LogListResponse.js +1 -1
  72. package/dist/esm/models/LogResponse.d.ts +1 -1
  73. package/dist/esm/models/LogResponse.js +1 -1
  74. package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
  75. package/dist/esm/models/MaintainerShortModel.js +1 -1
  76. package/dist/esm/models/NewBuildTaskBody.d.ts +1 -1
  77. package/dist/esm/models/NewBuildTaskBody.js +1 -1
  78. package/dist/esm/models/NewDeviceBody.d.ts +1 -1
  79. package/dist/esm/models/NewDeviceBody.js +1 -1
  80. package/dist/esm/models/PasskeyCredentialResponse.d.ts +68 -0
  81. package/dist/esm/models/PasskeyCredentialResponse.js +61 -0
  82. package/dist/esm/models/PasskeyOptionsResponse.d.ts +40 -0
  83. package/dist/esm/models/PasskeyOptionsResponse.js +47 -0
  84. package/dist/esm/models/PasskeyRegisterOptionsRequest.d.ts +32 -0
  85. package/dist/esm/models/PasskeyRegisterOptionsRequest.js +43 -0
  86. package/dist/esm/models/PasskeyVerifyRequest.d.ts +46 -0
  87. package/dist/esm/models/PasskeyVerifyRequest.js +49 -0
  88. package/dist/esm/models/PasswordConfirmationBody.d.ts +32 -0
  89. package/dist/esm/models/PasswordConfirmationBody.js +43 -0
  90. package/dist/esm/models/PasteInput.d.ts +1 -1
  91. package/dist/esm/models/PasteInput.js +1 -1
  92. package/dist/esm/models/PasteOutput.d.ts +1 -1
  93. package/dist/esm/models/PasteOutput.js +1 -1
  94. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  95. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  96. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  97. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  98. package/dist/esm/models/ReleaseInternalResponse.d.ts +1 -1
  99. package/dist/esm/models/ReleaseInternalResponse.js +1 -1
  100. package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +1 -1
  101. package/dist/esm/models/ReleaseInternalResponsePropValue.js +1 -1
  102. package/dist/esm/models/ReleaseResponse.d.ts +1 -1
  103. package/dist/esm/models/ReleaseResponse.js +1 -1
  104. package/dist/esm/models/ReleaseStatsResponse.d.ts +1 -1
  105. package/dist/esm/models/ReleaseStatsResponse.js +1 -1
  106. package/dist/esm/models/ReleaseType.d.ts +1 -1
  107. package/dist/esm/models/ReleaseType.js +1 -1
  108. package/dist/esm/models/ReleaseUpdateBody.d.ts +1 -1
  109. package/dist/esm/models/ReleaseUpdateBody.js +1 -1
  110. package/dist/esm/models/ReleasesSort.d.ts +1 -1
  111. package/dist/esm/models/ReleasesSort.js +1 -1
  112. package/dist/esm/models/RenamePasskeyBody.d.ts +32 -0
  113. package/dist/esm/models/RenamePasskeyBody.js +41 -0
  114. package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
  115. package/dist/esm/models/ResponseGetReleases.js +1 -1
  116. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  117. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  118. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  119. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  120. package/dist/esm/models/TaskUpdateBody.d.ts +1 -1
  121. package/dist/esm/models/TaskUpdateBody.js +1 -1
  122. package/dist/esm/models/TokenResponse.d.ts +1 -1
  123. package/dist/esm/models/TokenResponse.js +1 -1
  124. package/dist/esm/models/UserGitlab.d.ts +1 -1
  125. package/dist/esm/models/UserGitlab.js +1 -1
  126. package/dist/esm/models/UserInternalResponse.d.ts +1 -1
  127. package/dist/esm/models/UserInternalResponse.js +1 -1
  128. package/dist/esm/models/UserMail.d.ts +1 -1
  129. package/dist/esm/models/UserMail.js +1 -1
  130. package/dist/esm/models/UserShortResponse.d.ts +1 -1
  131. package/dist/esm/models/UserShortResponse.js +1 -1
  132. package/dist/esm/models/UserTelegram.d.ts +1 -1
  133. package/dist/esm/models/UserTelegram.js +1 -1
  134. package/dist/esm/models/UserUpdateBody.d.ts +1 -1
  135. package/dist/esm/models/UserUpdateBody.js +1 -1
  136. package/dist/esm/models/ValidationError.d.ts +16 -4
  137. package/dist/esm/models/ValidationError.js +8 -4
  138. package/dist/esm/models/index.d.ts +7 -1
  139. package/dist/esm/models/index.js +7 -1
  140. package/dist/esm/runtime.d.ts +1 -1
  141. package/dist/esm/runtime.js +16 -1
  142. package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +1 -1
  143. package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +1 -1
  144. package/dist/models/BuildStatusEnum.d.ts +1 -1
  145. package/dist/models/BuildStatusEnum.js +1 -1
  146. package/dist/models/BuildTaskResponse.d.ts +1 -1
  147. package/dist/models/BuildTaskResponse.js +1 -1
  148. package/dist/models/BuildTaskShortResponse.d.ts +1 -1
  149. package/dist/models/BuildTaskShortResponse.js +1 -1
  150. package/dist/models/DeviceInternalResponse.d.ts +1 -1
  151. package/dist/models/DeviceInternalResponse.js +1 -1
  152. package/dist/models/DeviceResponse.d.ts +1 -1
  153. package/dist/models/DeviceResponse.js +1 -1
  154. package/dist/models/DeviceStatsResponse.d.ts +1 -1
  155. package/dist/models/DeviceStatsResponse.js +1 -1
  156. package/dist/models/DeviceUpdateBody.d.ts +1 -1
  157. package/dist/models/DeviceUpdateBody.js +1 -1
  158. package/dist/models/FFStatusEnum.d.ts +1 -1
  159. package/dist/models/FFStatusEnum.js +1 -1
  160. package/dist/models/FFStatusResponse.d.ts +1 -1
  161. package/dist/models/FFStatusResponse.js +1 -1
  162. package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
  163. package/dist/models/GlobalStatsAggregationModel.js +1 -1
  164. package/dist/models/HTTPValidationError.d.ts +1 -1
  165. package/dist/models/HTTPValidationError.js +1 -1
  166. package/dist/models/ListResponseBuildTaskShortResponse.d.ts +1 -1
  167. package/dist/models/ListResponseBuildTaskShortResponse.js +1 -1
  168. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  169. package/dist/models/ListResponseReleaseResponse.js +1 -1
  170. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  171. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  172. package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
  173. package/dist/models/ListResponseShortReleaseResponse.js +1 -1
  174. package/dist/models/ListResponseStr.d.ts +1 -1
  175. package/dist/models/ListResponseStr.js +1 -1
  176. package/dist/models/ListResponseUserShortResponse.d.ts +1 -1
  177. package/dist/models/ListResponseUserShortResponse.js +1 -1
  178. package/dist/models/LocationInner.d.ts +26 -0
  179. package/dist/models/LocationInner.js +38 -0
  180. package/dist/models/LogListResponse.d.ts +1 -1
  181. package/dist/models/LogListResponse.js +1 -1
  182. package/dist/models/LogResponse.d.ts +1 -1
  183. package/dist/models/LogResponse.js +1 -1
  184. package/dist/models/MaintainerShortModel.d.ts +1 -1
  185. package/dist/models/MaintainerShortModel.js +1 -1
  186. package/dist/models/NewBuildTaskBody.d.ts +1 -1
  187. package/dist/models/NewBuildTaskBody.js +1 -1
  188. package/dist/models/NewDeviceBody.d.ts +1 -1
  189. package/dist/models/NewDeviceBody.js +1 -1
  190. package/dist/models/PasskeyCredentialResponse.d.ts +68 -0
  191. package/dist/models/PasskeyCredentialResponse.js +68 -0
  192. package/dist/models/PasskeyOptionsResponse.d.ts +40 -0
  193. package/dist/models/PasskeyOptionsResponse.js +54 -0
  194. package/dist/models/PasskeyRegisterOptionsRequest.d.ts +32 -0
  195. package/dist/models/PasskeyRegisterOptionsRequest.js +50 -0
  196. package/dist/models/PasskeyVerifyRequest.d.ts +46 -0
  197. package/dist/models/PasskeyVerifyRequest.js +56 -0
  198. package/dist/models/PasswordConfirmationBody.d.ts +32 -0
  199. package/dist/models/PasswordConfirmationBody.js +50 -0
  200. package/dist/models/PasteInput.d.ts +1 -1
  201. package/dist/models/PasteInput.js +1 -1
  202. package/dist/models/PasteOutput.d.ts +1 -1
  203. package/dist/models/PasteOutput.js +1 -1
  204. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  205. package/dist/models/RecoveryImgResponse.js +1 -1
  206. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  207. package/dist/models/ReleaseGroupsResponse.js +1 -1
  208. package/dist/models/ReleaseInternalResponse.d.ts +1 -1
  209. package/dist/models/ReleaseInternalResponse.js +1 -1
  210. package/dist/models/ReleaseInternalResponsePropValue.d.ts +1 -1
  211. package/dist/models/ReleaseInternalResponsePropValue.js +1 -1
  212. package/dist/models/ReleaseResponse.d.ts +1 -1
  213. package/dist/models/ReleaseResponse.js +1 -1
  214. package/dist/models/ReleaseStatsResponse.d.ts +1 -1
  215. package/dist/models/ReleaseStatsResponse.js +1 -1
  216. package/dist/models/ReleaseType.d.ts +1 -1
  217. package/dist/models/ReleaseType.js +1 -1
  218. package/dist/models/ReleaseUpdateBody.d.ts +1 -1
  219. package/dist/models/ReleaseUpdateBody.js +1 -1
  220. package/dist/models/ReleasesSort.d.ts +1 -1
  221. package/dist/models/ReleasesSort.js +1 -1
  222. package/dist/models/RenamePasskeyBody.d.ts +32 -0
  223. package/dist/models/RenamePasskeyBody.js +48 -0
  224. package/dist/models/ResponseGetReleases.d.ts +1 -1
  225. package/dist/models/ResponseGetReleases.js +1 -1
  226. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  227. package/dist/models/ShortDeviceResponse.js +1 -1
  228. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  229. package/dist/models/ShortReleaseResponse.js +1 -1
  230. package/dist/models/TaskUpdateBody.d.ts +1 -1
  231. package/dist/models/TaskUpdateBody.js +1 -1
  232. package/dist/models/TokenResponse.d.ts +1 -1
  233. package/dist/models/TokenResponse.js +1 -1
  234. package/dist/models/UserGitlab.d.ts +1 -1
  235. package/dist/models/UserGitlab.js +1 -1
  236. package/dist/models/UserInternalResponse.d.ts +1 -1
  237. package/dist/models/UserInternalResponse.js +1 -1
  238. package/dist/models/UserMail.d.ts +1 -1
  239. package/dist/models/UserMail.js +1 -1
  240. package/dist/models/UserShortResponse.d.ts +1 -1
  241. package/dist/models/UserShortResponse.js +1 -1
  242. package/dist/models/UserTelegram.d.ts +1 -1
  243. package/dist/models/UserTelegram.js +1 -1
  244. package/dist/models/UserUpdateBody.d.ts +1 -1
  245. package/dist/models/UserUpdateBody.js +1 -1
  246. package/dist/models/ValidationError.d.ts +16 -4
  247. package/dist/models/ValidationError.js +8 -4
  248. package/dist/models/index.d.ts +7 -1
  249. package/dist/models/index.js +7 -1
  250. package/dist/runtime.d.ts +1 -1
  251. package/dist/runtime.js +16 -1
  252. package/docs/DeviceApi.md +2 -2
  253. package/docs/FoxFactoryApi.md +3 -3
  254. package/docs/InternalApi.md +474 -11
  255. package/docs/{ValidationErrorLocInner.md → LocationInner.md} +4 -4
  256. package/docs/PasskeyCredentialResponse.md +46 -0
  257. package/docs/PasskeyOptionsResponse.md +36 -0
  258. package/docs/PasskeyRegisterOptionsRequest.md +34 -0
  259. package/docs/PasskeyVerifyRequest.md +38 -0
  260. package/docs/PasswordConfirmationBody.md +34 -0
  261. package/docs/ReleaseApi.md +1 -1
  262. package/docs/RenamePasskeyBody.md +34 -0
  263. package/docs/ValidationError.md +5 -1
  264. package/package.json +1 -2
  265. package/src/apis/DeviceApi.ts +104 -27
  266. package/src/apis/FoxFactoryApi.ts +215 -55
  267. package/src/apis/GitlabApi.ts +22 -5
  268. package/src/apis/InternalApi.ts +1016 -115
  269. package/src/apis/PasteApi.ts +43 -11
  270. package/src/apis/ReleaseApi.ts +115 -24
  271. package/src/apis/StatsApi.ts +21 -6
  272. package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +1 -1
  273. package/src/models/BuildStatusEnum.ts +1 -1
  274. package/src/models/BuildTaskResponse.ts +1 -1
  275. package/src/models/BuildTaskShortResponse.ts +1 -1
  276. package/src/models/DeviceInternalResponse.ts +1 -1
  277. package/src/models/DeviceResponse.ts +1 -1
  278. package/src/models/DeviceStatsResponse.ts +1 -1
  279. package/src/models/DeviceUpdateBody.ts +1 -1
  280. package/src/models/FFStatusEnum.ts +1 -1
  281. package/src/models/FFStatusResponse.ts +1 -1
  282. package/src/models/GlobalStatsAggregationModel.ts +1 -1
  283. package/src/models/HTTPValidationError.ts +1 -1
  284. package/src/models/ListResponseBuildTaskShortResponse.ts +1 -1
  285. package/src/models/ListResponseReleaseResponse.ts +1 -1
  286. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  287. package/src/models/ListResponseShortReleaseResponse.ts +1 -1
  288. package/src/models/ListResponseStr.ts +1 -1
  289. package/src/models/ListResponseUserShortResponse.ts +1 -1
  290. package/src/models/{ValidationErrorLocInner.ts → LocationInner.ts} +11 -11
  291. package/src/models/LogListResponse.ts +1 -1
  292. package/src/models/LogResponse.ts +1 -1
  293. package/src/models/MaintainerShortModel.ts +1 -1
  294. package/src/models/NewBuildTaskBody.ts +1 -1
  295. package/src/models/NewDeviceBody.ts +1 -1
  296. package/src/models/PasskeyCredentialResponse.ts +117 -0
  297. package/src/models/PasskeyOptionsResponse.ts +75 -0
  298. package/src/models/PasskeyRegisterOptionsRequest.ts +66 -0
  299. package/src/models/PasskeyVerifyRequest.ts +83 -0
  300. package/src/models/PasswordConfirmationBody.ts +66 -0
  301. package/src/models/PasteInput.ts +1 -1
  302. package/src/models/PasteOutput.ts +1 -1
  303. package/src/models/RecoveryImgResponse.ts +1 -1
  304. package/src/models/ReleaseGroupsResponse.ts +1 -1
  305. package/src/models/ReleaseInternalResponse.ts +1 -1
  306. package/src/models/ReleaseInternalResponsePropValue.ts +1 -1
  307. package/src/models/ReleaseResponse.ts +1 -1
  308. package/src/models/ReleaseStatsResponse.ts +1 -1
  309. package/src/models/ReleaseType.ts +1 -1
  310. package/src/models/ReleaseUpdateBody.ts +1 -1
  311. package/src/models/ReleasesSort.ts +1 -1
  312. package/src/models/RenamePasskeyBody.ts +65 -0
  313. package/src/models/ResponseGetReleases.ts +1 -1
  314. package/src/models/ShortDeviceResponse.ts +1 -1
  315. package/src/models/ShortReleaseResponse.ts +1 -1
  316. package/src/models/TaskUpdateBody.ts +1 -1
  317. package/src/models/TokenResponse.ts +1 -1
  318. package/src/models/UserGitlab.ts +1 -1
  319. package/src/models/UserInternalResponse.ts +1 -1
  320. package/src/models/UserMail.ts +1 -1
  321. package/src/models/UserShortResponse.ts +1 -1
  322. package/src/models/UserTelegram.ts +1 -1
  323. package/src/models/UserUpdateBody.ts +1 -1
  324. package/src/models/ValidationError.ts +27 -11
  325. package/src/models/index.ts +7 -1
  326. package/src/runtime.ts +19 -1
  327. package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -26
  328. package/dist/models/ValidationErrorLocInner.d.ts +0 -26
  329. package/dist/models/ValidationErrorLocInner.js +0 -38
@@ -24,11 +24,17 @@ docs/ListResponseShortDeviceResponse.md
24
24
  docs/ListResponseShortReleaseResponse.md
25
25
  docs/ListResponseStr.md
26
26
  docs/ListResponseUserShortResponse.md
27
+ docs/LocationInner.md
27
28
  docs/LogListResponse.md
28
29
  docs/LogResponse.md
29
30
  docs/MaintainerShortModel.md
30
31
  docs/NewBuildTaskBody.md
31
32
  docs/NewDeviceBody.md
33
+ docs/PasskeyCredentialResponse.md
34
+ docs/PasskeyOptionsResponse.md
35
+ docs/PasskeyRegisterOptionsRequest.md
36
+ docs/PasskeyVerifyRequest.md
37
+ docs/PasswordConfirmationBody.md
32
38
  docs/PasteApi.md
33
39
  docs/PasteInput.md
34
40
  docs/PasteOutput.md
@@ -42,6 +48,7 @@ docs/ReleaseStatsResponse.md
42
48
  docs/ReleaseType.md
43
49
  docs/ReleaseUpdateBody.md
44
50
  docs/ReleasesSort.md
51
+ docs/RenamePasskeyBody.md
45
52
  docs/ResponseGetReleases.md
46
53
  docs/ShortDeviceResponse.md
47
54
  docs/ShortReleaseResponse.md
@@ -55,7 +62,6 @@ docs/UserShortResponse.md
55
62
  docs/UserTelegram.md
56
63
  docs/UserUpdateBody.md
57
64
  docs/ValidationError.md
58
- docs/ValidationErrorLocInner.md
59
65
  package.json
60
66
  src/apis/DeviceApi.ts
61
67
  src/apis/FoxFactoryApi.ts
@@ -84,11 +90,17 @@ src/models/ListResponseShortDeviceResponse.ts
84
90
  src/models/ListResponseShortReleaseResponse.ts
85
91
  src/models/ListResponseStr.ts
86
92
  src/models/ListResponseUserShortResponse.ts
93
+ src/models/LocationInner.ts
87
94
  src/models/LogListResponse.ts
88
95
  src/models/LogResponse.ts
89
96
  src/models/MaintainerShortModel.ts
90
97
  src/models/NewBuildTaskBody.ts
91
98
  src/models/NewDeviceBody.ts
99
+ src/models/PasskeyCredentialResponse.ts
100
+ src/models/PasskeyOptionsResponse.ts
101
+ src/models/PasskeyRegisterOptionsRequest.ts
102
+ src/models/PasskeyVerifyRequest.ts
103
+ src/models/PasswordConfirmationBody.ts
92
104
  src/models/PasteInput.ts
93
105
  src/models/PasteOutput.ts
94
106
  src/models/RecoveryImgResponse.ts
@@ -100,6 +112,7 @@ src/models/ReleaseStatsResponse.ts
100
112
  src/models/ReleaseType.ts
101
113
  src/models/ReleaseUpdateBody.ts
102
114
  src/models/ReleasesSort.ts
115
+ src/models/RenamePasskeyBody.ts
103
116
  src/models/ResponseGetReleases.ts
104
117
  src/models/ShortDeviceResponse.ts
105
118
  src/models/ShortReleaseResponse.ts
@@ -112,7 +125,6 @@ src/models/UserShortResponse.ts
112
125
  src/models/UserTelegram.ts
113
126
  src/models/UserUpdateBody.ts
114
127
  src/models/ValidationError.ts
115
- src/models/ValidationErrorLocInner.ts
116
128
  src/models/index.ts
117
129
  src/runtime.ts
118
130
  tsconfig.esm.json
@@ -1 +1 @@
1
- 7.17.0
1
+ 7.21.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @orangefox-recovery/foxinternalclient@5.3.3
1
+ # @orangefox-recovery/foxinternalclient@5.4.0
2
2
 
3
3
  A TypeScript SDK client for the api.orangefox.download API.
4
4
 
@@ -72,6 +72,7 @@ All URIs are relative to *https://api.orangefox.download*
72
72
  *InternalApi* | [**changePasswordProfileChangePasswordPost**](docs/InternalApi.md#changepasswordprofilechangepasswordpost) | **POST** /profile/change_password | Change Password
73
73
  *InternalApi* | [**delReleaseInternalReleasesReleaseIdDelete**](docs/InternalApi.md#delreleaseinternalreleasesreleaseiddelete) | **DELETE** /internal/releases/{release_id} | Del Release
74
74
  *InternalApi* | [**deleteDeviceInternalDevicesDeviceIdDelete**](docs/InternalApi.md#deletedeviceinternaldevicesdeviceiddelete) | **DELETE** /internal/devices/{device_id} | Delete Device
75
+ *InternalApi* | [**deletePasskeyProfilePasskeysCredentialIdDelete**](docs/InternalApi.md#deletepasskeyprofilepasskeyscredentialiddelete) | **DELETE** /profile/passkeys/{credential_id} | Delete Passkey
75
76
  *InternalApi* | [**deletePasteInternalPastePasteIdDelete**](docs/InternalApi.md#deletepasteinternalpastepasteiddelete) | **DELETE** /internal/paste/{paste_id} | Delete Paste
76
77
  *InternalApi* | [**deleteUserInternalUsersUserIdDelete**](docs/InternalApi.md#deleteuserinternalusersuseriddelete) | **DELETE** /internal/users/{user_id} | Delete User
77
78
  *InternalApi* | [**editReleaseInternalReleasesReleaseIdPut**](docs/InternalApi.md#editreleaseinternalreleasesreleaseidput) | **PUT** /internal/releases/{release_id} | Edit Release
@@ -80,12 +81,18 @@ All URIs are relative to *https://api.orangefox.download*
80
81
  *InternalApi* | [**getReleaseInfoInternalReleasesReleaseIdGet**](docs/InternalApi.md#getreleaseinfointernalreleasesreleaseidget) | **GET** /internal/releases/{release_id} | Get Release Info
81
82
  *InternalApi* | [**getReleaseZipInternalReleasesReleaseIdDlGet**](docs/InternalApi.md#getreleasezipinternalreleasesreleaseiddlget) | **GET** /internal/releases/{release_id}/dl | Get Release Zip
82
83
  *InternalApi* | [**getUserByIdInternalUsersUserIdGet**](docs/InternalApi.md#getuserbyidinternalusersuseridget) | **GET** /internal/users/{user_id} | Get User By Id
84
+ *InternalApi* | [**listPasskeysProfilePasskeysGet**](docs/InternalApi.md#listpasskeysprofilepasskeysget) | **GET** /profile/passkeys | List Passkeys
83
85
  *InternalApi* | [**listPastesInternalPasteGet**](docs/InternalApi.md#listpastesinternalpasteget) | **GET** /internal/paste/ | List Pastes
84
86
  *InternalApi* | [**listUsersInternalUsersGet**](docs/InternalApi.md#listusersinternalusersget) | **GET** /internal/users/ | List Users
85
87
  *InternalApi* | [**loginOauthAuthLoginPost**](docs/InternalApi.md#loginoauthauthloginpost) | **POST** /auth/login | Login Oauth
86
88
  *InternalApi* | [**logoutAuthLogoutPost**](docs/InternalApi.md#logoutauthlogoutpost) | **POST** /auth/logout | Logout
87
89
  *InternalApi* | [**newDeviceInternalDevicesPost**](docs/InternalApi.md#newdeviceinternaldevicespost) | **POST** /internal/devices/ | New Device
88
90
  *InternalApi* | [**newReleaseInternalReleasesPost**](docs/InternalApi.md#newreleaseinternalreleasespost) | **POST** /internal/releases/ | New Release
91
+ *InternalApi* | [**passkeyLoginOptionsAuthPasskeysLoginOptionsPost**](docs/InternalApi.md#passkeyloginoptionsauthpasskeysloginoptionspost) | **POST** /auth/passkeys/login/options | Passkey Login Options
92
+ *InternalApi* | [**passkeyLoginVerifyAuthPasskeysLoginVerifyPost**](docs/InternalApi.md#passkeyloginverifyauthpasskeysloginverifypost) | **POST** /auth/passkeys/login/verify | Passkey Login Verify
93
+ *InternalApi* | [**passkeyRegisterOptionsAuthPasskeysRegisterOptionsPost**](docs/InternalApi.md#passkeyregisteroptionsauthpasskeysregisteroptionspost) | **POST** /auth/passkeys/register/options | Passkey Register Options
94
+ *InternalApi* | [**passkeyRegisterVerifyAuthPasskeysRegisterVerifyPost**](docs/InternalApi.md#passkeyregisterverifyauthpasskeysregisterverifypost) | **POST** /auth/passkeys/register/verify | Passkey Register Verify
95
+ *InternalApi* | [**renamePasskeyProfilePasskeysCredentialIdRenamePost**](docs/InternalApi.md#renamepasskeyprofilepasskeyscredentialidrenamepost) | **POST** /profile/passkeys/{credential_id}/rename | Rename Passkey
89
96
  *InternalApi* | [**renewAuthRenewPost**](docs/InternalApi.md#renewauthrenewpost) | **POST** /auth/renew | Renew
90
97
  *InternalApi* | [**updateDeviceInternalDevicesDeviceIdPut**](docs/InternalApi.md#updatedeviceinternaldevicesdeviceidput) | **PUT** /internal/devices/{device_id} | Update Device
91
98
  *InternalApi* | [**updatePasteInternalPastePasteIdPut**](docs/InternalApi.md#updatepasteinternalpastepasteidput) | **PUT** /internal/paste/{paste_id} | Update Paste
@@ -119,11 +126,17 @@ All URIs are relative to *https://api.orangefox.download*
119
126
  - [ListResponseShortReleaseResponse](docs/ListResponseShortReleaseResponse.md)
120
127
  - [ListResponseStr](docs/ListResponseStr.md)
121
128
  - [ListResponseUserShortResponse](docs/ListResponseUserShortResponse.md)
129
+ - [LocationInner](docs/LocationInner.md)
122
130
  - [LogListResponse](docs/LogListResponse.md)
123
131
  - [LogResponse](docs/LogResponse.md)
124
132
  - [MaintainerShortModel](docs/MaintainerShortModel.md)
125
133
  - [NewBuildTaskBody](docs/NewBuildTaskBody.md)
126
134
  - [NewDeviceBody](docs/NewDeviceBody.md)
135
+ - [PasskeyCredentialResponse](docs/PasskeyCredentialResponse.md)
136
+ - [PasskeyOptionsResponse](docs/PasskeyOptionsResponse.md)
137
+ - [PasskeyRegisterOptionsRequest](docs/PasskeyRegisterOptionsRequest.md)
138
+ - [PasskeyVerifyRequest](docs/PasskeyVerifyRequest.md)
139
+ - [PasswordConfirmationBody](docs/PasswordConfirmationBody.md)
127
140
  - [PasteInput](docs/PasteInput.md)
128
141
  - [PasteOutput](docs/PasteOutput.md)
129
142
  - [RecoveryImgResponse](docs/RecoveryImgResponse.md)
@@ -135,6 +148,7 @@ All URIs are relative to *https://api.orangefox.download*
135
148
  - [ReleaseType](docs/ReleaseType.md)
136
149
  - [ReleaseUpdateBody](docs/ReleaseUpdateBody.md)
137
150
  - [ReleasesSort](docs/ReleasesSort.md)
151
+ - [RenamePasskeyBody](docs/RenamePasskeyBody.md)
138
152
  - [ResponseGetReleases](docs/ResponseGetReleases.md)
139
153
  - [ShortDeviceResponse](docs/ShortDeviceResponse.md)
140
154
  - [ShortReleaseResponse](docs/ShortReleaseResponse.md)
@@ -147,7 +161,6 @@ All URIs are relative to *https://api.orangefox.download*
147
161
  - [UserTelegram](docs/UserTelegram.md)
148
162
  - [UserUpdateBody](docs/UserUpdateBody.md)
149
163
  - [ValidationError](docs/ValidationError.md)
150
- - [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
151
164
 
152
165
  ### Authorization
153
166
 
@@ -173,9 +186,9 @@ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.or
173
186
  and is automatically generated by the
174
187
  [OpenAPI Generator](https://openapi-generator.tech) project:
175
188
 
176
- - API version: `5.3.3`
177
- - Package version: `5.3.3`
178
- - Generator version: `7.17.0`
189
+ - API version: `5.4.0`
190
+ - Package version: `5.4.0`
191
+ - Generator version: `7.21.0`
179
192
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
180
193
 
181
194
  The generated npm module supports the following:
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,7 +40,16 @@ export interface GetDevicesRequest {
40
40
  */
41
41
  export interface DeviceApiInterface {
42
42
  /**
43
- * 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.
43
+ * Creates request options for getDevice without sending the request
44
+ * @param {string} [deviceId]
45
+ * @param {string} [id] Filter by Device ID (deprecated)
46
+ * @param {string} [codename] Not recommended to use when you can
47
+ * @throws {RequiredError}
48
+ * @memberof DeviceApiInterface
49
+ */
50
+ getDeviceRequestOpts(requestParameters: GetDeviceRequest): Promise<runtime.RequestOpts>;
51
+ /**
52
+ * 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.
44
53
  * @summary Get Device
45
54
  * @param {string} [deviceId]
46
55
  * @param {string} [id] Filter by Device ID (deprecated)
@@ -51,10 +60,18 @@ export interface DeviceApiInterface {
51
60
  */
52
61
  getDeviceRaw(requestParameters: GetDeviceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeviceResponse>>;
53
62
  /**
54
- * 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.
63
+ * 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.
55
64
  * Get Device
56
65
  */
57
66
  getDevice(requestParameters: GetDeviceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeviceResponse>;
67
+ /**
68
+ * Creates request options for getDeviceDeprecated without sending the request
69
+ * @param {string} deviceId
70
+ * @deprecated
71
+ * @throws {RequiredError}
72
+ * @memberof DeviceApiInterface
73
+ */
74
+ getDeviceDeprecatedRequestOpts(requestParameters: GetDeviceDeprecatedRequest): Promise<runtime.RequestOpts>;
58
75
  /**
59
76
  * Gets device info using device ID.
60
77
  * @summary Get Device Short
@@ -72,7 +89,24 @@ export interface DeviceApiInterface {
72
89
  */
73
90
  getDeviceDeprecated(requestParameters: GetDeviceDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeviceResponse>;
74
91
  /**
75
- * 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.
92
+ * Creates request options for getDevices without sending the request
93
+ * @param {Array<string>} [id] Filter by Device IDs
94
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
95
+ * @param {Array<string>} [oemName] Filter by OEM names
96
+ * @param {Array<string>} [codename] Filter by device codenames
97
+ * @param {Array<string>} [modelName] Filter by model names
98
+ * @param {boolean} [supported] Supported status
99
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
100
+ * @param {boolean} [freezed] Filter by Freezed status
101
+ * @param {boolean} [hasReleases] Filter by has releases status
102
+ * @param {number} [skip] Skip query results
103
+ * @param {number} [limit] Limit query results (0 means unlimited)
104
+ * @throws {RequiredError}
105
+ * @memberof DeviceApiInterface
106
+ */
107
+ getDevicesRequestOpts(requestParameters: GetDevicesRequest): Promise<runtime.RequestOpts>;
108
+ /**
109
+ * 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.
76
110
  * @summary Get Devices
77
111
  * @param {Array<string>} [id] Filter by Device IDs
78
112
  * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
@@ -91,10 +125,16 @@ export interface DeviceApiInterface {
91
125
  */
92
126
  getDevicesRaw(requestParameters: GetDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseShortDeviceResponse>>;
93
127
  /**
94
- * 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.
128
+ * 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.
95
129
  * Get Devices
96
130
  */
97
131
  getDevices(requestParameters: GetDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseShortDeviceResponse>;
132
+ /**
133
+ * Creates request options for getOems without sending the request
134
+ * @throws {RequiredError}
135
+ * @memberof DeviceApiInterface
136
+ */
137
+ getOemsRequestOpts(): Promise<runtime.RequestOpts>;
98
138
  /**
99
139
  * Lists all OEM names
100
140
  * @summary Get Oems
@@ -114,15 +154,24 @@ export interface DeviceApiInterface {
114
154
  */
115
155
  export declare class DeviceApi extends runtime.BaseAPI implements DeviceApiInterface {
116
156
  /**
117
- * 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.
157
+ * Creates request options for getDevice without sending the request
158
+ */
159
+ getDeviceRequestOpts(requestParameters: GetDeviceRequest): Promise<runtime.RequestOpts>;
160
+ /**
161
+ * 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.
118
162
  * Get Device
119
163
  */
120
164
  getDeviceRaw(requestParameters: GetDeviceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeviceResponse>>;
121
165
  /**
122
- * 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.
166
+ * 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.
123
167
  * Get Device
124
168
  */
125
169
  getDevice(requestParameters?: GetDeviceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeviceResponse>;
170
+ /**
171
+ * Creates request options for getDeviceDeprecated without sending the request
172
+ * @deprecated
173
+ */
174
+ getDeviceDeprecatedRequestOpts(requestParameters: GetDeviceDeprecatedRequest): Promise<runtime.RequestOpts>;
126
175
  /**
127
176
  * Gets device info using device ID.
128
177
  * Get Device Short
@@ -136,15 +185,23 @@ export declare class DeviceApi extends runtime.BaseAPI implements DeviceApiInter
136
185
  */
137
186
  getDeviceDeprecated(requestParameters: GetDeviceDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeviceResponse>;
138
187
  /**
139
- * 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.
188
+ * Creates request options for getDevices without sending the request
189
+ */
190
+ getDevicesRequestOpts(requestParameters: GetDevicesRequest): Promise<runtime.RequestOpts>;
191
+ /**
192
+ * 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.
140
193
  * Get Devices
141
194
  */
142
195
  getDevicesRaw(requestParameters: GetDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseShortDeviceResponse>>;
143
196
  /**
144
- * 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.
197
+ * 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.
145
198
  * Get Devices
146
199
  */
147
200
  getDevices(requestParameters?: GetDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseShortDeviceResponse>;
201
+ /**
202
+ * Creates request options for getOems without sending the request
203
+ */
204
+ getOemsRequestOpts(): Promise<runtime.RequestOpts>;
148
205
  /**
149
206
  * Lists all OEM names
150
207
  * Get Oems
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 5.3.3
8
+ * The version of the OpenAPI document: 5.4.0
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,10 +30,9 @@ const index_1 = require("../models/index");
30
30
  */
31
31
  class DeviceApi extends runtime.BaseAPI {
32
32
  /**
33
- * 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.
34
- * Get Device
33
+ * Creates request options for getDevice without sending the request
35
34
  */
36
- getDeviceRaw(requestParameters, initOverrides) {
35
+ getDeviceRequestOpts(requestParameters) {
37
36
  return __awaiter(this, void 0, void 0, function* () {
38
37
  const queryParameters = {};
39
38
  if (requestParameters['deviceId'] != null) {
@@ -47,17 +46,27 @@ class DeviceApi extends runtime.BaseAPI {
47
46
  }
48
47
  const headerParameters = {};
49
48
  let urlPath = `/devices/get`;
50
- const response = yield this.request({
49
+ return {
51
50
  path: urlPath,
52
51
  method: 'GET',
53
52
  headers: headerParameters,
54
53
  query: queryParameters,
55
- }, initOverrides);
54
+ };
55
+ });
56
+ }
57
+ /**
58
+ * 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.
59
+ * Get Device
60
+ */
61
+ getDeviceRaw(requestParameters, initOverrides) {
62
+ return __awaiter(this, void 0, void 0, function* () {
63
+ const requestOptions = yield this.getDeviceRequestOpts(requestParameters);
64
+ const response = yield this.request(requestOptions, initOverrides);
56
65
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeviceResponseFromJSON)(jsonValue));
57
66
  });
58
67
  }
59
68
  /**
60
- * 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.
69
+ * 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.
61
70
  * Get Device
62
71
  */
63
72
  getDevice() {
@@ -67,11 +76,10 @@ class DeviceApi extends runtime.BaseAPI {
67
76
  });
68
77
  }
69
78
  /**
70
- * Gets device info using device ID.
71
- * Get Device Short
79
+ * Creates request options for getDeviceDeprecated without sending the request
72
80
  * @deprecated
73
81
  */
74
- getDeviceDeprecatedRaw(requestParameters, initOverrides) {
82
+ getDeviceDeprecatedRequestOpts(requestParameters) {
75
83
  return __awaiter(this, void 0, void 0, function* () {
76
84
  if (requestParameters['deviceId'] == null) {
77
85
  throw new runtime.RequiredError('deviceId', 'Required parameter "deviceId" was null or undefined when calling getDeviceDeprecated().');
@@ -80,12 +88,23 @@ class DeviceApi extends runtime.BaseAPI {
80
88
  const headerParameters = {};
81
89
  let urlPath = `/devices/{device_id}`;
82
90
  urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
83
- const response = yield this.request({
91
+ return {
84
92
  path: urlPath,
85
93
  method: 'GET',
86
94
  headers: headerParameters,
87
95
  query: queryParameters,
88
- }, initOverrides);
96
+ };
97
+ });
98
+ }
99
+ /**
100
+ * Gets device info using device ID.
101
+ * Get Device Short
102
+ * @deprecated
103
+ */
104
+ getDeviceDeprecatedRaw(requestParameters, initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ const requestOptions = yield this.getDeviceDeprecatedRequestOpts(requestParameters);
107
+ const response = yield this.request(requestOptions, initOverrides);
89
108
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeviceResponseFromJSON)(jsonValue));
90
109
  });
91
110
  }
@@ -101,10 +120,9 @@ class DeviceApi extends runtime.BaseAPI {
101
120
  });
102
121
  }
103
122
  /**
104
- * 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.
105
- * Get Devices
123
+ * Creates request options for getDevices without sending the request
106
124
  */
107
- getDevicesRaw(requestParameters, initOverrides) {
125
+ getDevicesRequestOpts(requestParameters) {
108
126
  return __awaiter(this, void 0, void 0, function* () {
109
127
  const queryParameters = {};
110
128
  if (requestParameters['id'] != null) {
@@ -142,17 +160,27 @@ class DeviceApi extends runtime.BaseAPI {
142
160
  }
143
161
  const headerParameters = {};
144
162
  let urlPath = `/devices/`;
145
- const response = yield this.request({
163
+ return {
146
164
  path: urlPath,
147
165
  method: 'GET',
148
166
  headers: headerParameters,
149
167
  query: queryParameters,
150
- }, initOverrides);
168
+ };
169
+ });
170
+ }
171
+ /**
172
+ * 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.
173
+ * Get Devices
174
+ */
175
+ getDevicesRaw(requestParameters, initOverrides) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ const requestOptions = yield this.getDevicesRequestOpts(requestParameters);
178
+ const response = yield this.request(requestOptions, initOverrides);
151
179
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListResponseShortDeviceResponseFromJSON)(jsonValue));
152
180
  });
153
181
  }
154
182
  /**
155
- * 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.
183
+ * 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.
156
184
  * Get Devices
157
185
  */
158
186
  getDevices() {
@@ -162,20 +190,29 @@ class DeviceApi extends runtime.BaseAPI {
162
190
  });
163
191
  }
164
192
  /**
165
- * Lists all OEM names
166
- * Get Oems
193
+ * Creates request options for getOems without sending the request
167
194
  */
168
- getOemsRaw(initOverrides) {
195
+ getOemsRequestOpts() {
169
196
  return __awaiter(this, void 0, void 0, function* () {
170
197
  const queryParameters = {};
171
198
  const headerParameters = {};
172
199
  let urlPath = `/oems/`;
173
- const response = yield this.request({
200
+ return {
174
201
  path: urlPath,
175
202
  method: 'GET',
176
203
  headers: headerParameters,
177
204
  query: queryParameters,
178
- }, initOverrides);
205
+ };
206
+ });
207
+ }
208
+ /**
209
+ * Lists all OEM names
210
+ * Get Oems
211
+ */
212
+ getOemsRaw(initOverrides) {
213
+ return __awaiter(this, void 0, void 0, function* () {
214
+ const requestOptions = yield this.getOemsRequestOpts();
215
+ const response = yield this.request(requestOptions, initOverrides);
179
216
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListResponseStrFromJSON)(jsonValue));
180
217
  });
181
218
  }