@orangefox-recovery/foxclient 6.0.5 → 6.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +4 -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 +6 -6
  8. package/dist/apis/ReleaseApi.js +2 -2
  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/esm/apis/DeviceApi.d.ts +1 -1
  14. package/dist/esm/apis/DeviceApi.js +1 -1
  15. package/dist/esm/apis/PasteApi.d.ts +1 -1
  16. package/dist/esm/apis/PasteApi.js +1 -1
  17. package/dist/esm/apis/ReleaseApi.d.ts +6 -6
  18. package/dist/esm/apis/ReleaseApi.js +3 -3
  19. package/dist/esm/apis/ReportApi.d.ts +1 -1
  20. package/dist/esm/apis/ReportApi.js +1 -1
  21. package/dist/esm/apis/StatsApi.d.ts +1 -1
  22. package/dist/esm/apis/StatsApi.js +1 -1
  23. package/dist/esm/models/DeviceResponse.d.ts +1 -1
  24. package/dist/esm/models/DeviceResponse.js +1 -1
  25. package/dist/esm/models/ErrorResponse.d.ts +1 -1
  26. package/dist/esm/models/ErrorResponse.js +1 -1
  27. package/dist/esm/models/GlobalStatsResponse.d.ts +1 -1
  28. package/dist/esm/models/GlobalStatsResponse.js +1 -1
  29. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  30. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  31. package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
  32. package/dist/esm/models/ListResponseReleaseResponseDataInner.js +1 -1
  33. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  34. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  35. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  36. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  37. package/dist/esm/models/ListResponseString.d.ts +1 -1
  38. package/dist/esm/models/ListResponseString.js +1 -1
  39. package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
  40. package/dist/esm/models/MaintainerShortResponse.js +1 -1
  41. package/dist/esm/models/NewReportRequest.d.ts +1 -1
  42. package/dist/esm/models/NewReportRequest.js +1 -1
  43. package/dist/esm/models/PasteInput.d.ts +1 -1
  44. package/dist/esm/models/PasteInput.js +1 -1
  45. package/dist/esm/models/PasteResponse.d.ts +1 -1
  46. package/dist/esm/models/PasteResponse.js +1 -1
  47. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  48. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  49. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  50. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  51. package/dist/esm/models/ReleaseListResponse.d.ts +29 -0
  52. package/dist/esm/models/ReleaseListResponse.js +51 -0
  53. package/dist/esm/models/ReleaseResponse.d.ts +1 -1
  54. package/dist/esm/models/ReleaseResponse.js +1 -1
  55. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  56. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  57. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  58. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  59. package/dist/esm/models/TokenResponse.d.ts +1 -1
  60. package/dist/esm/models/TokenResponse.js +1 -1
  61. package/dist/esm/models/index.d.ts +1 -0
  62. package/dist/esm/models/index.js +1 -0
  63. package/dist/esm/runtime.d.ts +1 -1
  64. package/dist/esm/runtime.js +1 -1
  65. package/dist/models/DeviceResponse.d.ts +1 -1
  66. package/dist/models/DeviceResponse.js +1 -1
  67. package/dist/models/ErrorResponse.d.ts +1 -1
  68. package/dist/models/ErrorResponse.js +1 -1
  69. package/dist/models/GlobalStatsResponse.d.ts +1 -1
  70. package/dist/models/GlobalStatsResponse.js +1 -1
  71. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  72. package/dist/models/ListResponseReleaseResponse.js +1 -1
  73. package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
  74. package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
  75. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  76. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  77. package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  78. package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  79. package/dist/models/ListResponseString.d.ts +1 -1
  80. package/dist/models/ListResponseString.js +1 -1
  81. package/dist/models/MaintainerShortResponse.d.ts +1 -1
  82. package/dist/models/MaintainerShortResponse.js +1 -1
  83. package/dist/models/NewReportRequest.d.ts +1 -1
  84. package/dist/models/NewReportRequest.js +1 -1
  85. package/dist/models/PasteInput.d.ts +1 -1
  86. package/dist/models/PasteInput.js +1 -1
  87. package/dist/models/PasteResponse.d.ts +1 -1
  88. package/dist/models/PasteResponse.js +1 -1
  89. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  90. package/dist/models/RecoveryImgResponse.js +1 -1
  91. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  92. package/dist/models/ReleaseGroupsResponse.js +1 -1
  93. package/dist/models/ReleaseListResponse.d.ts +29 -0
  94. package/dist/models/ReleaseListResponse.js +57 -0
  95. package/dist/models/ReleaseResponse.d.ts +1 -1
  96. package/dist/models/ReleaseResponse.js +1 -1
  97. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  98. package/dist/models/ShortDeviceResponse.js +1 -1
  99. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  100. package/dist/models/ShortReleaseResponse.js +1 -1
  101. package/dist/models/TokenResponse.d.ts +1 -1
  102. package/dist/models/TokenResponse.js +1 -1
  103. package/dist/models/index.d.ts +1 -0
  104. package/dist/models/index.js +1 -0
  105. package/dist/runtime.d.ts +1 -1
  106. package/dist/runtime.js +1 -1
  107. package/docs/ReleaseApi.md +2 -2
  108. package/docs/ReleaseListResponse.md +37 -0
  109. package/package.json +1 -1
  110. package/src/apis/DeviceApi.ts +1 -1
  111. package/src/apis/PasteApi.ts +1 -1
  112. package/src/apis/ReleaseApi.ts +9 -6
  113. package/src/apis/ReportApi.ts +1 -1
  114. package/src/apis/StatsApi.ts +1 -1
  115. package/src/models/DeviceResponse.ts +1 -1
  116. package/src/models/ErrorResponse.ts +1 -1
  117. package/src/models/GlobalStatsResponse.ts +1 -1
  118. package/src/models/ListResponseReleaseResponse.ts +1 -1
  119. package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
  120. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  121. package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
  122. package/src/models/ListResponseString.ts +1 -1
  123. package/src/models/MaintainerShortResponse.ts +1 -1
  124. package/src/models/NewReportRequest.ts +1 -1
  125. package/src/models/PasteInput.ts +1 -1
  126. package/src/models/PasteResponse.ts +1 -1
  127. package/src/models/RecoveryImgResponse.ts +1 -1
  128. package/src/models/ReleaseGroupsResponse.ts +1 -1
  129. package/src/models/ReleaseListResponse.ts +82 -0
  130. package/src/models/ReleaseResponse.ts +1 -1
  131. package/src/models/ShortDeviceResponse.ts +1 -1
  132. package/src/models/ShortReleaseResponse.ts +1 -1
  133. package/src/models/TokenResponse.ts +1 -1
  134. package/src/models/index.ts +1 -0
  135. package/src/runtime.ts +1 -1
@@ -0,0 +1,57 @@
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.7
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.ReleaseListResponseFromJSON = ReleaseListResponseFromJSON;
17
+ exports.ReleaseListResponseFromJSONTyped = ReleaseListResponseFromJSONTyped;
18
+ exports.ReleaseListResponseToJSON = ReleaseListResponseToJSON;
19
+ exports.ReleaseListResponseToJSONTyped = ReleaseListResponseToJSONTyped;
20
+ const ListResponseReleaseResponse_1 = require("./ListResponseReleaseResponse");
21
+ const ReleaseGroupsResponse_1 = require("./ReleaseGroupsResponse");
22
+ function ReleaseListResponseFromJSON(json) {
23
+ return ReleaseListResponseFromJSONTyped(json, false);
24
+ }
25
+ function ReleaseListResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ if (typeof json !== 'object') {
30
+ return json;
31
+ }
32
+ if ((0, ListResponseReleaseResponse_1.instanceOfListResponseReleaseResponse)(json)) {
33
+ return (0, ListResponseReleaseResponse_1.ListResponseReleaseResponseFromJSONTyped)(json, true);
34
+ }
35
+ if ((0, ReleaseGroupsResponse_1.instanceOfReleaseGroupsResponse)(json)) {
36
+ return (0, ReleaseGroupsResponse_1.ReleaseGroupsResponseFromJSONTyped)(json, true);
37
+ }
38
+ return {};
39
+ }
40
+ function ReleaseListResponseToJSON(json) {
41
+ return ReleaseListResponseToJSONTyped(json, false);
42
+ }
43
+ function ReleaseListResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ if (typeof value !== 'object') {
48
+ return value;
49
+ }
50
+ if ((0, ListResponseReleaseResponse_1.instanceOfListResponseReleaseResponse)(value)) {
51
+ return (0, ListResponseReleaseResponse_1.ListResponseReleaseResponseToJSON)(value);
52
+ }
53
+ if ((0, ReleaseGroupsResponse_1.instanceOfReleaseGroupsResponse)(value)) {
54
+ return (0, ReleaseGroupsResponse_1.ReleaseGroupsResponseToJSON)(value);
55
+ }
56
+ return {};
57
+ }
@@ -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.5
5
+ * The version of the OpenAPI document: 6.0.7
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.5
8
+ * The version of the OpenAPI document: 6.0.7
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.5
5
+ * The version of the OpenAPI document: 6.0.7
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.5
8
+ * The version of the OpenAPI document: 6.0.7
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.5
5
+ * The version of the OpenAPI document: 6.0.7
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.5
8
+ * The version of the OpenAPI document: 6.0.7
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.5
5
+ * The version of the OpenAPI document: 6.0.7
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.5
8
+ * The version of the OpenAPI document: 6.0.7
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,7 @@ export * from './PasteInput';
12
12
  export * from './PasteResponse';
13
13
  export * from './RecoveryImgResponse';
14
14
  export * from './ReleaseGroupsResponse';
15
+ export * from './ReleaseListResponse';
15
16
  export * from './ReleaseResponse';
16
17
  export * from './ShortDeviceResponse';
17
18
  export * from './ShortReleaseResponse';
@@ -30,6 +30,7 @@ __exportStar(require("./PasteInput"), exports);
30
30
  __exportStar(require("./PasteResponse"), exports);
31
31
  __exportStar(require("./RecoveryImgResponse"), exports);
32
32
  __exportStar(require("./ReleaseGroupsResponse"), exports);
33
+ __exportStar(require("./ReleaseListResponse"), exports);
33
34
  __exportStar(require("./ReleaseResponse"), exports);
34
35
  __exportStar(require("./ShortDeviceResponse"), exports);
35
36
  __exportStar(require("./ShortReleaseResponse"), 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.0.5
5
+ * The version of the OpenAPI document: 6.0.7
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.0.5
8
+ * The version of the OpenAPI document: 6.0.7
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -300,7 +300,7 @@ No authorization required
300
300
 
301
301
  ## listReleases
302
302
 
303
- > ListResponseReleaseResponse listReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit)
303
+ > ReleaseListResponse listReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit)
304
304
 
305
305
  GET /releases/ - List releases with filters.
306
306
 
@@ -388,7 +388,7 @@ example().catch(console.error);
388
388
 
389
389
  ### Return type
390
390
 
391
- [**ListResponseReleaseResponse**](ListResponseReleaseResponse.md)
391
+ [**ReleaseListResponse**](ReleaseListResponse.md)
392
392
 
393
393
  ### Authorization
394
394
 
@@ -0,0 +1,37 @@
1
+
2
+ # ReleaseListResponse
3
+
4
+ Response body for `GET /releases`. The shape of `data` depends on the `group` query parameter: a flat list by default (`ListResponse`), or a version-keyed map when `group=true` (`ReleaseGroupsResponse`). Modeled as an untagged `oneOf` so generated clients deserialize both shapes instead of assuming `data` is always an array (which made them call `.map` on the grouped object and throw).
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `count` | number
11
+ `data` | { [key: string]: Array<ReleaseResponse>; }
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { ReleaseListResponse } from '@orangefox-recovery/foxclient'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "count": null,
21
+ "data": null,
22
+ } satisfies ReleaseListResponse
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as ReleaseListResponse
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
36
+
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangefox-recovery/foxclient",
3
- "version": "6.0.5",
3
+ "version": "6.0.7",
4
4
  "description": "OpenAPI client for @orangefox-recovery/foxclient",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,6 +17,7 @@ import * as runtime from '../runtime';
17
17
  import type {
18
18
  ErrorResponse,
19
19
  ListResponseReleaseResponse,
20
+ ReleaseListResponse,
20
21
  ReleaseResponse,
21
22
  } from '../models/index';
22
23
  import {
@@ -24,6 +25,8 @@ import {
24
25
  ErrorResponseToJSON,
25
26
  ListResponseReleaseResponseFromJSON,
26
27
  ListResponseReleaseResponseToJSON,
28
+ ReleaseListResponseFromJSON,
29
+ ReleaseListResponseToJSON,
27
30
  ReleaseResponseFromJSON,
28
31
  ReleaseResponseToJSON,
29
32
  } from '../models/index';
@@ -219,12 +222,12 @@ export interface ReleaseApiInterface {
219
222
  * @throws {RequiredError}
220
223
  * @memberof ReleaseApiInterface
221
224
  */
222
- listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseReleaseResponse>>;
225
+ listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>>;
223
226
 
224
227
  /**
225
228
  * GET /releases/ - List releases with filters.
226
229
  */
227
- listReleases(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseReleaseResponse>;
230
+ listReleases(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse>;
228
231
 
229
232
  }
230
233
 
@@ -510,17 +513,17 @@ export class ReleaseApi extends runtime.BaseAPI implements ReleaseApiInterface {
510
513
  /**
511
514
  * GET /releases/ - List releases with filters.
512
515
  */
513
- async listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseReleaseResponse>> {
516
+ async listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>> {
514
517
  const requestOptions = await this.listReleasesRequestOpts(requestParameters);
515
518
  const response = await this.request(requestOptions, initOverrides);
516
519
 
517
- return new runtime.JSONApiResponse(response, (jsonValue) => ListResponseReleaseResponseFromJSON(jsonValue));
520
+ return new runtime.JSONApiResponse(response, (jsonValue) => ReleaseListResponseFromJSON(jsonValue));
518
521
  }
519
522
 
520
523
  /**
521
524
  * GET /releases/ - List releases with filters.
522
525
  */
523
- async listReleases(requestParameters: ListReleasesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseReleaseResponse> {
526
+ async listReleases(requestParameters: ListReleasesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse> {
524
527
  const response = await this.listReleasesRaw(requestParameters, initOverrides);
525
528
  return await response.value();
526
529
  }
@@ -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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,82 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fox API
5
+ * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
+ *
7
+ * The version of the OpenAPI document: 6.0.7
8
+ * Contact: admin@orangefox.tech
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import type { ListResponseReleaseResponse } from './ListResponseReleaseResponse';
16
+ import {
17
+ instanceOfListResponseReleaseResponse,
18
+ ListResponseReleaseResponseFromJSON,
19
+ ListResponseReleaseResponseFromJSONTyped,
20
+ ListResponseReleaseResponseToJSON,
21
+ } from './ListResponseReleaseResponse';
22
+ import type { ReleaseGroupsResponse } from './ReleaseGroupsResponse';
23
+ import {
24
+ instanceOfReleaseGroupsResponse,
25
+ ReleaseGroupsResponseFromJSON,
26
+ ReleaseGroupsResponseFromJSONTyped,
27
+ ReleaseGroupsResponseToJSON,
28
+ } from './ReleaseGroupsResponse';
29
+
30
+ /**
31
+ * @type ReleaseListResponse
32
+ * Response body for `GET /releases`.
33
+ *
34
+ * The shape of `data` depends on the `group` query parameter: a flat list by
35
+ * default (`ListResponse`), or a version-keyed map when `group=true`
36
+ * (`ReleaseGroupsResponse`). Modeled as an untagged `oneOf` so generated
37
+ * clients deserialize both shapes instead of assuming `data` is always an
38
+ * array (which made them call `.map` on the grouped object and throw).
39
+ * @export
40
+ */
41
+ export type ReleaseListResponse = ListResponseReleaseResponse | ReleaseGroupsResponse;
42
+
43
+ export function ReleaseListResponseFromJSON(json: any): ReleaseListResponse {
44
+ return ReleaseListResponseFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function ReleaseListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseListResponse {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ if (typeof json !== 'object') {
52
+ return json;
53
+ }
54
+ if (instanceOfListResponseReleaseResponse(json)) {
55
+ return ListResponseReleaseResponseFromJSONTyped(json, true);
56
+ }
57
+ if (instanceOfReleaseGroupsResponse(json)) {
58
+ return ReleaseGroupsResponseFromJSONTyped(json, true);
59
+ }
60
+ return {} as any;
61
+ }
62
+
63
+ export function ReleaseListResponseToJSON(json: any): any {
64
+ return ReleaseListResponseToJSONTyped(json, false);
65
+ }
66
+
67
+ export function ReleaseListResponseToJSONTyped(value?: ReleaseListResponse | null, ignoreDiscriminator: boolean = false): any {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ if (typeof value !== 'object') {
72
+ return value;
73
+ }
74
+ if (instanceOfListResponseReleaseResponse(value)) {
75
+ return ListResponseReleaseResponseToJSON(value as ListResponseReleaseResponse);
76
+ }
77
+ if (instanceOfReleaseGroupsResponse(value)) {
78
+ return ReleaseGroupsResponseToJSON(value as ReleaseGroupsResponse);
79
+ }
80
+ return {};
81
+ }
82
+
@@ -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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
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.0.5
7
+ * The version of the OpenAPI document: 6.0.7
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).