@orangefox-recovery/foxclient 6.0.7 → 6.0.9

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 (182) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +10 -3
  3. package/dist/apis/DeviceApi.d.ts +1 -1
  4. package/dist/apis/DeviceApi.js +1 -1
  5. package/dist/apis/PasteApi.d.ts +1 -1
  6. package/dist/apis/PasteApi.js +1 -1
  7. package/dist/apis/ReleaseApi.d.ts +1 -1
  8. package/dist/apis/ReleaseApi.js +1 -1
  9. package/dist/apis/ReportApi.d.ts +1 -1
  10. package/dist/apis/ReportApi.js +1 -1
  11. package/dist/apis/StatsApi.d.ts +1 -1
  12. package/dist/apis/StatsApi.js +1 -1
  13. package/dist/apis/UptimeApi.d.ts +59 -0
  14. package/dist/apis/UptimeApi.js +70 -0
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/esm/apis/DeviceApi.d.ts +1 -1
  18. package/dist/esm/apis/DeviceApi.js +1 -1
  19. package/dist/esm/apis/PasteApi.d.ts +1 -1
  20. package/dist/esm/apis/PasteApi.js +1 -1
  21. package/dist/esm/apis/ReleaseApi.d.ts +1 -1
  22. package/dist/esm/apis/ReleaseApi.js +1 -1
  23. package/dist/esm/apis/ReportApi.d.ts +1 -1
  24. package/dist/esm/apis/ReportApi.js +1 -1
  25. package/dist/esm/apis/StatsApi.d.ts +1 -1
  26. package/dist/esm/apis/StatsApi.js +1 -1
  27. package/dist/esm/apis/UptimeApi.d.ts +59 -0
  28. package/dist/esm/apis/UptimeApi.js +66 -0
  29. package/dist/esm/apis/index.d.ts +1 -0
  30. package/dist/esm/apis/index.js +1 -0
  31. package/dist/esm/models/DeviceResponse.d.ts +1 -1
  32. package/dist/esm/models/DeviceResponse.js +1 -1
  33. package/dist/esm/models/ErrorResponse.d.ts +1 -1
  34. package/dist/esm/models/ErrorResponse.js +1 -1
  35. package/dist/esm/models/GlobalStatsResponse.d.ts +1 -1
  36. package/dist/esm/models/GlobalStatsResponse.js +1 -1
  37. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  38. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  39. package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +13 -1
  40. package/dist/esm/models/ListResponseReleaseResponseDataInner.js +9 -1
  41. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  42. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  43. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  44. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  45. package/dist/esm/models/ListResponseString.d.ts +1 -1
  46. package/dist/esm/models/ListResponseString.js +1 -1
  47. package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
  48. package/dist/esm/models/MaintainerShortResponse.js +1 -1
  49. package/dist/esm/models/NewReportRequest.d.ts +1 -1
  50. package/dist/esm/models/NewReportRequest.js +1 -1
  51. package/dist/esm/models/PasteInput.d.ts +1 -1
  52. package/dist/esm/models/PasteInput.js +1 -1
  53. package/dist/esm/models/PasteResponse.d.ts +1 -1
  54. package/dist/esm/models/PasteResponse.js +1 -1
  55. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  56. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  57. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  58. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  59. package/dist/esm/models/ReleaseListResponse.d.ts +1 -1
  60. package/dist/esm/models/ReleaseListResponse.js +1 -1
  61. package/dist/esm/models/ReleaseResponse.d.ts +13 -1
  62. package/dist/esm/models/ReleaseResponse.js +9 -1
  63. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  64. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  65. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  66. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  67. package/dist/esm/models/TokenResponse.d.ts +1 -1
  68. package/dist/esm/models/TokenResponse.js +1 -1
  69. package/dist/esm/models/UptimeHealth.d.ts +57 -0
  70. package/dist/esm/models/UptimeHealth.js +60 -0
  71. package/dist/esm/models/UptimeHealthHost.d.ts +50 -0
  72. package/dist/esm/models/UptimeHealthHost.js +53 -0
  73. package/dist/esm/models/UptimeMonitor.d.ts +74 -0
  74. package/dist/esm/models/UptimeMonitor.js +63 -0
  75. package/dist/esm/models/UptimeMonitorGroup.d.ts +39 -0
  76. package/dist/esm/models/UptimeMonitorGroup.js +48 -0
  77. package/dist/esm/models/UptimeMonitors.d.ts +39 -0
  78. package/dist/esm/models/UptimeMonitors.js +48 -0
  79. package/dist/esm/models/UptimeResponse.d.ts +46 -0
  80. package/dist/esm/models/UptimeResponse.js +49 -0
  81. package/dist/esm/models/index.d.ts +6 -0
  82. package/dist/esm/models/index.js +6 -0
  83. package/dist/esm/runtime.d.ts +1 -1
  84. package/dist/esm/runtime.js +1 -1
  85. package/dist/models/DeviceResponse.d.ts +1 -1
  86. package/dist/models/DeviceResponse.js +1 -1
  87. package/dist/models/ErrorResponse.d.ts +1 -1
  88. package/dist/models/ErrorResponse.js +1 -1
  89. package/dist/models/GlobalStatsResponse.d.ts +1 -1
  90. package/dist/models/GlobalStatsResponse.js +1 -1
  91. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  92. package/dist/models/ListResponseReleaseResponse.js +1 -1
  93. package/dist/models/ListResponseReleaseResponseDataInner.d.ts +13 -1
  94. package/dist/models/ListResponseReleaseResponseDataInner.js +9 -1
  95. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  96. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  97. package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  98. package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  99. package/dist/models/ListResponseString.d.ts +1 -1
  100. package/dist/models/ListResponseString.js +1 -1
  101. package/dist/models/MaintainerShortResponse.d.ts +1 -1
  102. package/dist/models/MaintainerShortResponse.js +1 -1
  103. package/dist/models/NewReportRequest.d.ts +1 -1
  104. package/dist/models/NewReportRequest.js +1 -1
  105. package/dist/models/PasteInput.d.ts +1 -1
  106. package/dist/models/PasteInput.js +1 -1
  107. package/dist/models/PasteResponse.d.ts +1 -1
  108. package/dist/models/PasteResponse.js +1 -1
  109. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  110. package/dist/models/RecoveryImgResponse.js +1 -1
  111. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  112. package/dist/models/ReleaseGroupsResponse.js +1 -1
  113. package/dist/models/ReleaseListResponse.d.ts +1 -1
  114. package/dist/models/ReleaseListResponse.js +1 -1
  115. package/dist/models/ReleaseResponse.d.ts +13 -1
  116. package/dist/models/ReleaseResponse.js +9 -1
  117. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  118. package/dist/models/ShortDeviceResponse.js +1 -1
  119. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  120. package/dist/models/ShortReleaseResponse.js +1 -1
  121. package/dist/models/TokenResponse.d.ts +1 -1
  122. package/dist/models/TokenResponse.js +1 -1
  123. package/dist/models/UptimeHealth.d.ts +57 -0
  124. package/dist/models/UptimeHealth.js +67 -0
  125. package/dist/models/UptimeHealthHost.d.ts +50 -0
  126. package/dist/models/UptimeHealthHost.js +60 -0
  127. package/dist/models/UptimeMonitor.d.ts +74 -0
  128. package/dist/models/UptimeMonitor.js +70 -0
  129. package/dist/models/UptimeMonitorGroup.d.ts +39 -0
  130. package/dist/models/UptimeMonitorGroup.js +55 -0
  131. package/dist/models/UptimeMonitors.d.ts +39 -0
  132. package/dist/models/UptimeMonitors.js +55 -0
  133. package/dist/models/UptimeResponse.d.ts +46 -0
  134. package/dist/models/UptimeResponse.js +56 -0
  135. package/dist/models/index.d.ts +6 -0
  136. package/dist/models/index.js +6 -0
  137. package/dist/runtime.d.ts +1 -1
  138. package/dist/runtime.js +1 -1
  139. package/docs/ListResponseReleaseResponseDataInner.md +4 -0
  140. package/docs/ReleaseResponse.md +4 -0
  141. package/docs/UptimeApi.md +69 -0
  142. package/docs/UptimeHealth.md +43 -0
  143. package/docs/UptimeHealthHost.md +41 -0
  144. package/docs/UptimeMonitor.md +49 -0
  145. package/docs/UptimeMonitorGroup.md +37 -0
  146. package/docs/UptimeMonitors.md +37 -0
  147. package/docs/UptimeResponse.md +39 -0
  148. package/package.json +1 -1
  149. package/src/apis/DeviceApi.ts +1 -1
  150. package/src/apis/PasteApi.ts +1 -1
  151. package/src/apis/ReleaseApi.ts +1 -1
  152. package/src/apis/ReportApi.ts +1 -1
  153. package/src/apis/StatsApi.ts +1 -1
  154. package/src/apis/UptimeApi.ts +103 -0
  155. package/src/apis/index.ts +1 -0
  156. package/src/models/DeviceResponse.ts +1 -1
  157. package/src/models/ErrorResponse.ts +1 -1
  158. package/src/models/GlobalStatsResponse.ts +1 -1
  159. package/src/models/ListResponseReleaseResponse.ts +1 -1
  160. package/src/models/ListResponseReleaseResponseDataInner.ts +19 -1
  161. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  162. package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
  163. package/src/models/ListResponseString.ts +1 -1
  164. package/src/models/MaintainerShortResponse.ts +1 -1
  165. package/src/models/NewReportRequest.ts +1 -1
  166. package/src/models/PasteInput.ts +1 -1
  167. package/src/models/PasteResponse.ts +1 -1
  168. package/src/models/RecoveryImgResponse.ts +1 -1
  169. package/src/models/ReleaseGroupsResponse.ts +1 -1
  170. package/src/models/ReleaseListResponse.ts +1 -1
  171. package/src/models/ReleaseResponse.ts +19 -1
  172. package/src/models/ShortDeviceResponse.ts +1 -1
  173. package/src/models/ShortReleaseResponse.ts +1 -1
  174. package/src/models/TokenResponse.ts +1 -1
  175. package/src/models/UptimeHealth.ts +110 -0
  176. package/src/models/UptimeHealthHost.ts +92 -0
  177. package/src/models/UptimeMonitor.ts +125 -0
  178. package/src/models/UptimeMonitorGroup.ts +83 -0
  179. package/src/models/UptimeMonitors.ts +83 -0
  180. package/src/models/UptimeResponse.ts +97 -0
  181. package/src/models/index.ts +6 -0
  182. package/src/runtime.ts +1 -1
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,8 +53,12 @@ function instanceOfListResponseReleaseResponseDataInner(value) {
53
53
  return false;
54
54
  if (!('recoveryImg' in value) || value['recoveryImg'] === undefined)
55
55
  return false;
56
+ if (!('totalDownloads' in value) || value['totalDownloads'] === undefined)
57
+ return false;
56
58
  if (!('url' in value) || value['url'] === undefined)
57
59
  return false;
60
+ if (!('weeklyDownloads' in value) || value['weeklyDownloads'] === undefined)
61
+ return false;
58
62
  return true;
59
63
  }
60
64
  function ListResponseReleaseResponseDataInnerFromJSON(json) {
@@ -85,7 +89,9 @@ function ListResponseReleaseResponseDataInnerFromJSONTyped(json, ignoreDiscrimin
85
89
  'mirrors': json['mirrors'],
86
90
  'notes': json['notes'] == null ? undefined : json['notes'],
87
91
  'recoveryImg': (0, RecoveryImgResponse_1.RecoveryImgResponseFromJSON)(json['recovery_img']),
92
+ 'totalDownloads': json['total_downloads'],
88
93
  'url': json['url'],
94
+ 'weeklyDownloads': json['weekly_downloads'],
89
95
  };
90
96
  }
91
97
  function ListResponseReleaseResponseDataInnerToJSON(json) {
@@ -116,6 +122,8 @@ function ListResponseReleaseResponseDataInnerToJSONTyped(value, ignoreDiscrimina
116
122
  'mirrors': value['mirrors'],
117
123
  'notes': value['notes'],
118
124
  'recovery_img': (0, RecoveryImgResponse_1.RecoveryImgResponseToJSON)(value['recoveryImg']),
125
+ 'total_downloads': value['totalDownloads'],
119
126
  'url': value['url'],
127
+ 'weekly_downloads': value['weeklyDownloads'],
120
128
  };
121
129
  }
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -138,12 +138,24 @@ export interface ReleaseResponse {
138
138
  * @memberof ReleaseResponse
139
139
  */
140
140
  recoveryImg: RecoveryImgResponse;
141
+ /**
142
+ * Total number of downloads recorded for this release.
143
+ * @type {number}
144
+ * @memberof ReleaseResponse
145
+ */
146
+ totalDownloads: number;
141
147
  /**
142
148
  *
143
149
  * @type {string}
144
150
  * @memberof ReleaseResponse
145
151
  */
146
152
  url: string;
153
+ /**
154
+ * Downloads in the last 7 UTC days (today plus the previous 6).
155
+ * @type {number}
156
+ * @memberof ReleaseResponse
157
+ */
158
+ weeklyDownloads: number;
147
159
  }
148
160
  /**
149
161
  * Check if a given object implements the ReleaseResponse interface.
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,8 +53,12 @@ function instanceOfReleaseResponse(value) {
53
53
  return false;
54
54
  if (!('recoveryImg' in value) || value['recoveryImg'] === undefined)
55
55
  return false;
56
+ if (!('totalDownloads' in value) || value['totalDownloads'] === undefined)
57
+ return false;
56
58
  if (!('url' in value) || value['url'] === undefined)
57
59
  return false;
60
+ if (!('weeklyDownloads' in value) || value['weeklyDownloads'] === undefined)
61
+ return false;
58
62
  return true;
59
63
  }
60
64
  function ReleaseResponseFromJSON(json) {
@@ -85,7 +89,9 @@ function ReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
85
89
  'mirrors': json['mirrors'],
86
90
  'notes': json['notes'] == null ? undefined : json['notes'],
87
91
  'recoveryImg': (0, RecoveryImgResponse_1.RecoveryImgResponseFromJSON)(json['recovery_img']),
92
+ 'totalDownloads': json['total_downloads'],
88
93
  'url': json['url'],
94
+ 'weeklyDownloads': json['weekly_downloads'],
89
95
  };
90
96
  }
91
97
  function ReleaseResponseToJSON(json) {
@@ -116,6 +122,8 @@ function ReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
116
122
  'mirrors': value['mirrors'],
117
123
  'notes': value['notes'],
118
124
  'recovery_img': (0, RecoveryImgResponse_1.RecoveryImgResponseToJSON)(value['recoveryImg']),
125
+ 'total_downloads': value['totalDownloads'],
119
126
  'url': value['url'],
127
+ 'weekly_downloads': value['weeklyDownloads'],
120
128
  };
121
129
  }
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.7
5
+ * The version of the OpenAPI document: 6.0.9
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 6.0.7
8
+ * The version of the OpenAPI document: 6.0.9
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,57 @@
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: 6.0.9
6
+ * Contact: admin@orangefox.tech
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UptimeHealthHost } from './UptimeHealthHost';
13
+ /**
14
+ * FoxHealth summary (without internal endpoint addresses).
15
+ * @export
16
+ * @interface UptimeHealth
17
+ */
18
+ export interface UptimeHealth {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof UptimeHealth
23
+ */
24
+ allUp: boolean;
25
+ /**
26
+ *
27
+ * @type {Array<UptimeHealthHost>}
28
+ * @memberof UptimeHealth
29
+ */
30
+ hosts: Array<UptimeHealthHost>;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof UptimeHealth
35
+ */
36
+ requiredUp: boolean;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof UptimeHealth
41
+ */
42
+ role: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof UptimeHealth
47
+ */
48
+ status: string;
49
+ }
50
+ /**
51
+ * Check if a given object implements the UptimeHealth interface.
52
+ */
53
+ export declare function instanceOfUptimeHealth(value: object): value is UptimeHealth;
54
+ export declare function UptimeHealthFromJSON(json: any): UptimeHealth;
55
+ export declare function UptimeHealthFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeHealth;
56
+ export declare function UptimeHealthToJSON(json: any): UptimeHealth;
57
+ export declare function UptimeHealthToJSONTyped(value?: UptimeHealth | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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: 6.0.9
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.instanceOfUptimeHealth = instanceOfUptimeHealth;
17
+ exports.UptimeHealthFromJSON = UptimeHealthFromJSON;
18
+ exports.UptimeHealthFromJSONTyped = UptimeHealthFromJSONTyped;
19
+ exports.UptimeHealthToJSON = UptimeHealthToJSON;
20
+ exports.UptimeHealthToJSONTyped = UptimeHealthToJSONTyped;
21
+ const UptimeHealthHost_1 = require("./UptimeHealthHost");
22
+ /**
23
+ * Check if a given object implements the UptimeHealth interface.
24
+ */
25
+ function instanceOfUptimeHealth(value) {
26
+ if (!('allUp' in value) || value['allUp'] === undefined)
27
+ return false;
28
+ if (!('hosts' in value) || value['hosts'] === undefined)
29
+ return false;
30
+ if (!('requiredUp' in value) || value['requiredUp'] === undefined)
31
+ return false;
32
+ if (!('role' in value) || value['role'] === undefined)
33
+ return false;
34
+ if (!('status' in value) || value['status'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function UptimeHealthFromJSON(json) {
39
+ return UptimeHealthFromJSONTyped(json, false);
40
+ }
41
+ function UptimeHealthFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'allUp': json['allUp'],
47
+ 'hosts': (json['hosts'].map(UptimeHealthHost_1.UptimeHealthHostFromJSON)),
48
+ 'requiredUp': json['requiredUp'],
49
+ 'role': json['role'],
50
+ 'status': json['status'],
51
+ };
52
+ }
53
+ function UptimeHealthToJSON(json) {
54
+ return UptimeHealthToJSONTyped(json, false);
55
+ }
56
+ function UptimeHealthToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'allUp': value['allUp'],
62
+ 'hosts': (value['hosts'].map(UptimeHealthHost_1.UptimeHealthHostToJSON)),
63
+ 'requiredUp': value['requiredUp'],
64
+ 'role': value['role'],
65
+ 'status': value['status'],
66
+ };
67
+ }
@@ -0,0 +1,50 @@
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: 6.0.9
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
+ * A single FoxHealth host (the internal endpoint is intentionally omitted).
14
+ * @export
15
+ * @interface UptimeHealthHost
16
+ */
17
+ export interface UptimeHealthHost {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UptimeHealthHost
22
+ */
23
+ errorText?: string | null;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof UptimeHealthHost
28
+ */
29
+ isOk: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof UptimeHealthHost
34
+ */
35
+ isOptional: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UptimeHealthHost
40
+ */
41
+ nickname: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UptimeHealthHost interface.
45
+ */
46
+ export declare function instanceOfUptimeHealthHost(value: object): value is UptimeHealthHost;
47
+ export declare function UptimeHealthHostFromJSON(json: any): UptimeHealthHost;
48
+ export declare function UptimeHealthHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeHealthHost;
49
+ export declare function UptimeHealthHostToJSON(json: any): UptimeHealthHost;
50
+ export declare function UptimeHealthHostToJSONTyped(value?: UptimeHealthHost | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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: 6.0.9
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.instanceOfUptimeHealthHost = instanceOfUptimeHealthHost;
17
+ exports.UptimeHealthHostFromJSON = UptimeHealthHostFromJSON;
18
+ exports.UptimeHealthHostFromJSONTyped = UptimeHealthHostFromJSONTyped;
19
+ exports.UptimeHealthHostToJSON = UptimeHealthHostToJSON;
20
+ exports.UptimeHealthHostToJSONTyped = UptimeHealthHostToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UptimeHealthHost interface.
23
+ */
24
+ function instanceOfUptimeHealthHost(value) {
25
+ if (!('isOk' in value) || value['isOk'] === undefined)
26
+ return false;
27
+ if (!('isOptional' in value) || value['isOptional'] === undefined)
28
+ return false;
29
+ if (!('nickname' in value) || value['nickname'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function UptimeHealthHostFromJSON(json) {
34
+ return UptimeHealthHostFromJSONTyped(json, false);
35
+ }
36
+ function UptimeHealthHostFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'errorText': json['errorText'] == null ? undefined : json['errorText'],
42
+ 'isOk': json['isOk'],
43
+ 'isOptional': json['isOptional'],
44
+ 'nickname': json['nickname'],
45
+ };
46
+ }
47
+ function UptimeHealthHostToJSON(json) {
48
+ return UptimeHealthHostToJSONTyped(json, false);
49
+ }
50
+ function UptimeHealthHostToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'errorText': value['errorText'],
56
+ 'isOk': value['isOk'],
57
+ 'isOptional': value['isOptional'],
58
+ 'nickname': value['nickname'],
59
+ };
60
+ }