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