@orangefox-recovery/foxclient 5.2.6 → 5.2.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 +28 -30
- package/README.md +3 -65
- package/dist/apis/DeviceApi.d.ts +158 -0
- package/dist/apis/DeviceApi.js +188 -0
- package/dist/apis/PasteApi.d.ts +80 -0
- package/dist/apis/PasteApi.js +95 -0
- package/dist/apis/ReleaseApi.d.ts +188 -0
- package/dist/apis/ReleaseApi.js +226 -0
- package/dist/apis/StatsApi.d.ts +49 -0
- package/dist/apis/StatsApi.js +60 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +22 -0
- package/dist/esm/apis/DeviceApi.d.ts +158 -0
- package/dist/esm/apis/DeviceApi.js +184 -0
- package/dist/esm/apis/PasteApi.d.ts +80 -0
- package/dist/esm/apis/PasteApi.js +91 -0
- package/dist/esm/apis/ReleaseApi.d.ts +188 -0
- package/dist/esm/apis/ReleaseApi.js +222 -0
- package/dist/esm/apis/StatsApi.d.ts +49 -0
- package/dist/esm/apis/StatsApi.js +56 -0
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +6 -0
- package/dist/esm/index.d.ts +3 -13
- package/dist/esm/index.js +3 -13
- package/dist/esm/models/DeviceResponse.d.ts +101 -0
- package/dist/esm/models/DeviceResponse.js +82 -0
- package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
- package/dist/esm/models/HTTPValidationError.d.ts +33 -0
- package/dist/esm/models/HTTPValidationError.js +42 -0
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseStr.d.ts +38 -0
- package/dist/esm/models/ListResponseStr.js +46 -0
- package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
- package/dist/esm/models/MaintainerShortModel.js +51 -0
- package/dist/esm/models/PasteInput.d.ts +50 -0
- package/dist/esm/models/PasteInput.js +51 -0
- package/dist/esm/models/PasteOutput.d.ts +50 -0
- package/dist/esm/models/PasteOutput.js +51 -0
- package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/esm/models/RecoveryImgResponse.js +47 -0
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
- package/dist/esm/models/ReleaseResponse.d.ts +139 -0
- package/dist/esm/models/ReleaseResponse.js +107 -0
- package/dist/esm/models/ReleaseType.d.ts +26 -0
- package/dist/esm/models/ReleaseType.js +44 -0
- package/dist/esm/models/ReleasesSort.d.ts +25 -0
- package/dist/esm/models/ReleasesSort.js +43 -0
- package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
- package/dist/esm/models/ResponseGetReleases.js +46 -0
- package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/esm/models/ShortDeviceResponse.js +73 -0
- package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/esm/models/ShortReleaseResponse.js +84 -0
- package/dist/esm/models/ValidationError.d.ts +45 -0
- package/dist/esm/models/ValidationError.js +52 -0
- package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
- package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -13
- package/dist/index.js +5 -15
- package/dist/models/DeviceResponse.d.ts +101 -0
- package/dist/models/DeviceResponse.js +89 -0
- package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/models/GlobalStatsAggregationModel.js +62 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +49 -0
- package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseReleaseResponse.js +54 -0
- package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/models/ListResponseShortDeviceResponse.js +54 -0
- package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseShortReleaseResponse.js +54 -0
- package/dist/models/ListResponseStr.d.ts +38 -0
- package/dist/models/ListResponseStr.js +53 -0
- package/dist/models/MaintainerShortModel.d.ts +44 -0
- package/dist/models/MaintainerShortModel.js +58 -0
- package/dist/models/PasteInput.d.ts +50 -0
- package/dist/models/PasteInput.js +58 -0
- package/dist/models/PasteOutput.d.ts +50 -0
- package/dist/models/PasteOutput.js +58 -0
- package/dist/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/models/RecoveryImgResponse.js +54 -0
- package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/models/ReleaseGroupsResponse.js +50 -0
- package/dist/models/ReleaseResponse.d.ts +139 -0
- package/dist/models/ReleaseResponse.js +114 -0
- package/dist/models/ReleaseType.d.ts +26 -0
- package/dist/models/ReleaseType.js +52 -0
- package/dist/models/ReleasesSort.d.ts +25 -0
- package/dist/models/ReleasesSort.js +51 -0
- package/dist/models/ResponseGetReleases.d.ts +41 -0
- package/dist/models/ResponseGetReleases.js +53 -0
- package/dist/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/models/ShortDeviceResponse.js +80 -0
- package/dist/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/models/ShortReleaseResponse.js +91 -0
- package/dist/models/ValidationError.d.ts +45 -0
- package/dist/models/ValidationError.js +59 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +38 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +38 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +4 -17
- package/src/apis/DeviceApi.ts +326 -0
- package/src/apis/PasteApi.ts +158 -0
- package/src/apis/ReleaseApi.ts +414 -0
- package/src/apis/StatsApi.ts +82 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/DeviceResponse.ts +171 -0
- package/src/models/GlobalStatsAggregationModel.ts +93 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/ListResponseReleaseResponse.ts +82 -0
- package/src/models/ListResponseShortDeviceResponse.ts +82 -0
- package/src/models/ListResponseShortReleaseResponse.ts +82 -0
- package/src/models/ListResponseStr.ts +74 -0
- package/src/models/MaintainerShortModel.ts +84 -0
- package/src/models/PasteInput.ts +91 -0
- package/src/models/PasteOutput.ts +91 -0
- package/src/models/RecoveryImgResponse.ts +75 -0
- package/src/models/ReleaseGroupsResponse.ts +74 -0
- package/src/models/ReleaseResponse.ts +233 -0
- package/src/models/ReleaseType.ts +54 -0
- package/src/models/ReleasesSort.ts +53 -0
- package/src/models/ResponseGetReleases.ts +96 -0
- package/src/models/ShortDeviceResponse.ts +138 -0
- package/src/models/ShortReleaseResponse.ts +174 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/index.ts +22 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +2 -4
- package/api.ts +0 -2101
- package/base.ts +0 -86
- package/common.ts +0 -150
- package/configuration.ts +0 -115
- package/dist/api.d.ts +0 -1483
- package/dist/api.js +0 -1172
- package/dist/base.d.ts +0 -66
- package/dist/base.js +0 -65
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -161
- package/dist/configuration.d.ts +0 -91
- package/dist/configuration.js +0 -44
- package/dist/esm/api.d.ts +0 -1483
- package/dist/esm/api.js +0 -1153
- package/dist/esm/base.d.ts +0 -66
- package/dist/esm/base.js +0 -60
- package/dist/esm/common.d.ts +0 -65
- package/dist/esm/common.js +0 -149
- package/dist/esm/configuration.d.ts +0 -91
- package/dist/esm/configuration.js +0 -40
- package/docs/DeviceApi.md +0 -251
- package/docs/DeviceResponse.md +0 -44
- package/docs/GlobalStatsAggregationModel.md +0 -26
- package/docs/HTTPValidationError.md +0 -20
- package/docs/ListResponseReleaseResponse.md +0 -22
- package/docs/ListResponseShortDeviceResponse.md +0 -22
- package/docs/ListResponseShortReleaseResponse.md +0 -22
- package/docs/ListResponseStr.md +0 -22
- package/docs/MaintainerShortModel.md +0 -26
- package/docs/PasteApi.md +0 -117
- package/docs/PasteInput.md +0 -26
- package/docs/PasteOutput.md +0 -26
- package/docs/RecoveryImgResponse.md +0 -22
- package/docs/ReleaseApi.md +0 -289
- package/docs/ReleaseGroupsResponse.md +0 -20
- package/docs/ReleaseResponse.md +0 -56
- package/docs/ReleaseType.md +0 -12
- package/docs/ReleasesSort.md +0 -10
- package/docs/ResponseGetReleases.md +0 -22
- package/docs/ShortDeviceResponse.md +0 -38
- package/docs/ShortReleaseResponse.md +0 -44
- package/docs/StatsApi.md +0 -53
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/git_push.sh +0 -57
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MaintainerShortModel } from './MaintainerShortModel';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DeviceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DeviceResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Device codename, legacy
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DeviceResponse
|
|
23
|
+
* @deprecated
|
|
24
|
+
*/
|
|
25
|
+
codename: string;
|
|
26
|
+
/**
|
|
27
|
+
* Model name of device, does not include the OEM part, legacy
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof DeviceResponse
|
|
30
|
+
* @deprecated
|
|
31
|
+
*/
|
|
32
|
+
modelName: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof DeviceResponse
|
|
37
|
+
*/
|
|
38
|
+
oemName: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof DeviceResponse
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<string>}
|
|
48
|
+
* @memberof DeviceResponse
|
|
49
|
+
*/
|
|
50
|
+
codenames: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<string>}
|
|
54
|
+
* @memberof DeviceResponse
|
|
55
|
+
*/
|
|
56
|
+
modelNames: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof DeviceResponse
|
|
61
|
+
*/
|
|
62
|
+
supported: boolean;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {MaintainerShortModel}
|
|
66
|
+
* @memberof DeviceResponse
|
|
67
|
+
*/
|
|
68
|
+
maintainer: MaintainerShortModel;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof DeviceResponse
|
|
73
|
+
*/
|
|
74
|
+
notes?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof DeviceResponse
|
|
79
|
+
*/
|
|
80
|
+
deviceTree?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Full name of device / devices, legacy
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof DeviceResponse
|
|
85
|
+
*/
|
|
86
|
+
readonly fullName: string;
|
|
87
|
+
/**
|
|
88
|
+
* URL of the device on the official website
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof DeviceResponse
|
|
91
|
+
*/
|
|
92
|
+
readonly url: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the DeviceResponse interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfDeviceResponse(value: object): value is DeviceResponse;
|
|
98
|
+
export declare function DeviceResponseFromJSON(json: any): DeviceResponse;
|
|
99
|
+
export declare function DeviceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceResponse;
|
|
100
|
+
export declare function DeviceResponseToJSON(json: any): DeviceResponse;
|
|
101
|
+
export declare function DeviceResponseToJSONTyped(value?: Omit<DeviceResponse, 'full_name' | 'url'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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: 5.2.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
|
+
import { MaintainerShortModelFromJSON, MaintainerShortModelToJSON, } from './MaintainerShortModel';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DeviceResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDeviceResponse(value) {
|
|
19
|
+
if (!('codename' in value) || value['codename'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('modelName' in value) || value['modelName'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('oemName' in value) || value['oemName'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('codenames' in value) || value['codenames'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('modelNames' in value) || value['modelNames'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('supported' in value) || value['supported'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('maintainer' in value) || value['maintainer'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
export function DeviceResponseFromJSON(json) {
|
|
42
|
+
return DeviceResponseFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function DeviceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'codename': json['codename'],
|
|
50
|
+
'modelName': json['model_name'],
|
|
51
|
+
'oemName': json['oem_name'],
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'codenames': json['codenames'],
|
|
54
|
+
'modelNames': json['model_names'],
|
|
55
|
+
'supported': json['supported'],
|
|
56
|
+
'maintainer': MaintainerShortModelFromJSON(json['maintainer']),
|
|
57
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
58
|
+
'deviceTree': json['device_tree'] == null ? undefined : json['device_tree'],
|
|
59
|
+
'fullName': json['full_name'],
|
|
60
|
+
'url': json['url'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function DeviceResponseToJSON(json) {
|
|
64
|
+
return DeviceResponseToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function DeviceResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'codename': value['codename'],
|
|
72
|
+
'model_name': value['modelName'],
|
|
73
|
+
'oem_name': value['oemName'],
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'codenames': value['codenames'],
|
|
76
|
+
'model_names': value['modelNames'],
|
|
77
|
+
'supported': value['supported'],
|
|
78
|
+
'maintainer': MaintainerShortModelToJSON(value['maintainer']),
|
|
79
|
+
'notes': value['notes'],
|
|
80
|
+
'device_tree': value['deviceTree'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GlobalStatsAggregationModel
|
|
16
|
+
*/
|
|
17
|
+
export interface GlobalStatsAggregationModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GlobalStatsAggregationModel
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GlobalStatsAggregationModel
|
|
28
|
+
*/
|
|
29
|
+
deviceCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GlobalStatsAggregationModel
|
|
34
|
+
*/
|
|
35
|
+
releaseCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: number; }}
|
|
39
|
+
* @memberof GlobalStatsAggregationModel
|
|
40
|
+
*/
|
|
41
|
+
days: {
|
|
42
|
+
[key: string]: number;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the GlobalStatsAggregationModel interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfGlobalStatsAggregationModel(value: object): value is GlobalStatsAggregationModel;
|
|
49
|
+
export declare function GlobalStatsAggregationModelFromJSON(json: any): GlobalStatsAggregationModel;
|
|
50
|
+
export declare function GlobalStatsAggregationModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalStatsAggregationModel;
|
|
51
|
+
export declare function GlobalStatsAggregationModelToJSON(json: any): GlobalStatsAggregationModel;
|
|
52
|
+
export declare function GlobalStatsAggregationModelToJSONTyped(value?: GlobalStatsAggregationModel | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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: 5.2.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
|
+
* Check if a given object implements the GlobalStatsAggregationModel interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGlobalStatsAggregationModel(value) {
|
|
18
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('deviceCount' in value) || value['deviceCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('releaseCount' in value) || value['releaseCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GlobalStatsAggregationModelFromJSON(json) {
|
|
29
|
+
return GlobalStatsAggregationModelFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GlobalStatsAggregationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'count': json['count'],
|
|
37
|
+
'deviceCount': json['deviceCount'],
|
|
38
|
+
'releaseCount': json['releaseCount'],
|
|
39
|
+
'days': json['days'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function GlobalStatsAggregationModelToJSON(json) {
|
|
43
|
+
return GlobalStatsAggregationModelToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function GlobalStatsAggregationModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'count': value['count'],
|
|
51
|
+
'deviceCount': value['deviceCount'],
|
|
52
|
+
'releaseCount': value['releaseCount'],
|
|
53
|
+
'days': value['days'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ValidationError } from './ValidationError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HTTPValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface HTTPValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationError>}
|
|
22
|
+
* @memberof HTTPValidationError
|
|
23
|
+
*/
|
|
24
|
+
detail?: Array<ValidationError>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfHTTPValidationError(value: object): value is HTTPValidationError;
|
|
30
|
+
export declare function HTTPValidationErrorFromJSON(json: any): HTTPValidationError;
|
|
31
|
+
export declare function HTTPValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPValidationError;
|
|
32
|
+
export declare function HTTPValidationErrorToJSON(json: any): HTTPValidationError;
|
|
33
|
+
export declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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: 5.2.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
|
+
import { ValidationErrorFromJSON, ValidationErrorToJSON, } from './ValidationError';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfHTTPValidationError(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function HTTPValidationErrorFromJSON(json) {
|
|
22
|
+
return HTTPValidationErrorFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function HTTPValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'detail': json['detail'] == null ? undefined : (json['detail'].map(ValidationErrorFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function HTTPValidationErrorToJSON(json) {
|
|
33
|
+
return HTTPValidationErrorToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function HTTPValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'detail': value['detail'] == null ? undefined : (value['detail'].map(ValidationErrorToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ReleaseResponse } from './ReleaseResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseReleaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseReleaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ReleaseResponse>}
|
|
22
|
+
* @memberof ListResponseReleaseResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ReleaseResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseReleaseResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseReleaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseReleaseResponse(value: object): value is ListResponseReleaseResponse;
|
|
36
|
+
export declare function ListResponseReleaseResponseFromJSON(json: any): ListResponseReleaseResponse;
|
|
37
|
+
export declare function ListResponseReleaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseReleaseResponse;
|
|
38
|
+
export declare function ListResponseReleaseResponseToJSON(json: any): ListResponseReleaseResponse;
|
|
39
|
+
export declare function ListResponseReleaseResponseToJSONTyped(value?: Omit<ListResponseReleaseResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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: 5.2.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
|
+
import { ReleaseResponseFromJSON, ReleaseResponseToJSON, } from './ReleaseResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListResponseReleaseResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListResponseReleaseResponse(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ListResponseReleaseResponseFromJSON(json) {
|
|
26
|
+
return ListResponseReleaseResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ListResponseReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'data': (json['data'].map(ReleaseResponseFromJSON)),
|
|
34
|
+
'count': json['count'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ListResponseReleaseResponseToJSON(json) {
|
|
38
|
+
return ListResponseReleaseResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ListResponseReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'data': (value['data'].map(ReleaseResponseToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ShortDeviceResponse } from './ShortDeviceResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseShortDeviceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseShortDeviceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShortDeviceResponse>}
|
|
22
|
+
* @memberof ListResponseShortDeviceResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ShortDeviceResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseShortDeviceResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseShortDeviceResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseShortDeviceResponse(value: object): value is ListResponseShortDeviceResponse;
|
|
36
|
+
export declare function ListResponseShortDeviceResponseFromJSON(json: any): ListResponseShortDeviceResponse;
|
|
37
|
+
export declare function ListResponseShortDeviceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseShortDeviceResponse;
|
|
38
|
+
export declare function ListResponseShortDeviceResponseToJSON(json: any): ListResponseShortDeviceResponse;
|
|
39
|
+
export declare function ListResponseShortDeviceResponseToJSONTyped(value?: Omit<ListResponseShortDeviceResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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: 5.2.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
|
+
import { ShortDeviceResponseFromJSON, ShortDeviceResponseToJSON, } from './ShortDeviceResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListResponseShortDeviceResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListResponseShortDeviceResponse(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ListResponseShortDeviceResponseFromJSON(json) {
|
|
26
|
+
return ListResponseShortDeviceResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ListResponseShortDeviceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'data': (json['data'].map(ShortDeviceResponseFromJSON)),
|
|
34
|
+
'count': json['count'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ListResponseShortDeviceResponseToJSON(json) {
|
|
38
|
+
return ListResponseShortDeviceResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ListResponseShortDeviceResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'data': (value['data'].map(ShortDeviceResponseToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ShortReleaseResponse } from './ShortReleaseResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseShortReleaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseShortReleaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShortReleaseResponse>}
|
|
22
|
+
* @memberof ListResponseShortReleaseResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ShortReleaseResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseShortReleaseResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseShortReleaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseShortReleaseResponse(value: object): value is ListResponseShortReleaseResponse;
|
|
36
|
+
export declare function ListResponseShortReleaseResponseFromJSON(json: any): ListResponseShortReleaseResponse;
|
|
37
|
+
export declare function ListResponseShortReleaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseShortReleaseResponse;
|
|
38
|
+
export declare function ListResponseShortReleaseResponseToJSON(json: any): ListResponseShortReleaseResponse;
|
|
39
|
+
export declare function ListResponseShortReleaseResponseToJSONTyped(value?: Omit<ListResponseShortReleaseResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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: 5.2.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
|
+
import { ShortReleaseResponseFromJSON, ShortReleaseResponseToJSON, } from './ShortReleaseResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListResponseShortReleaseResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListResponseShortReleaseResponse(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ListResponseShortReleaseResponseFromJSON(json) {
|
|
26
|
+
return ListResponseShortReleaseResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ListResponseShortReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'data': (json['data'].map(ShortReleaseResponseFromJSON)),
|
|
34
|
+
'count': json['count'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ListResponseShortReleaseResponseToJSON(json) {
|
|
38
|
+
return ListResponseShortReleaseResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ListResponseShortReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'data': (value['data'].map(ShortReleaseResponseToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fox API
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ListResponseStr
|
|
16
|
+
*/
|
|
17
|
+
export interface ListResponseStr {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListResponseStr
|
|
22
|
+
*/
|
|
23
|
+
data: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ListResponseStr
|
|
28
|
+
*/
|
|
29
|
+
readonly count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ListResponseStr interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfListResponseStr(value: object): value is ListResponseStr;
|
|
35
|
+
export declare function ListResponseStrFromJSON(json: any): ListResponseStr;
|
|
36
|
+
export declare function ListResponseStrFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseStr;
|
|
37
|
+
export declare function ListResponseStrToJSON(json: any): ListResponseStr;
|
|
38
|
+
export declare function ListResponseStrToJSONTyped(value?: Omit<ListResponseStr, 'count'> | null, ignoreDiscriminator?: boolean): any;
|