@orangefox-recovery/foxinternalclient 5.3.2 → 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 +2 -2
  41. package/dist/esm/models/DeviceInternalResponse.js +1 -1
  42. package/dist/esm/models/DeviceResponse.d.ts +2 -2
  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 +2 -2
  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 +2 -2
  151. package/dist/models/DeviceInternalResponse.js +1 -1
  152. package/dist/models/DeviceResponse.d.ts +2 -2
  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 +2 -2
  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 +2 -2
  277. package/src/models/DeviceResponse.ts +2 -2
  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 +2 -2
  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
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fox API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 5.4.0
8
+ * Contact: admin@orangefox.tech
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface RenamePasskeyBody
20
+ */
21
+ export interface RenamePasskeyBody {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof RenamePasskeyBody
26
+ */
27
+ nickname?: string | null;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the RenamePasskeyBody interface.
32
+ */
33
+ export function instanceOfRenamePasskeyBody(value: object): value is RenamePasskeyBody {
34
+ return true;
35
+ }
36
+
37
+ export function RenamePasskeyBodyFromJSON(json: any): RenamePasskeyBody {
38
+ return RenamePasskeyBodyFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function RenamePasskeyBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenamePasskeyBody {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'nickname': json['nickname'] == null ? undefined : json['nickname'],
48
+ };
49
+ }
50
+
51
+ export function RenamePasskeyBodyToJSON(json: any): RenamePasskeyBody {
52
+ return RenamePasskeyBodyToJSONTyped(json, false);
53
+ }
54
+
55
+ export function RenamePasskeyBodyToJSONTyped(value?: RenamePasskeyBody | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'nickname': value['nickname'],
63
+ };
64
+ }
65
+
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -133,7 +133,7 @@ export function ShortDeviceResponseToJSON(json: any): ShortDeviceResponse {
133
133
  return ShortDeviceResponseToJSONTyped(json, false);
134
134
  }
135
135
 
136
- export function ShortDeviceResponseToJSONTyped(value?: Omit<ShortDeviceResponse, 'full_name'|'url'> | null, ignoreDiscriminator: boolean = false): any {
136
+ export function ShortDeviceResponseToJSONTyped(value?: Omit<ShortDeviceResponse, 'fullName'|'url'> | null, ignoreDiscriminator: boolean = false): any {
137
137
  if (value == null) {
138
138
  return value;
139
139
  }
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ValidationErrorLocInner } from './ValidationErrorLocInner';
16
+ import type { LocationInner } from './LocationInner';
17
17
  import {
18
- ValidationErrorLocInnerFromJSON,
19
- ValidationErrorLocInnerFromJSONTyped,
20
- ValidationErrorLocInnerToJSON,
21
- ValidationErrorLocInnerToJSONTyped,
22
- } from './ValidationErrorLocInner';
18
+ LocationInnerFromJSON,
19
+ LocationInnerFromJSONTyped,
20
+ LocationInnerToJSON,
21
+ LocationInnerToJSONTyped,
22
+ } from './LocationInner';
23
23
 
24
24
  /**
25
25
  *
@@ -29,10 +29,10 @@ import {
29
29
  export interface ValidationError {
30
30
  /**
31
31
  *
32
- * @type {Array<ValidationErrorLocInner>}
32
+ * @type {Array<LocationInner>}
33
33
  * @memberof ValidationError
34
34
  */
35
- loc: Array<ValidationErrorLocInner>;
35
+ loc: Array<LocationInner>;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -45,6 +45,18 @@ export interface ValidationError {
45
45
  * @memberof ValidationError
46
46
  */
47
47
  type: string;
48
+ /**
49
+ *
50
+ * @type {any}
51
+ * @memberof ValidationError
52
+ */
53
+ input?: any | null;
54
+ /**
55
+ *
56
+ * @type {object}
57
+ * @memberof ValidationError
58
+ */
59
+ ctx?: object;
48
60
  }
49
61
 
50
62
  /**
@@ -67,9 +79,11 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
67
79
  }
68
80
  return {
69
81
 
70
- 'loc': ((json['loc'] as Array<any>).map(ValidationErrorLocInnerFromJSON)),
82
+ 'loc': ((json['loc'] as Array<any>).map(LocationInnerFromJSON)),
71
83
  'msg': json['msg'],
72
84
  'type': json['type'],
85
+ 'input': json['input'] == null ? undefined : json['input'],
86
+ 'ctx': json['ctx'] == null ? undefined : json['ctx'],
73
87
  };
74
88
  }
75
89
 
@@ -84,9 +98,11 @@ export function ValidationErrorToJSONTyped(value?: ValidationError | null, ignor
84
98
 
85
99
  return {
86
100
 
87
- 'loc': ((value['loc'] as Array<any>).map(ValidationErrorLocInnerToJSON)),
101
+ 'loc': ((value['loc'] as Array<any>).map(LocationInnerToJSON)),
88
102
  'msg': value['msg'],
89
103
  'type': value['type'],
104
+ 'input': value['input'],
105
+ 'ctx': value['ctx'],
90
106
  };
91
107
  }
92
108
 
@@ -18,11 +18,17 @@ export * from './ListResponseShortDeviceResponse';
18
18
  export * from './ListResponseShortReleaseResponse';
19
19
  export * from './ListResponseStr';
20
20
  export * from './ListResponseUserShortResponse';
21
+ export * from './LocationInner';
21
22
  export * from './LogListResponse';
22
23
  export * from './LogResponse';
23
24
  export * from './MaintainerShortModel';
24
25
  export * from './NewBuildTaskBody';
25
26
  export * from './NewDeviceBody';
27
+ export * from './PasskeyCredentialResponse';
28
+ export * from './PasskeyOptionsResponse';
29
+ export * from './PasskeyRegisterOptionsRequest';
30
+ export * from './PasskeyVerifyRequest';
31
+ export * from './PasswordConfirmationBody';
26
32
  export * from './PasteInput';
27
33
  export * from './PasteOutput';
28
34
  export * from './RecoveryImgResponse';
@@ -34,6 +40,7 @@ export * from './ReleaseStatsResponse';
34
40
  export * from './ReleaseType';
35
41
  export * from './ReleaseUpdateBody';
36
42
  export * from './ReleasesSort';
43
+ export * from './RenamePasskeyBody';
37
44
  export * from './ResponseGetReleases';
38
45
  export * from './ShortDeviceResponse';
39
46
  export * from './ShortReleaseResponse';
@@ -46,4 +53,3 @@ export * from './UserShortResponse';
46
53
  export * from './UserTelegram';
47
54
  export * from './UserUpdateBody';
48
55
  export * from './ValidationError';
49
- export * from './ValidationErrorLocInner';
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.2
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -261,6 +261,12 @@ export class ResponseError extends Error {
261
261
  override name: "ResponseError" = "ResponseError";
262
262
  constructor(public response: Response, msg?: string) {
263
263
  super(msg);
264
+
265
+ // restore prototype chain
266
+ const actualProto = new.target.prototype;
267
+ if (Object.setPrototypeOf) {
268
+ Object.setPrototypeOf(this, actualProto);
269
+ }
264
270
  }
265
271
  }
266
272
 
@@ -268,6 +274,12 @@ export class FetchError extends Error {
268
274
  override name: "FetchError" = "FetchError";
269
275
  constructor(public cause: Error, msg?: string) {
270
276
  super(msg);
277
+
278
+ // restore prototype chain
279
+ const actualProto = new.target.prototype;
280
+ if (Object.setPrototypeOf) {
281
+ Object.setPrototypeOf(this, actualProto);
282
+ }
271
283
  }
272
284
  }
273
285
 
@@ -275,6 +287,12 @@ export class RequiredError extends Error {
275
287
  override name: "RequiredError" = "RequiredError";
276
288
  constructor(public field: string, msg?: string) {
277
289
  super(msg);
290
+
291
+ // restore prototype chain
292
+ const actualProto = new.target.prototype;
293
+ if (Object.setPrototypeOf) {
294
+ Object.setPrototypeOf(this, actualProto);
295
+ }
278
296
  }
279
297
  }
280
298
 
@@ -1,26 +0,0 @@
1
- /**
2
- * Fox API
3
- * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
- *
5
- * The version of the OpenAPI document: 5.3.2
6
- * Contact: admin@orangefox.tech
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidationErrorLocInner
16
- */
17
- export interface ValidationErrorLocInner {
18
- }
19
- /**
20
- * Check if a given object implements the ValidationErrorLocInner interface.
21
- */
22
- export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
23
- export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
24
- export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
25
- export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
26
- export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,26 +0,0 @@
1
- /**
2
- * Fox API
3
- * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
- *
5
- * The version of the OpenAPI document: 5.3.2
6
- * Contact: admin@orangefox.tech
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidationErrorLocInner
16
- */
17
- export interface ValidationErrorLocInner {
18
- }
19
- /**
20
- * Check if a given object implements the ValidationErrorLocInner interface.
21
- */
22
- export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
23
- export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
24
- export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
25
- export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
26
- export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Fox API
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
- *
8
- * The version of the OpenAPI document: 5.3.2
9
- * Contact: admin@orangefox.tech
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
17
- exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
18
- exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
19
- exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
20
- exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the ValidationErrorLocInner interface.
23
- */
24
- function instanceOfValidationErrorLocInner(value) {
25
- return true;
26
- }
27
- function ValidationErrorLocInnerFromJSON(json) {
28
- return ValidationErrorLocInnerFromJSONTyped(json, false);
29
- }
30
- function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
31
- return json;
32
- }
33
- function ValidationErrorLocInnerToJSON(json) {
34
- return ValidationErrorLocInnerToJSONTyped(json, false);
35
- }
36
- function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
37
- return value;
38
- }