@orangefox-recovery/foxclient 6.0.7 → 6.0.9
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 +14 -0
- package/README.md +10 -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 +1 -1
- package/dist/apis/ReleaseApi.js +1 -1
- 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/apis/UptimeApi.d.ts +59 -0
- package/dist/apis/UptimeApi.js +70 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- 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 +1 -1
- package/dist/esm/apis/ReleaseApi.js +1 -1
- 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 +59 -0
- package/dist/esm/apis/UptimeApi.js +66 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- 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 +13 -1
- package/dist/esm/models/ListResponseReleaseResponseDataInner.js +9 -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 +1 -1
- package/dist/esm/models/ReleaseListResponse.js +1 -1
- package/dist/esm/models/ReleaseResponse.d.ts +13 -1
- package/dist/esm/models/ReleaseResponse.js +9 -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/UptimeHealth.d.ts +57 -0
- package/dist/esm/models/UptimeHealth.js +60 -0
- package/dist/esm/models/UptimeHealthHost.d.ts +50 -0
- package/dist/esm/models/UptimeHealthHost.js +53 -0
- package/dist/esm/models/UptimeMonitor.d.ts +74 -0
- package/dist/esm/models/UptimeMonitor.js +63 -0
- package/dist/esm/models/UptimeMonitorGroup.d.ts +39 -0
- package/dist/esm/models/UptimeMonitorGroup.js +48 -0
- package/dist/esm/models/UptimeMonitors.d.ts +39 -0
- package/dist/esm/models/UptimeMonitors.js +48 -0
- package/dist/esm/models/UptimeResponse.d.ts +46 -0
- package/dist/esm/models/UptimeResponse.js +49 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -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 +13 -1
- package/dist/models/ListResponseReleaseResponseDataInner.js +9 -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 +1 -1
- package/dist/models/ReleaseListResponse.js +1 -1
- package/dist/models/ReleaseResponse.d.ts +13 -1
- package/dist/models/ReleaseResponse.js +9 -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/UptimeHealth.d.ts +57 -0
- package/dist/models/UptimeHealth.js +67 -0
- package/dist/models/UptimeHealthHost.d.ts +50 -0
- package/dist/models/UptimeHealthHost.js +60 -0
- package/dist/models/UptimeMonitor.d.ts +74 -0
- package/dist/models/UptimeMonitor.js +70 -0
- package/dist/models/UptimeMonitorGroup.d.ts +39 -0
- package/dist/models/UptimeMonitorGroup.js +55 -0
- package/dist/models/UptimeMonitors.d.ts +39 -0
- package/dist/models/UptimeMonitors.js +55 -0
- package/dist/models/UptimeResponse.d.ts +46 -0
- package/dist/models/UptimeResponse.js +56 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/ListResponseReleaseResponseDataInner.md +4 -0
- package/docs/ReleaseResponse.md +4 -0
- package/docs/UptimeApi.md +69 -0
- package/docs/UptimeHealth.md +43 -0
- package/docs/UptimeHealthHost.md +41 -0
- package/docs/UptimeMonitor.md +49 -0
- package/docs/UptimeMonitorGroup.md +37 -0
- package/docs/UptimeMonitors.md +37 -0
- package/docs/UptimeResponse.md +39 -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 +1 -1
- package/src/apis/ReportApi.ts +1 -1
- package/src/apis/StatsApi.ts +1 -1
- package/src/apis/UptimeApi.ts +103 -0
- package/src/apis/index.ts +1 -0
- 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 +19 -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 +1 -1
- package/src/models/ReleaseResponse.ts +19 -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/UptimeHealth.ts +110 -0
- package/src/models/UptimeHealthHost.ts +92 -0
- package/src/models/UptimeMonitor.ts +125 -0
- package/src/models/UptimeMonitorGroup.ts +83 -0
- package/src/models/UptimeMonitors.ts +83 -0
- package/src/models/UptimeResponse.ts +97 -0
- package/src/models/index.ts +6 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
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.9
|
|
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 UptimeHealthHost interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUptimeHealthHost(value) {
|
|
18
|
+
if (!('isOk' in value) || value['isOk'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('isOptional' in value) || value['isOptional'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('nickname' in value) || value['nickname'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function UptimeHealthHostFromJSON(json) {
|
|
27
|
+
return UptimeHealthHostFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UptimeHealthHostFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'errorText': json['errorText'] == null ? undefined : json['errorText'],
|
|
35
|
+
'isOk': json['isOk'],
|
|
36
|
+
'isOptional': json['isOptional'],
|
|
37
|
+
'nickname': json['nickname'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function UptimeHealthHostToJSON(json) {
|
|
41
|
+
return UptimeHealthHostToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function UptimeHealthHostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'errorText': value['errorText'],
|
|
49
|
+
'isOk': value['isOk'],
|
|
50
|
+
'isOptional': value['isOptional'],
|
|
51
|
+
'nickname': value['nickname'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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: 6.0.9
|
|
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
|
+
* A single monitor with its current heartbeat and uptime ratio.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UptimeMonitor
|
|
16
|
+
*/
|
|
17
|
+
export interface UptimeMonitor {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UptimeMonitor
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UptimeMonitor
|
|
28
|
+
*/
|
|
29
|
+
lastHeartbeat?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UptimeMonitor
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UptimeMonitor
|
|
40
|
+
*/
|
|
41
|
+
ping?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* "up", "down", "pending", "maintenance" or "unknown".
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UptimeMonitor
|
|
46
|
+
*/
|
|
47
|
+
status: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UptimeMonitor
|
|
52
|
+
*/
|
|
53
|
+
type: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UptimeMonitor
|
|
58
|
+
*/
|
|
59
|
+
uptime24h?: number | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UptimeMonitor
|
|
64
|
+
*/
|
|
65
|
+
url?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the UptimeMonitor interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfUptimeMonitor(value: object): value is UptimeMonitor;
|
|
71
|
+
export declare function UptimeMonitorFromJSON(json: any): UptimeMonitor;
|
|
72
|
+
export declare function UptimeMonitorFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeMonitor;
|
|
73
|
+
export declare function UptimeMonitorToJSON(json: any): UptimeMonitor;
|
|
74
|
+
export declare function UptimeMonitorToJSONTyped(value?: UptimeMonitor | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.9
|
|
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 UptimeMonitor interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUptimeMonitor(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function UptimeMonitorFromJSON(json) {
|
|
29
|
+
return UptimeMonitorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function UptimeMonitorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'lastHeartbeat': json['lastHeartbeat'] == null ? undefined : json['lastHeartbeat'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'ping': json['ping'] == null ? undefined : json['ping'],
|
|
40
|
+
'status': json['status'],
|
|
41
|
+
'type': json['type'],
|
|
42
|
+
'uptime24h': json['uptime24h'] == null ? undefined : json['uptime24h'],
|
|
43
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function UptimeMonitorToJSON(json) {
|
|
47
|
+
return UptimeMonitorToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function UptimeMonitorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'lastHeartbeat': value['lastHeartbeat'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'ping': value['ping'],
|
|
58
|
+
'status': value['status'],
|
|
59
|
+
'type': value['type'],
|
|
60
|
+
'uptime24h': value['uptime24h'],
|
|
61
|
+
'url': value['url'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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: 6.0.9
|
|
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 { UptimeMonitor } from './UptimeMonitor';
|
|
13
|
+
/**
|
|
14
|
+
* A group of monitors from the Uptime Kuma status page.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UptimeMonitorGroup
|
|
17
|
+
*/
|
|
18
|
+
export interface UptimeMonitorGroup {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UptimeMonitor>}
|
|
22
|
+
* @memberof UptimeMonitorGroup
|
|
23
|
+
*/
|
|
24
|
+
monitors: Array<UptimeMonitor>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UptimeMonitorGroup
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UptimeMonitorGroup interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUptimeMonitorGroup(value: object): value is UptimeMonitorGroup;
|
|
36
|
+
export declare function UptimeMonitorGroupFromJSON(json: any): UptimeMonitorGroup;
|
|
37
|
+
export declare function UptimeMonitorGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeMonitorGroup;
|
|
38
|
+
export declare function UptimeMonitorGroupToJSON(json: any): UptimeMonitorGroup;
|
|
39
|
+
export declare function UptimeMonitorGroupToJSONTyped(value?: UptimeMonitorGroup | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.9
|
|
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 { UptimeMonitorFromJSON, UptimeMonitorToJSON, } from './UptimeMonitor';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UptimeMonitorGroup interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUptimeMonitorGroup(value) {
|
|
19
|
+
if (!('monitors' in value) || value['monitors'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function UptimeMonitorGroupFromJSON(json) {
|
|
26
|
+
return UptimeMonitorGroupFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UptimeMonitorGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'monitors': (json['monitors'].map(UptimeMonitorFromJSON)),
|
|
34
|
+
'name': json['name'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UptimeMonitorGroupToJSON(json) {
|
|
38
|
+
return UptimeMonitorGroupToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function UptimeMonitorGroupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'monitors': (value['monitors'].map(UptimeMonitorToJSON)),
|
|
46
|
+
'name': value['name'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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: 6.0.9
|
|
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 { UptimeMonitorGroup } from './UptimeMonitorGroup';
|
|
13
|
+
/**
|
|
14
|
+
* Uptime Kuma status page, grouped by monitor group.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UptimeMonitors
|
|
17
|
+
*/
|
|
18
|
+
export interface UptimeMonitors {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UptimeMonitorGroup>}
|
|
22
|
+
* @memberof UptimeMonitors
|
|
23
|
+
*/
|
|
24
|
+
groups: Array<UptimeMonitorGroup>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UptimeMonitors
|
|
29
|
+
*/
|
|
30
|
+
title: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UptimeMonitors interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUptimeMonitors(value: object): value is UptimeMonitors;
|
|
36
|
+
export declare function UptimeMonitorsFromJSON(json: any): UptimeMonitors;
|
|
37
|
+
export declare function UptimeMonitorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeMonitors;
|
|
38
|
+
export declare function UptimeMonitorsToJSON(json: any): UptimeMonitors;
|
|
39
|
+
export declare function UptimeMonitorsToJSONTyped(value?: UptimeMonitors | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.9
|
|
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 { UptimeMonitorGroupFromJSON, UptimeMonitorGroupToJSON, } from './UptimeMonitorGroup';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UptimeMonitors interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUptimeMonitors(value) {
|
|
19
|
+
if (!('groups' in value) || value['groups'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function UptimeMonitorsFromJSON(json) {
|
|
26
|
+
return UptimeMonitorsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UptimeMonitorsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'groups': (json['groups'].map(UptimeMonitorGroupFromJSON)),
|
|
34
|
+
'title': json['title'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UptimeMonitorsToJSON(json) {
|
|
38
|
+
return UptimeMonitorsToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function UptimeMonitorsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'groups': (value['groups'].map(UptimeMonitorGroupToJSON)),
|
|
46
|
+
'title': value['title'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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: 6.0.9
|
|
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 { UptimeHealth } from './UptimeHealth';
|
|
13
|
+
import type { UptimeMonitors } from './UptimeMonitors';
|
|
14
|
+
/**
|
|
15
|
+
* Aggregated infrastructure status returned by `GET /uptime`.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UptimeResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface UptimeResponse {
|
|
20
|
+
/**
|
|
21
|
+
* FoxHealth result, or null if that upstream is unavailable.
|
|
22
|
+
* @type {UptimeHealth}
|
|
23
|
+
* @memberof UptimeResponse
|
|
24
|
+
*/
|
|
25
|
+
health?: UptimeHealth | null;
|
|
26
|
+
/**
|
|
27
|
+
* Uptime Kuma status page result, or null if that upstream is unavailable.
|
|
28
|
+
* @type {UptimeMonitors}
|
|
29
|
+
* @memberof UptimeResponse
|
|
30
|
+
*/
|
|
31
|
+
monitors?: UptimeMonitors | null;
|
|
32
|
+
/**
|
|
33
|
+
* Overall status: "healthy", "degraded" or "down".
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UptimeResponse
|
|
36
|
+
*/
|
|
37
|
+
status: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the UptimeResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfUptimeResponse(value: object): value is UptimeResponse;
|
|
43
|
+
export declare function UptimeResponseFromJSON(json: any): UptimeResponse;
|
|
44
|
+
export declare function UptimeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UptimeResponse;
|
|
45
|
+
export declare function UptimeResponseToJSON(json: any): UptimeResponse;
|
|
46
|
+
export declare function UptimeResponseToJSONTyped(value?: UptimeResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.9
|
|
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 { UptimeHealthFromJSON, UptimeHealthToJSON, } from './UptimeHealth';
|
|
15
|
+
import { UptimeMonitorsFromJSON, UptimeMonitorsToJSON, } from './UptimeMonitors';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the UptimeResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfUptimeResponse(value) {
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function UptimeResponseFromJSON(json) {
|
|
25
|
+
return UptimeResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function UptimeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'health': json['health'] == null ? undefined : UptimeHealthFromJSON(json['health']),
|
|
33
|
+
'monitors': json['monitors'] == null ? undefined : UptimeMonitorsFromJSON(json['monitors']),
|
|
34
|
+
'status': json['status'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UptimeResponseToJSON(json) {
|
|
38
|
+
return UptimeResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function UptimeResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'health': UptimeHealthToJSON(value['health']),
|
|
46
|
+
'monitors': UptimeMonitorsToJSON(value['monitors']),
|
|
47
|
+
'status': value['status'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -17,3 +17,9 @@ export * from './ReleaseResponse';
|
|
|
17
17
|
export * from './ShortDeviceResponse';
|
|
18
18
|
export * from './ShortReleaseResponse';
|
|
19
19
|
export * from './TokenResponse';
|
|
20
|
+
export * from './UptimeHealth';
|
|
21
|
+
export * from './UptimeHealthHost';
|
|
22
|
+
export * from './UptimeMonitor';
|
|
23
|
+
export * from './UptimeMonitorGroup';
|
|
24
|
+
export * from './UptimeMonitors';
|
|
25
|
+
export * from './UptimeResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -19,3 +19,9 @@ export * from './ReleaseResponse';
|
|
|
19
19
|
export * from './ShortDeviceResponse';
|
|
20
20
|
export * from './ShortReleaseResponse';
|
|
21
21
|
export * from './TokenResponse';
|
|
22
|
+
export * from './UptimeHealth';
|
|
23
|
+
export * from './UptimeHealthHost';
|
|
24
|
+
export * from './UptimeMonitor';
|
|
25
|
+
export * from './UptimeMonitorGroup';
|
|
26
|
+
export * from './UptimeMonitors';
|
|
27
|
+
export * from './UptimeResponse';
|
package/dist/esm/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.9
|
|
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/esm/runtime.js
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.9
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0.
|
|
5
|
+
* The version of the OpenAPI document: 6.0.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
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.9
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -138,12 +138,24 @@ export interface ListResponseReleaseResponseDataInner {
|
|
|
138
138
|
* @memberof ListResponseReleaseResponseDataInner
|
|
139
139
|
*/
|
|
140
140
|
recoveryImg: RecoveryImgResponse;
|
|
141
|
+
/**
|
|
142
|
+
* Total number of downloads recorded for this release.
|
|
143
|
+
* @type {number}
|
|
144
|
+
* @memberof ListResponseReleaseResponseDataInner
|
|
145
|
+
*/
|
|
146
|
+
totalDownloads: number;
|
|
141
147
|
/**
|
|
142
148
|
*
|
|
143
149
|
* @type {string}
|
|
144
150
|
* @memberof ListResponseReleaseResponseDataInner
|
|
145
151
|
*/
|
|
146
152
|
url: string;
|
|
153
|
+
/**
|
|
154
|
+
* Downloads in the last 7 UTC days (today plus the previous 6).
|
|
155
|
+
* @type {number}
|
|
156
|
+
* @memberof ListResponseReleaseResponseDataInner
|
|
157
|
+
*/
|
|
158
|
+
weeklyDownloads: number;
|
|
147
159
|
}
|
|
148
160
|
/**
|
|
149
161
|
* Check if a given object implements the ListResponseReleaseResponseDataInner interface.
|