@orangefox-recovery/foxclient 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +5 -4
- package/dist/apis/DeviceApi.d.ts +1 -1
- package/dist/apis/DeviceApi.js +35 -2
- package/dist/apis/PasteApi.d.ts +1 -1
- package/dist/apis/PasteApi.js +35 -2
- package/dist/apis/ReleaseApi.d.ts +9 -9
- package/dist/apis/ReleaseApi.js +37 -4
- package/dist/apis/ReportApi.d.ts +1 -1
- package/dist/apis/ReportApi.js +35 -2
- package/dist/apis/StatsApi.d.ts +1 -1
- package/dist/apis/StatsApi.js +35 -2
- package/dist/apis/UptimeApi.d.ts +1 -1
- package/dist/apis/UptimeApi.js +35 -2
- package/dist/apis/WikiApi.d.ts +1 -1
- package/dist/apis/WikiApi.js +35 -2
- package/dist/esm/apis/DeviceApi.d.ts +1 -1
- package/dist/esm/apis/DeviceApi.js +1 -1
- package/dist/esm/apis/PasteApi.d.ts +1 -1
- package/dist/esm/apis/PasteApi.js +1 -1
- package/dist/esm/apis/ReleaseApi.d.ts +9 -9
- package/dist/esm/apis/ReleaseApi.js +3 -3
- package/dist/esm/apis/ReportApi.d.ts +1 -1
- package/dist/esm/apis/ReportApi.js +1 -1
- package/dist/esm/apis/StatsApi.d.ts +1 -1
- package/dist/esm/apis/StatsApi.js +1 -1
- package/dist/esm/apis/UptimeApi.d.ts +1 -1
- package/dist/esm/apis/UptimeApi.js +1 -1
- package/dist/esm/apis/WikiApi.d.ts +1 -1
- package/dist/esm/apis/WikiApi.js +1 -1
- package/dist/esm/models/DeviceResponse.d.ts +1 -1
- package/dist/esm/models/DeviceResponse.js +1 -1
- package/dist/esm/models/ErrorResponse.d.ts +1 -1
- package/dist/esm/models/ErrorResponse.js +1 -1
- package/dist/esm/models/GlobalStatsResponse.d.ts +1 -1
- package/dist/esm/models/GlobalStatsResponse.js +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
- package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseReleaseResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseString.d.ts +1 -1
- package/dist/esm/models/ListResponseString.js +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponse.js +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponse.js +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.js +1 -1
- package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
- package/dist/esm/models/MaintainerShortResponse.js +1 -1
- package/dist/esm/models/NewReportRequest.d.ts +1 -1
- package/dist/esm/models/NewReportRequest.js +1 -1
- package/dist/esm/models/PasteInput.d.ts +1 -1
- package/dist/esm/models/PasteInput.js +1 -1
- package/dist/esm/models/PasteResponse.d.ts +1 -1
- package/dist/esm/models/PasteResponse.js +1 -1
- package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
- package/dist/esm/models/RecoveryImgResponse.js +1 -1
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +15 -1
- package/dist/esm/models/ReleaseGroupsResponse.js +5 -1
- package/dist/esm/models/ReleaseListResponse.d.ts +1 -1
- package/dist/esm/models/ReleaseListResponse.js +1 -1
- package/dist/esm/models/ReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ReleaseResponse.js +1 -1
- package/dist/esm/models/ReleaseSort.d.ts +31 -0
- package/dist/esm/models/ReleaseSort.js +49 -0
- package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
- package/dist/esm/models/ShortDeviceResponse.js +1 -1
- package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ShortReleaseResponse.js +1 -1
- package/dist/esm/models/TokenResponse.d.ts +1 -1
- package/dist/esm/models/TokenResponse.js +1 -1
- package/dist/esm/models/UptimeHealth.d.ts +1 -1
- package/dist/esm/models/UptimeHealth.js +1 -1
- package/dist/esm/models/UptimeHealthHost.d.ts +1 -1
- package/dist/esm/models/UptimeHealthHost.js +1 -1
- package/dist/esm/models/UptimeMonitor.d.ts +1 -1
- package/dist/esm/models/UptimeMonitor.js +1 -1
- package/dist/esm/models/UptimeMonitorGroup.d.ts +1 -1
- package/dist/esm/models/UptimeMonitorGroup.js +1 -1
- package/dist/esm/models/UptimeMonitors.d.ts +1 -1
- package/dist/esm/models/UptimeMonitors.js +1 -1
- package/dist/esm/models/UptimeResponse.d.ts +1 -1
- package/dist/esm/models/UptimeResponse.js +1 -1
- package/dist/esm/models/WikiPageResponse.d.ts +1 -1
- package/dist/esm/models/WikiPageResponse.js +1 -1
- package/dist/esm/models/WikiPageShortResponse.d.ts +1 -1
- package/dist/esm/models/WikiPageShortResponse.js +1 -1
- package/dist/esm/models/WikiSiteResponse.d.ts +1 -1
- package/dist/esm/models/WikiSiteResponse.js +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/DeviceResponse.d.ts +1 -1
- package/dist/models/DeviceResponse.js +1 -1
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -1
- package/dist/models/GlobalStatsResponse.d.ts +1 -1
- package/dist/models/GlobalStatsResponse.js +1 -1
- package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponse.js +1 -1
- package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
- package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponse.js +1 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
- package/dist/models/ListResponseString.d.ts +1 -1
- package/dist/models/ListResponseString.js +1 -1
- package/dist/models/ListResponseWikiPageShortResponse.d.ts +1 -1
- package/dist/models/ListResponseWikiPageShortResponse.js +1 -1
- package/dist/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
- package/dist/models/ListResponseWikiSiteResponse.d.ts +1 -1
- package/dist/models/ListResponseWikiSiteResponse.js +1 -1
- package/dist/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseWikiSiteResponseDataInner.js +1 -1
- package/dist/models/MaintainerShortResponse.d.ts +1 -1
- package/dist/models/MaintainerShortResponse.js +1 -1
- package/dist/models/NewReportRequest.d.ts +1 -1
- package/dist/models/NewReportRequest.js +1 -1
- package/dist/models/PasteInput.d.ts +1 -1
- package/dist/models/PasteInput.js +1 -1
- package/dist/models/PasteResponse.d.ts +1 -1
- package/dist/models/PasteResponse.js +1 -1
- package/dist/models/RecoveryImgResponse.d.ts +1 -1
- package/dist/models/RecoveryImgResponse.js +1 -1
- package/dist/models/ReleaseGroupsResponse.d.ts +15 -1
- package/dist/models/ReleaseGroupsResponse.js +5 -1
- package/dist/models/ReleaseListResponse.d.ts +1 -1
- package/dist/models/ReleaseListResponse.js +1 -1
- package/dist/models/ReleaseResponse.d.ts +1 -1
- package/dist/models/ReleaseResponse.js +1 -1
- package/dist/models/ReleaseSort.d.ts +31 -0
- package/dist/models/ReleaseSort.js +57 -0
- package/dist/models/ShortDeviceResponse.d.ts +1 -1
- package/dist/models/ShortDeviceResponse.js +1 -1
- package/dist/models/ShortReleaseResponse.d.ts +1 -1
- package/dist/models/ShortReleaseResponse.js +1 -1
- package/dist/models/TokenResponse.d.ts +1 -1
- package/dist/models/TokenResponse.js +1 -1
- package/dist/models/UptimeHealth.d.ts +1 -1
- package/dist/models/UptimeHealth.js +1 -1
- package/dist/models/UptimeHealthHost.d.ts +1 -1
- package/dist/models/UptimeHealthHost.js +1 -1
- package/dist/models/UptimeMonitor.d.ts +1 -1
- package/dist/models/UptimeMonitor.js +1 -1
- package/dist/models/UptimeMonitorGroup.d.ts +1 -1
- package/dist/models/UptimeMonitorGroup.js +1 -1
- package/dist/models/UptimeMonitors.d.ts +1 -1
- package/dist/models/UptimeMonitors.js +1 -1
- package/dist/models/UptimeResponse.d.ts +1 -1
- package/dist/models/UptimeResponse.js +1 -1
- package/dist/models/WikiPageResponse.d.ts +1 -1
- package/dist/models/WikiPageResponse.js +1 -1
- package/dist/models/WikiPageShortResponse.d.ts +1 -1
- package/dist/models/WikiPageShortResponse.js +1 -1
- package/dist/models/WikiSiteResponse.d.ts +1 -1
- package/dist/models/WikiSiteResponse.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/ReleaseApi.md +5 -5
- package/docs/ReleaseGroupsResponse.md +3 -0
- package/docs/ReleaseSort.md +33 -0
- package/package.json +2 -2
- package/src/apis/DeviceApi.ts +1 -1
- package/src/apis/PasteApi.ts +1 -1
- package/src/apis/ReleaseApi.ts +11 -8
- package/src/apis/ReportApi.ts +1 -1
- package/src/apis/StatsApi.ts +1 -1
- package/src/apis/UptimeApi.ts +1 -1
- package/src/apis/WikiApi.ts +1 -1
- package/src/models/DeviceResponse.ts +1 -1
- package/src/models/ErrorResponse.ts +1 -1
- package/src/models/GlobalStatsResponse.ts +1 -1
- package/src/models/ListResponseReleaseResponse.ts +1 -1
- package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
- package/src/models/ListResponseShortDeviceResponse.ts +1 -1
- package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
- package/src/models/ListResponseString.ts +1 -1
- package/src/models/ListResponseWikiPageShortResponse.ts +1 -1
- package/src/models/ListResponseWikiPageShortResponseDataInner.ts +1 -1
- package/src/models/ListResponseWikiSiteResponse.ts +1 -1
- package/src/models/ListResponseWikiSiteResponseDataInner.ts +1 -1
- package/src/models/MaintainerShortResponse.ts +1 -1
- package/src/models/NewReportRequest.ts +1 -1
- package/src/models/PasteInput.ts +1 -1
- package/src/models/PasteResponse.ts +1 -1
- package/src/models/RecoveryImgResponse.ts +1 -1
- package/src/models/ReleaseGroupsResponse.ts +18 -1
- package/src/models/ReleaseListResponse.ts +1 -1
- package/src/models/ReleaseResponse.ts +1 -1
- package/src/models/ReleaseSort.ts +59 -0
- package/src/models/ShortDeviceResponse.ts +1 -1
- package/src/models/ShortReleaseResponse.ts +1 -1
- package/src/models/TokenResponse.ts +1 -1
- package/src/models/UptimeHealth.ts +1 -1
- package/src/models/UptimeHealthHost.ts +1 -1
- package/src/models/UptimeMonitor.ts +1 -1
- package/src/models/UptimeMonitorGroup.ts +1 -1
- package/src/models/UptimeMonitors.ts +1 -1
- package/src/models/UptimeResponse.ts +1 -1
- package/src/models/WikiPageResponse.ts +1 -1
- package/src/models/WikiPageShortResponse.ts +1 -1
- package/src/models/WikiSiteResponse.ts +1 -1
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +2 -1
- package/tsconfig.json +4 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.1.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.1.
|
|
8
|
+
* The version of the OpenAPI document: 6.1.1
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.1.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.1.
|
|
8
|
+
* The version of the OpenAPI document: 6.1.1
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './RecoveryImgResponse';
|
|
|
18
18
|
export * from './ReleaseGroupsResponse';
|
|
19
19
|
export * from './ReleaseListResponse';
|
|
20
20
|
export * from './ReleaseResponse';
|
|
21
|
+
export * from './ReleaseSort';
|
|
21
22
|
export * from './ShortDeviceResponse';
|
|
22
23
|
export * from './ShortReleaseResponse';
|
|
23
24
|
export * from './TokenResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./RecoveryImgResponse"), exports);
|
|
|
36
36
|
__exportStar(require("./ReleaseGroupsResponse"), exports);
|
|
37
37
|
__exportStar(require("./ReleaseListResponse"), exports);
|
|
38
38
|
__exportStar(require("./ReleaseResponse"), exports);
|
|
39
|
+
__exportStar(require("./ReleaseSort"), exports);
|
|
39
40
|
__exportStar(require("./ShortDeviceResponse"), exports);
|
|
40
41
|
__exportStar(require("./ShortReleaseResponse"), exports);
|
|
41
42
|
__exportStar(require("./TokenResponse"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.1.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.1.
|
|
8
|
+
* The version of the OpenAPI document: 6.1.1
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/ReleaseApi.md
CHANGED
|
@@ -8,7 +8,7 @@ All URIs are relative to *https://api.orangefox.download*
|
|
|
8
8
|
| [**getRelease**](ReleaseApi.md#getrelease) | **GET** /releases/get | GET /releases/get - Get a single release. |
|
|
9
9
|
| [**getReleaseById**](ReleaseApi.md#getreleasebyid) | **GET** /releases/{release_id} | GET /releases/{release_id} - Get release by ID (deprecated). |
|
|
10
10
|
| [**getUpdatesAfter**](ReleaseApi.md#getupdatesafter) | **GET** /updates/{last_known_id} | GET /updates/{last_known_id} - Get releases after a given release ID (deprecated). |
|
|
11
|
-
| [**listReleases**](ReleaseApi.md#listreleases) | **GET** /releases |
|
|
11
|
+
| [**listReleases**](ReleaseApi.md#listreleases) | **GET** /releases | GET /releases/ - List releases with filters. |
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -302,7 +302,7 @@ No authorization required
|
|
|
302
302
|
|
|
303
303
|
> ReleaseListResponse listReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit)
|
|
304
304
|
|
|
305
|
-
|
|
305
|
+
GET /releases/ - List releases with filters.
|
|
306
306
|
|
|
307
307
|
### Example
|
|
308
308
|
|
|
@@ -342,8 +342,8 @@ async function example() {
|
|
|
342
342
|
afterReleaseId: afterReleaseId_example,
|
|
343
343
|
// number (optional)
|
|
344
344
|
afterDate: 789,
|
|
345
|
-
//
|
|
346
|
-
sort:
|
|
345
|
+
// ReleaseSort (optional)
|
|
346
|
+
sort: ...,
|
|
347
347
|
// boolean (optional)
|
|
348
348
|
group: true,
|
|
349
349
|
// number (optional)
|
|
@@ -381,7 +381,7 @@ example().catch(console.error);
|
|
|
381
381
|
| **freezed** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
382
382
|
| **afterReleaseId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
383
383
|
| **afterDate** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
384
|
-
| **sort** | `
|
|
384
|
+
| **sort** | `ReleaseSort` | | [Optional] [Defaults to `undefined`] [Enum: date_asc, date_desc] |
|
|
385
385
|
| **group** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
386
386
|
| **skip** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
387
387
|
| **limit** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
# ReleaseGroupsResponse
|
|
3
3
|
|
|
4
|
+
`GET /releases?group=true` — releases bucketed by version. `data` is an [`IndexMap`], not a `HashMap`: serde emits a map in iteration order, and `HashMap`\'s is randomised per process, so the version groups came back in a different order on every request and the `sort` parameter had no effect on them whatsoever. Insertion order follows the cursor, so the groups now appear in the order the query asked for.
|
|
4
5
|
|
|
5
6
|
## Properties
|
|
6
7
|
|
|
7
8
|
Name | Type
|
|
8
9
|
------------ | -------------
|
|
9
10
|
`data` | { [key: string]: Array<ReleaseResponse>; }
|
|
11
|
+
`hasMore` | boolean
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,6 +18,7 @@ import type { ReleaseGroupsResponse } from '@orangefox-recovery/foxclient'
|
|
|
16
18
|
// TODO: Update the object below with actual values
|
|
17
19
|
const example = {
|
|
18
20
|
"data": null,
|
|
21
|
+
"hasMore": null,
|
|
19
22
|
} satisfies ReleaseGroupsResponse
|
|
20
23
|
|
|
21
24
|
console.log(example)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
# ReleaseSort
|
|
3
|
+
|
|
4
|
+
Sort modes accepted by `GET /releases?sort=`. A typed enum rather than a free string: an unrecognised value used to fall through to the default arm, so `?sort=date_ascending` quietly returned the *opposite* order rather than reporting the typo. It also restores the enum the previous Python implementation published, which generated clients had been offering as a checked type.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ReleaseSort } from '@orangefox-recovery/foxclient'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
} satisfies ReleaseSort
|
|
19
|
+
|
|
20
|
+
console.log(example)
|
|
21
|
+
|
|
22
|
+
// Convert the instance to a JSON string
|
|
23
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
+
console.log(exampleJSON)
|
|
25
|
+
|
|
26
|
+
// Parse the JSON string back to an object
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as ReleaseSort
|
|
28
|
+
console.log(exampleParsed)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
+
|
|
33
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangefox-recovery/foxclient",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "OpenAPI client for @orangefox-recovery/foxclient",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"prepare": "npm run build"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"typescript": "^
|
|
18
|
+
"typescript": "^7.0.2"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
package/src/apis/DeviceApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/PasteApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/ReleaseApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,7 @@ import type {
|
|
|
19
19
|
ListResponseReleaseResponse,
|
|
20
20
|
ReleaseListResponse,
|
|
21
21
|
ReleaseResponse,
|
|
22
|
+
ReleaseSort,
|
|
22
23
|
} from '../models/index';
|
|
23
24
|
import {
|
|
24
25
|
ErrorResponseFromJSON,
|
|
@@ -29,6 +30,8 @@ import {
|
|
|
29
30
|
ReleaseListResponseToJSON,
|
|
30
31
|
ReleaseResponseFromJSON,
|
|
31
32
|
ReleaseResponseToJSON,
|
|
33
|
+
ReleaseSortFromJSON,
|
|
34
|
+
ReleaseSortToJSON,
|
|
32
35
|
} from '../models/index';
|
|
33
36
|
|
|
34
37
|
export interface DownloadReleaseRequest {
|
|
@@ -63,7 +66,7 @@ export interface ListReleasesRequest {
|
|
|
63
66
|
freezed?: boolean | null;
|
|
64
67
|
afterReleaseId?: string | null;
|
|
65
68
|
afterDate?: number | null;
|
|
66
|
-
sort?:
|
|
69
|
+
sort?: ReleaseSort | null;
|
|
67
70
|
group?: boolean | null;
|
|
68
71
|
skip?: number | null;
|
|
69
72
|
limit?: number | null;
|
|
@@ -190,7 +193,7 @@ export interface ReleaseApiInterface {
|
|
|
190
193
|
* @param {boolean} [freezed]
|
|
191
194
|
* @param {string} [afterReleaseId]
|
|
192
195
|
* @param {number} [afterDate]
|
|
193
|
-
* @param {
|
|
196
|
+
* @param {ReleaseSort} [sort]
|
|
194
197
|
* @param {boolean} [group]
|
|
195
198
|
* @param {number} [skip]
|
|
196
199
|
* @param {number} [limit]
|
|
@@ -201,7 +204,7 @@ export interface ReleaseApiInterface {
|
|
|
201
204
|
|
|
202
205
|
/**
|
|
203
206
|
*
|
|
204
|
-
* @summary
|
|
207
|
+
* @summary GET /releases/ - List releases with filters.
|
|
205
208
|
* @param {string} [id]
|
|
206
209
|
* @param {string} [id2]
|
|
207
210
|
* @param {string} [buildId]
|
|
@@ -214,7 +217,7 @@ export interface ReleaseApiInterface {
|
|
|
214
217
|
* @param {boolean} [freezed]
|
|
215
218
|
* @param {string} [afterReleaseId]
|
|
216
219
|
* @param {number} [afterDate]
|
|
217
|
-
* @param {
|
|
220
|
+
* @param {ReleaseSort} [sort]
|
|
218
221
|
* @param {boolean} [group]
|
|
219
222
|
* @param {number} [skip]
|
|
220
223
|
* @param {number} [limit]
|
|
@@ -225,7 +228,7 @@ export interface ReleaseApiInterface {
|
|
|
225
228
|
listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>>;
|
|
226
229
|
|
|
227
230
|
/**
|
|
228
|
-
*
|
|
231
|
+
* GET /releases/ - List releases with filters.
|
|
229
232
|
*/
|
|
230
233
|
listReleases(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse>;
|
|
231
234
|
|
|
@@ -511,7 +514,7 @@ export class ReleaseApi extends runtime.BaseAPI implements ReleaseApiInterface {
|
|
|
511
514
|
}
|
|
512
515
|
|
|
513
516
|
/**
|
|
514
|
-
*
|
|
517
|
+
* GET /releases/ - List releases with filters.
|
|
515
518
|
*/
|
|
516
519
|
async listReleasesRaw(requestParameters: ListReleasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReleaseListResponse>> {
|
|
517
520
|
const requestOptions = await this.listReleasesRequestOpts(requestParameters);
|
|
@@ -521,7 +524,7 @@ export class ReleaseApi extends runtime.BaseAPI implements ReleaseApiInterface {
|
|
|
521
524
|
}
|
|
522
525
|
|
|
523
526
|
/**
|
|
524
|
-
*
|
|
527
|
+
* GET /releases/ - List releases with filters.
|
|
525
528
|
*/
|
|
526
529
|
async listReleases(requestParameters: ListReleasesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReleaseListResponse> {
|
|
527
530
|
const response = await this.listReleasesRaw(requestParameters, initOverrides);
|
package/src/apis/ReportApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/StatsApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/UptimeApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/WikiApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/PasteInput.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,13 @@ import {
|
|
|
22
22
|
} from './ReleaseResponse';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
+
* `GET /releases?group=true` — releases bucketed by version.
|
|
25
26
|
*
|
|
27
|
+
* `data` is an [`IndexMap`], not a `HashMap`: serde emits a map in iteration
|
|
28
|
+
* order, and `HashMap`'s is randomised per process, so the version groups came
|
|
29
|
+
* back in a different order on every request and the `sort` parameter had no
|
|
30
|
+
* effect on them whatsoever. Insertion order follows the cursor, so the groups
|
|
31
|
+
* now appear in the order the query asked for.
|
|
26
32
|
* @export
|
|
27
33
|
* @interface ReleaseGroupsResponse
|
|
28
34
|
*/
|
|
@@ -33,6 +39,14 @@ export interface ReleaseGroupsResponse {
|
|
|
33
39
|
* @memberof ReleaseGroupsResponse
|
|
34
40
|
*/
|
|
35
41
|
data: { [key: string]: Array<ReleaseResponse>; };
|
|
42
|
+
/**
|
|
43
|
+
* Whether further releases exist beyond the page these groups were built
|
|
44
|
+
* from. Grouping runs over one page, so without this a caller cannot tell
|
|
45
|
+
* a complete version group from a truncated one.
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof ReleaseGroupsResponse
|
|
48
|
+
*/
|
|
49
|
+
hasMore: boolean;
|
|
36
50
|
}
|
|
37
51
|
|
|
38
52
|
/**
|
|
@@ -40,6 +54,7 @@ export interface ReleaseGroupsResponse {
|
|
|
40
54
|
*/
|
|
41
55
|
export function instanceOfReleaseGroupsResponse(value: object): value is ReleaseGroupsResponse {
|
|
42
56
|
if (!('data' in value) || value['data'] === undefined) return false;
|
|
57
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined) return false;
|
|
43
58
|
return true;
|
|
44
59
|
}
|
|
45
60
|
|
|
@@ -54,6 +69,7 @@ export function ReleaseGroupsResponseFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
54
69
|
return {
|
|
55
70
|
|
|
56
71
|
'data': json['data'],
|
|
72
|
+
'hasMore': json['has_more'],
|
|
57
73
|
};
|
|
58
74
|
}
|
|
59
75
|
|
|
@@ -69,6 +85,7 @@ export function ReleaseGroupsResponseToJSONTyped(value?: ReleaseGroupsResponse |
|
|
|
69
85
|
return {
|
|
70
86
|
|
|
71
87
|
'data': value['data'],
|
|
88
|
+
'has_more': value['hasMore'],
|
|
72
89
|
};
|
|
73
90
|
}
|
|
74
91
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 6.1.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|