@orangefox-recovery/foxclient 5.3.3 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -5
  4. package/dist/apis/DeviceApi.d.ts +66 -9
  5. package/dist/apis/DeviceApi.js +60 -23
  6. package/dist/apis/PasteApi.d.ts +23 -1
  7. package/dist/apis/PasteApi.js +29 -11
  8. package/dist/apis/ReleaseApi.d.ts +76 -5
  9. package/dist/apis/ReleaseApi.js +60 -22
  10. package/dist/apis/StatsApi.d.ts +11 -1
  11. package/dist/apis/StatsApi.js +15 -6
  12. package/dist/esm/apis/DeviceApi.d.ts +66 -9
  13. package/dist/esm/apis/DeviceApi.js +60 -23
  14. package/dist/esm/apis/PasteApi.d.ts +23 -1
  15. package/dist/esm/apis/PasteApi.js +29 -11
  16. package/dist/esm/apis/ReleaseApi.d.ts +76 -5
  17. package/dist/esm/apis/ReleaseApi.js +60 -22
  18. package/dist/esm/apis/StatsApi.d.ts +11 -1
  19. package/dist/esm/apis/StatsApi.js +15 -6
  20. package/dist/esm/models/DeviceResponse.d.ts +1 -1
  21. package/dist/esm/models/DeviceResponse.js +1 -1
  22. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +1 -1
  23. package/dist/esm/models/GlobalStatsAggregationModel.js +1 -1
  24. package/dist/esm/models/HTTPValidationError.d.ts +1 -1
  25. package/dist/esm/models/HTTPValidationError.js +1 -1
  26. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  27. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  28. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  29. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  30. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +1 -1
  31. package/dist/esm/models/ListResponseShortReleaseResponse.js +1 -1
  32. package/dist/esm/models/ListResponseStr.d.ts +1 -1
  33. package/dist/esm/models/ListResponseStr.js +1 -1
  34. package/dist/esm/models/LocationInner.d.ts +26 -0
  35. package/dist/esm/models/{ValidationErrorLocInner.js → LocationInner.js} +9 -9
  36. package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
  37. package/dist/esm/models/MaintainerShortModel.js +1 -1
  38. package/dist/esm/models/PasteInput.d.ts +1 -1
  39. package/dist/esm/models/PasteInput.js +1 -1
  40. package/dist/esm/models/PasteOutput.d.ts +1 -1
  41. package/dist/esm/models/PasteOutput.js +1 -1
  42. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  43. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  44. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  45. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  46. package/dist/esm/models/ReleaseResponse.d.ts +1 -1
  47. package/dist/esm/models/ReleaseResponse.js +1 -1
  48. package/dist/esm/models/ReleaseType.d.ts +1 -1
  49. package/dist/esm/models/ReleaseType.js +1 -1
  50. package/dist/esm/models/ReleasesSort.d.ts +1 -1
  51. package/dist/esm/models/ReleasesSort.js +1 -1
  52. package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
  53. package/dist/esm/models/ResponseGetReleases.js +1 -1
  54. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  55. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  56. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  57. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  58. package/dist/esm/models/ValidationError.d.ts +16 -4
  59. package/dist/esm/models/ValidationError.js +8 -4
  60. package/dist/esm/models/index.d.ts +1 -1
  61. package/dist/esm/models/index.js +1 -1
  62. package/dist/esm/runtime.d.ts +1 -1
  63. package/dist/esm/runtime.js +16 -1
  64. package/dist/models/DeviceResponse.d.ts +1 -1
  65. package/dist/models/DeviceResponse.js +1 -1
  66. package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
  67. package/dist/models/GlobalStatsAggregationModel.js +1 -1
  68. package/dist/models/HTTPValidationError.d.ts +1 -1
  69. package/dist/models/HTTPValidationError.js +1 -1
  70. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  71. package/dist/models/ListResponseReleaseResponse.js +1 -1
  72. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  73. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  74. package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
  75. package/dist/models/ListResponseShortReleaseResponse.js +1 -1
  76. package/dist/models/ListResponseStr.d.ts +1 -1
  77. package/dist/models/ListResponseStr.js +1 -1
  78. package/dist/models/LocationInner.d.ts +26 -0
  79. package/dist/models/LocationInner.js +38 -0
  80. package/dist/models/MaintainerShortModel.d.ts +1 -1
  81. package/dist/models/MaintainerShortModel.js +1 -1
  82. package/dist/models/PasteInput.d.ts +1 -1
  83. package/dist/models/PasteInput.js +1 -1
  84. package/dist/models/PasteOutput.d.ts +1 -1
  85. package/dist/models/PasteOutput.js +1 -1
  86. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  87. package/dist/models/RecoveryImgResponse.js +1 -1
  88. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  89. package/dist/models/ReleaseGroupsResponse.js +1 -1
  90. package/dist/models/ReleaseResponse.d.ts +1 -1
  91. package/dist/models/ReleaseResponse.js +1 -1
  92. package/dist/models/ReleaseType.d.ts +1 -1
  93. package/dist/models/ReleaseType.js +1 -1
  94. package/dist/models/ReleasesSort.d.ts +1 -1
  95. package/dist/models/ReleasesSort.js +1 -1
  96. package/dist/models/ResponseGetReleases.d.ts +1 -1
  97. package/dist/models/ResponseGetReleases.js +1 -1
  98. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  99. package/dist/models/ShortDeviceResponse.js +1 -1
  100. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  101. package/dist/models/ShortReleaseResponse.js +1 -1
  102. package/dist/models/ValidationError.d.ts +16 -4
  103. package/dist/models/ValidationError.js +8 -4
  104. package/dist/models/index.d.ts +1 -1
  105. package/dist/models/index.js +1 -1
  106. package/dist/runtime.d.ts +1 -1
  107. package/dist/runtime.js +16 -1
  108. package/docs/DeviceApi.md +2 -2
  109. package/docs/{ValidationErrorLocInner.md → LocationInner.md} +4 -4
  110. package/docs/ReleaseApi.md +1 -1
  111. package/docs/ValidationError.md +5 -1
  112. package/package.json +1 -2
  113. package/src/apis/DeviceApi.ts +104 -27
  114. package/src/apis/PasteApi.ts +43 -11
  115. package/src/apis/ReleaseApi.ts +115 -24
  116. package/src/apis/StatsApi.ts +21 -6
  117. package/src/models/DeviceResponse.ts +1 -1
  118. package/src/models/GlobalStatsAggregationModel.ts +1 -1
  119. package/src/models/HTTPValidationError.ts +1 -1
  120. package/src/models/ListResponseReleaseResponse.ts +1 -1
  121. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  122. package/src/models/ListResponseShortReleaseResponse.ts +1 -1
  123. package/src/models/ListResponseStr.ts +1 -1
  124. package/src/models/{ValidationErrorLocInner.ts → LocationInner.ts} +11 -11
  125. package/src/models/MaintainerShortModel.ts +1 -1
  126. package/src/models/PasteInput.ts +1 -1
  127. package/src/models/PasteOutput.ts +1 -1
  128. package/src/models/RecoveryImgResponse.ts +1 -1
  129. package/src/models/ReleaseGroupsResponse.ts +1 -1
  130. package/src/models/ReleaseResponse.ts +1 -1
  131. package/src/models/ReleaseType.ts +1 -1
  132. package/src/models/ReleasesSort.ts +1 -1
  133. package/src/models/ResponseGetReleases.ts +1 -1
  134. package/src/models/ShortDeviceResponse.ts +1 -1
  135. package/src/models/ShortReleaseResponse.ts +1 -1
  136. package/src/models/ValidationError.ts +27 -11
  137. package/src/models/index.ts +1 -1
  138. package/src/runtime.ts +19 -1
  139. package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -26
  140. package/dist/models/ValidationErrorLocInner.d.ts +0 -26
  141. package/dist/models/ValidationErrorLocInner.js +0 -38
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,10 +27,9 @@ import { ListResponseShortReleaseResponseFromJSON, ReleaseResponseFromJSON, Resp
27
27
  */
28
28
  export class ReleaseApi extends runtime.BaseAPI {
29
29
  /**
30
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
31
- * Get Release
30
+ * Creates request options for getRelease without sending the request
32
31
  */
33
- getReleaseRaw(requestParameters, initOverrides) {
32
+ getReleaseRequestOpts(requestParameters) {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  const queryParameters = {};
36
35
  if (requestParameters['releaseId'] != null) {
@@ -47,12 +46,22 @@ export class ReleaseApi extends runtime.BaseAPI {
47
46
  }
48
47
  const headerParameters = {};
49
48
  let urlPath = `/releases/get`;
50
- const response = yield this.request({
49
+ return {
51
50
  path: urlPath,
52
51
  method: 'GET',
53
52
  headers: headerParameters,
54
53
  query: queryParameters,
55
- }, initOverrides);
54
+ };
55
+ });
56
+ }
57
+ /**
58
+ * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
59
+ * Get Release
60
+ */
61
+ getReleaseRaw(requestParameters, initOverrides) {
62
+ return __awaiter(this, void 0, void 0, function* () {
63
+ const requestOptions = yield this.getReleaseRequestOpts(requestParameters);
64
+ const response = yield this.request(requestOptions, initOverrides);
56
65
  return new runtime.JSONApiResponse(response, (jsonValue) => ReleaseResponseFromJSON(jsonValue));
57
66
  });
58
67
  }
@@ -67,11 +76,10 @@ export class ReleaseApi extends runtime.BaseAPI {
67
76
  });
68
77
  }
69
78
  /**
70
- * Gets release information using the release ID, nothing to discuss really.
71
- * Get Release Short
79
+ * Creates request options for getReleaseDeprecated without sending the request
72
80
  * @deprecated
73
81
  */
74
- getReleaseDeprecatedRaw(requestParameters, initOverrides) {
82
+ getReleaseDeprecatedRequestOpts(requestParameters) {
75
83
  return __awaiter(this, void 0, void 0, function* () {
76
84
  if (requestParameters['releaseId'] == null) {
77
85
  throw new runtime.RequiredError('releaseId', 'Required parameter "releaseId" was null or undefined when calling getReleaseDeprecated().');
@@ -80,12 +88,23 @@ export class ReleaseApi extends runtime.BaseAPI {
80
88
  const headerParameters = {};
81
89
  let urlPath = `/releases/{release_id}`;
82
90
  urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
83
- const response = yield this.request({
91
+ return {
84
92
  path: urlPath,
85
93
  method: 'GET',
86
94
  headers: headerParameters,
87
95
  query: queryParameters,
88
- }, initOverrides);
96
+ };
97
+ });
98
+ }
99
+ /**
100
+ * Gets release information using the release ID, nothing to discuss really.
101
+ * Get Release Short
102
+ * @deprecated
103
+ */
104
+ getReleaseDeprecatedRaw(requestParameters, initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ const requestOptions = yield this.getReleaseDeprecatedRequestOpts(requestParameters);
107
+ const response = yield this.request(requestOptions, initOverrides);
89
108
  return new runtime.JSONApiResponse(response, (jsonValue) => ReleaseResponseFromJSON(jsonValue));
90
109
  });
91
110
  }
@@ -101,10 +120,9 @@ export class ReleaseApi extends runtime.BaseAPI {
101
120
  });
102
121
  }
103
122
  /**
104
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
105
- * Get Releases
123
+ * Creates request options for getReleases without sending the request
106
124
  */
107
- getReleasesRaw(requestParameters, initOverrides) {
125
+ getReleasesRequestOpts(requestParameters) {
108
126
  return __awaiter(this, void 0, void 0, function* () {
109
127
  const queryParameters = {};
110
128
  if (requestParameters['id'] != null) {
@@ -157,17 +175,27 @@ export class ReleaseApi extends runtime.BaseAPI {
157
175
  }
158
176
  const headerParameters = {};
159
177
  let urlPath = `/releases/`;
160
- const response = yield this.request({
178
+ return {
161
179
  path: urlPath,
162
180
  method: 'GET',
163
181
  headers: headerParameters,
164
182
  query: queryParameters,
165
- }, initOverrides);
183
+ };
184
+ });
185
+ }
186
+ /**
187
+ * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
188
+ * Get Releases
189
+ */
190
+ getReleasesRaw(requestParameters, initOverrides) {
191
+ return __awaiter(this, void 0, void 0, function* () {
192
+ const requestOptions = yield this.getReleasesRequestOpts(requestParameters);
193
+ const response = yield this.request(requestOptions, initOverrides);
166
194
  return new runtime.JSONApiResponse(response, (jsonValue) => ResponseGetReleasesFromJSON(jsonValue));
167
195
  });
168
196
  }
169
197
  /**
170
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
198
+ * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
171
199
  * Get Releases
172
200
  */
173
201
  getReleases() {
@@ -177,11 +205,10 @@ export class ReleaseApi extends runtime.BaseAPI {
177
205
  });
178
206
  }
179
207
  /**
180
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
181
- * Get Updates
208
+ * Creates request options for getUpdatesDeprecated without sending the request
182
209
  * @deprecated
183
210
  */
184
- getUpdatesDeprecatedRaw(requestParameters, initOverrides) {
211
+ getUpdatesDeprecatedRequestOpts(requestParameters) {
185
212
  return __awaiter(this, void 0, void 0, function* () {
186
213
  if (requestParameters['lastKnownId'] == null) {
187
214
  throw new runtime.RequiredError('lastKnownId', 'Required parameter "lastKnownId" was null or undefined when calling getUpdatesDeprecated().');
@@ -205,12 +232,23 @@ export class ReleaseApi extends runtime.BaseAPI {
205
232
  const headerParameters = {};
206
233
  let urlPath = `/updates/{last_known_id}`;
207
234
  urlPath = urlPath.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId'])));
208
- const response = yield this.request({
235
+ return {
209
236
  path: urlPath,
210
237
  method: 'GET',
211
238
  headers: headerParameters,
212
239
  query: queryParameters,
213
- }, initOverrides);
240
+ };
241
+ });
242
+ }
243
+ /**
244
+ * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
245
+ * Get Updates
246
+ * @deprecated
247
+ */
248
+ getUpdatesDeprecatedRaw(requestParameters, initOverrides) {
249
+ return __awaiter(this, void 0, void 0, function* () {
250
+ const requestOptions = yield this.getUpdatesDeprecatedRequestOpts(requestParameters);
251
+ const response = yield this.request(requestOptions, initOverrides);
214
252
  return new runtime.JSONApiResponse(response, (jsonValue) => ListResponseShortReleaseResponseFromJSON(jsonValue));
215
253
  });
216
254
  }
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,6 +18,12 @@ import type { GlobalStatsAggregationModel } from '../models/index';
18
18
  * @interface StatsApiInterface
19
19
  */
20
20
  export interface StatsApiInterface {
21
+ /**
22
+ * Creates request options for getPublicStats without sending the request
23
+ * @throws {RequiredError}
24
+ * @memberof StatsApiInterface
25
+ */
26
+ getPublicStatsRequestOpts(): Promise<runtime.RequestOpts>;
21
27
  /**
22
28
  * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
23
29
  * @summary Public Stats
@@ -36,6 +42,10 @@ export interface StatsApiInterface {
36
42
  *
37
43
  */
38
44
  export declare class StatsApi extends runtime.BaseAPI implements StatsApiInterface {
45
+ /**
46
+ * Creates request options for getPublicStats without sending the request
47
+ */
48
+ getPublicStatsRequestOpts(): Promise<runtime.RequestOpts>;
39
49
  /**
40
50
  * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
41
51
  * Public Stats
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,20 +27,29 @@ import { GlobalStatsAggregationModelFromJSON, } from '../models/index';
27
27
  */
28
28
  export class StatsApi extends runtime.BaseAPI {
29
29
  /**
30
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
31
- * Public Stats
30
+ * Creates request options for getPublicStats without sending the request
32
31
  */
33
- getPublicStatsRaw(initOverrides) {
32
+ getPublicStatsRequestOpts() {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  const queryParameters = {};
36
35
  const headerParameters = {};
37
36
  let urlPath = `/stats/`;
38
- const response = yield this.request({
37
+ return {
39
38
  path: urlPath,
40
39
  method: 'GET',
41
40
  headers: headerParameters,
42
41
  query: queryParameters,
43
- }, initOverrides);
42
+ };
43
+ });
44
+ }
45
+ /**
46
+ * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
47
+ * Public Stats
48
+ */
49
+ getPublicStatsRaw(initOverrides) {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ const requestOptions = yield this.getPublicStatsRequestOpts();
52
+ const response = yield this.request(requestOptions, initOverrides);
44
53
  return new runtime.JSONApiResponse(response, (jsonValue) => GlobalStatsAggregationModelFromJSON(jsonValue));
45
54
  });
46
55
  }
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Fox API
3
+ * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
+ *
5
+ * The version of the OpenAPI document: 5.4.0
6
+ * Contact: admin@orangefox.tech
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LocationInner
16
+ */
17
+ export interface LocationInner {
18
+ }
19
+ /**
20
+ * Check if a given object implements the LocationInner interface.
21
+ */
22
+ export declare function instanceOfLocationInner(value: object): value is LocationInner;
23
+ export declare function LocationInnerFromJSON(json: any): LocationInner;
24
+ export declare function LocationInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationInner;
25
+ export declare function LocationInnerToJSON(json: any): LocationInner;
26
+ export declare function LocationInnerToJSONTyped(value?: LocationInner | null, ignoreDiscriminator?: boolean): any;
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,20 +12,20 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the ValidationErrorLocInner interface.
15
+ * Check if a given object implements the LocationInner interface.
16
16
  */
17
- export function instanceOfValidationErrorLocInner(value) {
17
+ export function instanceOfLocationInner(value) {
18
18
  return true;
19
19
  }
20
- export function ValidationErrorLocInnerFromJSON(json) {
21
- return ValidationErrorLocInnerFromJSONTyped(json, false);
20
+ export function LocationInnerFromJSON(json) {
21
+ return LocationInnerFromJSONTyped(json, false);
22
22
  }
23
- export function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function LocationInnerFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
- export function ValidationErrorLocInnerToJSON(json) {
27
- return ValidationErrorLocInnerToJSONTyped(json, false);
26
+ export function LocationInnerToJSON(json) {
27
+ return LocationInnerToJSONTyped(json, false);
28
28
  }
29
- export function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
29
+ export function LocationInnerToJSONTyped(value, ignoreDiscriminator = false) {
30
30
  return value;
31
31
  }
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 5.3.3
5
+ * The version of the OpenAPI document: 5.4.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.3.3
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).