@orangefox-recovery/foxinternalclient 5.2.5 → 5.2.7

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 (366) hide show
  1. package/.openapi-generator/FILES +58 -57
  2. package/README.md +3 -116
  3. package/dist/apis/DeviceApi.d.ts +158 -0
  4. package/dist/apis/DeviceApi.js +188 -0
  5. package/dist/apis/FoxFactoryApi.d.ts +298 -0
  6. package/dist/apis/FoxFactoryApi.js +507 -0
  7. package/dist/apis/GitlabApi.d.ts +51 -0
  8. package/dist/apis/GitlabApi.js +71 -0
  9. package/dist/apis/InternalApi.d.ts +549 -0
  10. package/dist/apis/InternalApi.js +957 -0
  11. package/dist/apis/PasteApi.d.ts +80 -0
  12. package/dist/apis/PasteApi.js +95 -0
  13. package/dist/apis/ReleaseApi.d.ts +188 -0
  14. package/dist/apis/ReleaseApi.js +226 -0
  15. package/dist/apis/StatsApi.d.ts +49 -0
  16. package/dist/apis/StatsApi.js +60 -0
  17. package/dist/apis/index.d.ts +7 -0
  18. package/dist/apis/index.js +25 -0
  19. package/dist/esm/apis/DeviceApi.d.ts +158 -0
  20. package/dist/esm/apis/DeviceApi.js +184 -0
  21. package/dist/esm/apis/FoxFactoryApi.d.ts +298 -0
  22. package/dist/esm/apis/FoxFactoryApi.js +503 -0
  23. package/dist/esm/apis/GitlabApi.d.ts +51 -0
  24. package/dist/esm/apis/GitlabApi.js +67 -0
  25. package/dist/esm/apis/InternalApi.d.ts +549 -0
  26. package/dist/esm/apis/InternalApi.js +953 -0
  27. package/dist/esm/apis/PasteApi.d.ts +80 -0
  28. package/dist/esm/apis/PasteApi.js +91 -0
  29. package/dist/esm/apis/ReleaseApi.d.ts +188 -0
  30. package/dist/esm/apis/ReleaseApi.js +222 -0
  31. package/dist/esm/apis/StatsApi.d.ts +49 -0
  32. package/dist/esm/apis/StatsApi.js +56 -0
  33. package/dist/esm/apis/index.d.ts +7 -0
  34. package/dist/esm/apis/index.js +9 -0
  35. package/dist/esm/index.d.ts +3 -13
  36. package/dist/esm/index.js +3 -13
  37. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
  38. package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +47 -0
  39. package/dist/esm/models/BuildStatusEnum.d.ts +30 -0
  40. package/dist/esm/models/BuildStatusEnum.js +48 -0
  41. package/dist/esm/models/BuildTaskResponse.d.ts +103 -0
  42. package/dist/esm/models/BuildTaskResponse.js +78 -0
  43. package/dist/esm/models/BuildTaskShortResponse.d.ts +89 -0
  44. package/dist/esm/models/BuildTaskShortResponse.js +74 -0
  45. package/dist/esm/models/DeviceInternalResponse.d.ts +114 -0
  46. package/dist/esm/models/DeviceInternalResponse.js +91 -0
  47. package/dist/esm/models/DeviceResponse.d.ts +101 -0
  48. package/dist/esm/models/DeviceResponse.js +82 -0
  49. package/dist/esm/models/DeviceStatsResponse.d.ts +48 -0
  50. package/dist/esm/models/DeviceStatsResponse.js +51 -0
  51. package/dist/esm/models/DeviceUpdateBody.d.ts +62 -0
  52. package/dist/esm/models/DeviceUpdateBody.js +51 -0
  53. package/dist/esm/models/FFStatusEnum.d.ts +26 -0
  54. package/dist/esm/models/FFStatusEnum.js +44 -0
  55. package/dist/esm/models/FFStatusResponse.d.ts +33 -0
  56. package/dist/esm/models/FFStatusResponse.js +44 -0
  57. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
  58. package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
  59. package/dist/esm/models/HTTPValidationError.d.ts +33 -0
  60. package/dist/esm/models/HTTPValidationError.js +42 -0
  61. package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
  62. package/dist/esm/models/ListResponseBuildTaskShortResponse.js +47 -0
  63. package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
  64. package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
  65. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
  66. package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
  67. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
  68. package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
  69. package/dist/esm/models/ListResponseStr.d.ts +38 -0
  70. package/dist/esm/models/ListResponseStr.js +46 -0
  71. package/dist/esm/models/ListResponseUserShortResponse.d.ts +39 -0
  72. package/dist/esm/models/ListResponseUserShortResponse.js +47 -0
  73. package/dist/esm/models/LogListResponse.d.ts +51 -0
  74. package/dist/esm/models/LogListResponse.js +56 -0
  75. package/dist/esm/models/LogResponse.d.ts +83 -0
  76. package/dist/esm/models/LogResponse.js +66 -0
  77. package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
  78. package/dist/esm/models/MaintainerShortModel.js +51 -0
  79. package/dist/esm/models/NewBuildTaskBody.d.ts +57 -0
  80. package/dist/esm/models/NewBuildTaskBody.js +52 -0
  81. package/dist/esm/models/NewDeviceBody.d.ts +50 -0
  82. package/dist/esm/models/NewDeviceBody.js +55 -0
  83. package/dist/esm/models/PasteInput.d.ts +50 -0
  84. package/dist/esm/models/PasteInput.js +51 -0
  85. package/dist/esm/models/PasteOutput.d.ts +50 -0
  86. package/dist/esm/models/PasteOutput.js +51 -0
  87. package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
  88. package/dist/esm/models/RecoveryImgResponse.js +47 -0
  89. package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
  90. package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
  91. package/dist/esm/models/ReleaseInternalResponse.d.ts +162 -0
  92. package/dist/esm/models/ReleaseInternalResponse.js +119 -0
  93. package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +26 -0
  94. package/dist/esm/models/ReleaseInternalResponsePropValue.js +31 -0
  95. package/dist/esm/models/ReleaseResponse.d.ts +139 -0
  96. package/dist/esm/models/ReleaseResponse.js +107 -0
  97. package/dist/esm/models/ReleaseStatsResponse.d.ts +48 -0
  98. package/dist/esm/models/ReleaseStatsResponse.js +51 -0
  99. package/dist/esm/models/ReleaseType.d.ts +26 -0
  100. package/dist/esm/models/ReleaseType.js +44 -0
  101. package/dist/esm/models/ReleaseUpdateBody.d.ts +50 -0
  102. package/dist/esm/models/ReleaseUpdateBody.js +47 -0
  103. package/dist/esm/models/ReleasesSort.d.ts +25 -0
  104. package/dist/esm/models/ReleasesSort.js +43 -0
  105. package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
  106. package/dist/esm/models/ResponseGetReleases.js +46 -0
  107. package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
  108. package/dist/esm/models/ShortDeviceResponse.js +73 -0
  109. package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
  110. package/dist/esm/models/ShortReleaseResponse.js +84 -0
  111. package/dist/esm/models/TaskUpdateBody.d.ts +39 -0
  112. package/dist/esm/models/TaskUpdateBody.js +44 -0
  113. package/dist/esm/models/TokenResponse.d.ts +38 -0
  114. package/dist/esm/models/TokenResponse.js +45 -0
  115. package/dist/esm/models/UserGitlab.d.ts +32 -0
  116. package/dist/esm/models/UserGitlab.js +43 -0
  117. package/dist/esm/models/UserInternalResponse.d.ts +90 -0
  118. package/dist/esm/models/UserInternalResponse.js +75 -0
  119. package/dist/esm/models/UserMail.d.ts +32 -0
  120. package/dist/esm/models/UserMail.js +43 -0
  121. package/dist/esm/models/UserShortResponse.d.ts +50 -0
  122. package/dist/esm/models/UserShortResponse.js +55 -0
  123. package/dist/esm/models/UserTelegram.d.ts +32 -0
  124. package/dist/esm/models/UserTelegram.js +43 -0
  125. package/dist/esm/models/UserUpdateBody.d.ts +56 -0
  126. package/dist/esm/models/UserUpdateBody.js +49 -0
  127. package/dist/esm/models/ValidationError.d.ts +45 -0
  128. package/dist/esm/models/ValidationError.js +52 -0
  129. package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
  130. package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
  131. package/dist/esm/models/index.d.ts +47 -0
  132. package/dist/esm/models/index.js +49 -0
  133. package/dist/esm/runtime.d.ts +184 -0
  134. package/dist/esm/runtime.js +334 -0
  135. package/dist/index.d.ts +3 -13
  136. package/dist/index.js +5 -15
  137. package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
  138. package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +54 -0
  139. package/dist/models/BuildStatusEnum.d.ts +30 -0
  140. package/dist/models/BuildStatusEnum.js +56 -0
  141. package/dist/models/BuildTaskResponse.d.ts +103 -0
  142. package/dist/models/BuildTaskResponse.js +85 -0
  143. package/dist/models/BuildTaskShortResponse.d.ts +89 -0
  144. package/dist/models/BuildTaskShortResponse.js +81 -0
  145. package/dist/models/DeviceInternalResponse.d.ts +114 -0
  146. package/dist/models/DeviceInternalResponse.js +98 -0
  147. package/dist/models/DeviceResponse.d.ts +101 -0
  148. package/dist/models/DeviceResponse.js +89 -0
  149. package/dist/models/DeviceStatsResponse.d.ts +48 -0
  150. package/dist/models/DeviceStatsResponse.js +58 -0
  151. package/dist/models/DeviceUpdateBody.d.ts +62 -0
  152. package/dist/models/DeviceUpdateBody.js +58 -0
  153. package/dist/models/FFStatusEnum.d.ts +26 -0
  154. package/dist/models/FFStatusEnum.js +52 -0
  155. package/dist/models/FFStatusResponse.d.ts +33 -0
  156. package/dist/models/FFStatusResponse.js +51 -0
  157. package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
  158. package/dist/models/GlobalStatsAggregationModel.js +62 -0
  159. package/dist/models/HTTPValidationError.d.ts +33 -0
  160. package/dist/models/HTTPValidationError.js +49 -0
  161. package/dist/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
  162. package/dist/models/ListResponseBuildTaskShortResponse.js +54 -0
  163. package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
  164. package/dist/models/ListResponseReleaseResponse.js +54 -0
  165. package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
  166. package/dist/models/ListResponseShortDeviceResponse.js +54 -0
  167. package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
  168. package/dist/models/ListResponseShortReleaseResponse.js +54 -0
  169. package/dist/models/ListResponseStr.d.ts +38 -0
  170. package/dist/models/ListResponseStr.js +53 -0
  171. package/dist/models/ListResponseUserShortResponse.d.ts +39 -0
  172. package/dist/models/ListResponseUserShortResponse.js +54 -0
  173. package/dist/models/LogListResponse.d.ts +51 -0
  174. package/dist/models/LogListResponse.js +63 -0
  175. package/dist/models/LogResponse.d.ts +83 -0
  176. package/dist/models/LogResponse.js +73 -0
  177. package/dist/models/MaintainerShortModel.d.ts +44 -0
  178. package/dist/models/MaintainerShortModel.js +58 -0
  179. package/dist/models/NewBuildTaskBody.d.ts +57 -0
  180. package/dist/models/NewBuildTaskBody.js +59 -0
  181. package/dist/models/NewDeviceBody.d.ts +50 -0
  182. package/dist/models/NewDeviceBody.js +62 -0
  183. package/dist/models/PasteInput.d.ts +50 -0
  184. package/dist/models/PasteInput.js +58 -0
  185. package/dist/models/PasteOutput.d.ts +50 -0
  186. package/dist/models/PasteOutput.js +58 -0
  187. package/dist/models/RecoveryImgResponse.d.ts +38 -0
  188. package/dist/models/RecoveryImgResponse.js +54 -0
  189. package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
  190. package/dist/models/ReleaseGroupsResponse.js +50 -0
  191. package/dist/models/ReleaseInternalResponse.d.ts +162 -0
  192. package/dist/models/ReleaseInternalResponse.js +126 -0
  193. package/dist/models/ReleaseInternalResponsePropValue.d.ts +26 -0
  194. package/dist/models/ReleaseInternalResponsePropValue.js +38 -0
  195. package/dist/models/ReleaseResponse.d.ts +139 -0
  196. package/dist/models/ReleaseResponse.js +114 -0
  197. package/dist/models/ReleaseStatsResponse.d.ts +48 -0
  198. package/dist/models/ReleaseStatsResponse.js +58 -0
  199. package/dist/models/ReleaseType.d.ts +26 -0
  200. package/dist/models/ReleaseType.js +52 -0
  201. package/dist/models/ReleaseUpdateBody.d.ts +50 -0
  202. package/dist/models/ReleaseUpdateBody.js +54 -0
  203. package/dist/models/ReleasesSort.d.ts +25 -0
  204. package/dist/models/ReleasesSort.js +51 -0
  205. package/dist/models/ResponseGetReleases.d.ts +41 -0
  206. package/dist/models/ResponseGetReleases.js +53 -0
  207. package/dist/models/ShortDeviceResponse.d.ts +82 -0
  208. package/dist/models/ShortDeviceResponse.js +80 -0
  209. package/dist/models/ShortReleaseResponse.d.ts +100 -0
  210. package/dist/models/ShortReleaseResponse.js +91 -0
  211. package/dist/models/TaskUpdateBody.d.ts +39 -0
  212. package/dist/models/TaskUpdateBody.js +51 -0
  213. package/dist/models/TokenResponse.d.ts +38 -0
  214. package/dist/models/TokenResponse.js +52 -0
  215. package/dist/models/UserGitlab.d.ts +32 -0
  216. package/dist/models/UserGitlab.js +50 -0
  217. package/dist/models/UserInternalResponse.d.ts +90 -0
  218. package/dist/models/UserInternalResponse.js +82 -0
  219. package/dist/models/UserMail.d.ts +32 -0
  220. package/dist/models/UserMail.js +50 -0
  221. package/dist/models/UserShortResponse.d.ts +50 -0
  222. package/dist/models/UserShortResponse.js +62 -0
  223. package/dist/models/UserTelegram.d.ts +32 -0
  224. package/dist/models/UserTelegram.js +50 -0
  225. package/dist/models/UserUpdateBody.d.ts +56 -0
  226. package/dist/models/UserUpdateBody.js +56 -0
  227. package/dist/models/ValidationError.d.ts +45 -0
  228. package/dist/models/ValidationError.js +59 -0
  229. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  230. package/dist/models/ValidationErrorLocInner.js +38 -0
  231. package/dist/models/index.d.ts +47 -0
  232. package/dist/models/index.js +65 -0
  233. package/dist/runtime.d.ts +184 -0
  234. package/dist/runtime.js +350 -0
  235. package/package.json +4 -17
  236. package/src/apis/DeviceApi.ts +326 -0
  237. package/src/apis/FoxFactoryApi.ts +807 -0
  238. package/src/apis/GitlabApi.ts +108 -0
  239. package/src/apis/InternalApi.ts +1590 -0
  240. package/src/apis/PasteApi.ts +158 -0
  241. package/src/apis/ReleaseApi.ts +414 -0
  242. package/src/apis/StatsApi.ts +82 -0
  243. package/src/apis/index.ts +9 -0
  244. package/src/index.ts +5 -0
  245. package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +75 -0
  246. package/src/models/BuildStatusEnum.ts +58 -0
  247. package/src/models/BuildTaskResponse.ts +183 -0
  248. package/src/models/BuildTaskShortResponse.ts +167 -0
  249. package/src/models/DeviceInternalResponse.ts +196 -0
  250. package/src/models/DeviceResponse.ts +171 -0
  251. package/src/models/DeviceStatsResponse.ts +84 -0
  252. package/src/models/DeviceUpdateBody.ts +105 -0
  253. package/src/models/FFStatusEnum.ts +54 -0
  254. package/src/models/FFStatusResponse.ts +76 -0
  255. package/src/models/GlobalStatsAggregationModel.ts +93 -0
  256. package/src/models/HTTPValidationError.ts +73 -0
  257. package/src/models/ListResponseBuildTaskShortResponse.ts +82 -0
  258. package/src/models/ListResponseReleaseResponse.ts +82 -0
  259. package/src/models/ListResponseShortDeviceResponse.ts +82 -0
  260. package/src/models/ListResponseShortReleaseResponse.ts +82 -0
  261. package/src/models/ListResponseStr.ts +74 -0
  262. package/src/models/ListResponseUserShortResponse.ts +82 -0
  263. package/src/models/LogListResponse.ts +101 -0
  264. package/src/models/LogResponse.ts +141 -0
  265. package/src/models/MaintainerShortModel.ts +84 -0
  266. package/src/models/NewBuildTaskBody.ts +108 -0
  267. package/src/models/NewDeviceBody.ts +93 -0
  268. package/src/models/PasteInput.ts +91 -0
  269. package/src/models/PasteOutput.ts +91 -0
  270. package/src/models/RecoveryImgResponse.ts +75 -0
  271. package/src/models/ReleaseGroupsResponse.ts +74 -0
  272. package/src/models/ReleaseInternalResponse.ts +279 -0
  273. package/src/models/ReleaseInternalResponsePropValue.ts +46 -0
  274. package/src/models/ReleaseResponse.ts +233 -0
  275. package/src/models/ReleaseStatsResponse.ts +84 -0
  276. package/src/models/ReleaseType.ts +54 -0
  277. package/src/models/ReleaseUpdateBody.ts +89 -0
  278. package/src/models/ReleasesSort.ts +53 -0
  279. package/src/models/ResponseGetReleases.ts +96 -0
  280. package/src/models/ShortDeviceResponse.ts +138 -0
  281. package/src/models/ShortReleaseResponse.ts +174 -0
  282. package/src/models/TaskUpdateBody.ts +83 -0
  283. package/src/models/TokenResponse.ts +74 -0
  284. package/src/models/UserGitlab.ts +66 -0
  285. package/src/models/UserInternalResponse.ts +172 -0
  286. package/src/models/UserMail.ts +66 -0
  287. package/src/models/UserShortResponse.ts +93 -0
  288. package/src/models/UserTelegram.ts +66 -0
  289. package/src/models/UserUpdateBody.ts +97 -0
  290. package/src/models/ValidationError.ts +92 -0
  291. package/src/models/ValidationErrorLocInner.ts +46 -0
  292. package/src/models/index.ts +49 -0
  293. package/src/runtime.ts +432 -0
  294. package/tsconfig.json +2 -4
  295. package/api.ts +0 -5578
  296. package/base.ts +0 -86
  297. package/common.ts +0 -150
  298. package/configuration.ts +0 -115
  299. package/dist/api.d.ts +0 -3696
  300. package/dist/api.js +0 -3281
  301. package/dist/base.d.ts +0 -66
  302. package/dist/base.js +0 -65
  303. package/dist/common.d.ts +0 -65
  304. package/dist/common.js +0 -161
  305. package/dist/configuration.d.ts +0 -91
  306. package/dist/configuration.js +0 -44
  307. package/dist/esm/api.d.ts +0 -3696
  308. package/dist/esm/api.js +0 -3254
  309. package/dist/esm/base.d.ts +0 -66
  310. package/dist/esm/base.js +0 -60
  311. package/dist/esm/common.d.ts +0 -65
  312. package/dist/esm/common.js +0 -149
  313. package/dist/esm/configuration.d.ts +0 -91
  314. package/dist/esm/configuration.js +0 -40
  315. package/docs/BodyChangePasswordProfileChangePasswordPost.md +0 -22
  316. package/docs/BuildStatusEnum.md +0 -20
  317. package/docs/BuildTaskResponse.md +0 -42
  318. package/docs/BuildTaskShortResponse.md +0 -38
  319. package/docs/DeviceApi.md +0 -251
  320. package/docs/DeviceInternalResponse.md +0 -48
  321. package/docs/DeviceResponse.md +0 -44
  322. package/docs/DeviceStatsResponse.md +0 -24
  323. package/docs/DeviceUpdateBody.md +0 -30
  324. package/docs/FFStatusEnum.md +0 -12
  325. package/docs/FFStatusResponse.md +0 -20
  326. package/docs/FoxFactoryApi.md +0 -540
  327. package/docs/GitlabApi.md +0 -62
  328. package/docs/GlobalStatsAggregationModel.md +0 -26
  329. package/docs/HTTPValidationError.md +0 -20
  330. package/docs/InternalApi.md +0 -958
  331. package/docs/ListResponseBuildTaskShortResponse.md +0 -22
  332. package/docs/ListResponseReleaseResponse.md +0 -22
  333. package/docs/ListResponseShortDeviceResponse.md +0 -22
  334. package/docs/ListResponseShortReleaseResponse.md +0 -22
  335. package/docs/ListResponseStr.md +0 -22
  336. package/docs/ListResponseUserShortResponse.md +0 -22
  337. package/docs/LogListResponse.md +0 -26
  338. package/docs/LogResponse.md +0 -36
  339. package/docs/MaintainerShortModel.md +0 -26
  340. package/docs/NewBuildTaskBody.md +0 -28
  341. package/docs/NewDeviceBody.md +0 -26
  342. package/docs/RecoveryImgResponse.md +0 -22
  343. package/docs/ReleaseApi.md +0 -289
  344. package/docs/ReleaseGroupsResponse.md +0 -20
  345. package/docs/ReleaseInternalResponse.md +0 -62
  346. package/docs/ReleaseInternalResponsePropValue.md +0 -18
  347. package/docs/ReleaseResponse.md +0 -56
  348. package/docs/ReleaseStatsResponse.md +0 -24
  349. package/docs/ReleaseType.md +0 -12
  350. package/docs/ReleaseUpdateBody.md +0 -26
  351. package/docs/ReleasesSort.md +0 -10
  352. package/docs/ResponseGetReleases.md +0 -22
  353. package/docs/ShortDeviceResponse.md +0 -38
  354. package/docs/ShortReleaseResponse.md +0 -44
  355. package/docs/StatsApi.md +0 -53
  356. package/docs/TaskUpdateBody.md +0 -22
  357. package/docs/TokenResponse.md +0 -22
  358. package/docs/UserGitlab.md +0 -20
  359. package/docs/UserInternalResponse.md +0 -38
  360. package/docs/UserMail.md +0 -20
  361. package/docs/UserShortResponse.md +0 -26
  362. package/docs/UserTelegram.md +0 -20
  363. package/docs/UserUpdateBody.md +0 -28
  364. package/docs/ValidationError.md +0 -24
  365. package/docs/ValidationErrorLocInner.md +0 -18
  366. package/git_push.sh +0 -57
@@ -1,958 +0,0 @@
1
- # InternalApi
2
-
3
- All URIs are relative to *https://api.orangefox.download*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**changePasswordProfileChangePasswordPost**](#changepasswordprofilechangepasswordpost) | **POST** /profile/change_password | Change Password|
8
- |[**delReleaseInternalReleasesReleaseIdDelete**](#delreleaseinternalreleasesreleaseiddelete) | **DELETE** /internal/releases/{release_id} | Del Release|
9
- |[**deleteUserInternalUsersUserIdDelete**](#deleteuserinternalusersuseriddelete) | **DELETE** /internal/users/{user_id} | Delete User|
10
- |[**editReleaseInternalReleasesReleaseIdPut**](#editreleaseinternalreleasesreleaseidput) | **PUT** /internal/releases/{release_id} | Edit Release|
11
- |[**getDeviceInfoInternalDevicesDeviceIdGet**](#getdeviceinfointernaldevicesdeviceidget) | **GET** /internal/devices/{device_id} | Get Device Info|
12
- |[**getLogsInternalLogsGet**](#getlogsinternallogsget) | **GET** /internal/logs/ | Get Logs|
13
- |[**getReleaseInfoInternalReleasesReleaseIdGet**](#getreleaseinfointernalreleasesreleaseidget) | **GET** /internal/releases/{release_id} | Get Release Info|
14
- |[**getReleaseZipInternalReleasesReleaseIdDlGet**](#getreleasezipinternalreleasesreleaseiddlget) | **GET** /internal/releases/{release_id}/dl | Get Release Zip|
15
- |[**getUserByIdInternalUsersUserIdGet**](#getuserbyidinternalusersuseridget) | **GET** /internal/users/{user_id} | Get User By Id|
16
- |[**listUsersInternalUsersGet**](#listusersinternalusersget) | **GET** /internal/users/ | List Users|
17
- |[**loginOauthAuthLoginPost**](#loginoauthauthloginpost) | **POST** /auth/login | Login Oauth|
18
- |[**logoutAuthLogoutPost**](#logoutauthlogoutpost) | **POST** /auth/logout | Logout|
19
- |[**newDeviceInternalDevicesPost**](#newdeviceinternaldevicespost) | **POST** /internal/devices/ | New Device|
20
- |[**newReleaseInternalReleasesPost**](#newreleaseinternalreleasespost) | **POST** /internal/releases/ | New Release|
21
- |[**renewAuthRenewPost**](#renewauthrenewpost) | **POST** /auth/renew | Renew|
22
- |[**updateDeviceInternalDevicesDeviceIdPut**](#updatedeviceinternaldevicesdeviceidput) | **PUT** /internal/devices/{device_id} | Update Device|
23
- |[**updateUserInternalUsersUserIdPut**](#updateuserinternalusersuseridput) | **PUT** /internal/users/{user_id} | Update User|
24
-
25
- # **changePasswordProfileChangePasswordPost**
26
- > boolean changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost)
27
-
28
- Change the password for a user.
29
-
30
- ### Example
31
-
32
- ```typescript
33
- import {
34
- InternalApi,
35
- Configuration,
36
- BodyChangePasswordProfileChangePasswordPost
37
- } from '@orangefox-recovery/foxinternalclient';
38
-
39
- const configuration = new Configuration();
40
- const apiInstance = new InternalApi(configuration);
41
-
42
- let bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost; //
43
-
44
- const { status, data } = await apiInstance.changePasswordProfileChangePasswordPost(
45
- bodyChangePasswordProfileChangePasswordPost
46
- );
47
- ```
48
-
49
- ### Parameters
50
-
51
- |Name | Type | Description | Notes|
52
- |------------- | ------------- | ------------- | -------------|
53
- | **bodyChangePasswordProfileChangePasswordPost** | **BodyChangePasswordProfileChangePasswordPost**| | |
54
-
55
-
56
- ### Return type
57
-
58
- **boolean**
59
-
60
- ### Authorization
61
-
62
- No authorization required
63
-
64
- ### HTTP request headers
65
-
66
- - **Content-Type**: application/json
67
- - **Accept**: application/json
68
-
69
-
70
- ### HTTP response details
71
- | Status code | Description | Response headers |
72
- |-------------|-------------|------------------|
73
- |**200** | Successful Response | - |
74
- |**422** | Validation Error | - |
75
-
76
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
77
-
78
- # **delReleaseInternalReleasesReleaseIdDelete**
79
- > boolean delReleaseInternalReleasesReleaseIdDelete()
80
-
81
- Delete release
82
-
83
- ### Example
84
-
85
- ```typescript
86
- import {
87
- InternalApi,
88
- Configuration
89
- } from '@orangefox-recovery/foxinternalclient';
90
-
91
- const configuration = new Configuration();
92
- const apiInstance = new InternalApi(configuration);
93
-
94
- let releaseId: string; // (default to undefined)
95
-
96
- const { status, data } = await apiInstance.delReleaseInternalReleasesReleaseIdDelete(
97
- releaseId
98
- );
99
- ```
100
-
101
- ### Parameters
102
-
103
- |Name | Type | Description | Notes|
104
- |------------- | ------------- | ------------- | -------------|
105
- | **releaseId** | [**string**] | | defaults to undefined|
106
-
107
-
108
- ### Return type
109
-
110
- **boolean**
111
-
112
- ### Authorization
113
-
114
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
115
-
116
- ### HTTP request headers
117
-
118
- - **Content-Type**: Not defined
119
- - **Accept**: application/json
120
-
121
-
122
- ### HTTP response details
123
- | Status code | Description | Response headers |
124
- |-------------|-------------|------------------|
125
- |**200** | Successful Response | - |
126
- |**422** | Validation Error | - |
127
-
128
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
129
-
130
- # **deleteUserInternalUsersUserIdDelete**
131
- > boolean deleteUserInternalUsersUserIdDelete()
132
-
133
-
134
- ### Example
135
-
136
- ```typescript
137
- import {
138
- InternalApi,
139
- Configuration
140
- } from '@orangefox-recovery/foxinternalclient';
141
-
142
- const configuration = new Configuration();
143
- const apiInstance = new InternalApi(configuration);
144
-
145
- let userId: string; // (default to undefined)
146
-
147
- const { status, data } = await apiInstance.deleteUserInternalUsersUserIdDelete(
148
- userId
149
- );
150
- ```
151
-
152
- ### Parameters
153
-
154
- |Name | Type | Description | Notes|
155
- |------------- | ------------- | ------------- | -------------|
156
- | **userId** | [**string**] | | defaults to undefined|
157
-
158
-
159
- ### Return type
160
-
161
- **boolean**
162
-
163
- ### Authorization
164
-
165
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
166
-
167
- ### HTTP request headers
168
-
169
- - **Content-Type**: Not defined
170
- - **Accept**: application/json
171
-
172
-
173
- ### HTTP response details
174
- | Status code | Description | Response headers |
175
- |-------------|-------------|------------------|
176
- |**200** | Successful Response | - |
177
- |**422** | Validation Error | - |
178
-
179
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
180
-
181
- # **editReleaseInternalReleasesReleaseIdPut**
182
- > boolean editReleaseInternalReleasesReleaseIdPut(releaseUpdateBody)
183
-
184
- Edit Release information
185
-
186
- ### Example
187
-
188
- ```typescript
189
- import {
190
- InternalApi,
191
- Configuration,
192
- ReleaseUpdateBody
193
- } from '@orangefox-recovery/foxinternalclient';
194
-
195
- const configuration = new Configuration();
196
- const apiInstance = new InternalApi(configuration);
197
-
198
- let releaseId: string; // (default to undefined)
199
- let releaseUpdateBody: ReleaseUpdateBody; //
200
-
201
- const { status, data } = await apiInstance.editReleaseInternalReleasesReleaseIdPut(
202
- releaseId,
203
- releaseUpdateBody
204
- );
205
- ```
206
-
207
- ### Parameters
208
-
209
- |Name | Type | Description | Notes|
210
- |------------- | ------------- | ------------- | -------------|
211
- | **releaseUpdateBody** | **ReleaseUpdateBody**| | |
212
- | **releaseId** | [**string**] | | defaults to undefined|
213
-
214
-
215
- ### Return type
216
-
217
- **boolean**
218
-
219
- ### Authorization
220
-
221
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
222
-
223
- ### HTTP request headers
224
-
225
- - **Content-Type**: application/json
226
- - **Accept**: application/json
227
-
228
-
229
- ### HTTP response details
230
- | Status code | Description | Response headers |
231
- |-------------|-------------|------------------|
232
- |**200** | Successful Response | - |
233
- |**422** | Validation Error | - |
234
-
235
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
236
-
237
- # **getDeviceInfoInternalDevicesDeviceIdGet**
238
- > DeviceInternalResponse getDeviceInfoInternalDevicesDeviceIdGet()
239
-
240
-
241
- ### Example
242
-
243
- ```typescript
244
- import {
245
- InternalApi,
246
- Configuration
247
- } from '@orangefox-recovery/foxinternalclient';
248
-
249
- const configuration = new Configuration();
250
- const apiInstance = new InternalApi(configuration);
251
-
252
- let deviceId: string; // (default to undefined)
253
-
254
- const { status, data } = await apiInstance.getDeviceInfoInternalDevicesDeviceIdGet(
255
- deviceId
256
- );
257
- ```
258
-
259
- ### Parameters
260
-
261
- |Name | Type | Description | Notes|
262
- |------------- | ------------- | ------------- | -------------|
263
- | **deviceId** | [**string**] | | defaults to undefined|
264
-
265
-
266
- ### Return type
267
-
268
- **DeviceInternalResponse**
269
-
270
- ### Authorization
271
-
272
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
273
-
274
- ### HTTP request headers
275
-
276
- - **Content-Type**: Not defined
277
- - **Accept**: application/json
278
-
279
-
280
- ### HTTP response details
281
- | Status code | Description | Response headers |
282
- |-------------|-------------|------------------|
283
- |**200** | Successful Response | - |
284
- |**422** | Validation Error | - |
285
-
286
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
287
-
288
- # **getLogsInternalLogsGet**
289
- > LogListResponse getLogsInternalLogsGet()
290
-
291
- Get a paginated list of logs with optional filtering.
292
-
293
- ### Example
294
-
295
- ```typescript
296
- import {
297
- InternalApi,
298
- Configuration
299
- } from '@orangefox-recovery/foxinternalclient';
300
-
301
- const configuration = new Configuration();
302
- const apiInstance = new InternalApi(configuration);
303
-
304
- let page: number; // (optional) (default to 1)
305
- let perPage: number; // (optional) (default to 20)
306
- let deviceId: string; // (optional) (default to undefined)
307
- let releaseId: string; // (optional) (default to undefined)
308
- let userId: string; // (optional) (default to undefined)
309
- let hideVerbose: boolean; // (optional) (default to undefined)
310
-
311
- const { status, data } = await apiInstance.getLogsInternalLogsGet(
312
- page,
313
- perPage,
314
- deviceId,
315
- releaseId,
316
- userId,
317
- hideVerbose
318
- );
319
- ```
320
-
321
- ### Parameters
322
-
323
- |Name | Type | Description | Notes|
324
- |------------- | ------------- | ------------- | -------------|
325
- | **page** | [**number**] | | (optional) defaults to 1|
326
- | **perPage** | [**number**] | | (optional) defaults to 20|
327
- | **deviceId** | [**string**] | | (optional) defaults to undefined|
328
- | **releaseId** | [**string**] | | (optional) defaults to undefined|
329
- | **userId** | [**string**] | | (optional) defaults to undefined|
330
- | **hideVerbose** | [**boolean**] | | (optional) defaults to undefined|
331
-
332
-
333
- ### Return type
334
-
335
- **LogListResponse**
336
-
337
- ### Authorization
338
-
339
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
340
-
341
- ### HTTP request headers
342
-
343
- - **Content-Type**: Not defined
344
- - **Accept**: application/json
345
-
346
-
347
- ### HTTP response details
348
- | Status code | Description | Response headers |
349
- |-------------|-------------|------------------|
350
- |**200** | Successful Response | - |
351
- |**422** | Validation Error | - |
352
-
353
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
354
-
355
- # **getReleaseInfoInternalReleasesReleaseIdGet**
356
- > ReleaseInternalResponse getReleaseInfoInternalReleasesReleaseIdGet()
357
-
358
- Get release information
359
-
360
- ### Example
361
-
362
- ```typescript
363
- import {
364
- InternalApi,
365
- Configuration
366
- } from '@orangefox-recovery/foxinternalclient';
367
-
368
- const configuration = new Configuration();
369
- const apiInstance = new InternalApi(configuration);
370
-
371
- let releaseId: string; // (default to undefined)
372
-
373
- const { status, data } = await apiInstance.getReleaseInfoInternalReleasesReleaseIdGet(
374
- releaseId
375
- );
376
- ```
377
-
378
- ### Parameters
379
-
380
- |Name | Type | Description | Notes|
381
- |------------- | ------------- | ------------- | -------------|
382
- | **releaseId** | [**string**] | | defaults to undefined|
383
-
384
-
385
- ### Return type
386
-
387
- **ReleaseInternalResponse**
388
-
389
- ### Authorization
390
-
391
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
392
-
393
- ### HTTP request headers
394
-
395
- - **Content-Type**: Not defined
396
- - **Accept**: application/json
397
-
398
-
399
- ### HTTP response details
400
- | Status code | Description | Response headers |
401
- |-------------|-------------|------------------|
402
- |**200** | Successful Response | - |
403
- |**422** | Validation Error | - |
404
-
405
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
406
-
407
- # **getReleaseZipInternalReleasesReleaseIdDlGet**
408
- > boolean getReleaseZipInternalReleasesReleaseIdDlGet()
409
-
410
- Download release ZIP directly
411
-
412
- ### Example
413
-
414
- ```typescript
415
- import {
416
- InternalApi,
417
- Configuration
418
- } from '@orangefox-recovery/foxinternalclient';
419
-
420
- const configuration = new Configuration();
421
- const apiInstance = new InternalApi(configuration);
422
-
423
- let releaseId: string; // (default to undefined)
424
-
425
- const { status, data } = await apiInstance.getReleaseZipInternalReleasesReleaseIdDlGet(
426
- releaseId
427
- );
428
- ```
429
-
430
- ### Parameters
431
-
432
- |Name | Type | Description | Notes|
433
- |------------- | ------------- | ------------- | -------------|
434
- | **releaseId** | [**string**] | | defaults to undefined|
435
-
436
-
437
- ### Return type
438
-
439
- **boolean**
440
-
441
- ### Authorization
442
-
443
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
444
-
445
- ### HTTP request headers
446
-
447
- - **Content-Type**: Not defined
448
- - **Accept**: application/json
449
-
450
-
451
- ### HTTP response details
452
- | Status code | Description | Response headers |
453
- |-------------|-------------|------------------|
454
- |**200** | Successful Response | - |
455
- |**422** | Validation Error | - |
456
-
457
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
458
-
459
- # **getUserByIdInternalUsersUserIdGet**
460
- > UserInternalResponse getUserByIdInternalUsersUserIdGet()
461
-
462
-
463
- ### Example
464
-
465
- ```typescript
466
- import {
467
- InternalApi,
468
- Configuration
469
- } from '@orangefox-recovery/foxinternalclient';
470
-
471
- const configuration = new Configuration();
472
- const apiInstance = new InternalApi(configuration);
473
-
474
- let userId: string; // (default to undefined)
475
-
476
- const { status, data } = await apiInstance.getUserByIdInternalUsersUserIdGet(
477
- userId
478
- );
479
- ```
480
-
481
- ### Parameters
482
-
483
- |Name | Type | Description | Notes|
484
- |------------- | ------------- | ------------- | -------------|
485
- | **userId** | [**string**] | | defaults to undefined|
486
-
487
-
488
- ### Return type
489
-
490
- **UserInternalResponse**
491
-
492
- ### Authorization
493
-
494
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
495
-
496
- ### HTTP request headers
497
-
498
- - **Content-Type**: Not defined
499
- - **Accept**: application/json
500
-
501
-
502
- ### HTTP response details
503
- | Status code | Description | Response headers |
504
- |-------------|-------------|------------------|
505
- |**200** | Successful Response | - |
506
- |**422** | Validation Error | - |
507
-
508
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
509
-
510
- # **listUsersInternalUsersGet**
511
- > ListResponseUserShortResponse listUsersInternalUsersGet()
512
-
513
-
514
- ### Example
515
-
516
- ```typescript
517
- import {
518
- InternalApi,
519
- Configuration
520
- } from '@orangefox-recovery/foxinternalclient';
521
-
522
- const configuration = new Configuration();
523
- const apiInstance = new InternalApi(configuration);
524
-
525
- const { status, data } = await apiInstance.listUsersInternalUsersGet();
526
- ```
527
-
528
- ### Parameters
529
- This endpoint does not have any parameters.
530
-
531
-
532
- ### Return type
533
-
534
- **ListResponseUserShortResponse**
535
-
536
- ### Authorization
537
-
538
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
539
-
540
- ### HTTP request headers
541
-
542
- - **Content-Type**: Not defined
543
- - **Accept**: application/json
544
-
545
-
546
- ### HTTP response details
547
- | Status code | Description | Response headers |
548
- |-------------|-------------|------------------|
549
- |**200** | Successful Response | - |
550
-
551
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
552
-
553
- # **loginOauthAuthLoginPost**
554
- > TokenResponse loginOauthAuthLoginPost()
555
-
556
- OAuth2 compatible token login, get an access token for future requests
557
-
558
- ### Example
559
-
560
- ```typescript
561
- import {
562
- InternalApi,
563
- Configuration
564
- } from '@orangefox-recovery/foxinternalclient';
565
-
566
- const configuration = new Configuration();
567
- const apiInstance = new InternalApi(configuration);
568
-
569
- let username: string; // (default to undefined)
570
- let password: string; // (default to undefined)
571
- let minTime: number; // (optional) (default to 0.3)
572
- let maxTime: number; // (optional) (default to 1)
573
- let grantType: string; // (optional) (default to undefined)
574
- let scope: string; // (optional) (default to '')
575
- let clientId: string; // (optional) (default to undefined)
576
- let clientSecret: string; // (optional) (default to undefined)
577
-
578
- const { status, data } = await apiInstance.loginOauthAuthLoginPost(
579
- username,
580
- password,
581
- minTime,
582
- maxTime,
583
- grantType,
584
- scope,
585
- clientId,
586
- clientSecret
587
- );
588
- ```
589
-
590
- ### Parameters
591
-
592
- |Name | Type | Description | Notes|
593
- |------------- | ------------- | ------------- | -------------|
594
- | **username** | [**string**] | | defaults to undefined|
595
- | **password** | [**string**] | | defaults to undefined|
596
- | **minTime** | [**number**] | | (optional) defaults to 0.3|
597
- | **maxTime** | [**number**] | | (optional) defaults to 1|
598
- | **grantType** | [**string**] | | (optional) defaults to undefined|
599
- | **scope** | [**string**] | | (optional) defaults to ''|
600
- | **clientId** | [**string**] | | (optional) defaults to undefined|
601
- | **clientSecret** | [**string**] | | (optional) defaults to undefined|
602
-
603
-
604
- ### Return type
605
-
606
- **TokenResponse**
607
-
608
- ### Authorization
609
-
610
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
611
-
612
- ### HTTP request headers
613
-
614
- - **Content-Type**: application/x-www-form-urlencoded
615
- - **Accept**: application/json
616
-
617
-
618
- ### HTTP response details
619
- | Status code | Description | Response headers |
620
- |-------------|-------------|------------------|
621
- |**200** | Successful Response | - |
622
- |**422** | Validation Error | - |
623
-
624
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
625
-
626
- # **logoutAuthLogoutPost**
627
- > any logoutAuthLogoutPost(body)
628
-
629
-
630
- ### Example
631
-
632
- ```typescript
633
- import {
634
- InternalApi,
635
- Configuration
636
- } from '@orangefox-recovery/foxinternalclient';
637
-
638
- const configuration = new Configuration();
639
- const apiInstance = new InternalApi(configuration);
640
-
641
- let body: string; //
642
-
643
- const { status, data } = await apiInstance.logoutAuthLogoutPost(
644
- body
645
- );
646
- ```
647
-
648
- ### Parameters
649
-
650
- |Name | Type | Description | Notes|
651
- |------------- | ------------- | ------------- | -------------|
652
- | **body** | **string**| | |
653
-
654
-
655
- ### Return type
656
-
657
- **any**
658
-
659
- ### Authorization
660
-
661
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
662
-
663
- ### HTTP request headers
664
-
665
- - **Content-Type**: application/json
666
- - **Accept**: application/json
667
-
668
-
669
- ### HTTP response details
670
- | Status code | Description | Response headers |
671
- |-------------|-------------|------------------|
672
- |**200** | Successful Response | - |
673
- |**422** | Validation Error | - |
674
-
675
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
676
-
677
- # **newDeviceInternalDevicesPost**
678
- > string newDeviceInternalDevicesPost(newDeviceBody)
679
-
680
-
681
- ### Example
682
-
683
- ```typescript
684
- import {
685
- InternalApi,
686
- Configuration,
687
- NewDeviceBody
688
- } from '@orangefox-recovery/foxinternalclient';
689
-
690
- const configuration = new Configuration();
691
- const apiInstance = new InternalApi(configuration);
692
-
693
- let newDeviceBody: NewDeviceBody; //
694
-
695
- const { status, data } = await apiInstance.newDeviceInternalDevicesPost(
696
- newDeviceBody
697
- );
698
- ```
699
-
700
- ### Parameters
701
-
702
- |Name | Type | Description | Notes|
703
- |------------- | ------------- | ------------- | -------------|
704
- | **newDeviceBody** | **NewDeviceBody**| | |
705
-
706
-
707
- ### Return type
708
-
709
- **string**
710
-
711
- ### Authorization
712
-
713
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
714
-
715
- ### HTTP request headers
716
-
717
- - **Content-Type**: application/json
718
- - **Accept**: application/json
719
-
720
-
721
- ### HTTP response details
722
- | Status code | Description | Response headers |
723
- |-------------|-------------|------------------|
724
- |**200** | Successful Response | - |
725
- |**422** | Validation Error | - |
726
-
727
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
728
-
729
- # **newReleaseInternalReleasesPost**
730
- > ReleaseResponse newReleaseInternalReleasesPost()
731
-
732
-
733
- ### Example
734
-
735
- ```typescript
736
- import {
737
- InternalApi,
738
- Configuration
739
- } from '@orangefox-recovery/foxinternalclient';
740
-
741
- const configuration = new Configuration();
742
- const apiInstance = new InternalApi(configuration);
743
-
744
- let deviceId: string; // (default to undefined)
745
- let releaseZip: File; // (default to undefined)
746
- let md5: string; // (default to undefined)
747
- let changelog: Array<string>; // (default to undefined)
748
- let bugs: Array<string>; // (optional) (default to undefined)
749
- let notes: string; // (optional) (default to undefined)
750
- let force: boolean; // (optional) (default to false)
751
-
752
- const { status, data } = await apiInstance.newReleaseInternalReleasesPost(
753
- deviceId,
754
- releaseZip,
755
- md5,
756
- changelog,
757
- bugs,
758
- notes,
759
- force
760
- );
761
- ```
762
-
763
- ### Parameters
764
-
765
- |Name | Type | Description | Notes|
766
- |------------- | ------------- | ------------- | -------------|
767
- | **deviceId** | [**string**] | | defaults to undefined|
768
- | **releaseZip** | [**File**] | | defaults to undefined|
769
- | **md5** | [**string**] | | defaults to undefined|
770
- | **changelog** | **Array&lt;string&gt;** | | defaults to undefined|
771
- | **bugs** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
772
- | **notes** | [**string**] | | (optional) defaults to undefined|
773
- | **force** | [**boolean**] | | (optional) defaults to false|
774
-
775
-
776
- ### Return type
777
-
778
- **ReleaseResponse**
779
-
780
- ### Authorization
781
-
782
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
783
-
784
- ### HTTP request headers
785
-
786
- - **Content-Type**: multipart/form-data
787
- - **Accept**: application/json
788
-
789
-
790
- ### HTTP response details
791
- | Status code | Description | Response headers |
792
- |-------------|-------------|------------------|
793
- |**200** | Successful Response | - |
794
- |**422** | Validation Error | - |
795
-
796
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
797
-
798
- # **renewAuthRenewPost**
799
- > string renewAuthRenewPost(body)
800
-
801
-
802
- ### Example
803
-
804
- ```typescript
805
- import {
806
- InternalApi,
807
- Configuration
808
- } from '@orangefox-recovery/foxinternalclient';
809
-
810
- const configuration = new Configuration();
811
- const apiInstance = new InternalApi(configuration);
812
-
813
- let body: string; //
814
-
815
- const { status, data } = await apiInstance.renewAuthRenewPost(
816
- body
817
- );
818
- ```
819
-
820
- ### Parameters
821
-
822
- |Name | Type | Description | Notes|
823
- |------------- | ------------- | ------------- | -------------|
824
- | **body** | **string**| | |
825
-
826
-
827
- ### Return type
828
-
829
- **string**
830
-
831
- ### Authorization
832
-
833
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
834
-
835
- ### HTTP request headers
836
-
837
- - **Content-Type**: application/json
838
- - **Accept**: application/json
839
-
840
-
841
- ### HTTP response details
842
- | Status code | Description | Response headers |
843
- |-------------|-------------|------------------|
844
- |**200** | Successful Response | - |
845
- |**422** | Validation Error | - |
846
-
847
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
848
-
849
- # **updateDeviceInternalDevicesDeviceIdPut**
850
- > boolean updateDeviceInternalDevicesDeviceIdPut(deviceUpdateBody)
851
-
852
-
853
- ### Example
854
-
855
- ```typescript
856
- import {
857
- InternalApi,
858
- Configuration,
859
- DeviceUpdateBody
860
- } from '@orangefox-recovery/foxinternalclient';
861
-
862
- const configuration = new Configuration();
863
- const apiInstance = new InternalApi(configuration);
864
-
865
- let deviceId: string; // (default to undefined)
866
- let deviceUpdateBody: DeviceUpdateBody; //
867
-
868
- const { status, data } = await apiInstance.updateDeviceInternalDevicesDeviceIdPut(
869
- deviceId,
870
- deviceUpdateBody
871
- );
872
- ```
873
-
874
- ### Parameters
875
-
876
- |Name | Type | Description | Notes|
877
- |------------- | ------------- | ------------- | -------------|
878
- | **deviceUpdateBody** | **DeviceUpdateBody**| | |
879
- | **deviceId** | [**string**] | | defaults to undefined|
880
-
881
-
882
- ### Return type
883
-
884
- **boolean**
885
-
886
- ### Authorization
887
-
888
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
889
-
890
- ### HTTP request headers
891
-
892
- - **Content-Type**: application/json
893
- - **Accept**: application/json
894
-
895
-
896
- ### HTTP response details
897
- | Status code | Description | Response headers |
898
- |-------------|-------------|------------------|
899
- |**200** | Successful Response | - |
900
- |**422** | Validation Error | - |
901
-
902
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
903
-
904
- # **updateUserInternalUsersUserIdPut**
905
- > boolean updateUserInternalUsersUserIdPut(userUpdateBody)
906
-
907
-
908
- ### Example
909
-
910
- ```typescript
911
- import {
912
- InternalApi,
913
- Configuration,
914
- UserUpdateBody
915
- } from '@orangefox-recovery/foxinternalclient';
916
-
917
- const configuration = new Configuration();
918
- const apiInstance = new InternalApi(configuration);
919
-
920
- let userId: string; // (default to undefined)
921
- let userUpdateBody: UserUpdateBody; //
922
-
923
- const { status, data } = await apiInstance.updateUserInternalUsersUserIdPut(
924
- userId,
925
- userUpdateBody
926
- );
927
- ```
928
-
929
- ### Parameters
930
-
931
- |Name | Type | Description | Notes|
932
- |------------- | ------------- | ------------- | -------------|
933
- | **userUpdateBody** | **UserUpdateBody**| | |
934
- | **userId** | [**string**] | | defaults to undefined|
935
-
936
-
937
- ### Return type
938
-
939
- **boolean**
940
-
941
- ### Authorization
942
-
943
- [oauth2_password](../README.md#oauth2_password), [bearer_auth](../README.md#bearer_auth)
944
-
945
- ### HTTP request headers
946
-
947
- - **Content-Type**: application/json
948
- - **Accept**: application/json
949
-
950
-
951
- ### HTTP response details
952
- | Status code | Description | Response headers |
953
- |-------------|-------------|------------------|
954
- |**200** | Successful Response | - |
955
- |**422** | Validation Error | - |
956
-
957
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
958
-