@orangefox-recovery/foxclient 6.1.0 → 6.1.1

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 (218) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +5 -4
  3. package/dist/apis/DeviceApi.d.ts +1 -1
  4. package/dist/apis/DeviceApi.js +35 -2
  5. package/dist/apis/PasteApi.d.ts +1 -1
  6. package/dist/apis/PasteApi.js +35 -2
  7. package/dist/apis/ReleaseApi.d.ts +9 -9
  8. package/dist/apis/ReleaseApi.js +37 -4
  9. package/dist/apis/ReportApi.d.ts +1 -1
  10. package/dist/apis/ReportApi.js +35 -2
  11. package/dist/apis/StatsApi.d.ts +1 -1
  12. package/dist/apis/StatsApi.js +35 -2
  13. package/dist/apis/UptimeApi.d.ts +1 -1
  14. package/dist/apis/UptimeApi.js +35 -2
  15. package/dist/apis/WikiApi.d.ts +1 -1
  16. package/dist/apis/WikiApi.js +35 -2
  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 +9 -9
  22. package/dist/esm/apis/ReleaseApi.js +3 -3
  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 +1 -1
  28. package/dist/esm/apis/UptimeApi.js +1 -1
  29. package/dist/esm/apis/WikiApi.d.ts +1 -1
  30. package/dist/esm/apis/WikiApi.js +1 -1
  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 +1 -1
  40. package/dist/esm/models/ListResponseReleaseResponseDataInner.js +1 -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/ListResponseWikiPageShortResponse.d.ts +1 -1
  48. package/dist/esm/models/ListResponseWikiPageShortResponse.js +1 -1
  49. package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
  50. package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
  51. package/dist/esm/models/ListResponseWikiSiteResponse.d.ts +1 -1
  52. package/dist/esm/models/ListResponseWikiSiteResponse.js +1 -1
  53. package/dist/esm/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
  54. package/dist/esm/models/ListResponseWikiSiteResponseDataInner.js +1 -1
  55. package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
  56. package/dist/esm/models/MaintainerShortResponse.js +1 -1
  57. package/dist/esm/models/NewReportRequest.d.ts +1 -1
  58. package/dist/esm/models/NewReportRequest.js +1 -1
  59. package/dist/esm/models/PasteInput.d.ts +1 -1
  60. package/dist/esm/models/PasteInput.js +1 -1
  61. package/dist/esm/models/PasteResponse.d.ts +1 -1
  62. package/dist/esm/models/PasteResponse.js +1 -1
  63. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  64. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  65. package/dist/esm/models/ReleaseGroupsResponse.d.ts +15 -1
  66. package/dist/esm/models/ReleaseGroupsResponse.js +5 -1
  67. package/dist/esm/models/ReleaseListResponse.d.ts +1 -1
  68. package/dist/esm/models/ReleaseListResponse.js +1 -1
  69. package/dist/esm/models/ReleaseResponse.d.ts +1 -1
  70. package/dist/esm/models/ReleaseResponse.js +1 -1
  71. package/dist/esm/models/ReleaseSort.d.ts +31 -0
  72. package/dist/esm/models/ReleaseSort.js +49 -0
  73. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  74. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  75. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  76. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  77. package/dist/esm/models/TokenResponse.d.ts +1 -1
  78. package/dist/esm/models/TokenResponse.js +1 -1
  79. package/dist/esm/models/UptimeHealth.d.ts +1 -1
  80. package/dist/esm/models/UptimeHealth.js +1 -1
  81. package/dist/esm/models/UptimeHealthHost.d.ts +1 -1
  82. package/dist/esm/models/UptimeHealthHost.js +1 -1
  83. package/dist/esm/models/UptimeMonitor.d.ts +1 -1
  84. package/dist/esm/models/UptimeMonitor.js +1 -1
  85. package/dist/esm/models/UptimeMonitorGroup.d.ts +1 -1
  86. package/dist/esm/models/UptimeMonitorGroup.js +1 -1
  87. package/dist/esm/models/UptimeMonitors.d.ts +1 -1
  88. package/dist/esm/models/UptimeMonitors.js +1 -1
  89. package/dist/esm/models/UptimeResponse.d.ts +1 -1
  90. package/dist/esm/models/UptimeResponse.js +1 -1
  91. package/dist/esm/models/WikiPageResponse.d.ts +1 -1
  92. package/dist/esm/models/WikiPageResponse.js +1 -1
  93. package/dist/esm/models/WikiPageShortResponse.d.ts +1 -1
  94. package/dist/esm/models/WikiPageShortResponse.js +1 -1
  95. package/dist/esm/models/WikiSiteResponse.d.ts +1 -1
  96. package/dist/esm/models/WikiSiteResponse.js +1 -1
  97. package/dist/esm/models/index.d.ts +1 -0
  98. package/dist/esm/models/index.js +1 -0
  99. package/dist/esm/runtime.d.ts +1 -1
  100. package/dist/esm/runtime.js +1 -1
  101. package/dist/models/DeviceResponse.d.ts +1 -1
  102. package/dist/models/DeviceResponse.js +1 -1
  103. package/dist/models/ErrorResponse.d.ts +1 -1
  104. package/dist/models/ErrorResponse.js +1 -1
  105. package/dist/models/GlobalStatsResponse.d.ts +1 -1
  106. package/dist/models/GlobalStatsResponse.js +1 -1
  107. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  108. package/dist/models/ListResponseReleaseResponse.js +1 -1
  109. package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
  110. package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
  111. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  112. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  113. package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  114. package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  115. package/dist/models/ListResponseString.d.ts +1 -1
  116. package/dist/models/ListResponseString.js +1 -1
  117. package/dist/models/ListResponseWikiPageShortResponse.d.ts +1 -1
  118. package/dist/models/ListResponseWikiPageShortResponse.js +1 -1
  119. package/dist/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
  120. package/dist/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
  121. package/dist/models/ListResponseWikiSiteResponse.d.ts +1 -1
  122. package/dist/models/ListResponseWikiSiteResponse.js +1 -1
  123. package/dist/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
  124. package/dist/models/ListResponseWikiSiteResponseDataInner.js +1 -1
  125. package/dist/models/MaintainerShortResponse.d.ts +1 -1
  126. package/dist/models/MaintainerShortResponse.js +1 -1
  127. package/dist/models/NewReportRequest.d.ts +1 -1
  128. package/dist/models/NewReportRequest.js +1 -1
  129. package/dist/models/PasteInput.d.ts +1 -1
  130. package/dist/models/PasteInput.js +1 -1
  131. package/dist/models/PasteResponse.d.ts +1 -1
  132. package/dist/models/PasteResponse.js +1 -1
  133. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  134. package/dist/models/RecoveryImgResponse.js +1 -1
  135. package/dist/models/ReleaseGroupsResponse.d.ts +15 -1
  136. package/dist/models/ReleaseGroupsResponse.js +5 -1
  137. package/dist/models/ReleaseListResponse.d.ts +1 -1
  138. package/dist/models/ReleaseListResponse.js +1 -1
  139. package/dist/models/ReleaseResponse.d.ts +1 -1
  140. package/dist/models/ReleaseResponse.js +1 -1
  141. package/dist/models/ReleaseSort.d.ts +31 -0
  142. package/dist/models/ReleaseSort.js +57 -0
  143. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  144. package/dist/models/ShortDeviceResponse.js +1 -1
  145. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  146. package/dist/models/ShortReleaseResponse.js +1 -1
  147. package/dist/models/TokenResponse.d.ts +1 -1
  148. package/dist/models/TokenResponse.js +1 -1
  149. package/dist/models/UptimeHealth.d.ts +1 -1
  150. package/dist/models/UptimeHealth.js +1 -1
  151. package/dist/models/UptimeHealthHost.d.ts +1 -1
  152. package/dist/models/UptimeHealthHost.js +1 -1
  153. package/dist/models/UptimeMonitor.d.ts +1 -1
  154. package/dist/models/UptimeMonitor.js +1 -1
  155. package/dist/models/UptimeMonitorGroup.d.ts +1 -1
  156. package/dist/models/UptimeMonitorGroup.js +1 -1
  157. package/dist/models/UptimeMonitors.d.ts +1 -1
  158. package/dist/models/UptimeMonitors.js +1 -1
  159. package/dist/models/UptimeResponse.d.ts +1 -1
  160. package/dist/models/UptimeResponse.js +1 -1
  161. package/dist/models/WikiPageResponse.d.ts +1 -1
  162. package/dist/models/WikiPageResponse.js +1 -1
  163. package/dist/models/WikiPageShortResponse.d.ts +1 -1
  164. package/dist/models/WikiPageShortResponse.js +1 -1
  165. package/dist/models/WikiSiteResponse.d.ts +1 -1
  166. package/dist/models/WikiSiteResponse.js +1 -1
  167. package/dist/models/index.d.ts +1 -0
  168. package/dist/models/index.js +1 -0
  169. package/dist/runtime.d.ts +1 -1
  170. package/dist/runtime.js +1 -1
  171. package/docs/ReleaseApi.md +5 -5
  172. package/docs/ReleaseGroupsResponse.md +3 -0
  173. package/docs/ReleaseSort.md +33 -0
  174. package/package.json +2 -2
  175. package/src/apis/DeviceApi.ts +1 -1
  176. package/src/apis/PasteApi.ts +1 -1
  177. package/src/apis/ReleaseApi.ts +11 -8
  178. package/src/apis/ReportApi.ts +1 -1
  179. package/src/apis/StatsApi.ts +1 -1
  180. package/src/apis/UptimeApi.ts +1 -1
  181. package/src/apis/WikiApi.ts +1 -1
  182. package/src/models/DeviceResponse.ts +1 -1
  183. package/src/models/ErrorResponse.ts +1 -1
  184. package/src/models/GlobalStatsResponse.ts +1 -1
  185. package/src/models/ListResponseReleaseResponse.ts +1 -1
  186. package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
  187. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  188. package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
  189. package/src/models/ListResponseString.ts +1 -1
  190. package/src/models/ListResponseWikiPageShortResponse.ts +1 -1
  191. package/src/models/ListResponseWikiPageShortResponseDataInner.ts +1 -1
  192. package/src/models/ListResponseWikiSiteResponse.ts +1 -1
  193. package/src/models/ListResponseWikiSiteResponseDataInner.ts +1 -1
  194. package/src/models/MaintainerShortResponse.ts +1 -1
  195. package/src/models/NewReportRequest.ts +1 -1
  196. package/src/models/PasteInput.ts +1 -1
  197. package/src/models/PasteResponse.ts +1 -1
  198. package/src/models/RecoveryImgResponse.ts +1 -1
  199. package/src/models/ReleaseGroupsResponse.ts +18 -1
  200. package/src/models/ReleaseListResponse.ts +1 -1
  201. package/src/models/ReleaseResponse.ts +1 -1
  202. package/src/models/ReleaseSort.ts +59 -0
  203. package/src/models/ShortDeviceResponse.ts +1 -1
  204. package/src/models/ShortReleaseResponse.ts +1 -1
  205. package/src/models/TokenResponse.ts +1 -1
  206. package/src/models/UptimeHealth.ts +1 -1
  207. package/src/models/UptimeHealthHost.ts +1 -1
  208. package/src/models/UptimeMonitor.ts +1 -1
  209. package/src/models/UptimeMonitorGroup.ts +1 -1
  210. package/src/models/UptimeMonitors.ts +1 -1
  211. package/src/models/UptimeResponse.ts +1 -1
  212. package/src/models/WikiPageResponse.ts +1 -1
  213. package/src/models/WikiPageShortResponse.ts +1 -1
  214. package/src/models/WikiSiteResponse.ts +1 -1
  215. package/src/models/index.ts +1 -0
  216. package/src/runtime.ts +1 -1
  217. package/tsconfig.esm.json +2 -1
  218. package/tsconfig.json +4 -3
@@ -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.1.0
5
+ * The version of the OpenAPI document: 6.1.1
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.1.0
8
+ * The version of the OpenAPI document: 6.1.1
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.1.0
5
+ * The version of the OpenAPI document: 6.1.1
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.1.0
8
+ * The version of the OpenAPI document: 6.1.1
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,6 +18,7 @@ export * from './RecoveryImgResponse';
18
18
  export * from './ReleaseGroupsResponse';
19
19
  export * from './ReleaseListResponse';
20
20
  export * from './ReleaseResponse';
21
+ export * from './ReleaseSort';
21
22
  export * from './ShortDeviceResponse';
22
23
  export * from './ShortReleaseResponse';
23
24
  export * from './TokenResponse';
@@ -36,6 +36,7 @@ __exportStar(require("./RecoveryImgResponse"), exports);
36
36
  __exportStar(require("./ReleaseGroupsResponse"), exports);
37
37
  __exportStar(require("./ReleaseListResponse"), exports);
38
38
  __exportStar(require("./ReleaseResponse"), exports);
39
+ __exportStar(require("./ReleaseSort"), exports);
39
40
  __exportStar(require("./ShortDeviceResponse"), exports);
40
41
  __exportStar(require("./ShortReleaseResponse"), exports);
41
42
  __exportStar(require("./TokenResponse"), exports);
package/dist/runtime.d.ts CHANGED
@@ -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.1.0
5
+ * The version of the OpenAPI document: 6.1.1
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.js CHANGED
@@ -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.1.0
8
+ * The version of the OpenAPI document: 6.1.1
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8,7 +8,7 @@ All URIs are relative to *https://api.orangefox.download*
8
8
  | [**getRelease**](ReleaseApi.md#getrelease) | **GET** /releases/get | GET /releases/get - Get a single release. |
9
9
  | [**getReleaseById**](ReleaseApi.md#getreleasebyid) | **GET** /releases/{release_id} | GET /releases/{release_id} - Get release by ID (deprecated). |
10
10
  | [**getUpdatesAfter**](ReleaseApi.md#getupdatesafter) | **GET** /updates/{last_known_id} | GET /updates/{last_known_id} - Get releases after a given release ID (deprecated). |
11
- | [**listReleases**](ReleaseApi.md#listreleases) | **GET** /releases | Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters. |
11
+ | [**listReleases**](ReleaseApi.md#listreleases) | **GET** /releases | GET /releases/ - List releases with filters. |
12
12
 
13
13
 
14
14
 
@@ -302,7 +302,7 @@ No authorization required
302
302
 
303
303
  > ReleaseListResponse listReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit)
304
304
 
305
- Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters.
305
+ GET /releases/ - List releases with filters.
306
306
 
307
307
  ### Example
308
308
 
@@ -342,8 +342,8 @@ async function example() {
342
342
  afterReleaseId: afterReleaseId_example,
343
343
  // number (optional)
344
344
  afterDate: 789,
345
- // string (optional)
346
- sort: sort_example,
345
+ // ReleaseSort (optional)
346
+ sort: ...,
347
347
  // boolean (optional)
348
348
  group: true,
349
349
  // number (optional)
@@ -381,7 +381,7 @@ example().catch(console.error);
381
381
  | **freezed** | `boolean` | | [Optional] [Defaults to `undefined`] |
382
382
  | **afterReleaseId** | `string` | | [Optional] [Defaults to `undefined`] |
383
383
  | **afterDate** | `number` | | [Optional] [Defaults to `undefined`] |
384
- | **sort** | `string` | | [Optional] [Defaults to `undefined`] |
384
+ | **sort** | `ReleaseSort` | | [Optional] [Defaults to `undefined`] [Enum: date_asc, date_desc] |
385
385
  | **group** | `boolean` | | [Optional] [Defaults to `undefined`] |
386
386
  | **skip** | `number` | | [Optional] [Defaults to `undefined`] |
387
387
  | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
@@ -1,12 +1,14 @@
1
1
 
2
2
  # ReleaseGroupsResponse
3
3
 
4
+ `GET /releases?group=true` — releases bucketed by version. `data` is an [`IndexMap`], not a `HashMap`: serde emits a map in iteration order, and `HashMap`\'s is randomised per process, so the version groups came back in a different order on every request and the `sort` parameter had no effect on them whatsoever. Insertion order follows the cursor, so the groups now appear in the order the query asked for.
4
5
 
5
6
  ## Properties
6
7
 
7
8
  Name | Type
8
9
  ------------ | -------------
9
10
  `data` | { [key: string]: Array<ReleaseResponse>; }
11
+ `hasMore` | boolean
10
12
 
11
13
  ## Example
12
14
 
@@ -16,6 +18,7 @@ import type { ReleaseGroupsResponse } from '@orangefox-recovery/foxclient'
16
18
  // TODO: Update the object below with actual values
17
19
  const example = {
18
20
  "data": null,
21
+ "hasMore": null,
19
22
  } satisfies ReleaseGroupsResponse
20
23
 
21
24
  console.log(example)
@@ -0,0 +1,33 @@
1
+
2
+ # ReleaseSort
3
+
4
+ Sort modes accepted by `GET /releases?sort=`. A typed enum rather than a free string: an unrecognised value used to fall through to the default arm, so `?sort=date_ascending` quietly returned the *opposite* order rather than reporting the typo. It also restores the enum the previous Python implementation published, which generated clients had been offering as a checked type.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { ReleaseSort } from '@orangefox-recovery/foxclient'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ } satisfies ReleaseSort
19
+
20
+ console.log(example)
21
+
22
+ // Convert the instance to a JSON string
23
+ const exampleJSON: string = JSON.stringify(example)
24
+ console.log(exampleJSON)
25
+
26
+ // Parse the JSON string back to an object
27
+ const exampleParsed = JSON.parse(exampleJSON) as ReleaseSort
28
+ console.log(exampleParsed)
29
+ ```
30
+
31
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
32
+
33
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangefox-recovery/foxclient",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "OpenAPI client for @orangefox-recovery/foxclient",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "prepare": "npm run build"
16
16
  },
17
17
  "devDependencies": {
18
- "typescript": "^4.0 || ^5.0"
18
+ "typescript": "^7.0.2"
19
19
  },
20
20
  "exports": {
21
21
  ".": {
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,6 +19,7 @@ import type {
19
19
  ListResponseReleaseResponse,
20
20
  ReleaseListResponse,
21
21
  ReleaseResponse,
22
+ ReleaseSort,
22
23
  } from '../models/index';
23
24
  import {
24
25
  ErrorResponseFromJSON,
@@ -29,6 +30,8 @@ import {
29
30
  ReleaseListResponseToJSON,
30
31
  ReleaseResponseFromJSON,
31
32
  ReleaseResponseToJSON,
33
+ ReleaseSortFromJSON,
34
+ ReleaseSortToJSON,
32
35
  } from '../models/index';
33
36
 
34
37
  export interface DownloadReleaseRequest {
@@ -63,7 +66,7 @@ export interface ListReleasesRequest {
63
66
  freezed?: boolean | null;
64
67
  afterReleaseId?: string | null;
65
68
  afterDate?: number | null;
66
- sort?: string | null;
69
+ sort?: ReleaseSort | null;
67
70
  group?: boolean | null;
68
71
  skip?: number | null;
69
72
  limit?: number | null;
@@ -190,7 +193,7 @@ export interface ReleaseApiInterface {
190
193
  * @param {boolean} [freezed]
191
194
  * @param {string} [afterReleaseId]
192
195
  * @param {number} [afterDate]
193
- * @param {string} [sort]
196
+ * @param {ReleaseSort} [sort]
194
197
  * @param {boolean} [group]
195
198
  * @param {number} [skip]
196
199
  * @param {number} [limit]
@@ -201,7 +204,7 @@ export interface ReleaseApiInterface {
201
204
 
202
205
  /**
203
206
  *
204
- * @summary Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters.
207
+ * @summary GET /releases/ - List releases with filters.
205
208
  * @param {string} [id]
206
209
  * @param {string} [id2]
207
210
  * @param {string} [buildId]
@@ -214,7 +217,7 @@ export interface ReleaseApiInterface {
214
217
  * @param {boolean} [freezed]
215
218
  * @param {string} [afterReleaseId]
216
219
  * @param {number} [afterDate]
217
- * @param {string} [sort]
220
+ * @param {ReleaseSort} [sort]
218
221
  * @param {boolean} [group]
219
222
  * @param {number} [skip]
220
223
  * @param {number} [limit]
@@ -225,7 +228,7 @@ export interface ReleaseApiInterface {
225
228
  listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>>;
226
229
 
227
230
  /**
228
- * Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters.
231
+ * GET /releases/ - List releases with filters.
229
232
  */
230
233
  listReleases(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse>;
231
234
 
@@ -511,7 +514,7 @@ export class ReleaseApi extends runtime.BaseAPI implements ReleaseApiInterface {
511
514
  }
512
515
 
513
516
  /**
514
- * Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters.
517
+ * GET /releases/ - List releases with filters.
515
518
  */
516
519
  async listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>> {
517
520
  const requestOptions = await this.listReleasesRequestOpts(requestParameters);
@@ -521,7 +524,7 @@ export class ReleaseApi extends runtime.BaseAPI implements ReleaseApiInterface {
521
524
  }
522
525
 
523
526
  /**
524
- * Check if a release version qualifies as \"featured\" (R12+). Build a full ReleaseResponse from a Release. GET /releases/ - List releases with filters.
527
+ * GET /releases/ - List releases with filters.
525
528
  */
526
529
  async listReleases(requestParameters: ListReleasesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse> {
527
530
  const response = await this.listReleasesRaw(requestParameters, initOverrides);
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,13 @@ import {
22
22
  } from './ReleaseResponse';
23
23
 
24
24
  /**
25
+ * `GET /releases?group=true` — releases bucketed by version.
25
26
  *
27
+ * `data` is an [`IndexMap`], not a `HashMap`: serde emits a map in iteration
28
+ * order, and `HashMap`'s is randomised per process, so the version groups came
29
+ * back in a different order on every request and the `sort` parameter had no
30
+ * effect on them whatsoever. Insertion order follows the cursor, so the groups
31
+ * now appear in the order the query asked for.
26
32
  * @export
27
33
  * @interface ReleaseGroupsResponse
28
34
  */
@@ -33,6 +39,14 @@ export interface ReleaseGroupsResponse {
33
39
  * @memberof ReleaseGroupsResponse
34
40
  */
35
41
  data: { [key: string]: Array<ReleaseResponse>; };
42
+ /**
43
+ * Whether further releases exist beyond the page these groups were built
44
+ * from. Grouping runs over one page, so without this a caller cannot tell
45
+ * a complete version group from a truncated one.
46
+ * @type {boolean}
47
+ * @memberof ReleaseGroupsResponse
48
+ */
49
+ hasMore: boolean;
36
50
  }
37
51
 
38
52
  /**
@@ -40,6 +54,7 @@ export interface ReleaseGroupsResponse {
40
54
  */
41
55
  export function instanceOfReleaseGroupsResponse(value: object): value is ReleaseGroupsResponse {
42
56
  if (!('data' in value) || value['data'] === undefined) return false;
57
+ if (!('hasMore' in value) || value['hasMore'] === undefined) return false;
43
58
  return true;
44
59
  }
45
60
 
@@ -54,6 +69,7 @@ export function ReleaseGroupsResponseFromJSONTyped(json: any, ignoreDiscriminato
54
69
  return {
55
70
 
56
71
  'data': json['data'],
72
+ 'hasMore': json['has_more'],
57
73
  };
58
74
  }
59
75
 
@@ -69,6 +85,7 @@ export function ReleaseGroupsResponseToJSONTyped(value?: ReleaseGroupsResponse |
69
85
  return {
70
86
 
71
87
  'data': value['data'],
88
+ 'has_more': value['hasMore'],
72
89
  };
73
90
  }
74
91
 
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.1.0
7
+ * The version of the OpenAPI document: 6.1.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).