@orangefox-recovery/foxclient 5.3.3 → 6.0.4
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 +20 -22
- package/.openapi-generator/VERSION +1 -1
- package/README.md +30 -38
- package/dist/apis/DeviceApi.d.ts +116 -77
- package/dist/apis/DeviceApi.js +85 -59
- package/dist/apis/PasteApi.d.ts +46 -30
- package/dist/apis/PasteApi.js +39 -25
- package/dist/apis/ReleaseApi.d.ts +177 -104
- package/dist/apis/ReleaseApi.js +132 -81
- package/dist/apis/ReportApi.d.ts +64 -0
- package/dist/apis/ReportApi.js +89 -0
- package/dist/apis/StatsApi.d.ts +25 -15
- package/dist/apis/StatsApi.js +22 -13
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/DeviceApi.d.ts +116 -77
- package/dist/esm/apis/DeviceApi.js +86 -60
- package/dist/esm/apis/PasteApi.d.ts +46 -30
- package/dist/esm/apis/PasteApi.js +40 -26
- package/dist/esm/apis/ReleaseApi.d.ts +177 -104
- package/dist/esm/apis/ReleaseApi.js +133 -82
- package/dist/esm/apis/ReportApi.d.ts +64 -0
- package/dist/esm/apis/ReportApi.js +85 -0
- package/dist/esm/apis/StatsApi.d.ts +25 -15
- package/dist/esm/apis/StatsApi.js +23 -14
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/DeviceResponse.d.ts +33 -29
- package/dist/esm/models/DeviceResponse.js +34 -26
- package/dist/esm/models/ErrorResponse.d.ts +32 -0
- package/dist/esm/models/ErrorResponse.js +43 -0
- package/dist/esm/models/GlobalStatsResponse.d.ts +52 -0
- package/dist/esm/models/{GlobalStatsAggregationModel.js → GlobalStatsResponse.js} +14 -14
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +8 -8
- package/dist/esm/models/ListResponseReleaseResponse.js +8 -7
- package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +155 -0
- package/dist/esm/models/ListResponseReleaseResponseDataInner.js +114 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +8 -8
- package/dist/esm/models/ListResponseShortDeviceResponse.js +8 -7
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +98 -0
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +85 -0
- package/dist/esm/models/ListResponseString.d.ts +38 -0
- package/dist/esm/models/ListResponseString.js +47 -0
- package/dist/esm/models/MaintainerShortResponse.d.ts +50 -0
- package/dist/esm/models/MaintainerShortResponse.js +55 -0
- package/dist/esm/models/NewReportRequest.d.ts +58 -0
- package/dist/esm/models/NewReportRequest.js +55 -0
- package/dist/esm/models/PasteInput.d.ts +3 -3
- package/dist/esm/models/PasteInput.js +2 -2
- package/dist/esm/models/PasteResponse.d.ts +50 -0
- package/dist/esm/models/PasteResponse.js +53 -0
- package/dist/esm/models/RecoveryImgResponse.d.ts +6 -6
- package/dist/esm/models/RecoveryImgResponse.js +6 -6
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +2 -2
- package/dist/esm/models/ReleaseGroupsResponse.js +2 -2
- package/dist/esm/models/ReleaseResponse.d.ts +46 -42
- package/dist/esm/models/ReleaseResponse.js +45 -44
- package/dist/esm/models/ShortDeviceResponse.d.ts +29 -25
- package/dist/esm/models/ShortDeviceResponse.js +26 -18
- package/dist/esm/models/ShortReleaseResponse.d.ts +31 -27
- package/dist/esm/models/ShortReleaseResponse.js +35 -32
- package/dist/esm/models/TokenResponse.d.ts +38 -0
- package/dist/esm/models/TokenResponse.js +47 -0
- package/dist/esm/models/index.d.ts +9 -11
- package/dist/esm/models/index.js +9 -11
- package/dist/esm/runtime.d.ts +2 -2
- package/dist/esm/runtime.js +17 -2
- package/dist/models/DeviceResponse.d.ts +33 -29
- package/dist/models/DeviceResponse.js +34 -26
- package/dist/models/ErrorResponse.d.ts +32 -0
- package/dist/models/ErrorResponse.js +50 -0
- package/dist/models/GlobalStatsResponse.d.ts +52 -0
- package/dist/models/GlobalStatsResponse.js +62 -0
- package/dist/models/ListResponseReleaseResponse.d.ts +8 -8
- package/dist/models/ListResponseReleaseResponse.js +8 -7
- package/dist/models/ListResponseReleaseResponseDataInner.d.ts +155 -0
- package/dist/models/ListResponseReleaseResponseDataInner.js +121 -0
- package/dist/models/ListResponseShortDeviceResponse.d.ts +8 -8
- package/dist/models/ListResponseShortDeviceResponse.js +8 -7
- package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +98 -0
- package/dist/models/ListResponseShortDeviceResponseDataInner.js +92 -0
- package/dist/models/ListResponseString.d.ts +38 -0
- package/dist/models/ListResponseString.js +54 -0
- package/dist/models/MaintainerShortResponse.d.ts +50 -0
- package/dist/models/MaintainerShortResponse.js +62 -0
- package/dist/models/NewReportRequest.d.ts +58 -0
- package/dist/models/NewReportRequest.js +62 -0
- package/dist/models/PasteInput.d.ts +3 -3
- package/dist/models/PasteInput.js +2 -2
- package/dist/models/PasteResponse.d.ts +50 -0
- package/dist/models/PasteResponse.js +60 -0
- package/dist/models/RecoveryImgResponse.d.ts +6 -6
- package/dist/models/RecoveryImgResponse.js +6 -6
- package/dist/models/ReleaseGroupsResponse.d.ts +2 -2
- package/dist/models/ReleaseGroupsResponse.js +2 -2
- package/dist/models/ReleaseResponse.d.ts +46 -42
- package/dist/models/ReleaseResponse.js +45 -44
- package/dist/models/ShortDeviceResponse.d.ts +29 -25
- package/dist/models/ShortDeviceResponse.js +26 -18
- package/dist/models/ShortReleaseResponse.d.ts +31 -27
- package/dist/models/ShortReleaseResponse.js +35 -32
- package/dist/models/TokenResponse.d.ts +38 -0
- package/dist/models/TokenResponse.js +54 -0
- package/dist/models/index.d.ts +9 -11
- package/dist/models/index.js +9 -11
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +17 -2
- package/docs/DeviceApi.md +83 -90
- package/docs/DeviceResponse.md +19 -17
- package/docs/{ReleasesSort.md → ErrorResponse.md} +6 -4
- package/docs/{GlobalStatsAggregationModel.md → GlobalStatsResponse.md} +6 -6
- package/docs/ListResponseReleaseResponse.md +2 -2
- package/docs/ListResponseReleaseResponseDataInner.md +74 -0
- package/docs/ListResponseShortDeviceResponse.md +2 -2
- package/docs/ListResponseShortDeviceResponseDataInner.md +56 -0
- package/docs/{ListResponseStr.md → ListResponseString.md} +6 -6
- package/docs/{MaintainerShortModel.md → MaintainerShortResponse.md} +9 -7
- package/docs/{ListResponseShortReleaseResponse.md → NewReportRequest.md} +14 -8
- package/docs/PasteApi.md +25 -29
- package/docs/{PasteOutput.md → PasteResponse.md} +7 -7
- package/docs/RecoveryImgResponse.md +2 -2
- package/docs/ReleaseApi.md +176 -118
- package/docs/ReleaseResponse.md +28 -26
- package/docs/ReportApi.md +84 -0
- package/docs/ShortDeviceResponse.md +14 -12
- package/docs/ShortReleaseResponse.md +22 -20
- package/docs/StatsApi.md +10 -10
- package/docs/{ValidationErrorLocInner.md → TokenResponse.md} +8 -4
- package/package.json +3 -13
- package/src/apis/DeviceApi.ts +175 -116
- package/src/apis/PasteApi.ts +72 -46
- package/src/apis/ReleaseApi.ts +281 -181
- package/src/apis/ReportApi.ts +139 -0
- package/src/apis/StatsApi.ts +40 -22
- package/src/apis/index.ts +1 -0
- package/src/models/DeviceResponse.ts +65 -55
- package/src/models/ErrorResponse.ts +66 -0
- package/src/models/GlobalStatsResponse.ts +93 -0
- package/src/models/ListResponseReleaseResponse.ts +17 -16
- package/src/models/ListResponseReleaseResponseDataInner.ts +249 -0
- package/src/models/ListResponseShortDeviceResponse.ts +17 -16
- package/src/models/ListResponseShortDeviceResponseDataInner.ts +164 -0
- package/src/models/ListResponseString.ts +75 -0
- package/src/models/MaintainerShortResponse.ts +93 -0
- package/src/models/NewReportRequest.ts +100 -0
- package/src/models/PasteInput.ts +3 -3
- package/src/models/PasteResponse.ts +92 -0
- package/src/models/RecoveryImgResponse.ts +9 -9
- package/src/models/ReleaseGroupsResponse.ts +2 -2
- package/src/models/ReleaseResponse.ts +85 -86
- package/src/models/ShortDeviceResponse.ts +50 -40
- package/src/models/ShortReleaseResponse.ts +62 -64
- package/src/models/TokenResponse.ts +75 -0
- package/src/models/index.ts +9 -11
- package/src/runtime.ts +20 -2
- package/dist/esm/models/GlobalStatsAggregationModel.d.ts +0 -52
- package/dist/esm/models/HTTPValidationError.d.ts +0 -33
- package/dist/esm/models/HTTPValidationError.js +0 -42
- package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +0 -39
- package/dist/esm/models/ListResponseShortReleaseResponse.js +0 -47
- package/dist/esm/models/ListResponseStr.d.ts +0 -38
- package/dist/esm/models/ListResponseStr.js +0 -46
- package/dist/esm/models/MaintainerShortModel.d.ts +0 -44
- package/dist/esm/models/MaintainerShortModel.js +0 -51
- package/dist/esm/models/PasteOutput.d.ts +0 -50
- package/dist/esm/models/PasteOutput.js +0 -53
- package/dist/esm/models/ReleaseType.d.ts +0 -26
- package/dist/esm/models/ReleaseType.js +0 -44
- package/dist/esm/models/ReleasesSort.d.ts +0 -25
- package/dist/esm/models/ReleasesSort.js +0 -43
- package/dist/esm/models/ResponseGetReleases.d.ts +0 -41
- package/dist/esm/models/ResponseGetReleases.js +0 -46
- package/dist/esm/models/ValidationError.d.ts +0 -45
- package/dist/esm/models/ValidationError.js +0 -52
- package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -26
- package/dist/esm/models/ValidationErrorLocInner.js +0 -31
- package/dist/models/GlobalStatsAggregationModel.d.ts +0 -52
- package/dist/models/GlobalStatsAggregationModel.js +0 -62
- package/dist/models/HTTPValidationError.d.ts +0 -33
- package/dist/models/HTTPValidationError.js +0 -49
- package/dist/models/ListResponseShortReleaseResponse.d.ts +0 -39
- package/dist/models/ListResponseShortReleaseResponse.js +0 -54
- package/dist/models/ListResponseStr.d.ts +0 -38
- package/dist/models/ListResponseStr.js +0 -53
- package/dist/models/MaintainerShortModel.d.ts +0 -44
- package/dist/models/MaintainerShortModel.js +0 -58
- package/dist/models/PasteOutput.d.ts +0 -50
- package/dist/models/PasteOutput.js +0 -60
- package/dist/models/ReleaseType.d.ts +0 -26
- package/dist/models/ReleaseType.js +0 -52
- package/dist/models/ReleasesSort.d.ts +0 -25
- package/dist/models/ReleasesSort.js +0 -51
- package/dist/models/ResponseGetReleases.d.ts +0 -41
- package/dist/models/ResponseGetReleases.js +0 -53
- package/dist/models/ValidationError.d.ts +0 -45
- package/dist/models/ValidationError.js +0 -59
- package/dist/models/ValidationErrorLocInner.d.ts +0 -26
- package/dist/models/ValidationErrorLocInner.js +0 -38
- package/docs/HTTPValidationError.md +0 -34
- package/docs/ReleaseType.md +0 -32
- package/docs/ResponseGetReleases.md +0 -36
- package/docs/ValidationError.md +0 -38
- package/src/models/GlobalStatsAggregationModel.ts +0 -93
- package/src/models/HTTPValidationError.ts +0 -73
- package/src/models/ListResponseShortReleaseResponse.ts +0 -82
- package/src/models/ListResponseStr.ts +0 -74
- package/src/models/MaintainerShortModel.ts +0 -84
- package/src/models/PasteOutput.ts +0 -92
- package/src/models/ReleaseType.ts +0 -54
- package/src/models/ReleasesSort.ts +0 -53
- package/src/models/ResponseGetReleases.ts +0 -96
- package/src/models/ValidationError.ts +0 -92
- package/src/models/ValidationErrorLocInner.ts +0 -46
|
@@ -0,0 +1,50 @@
|
|
|
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.4
|
|
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 MaintainerShortResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MaintainerShortResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MaintainerShortResponse
|
|
22
|
+
*/
|
|
23
|
+
legacyId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MaintainerShortResponse
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MaintainerShortResponse
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MaintainerShortResponse
|
|
40
|
+
*/
|
|
41
|
+
username: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MaintainerShortResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMaintainerShortResponse(value: object): value is MaintainerShortResponse;
|
|
47
|
+
export declare function MaintainerShortResponseFromJSON(json: any): MaintainerShortResponse;
|
|
48
|
+
export declare function MaintainerShortResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MaintainerShortResponse;
|
|
49
|
+
export declare function MaintainerShortResponseToJSON(json: any): MaintainerShortResponse;
|
|
50
|
+
export declare function MaintainerShortResponseToJSONTyped(value?: MaintainerShortResponse | 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: 6.0.4
|
|
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 MaintainerShortResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMaintainerShortResponse(value) {
|
|
18
|
+
if (!('legacyId' in value) || value['legacyId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function MaintainerShortResponseFromJSON(json) {
|
|
29
|
+
return MaintainerShortResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function MaintainerShortResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'legacyId': json['_id'],
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'username': json['username'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function MaintainerShortResponseToJSON(json) {
|
|
43
|
+
return MaintainerShortResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function MaintainerShortResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'_id': value['legacyId'],
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'username': value['username'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.4
|
|
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 NewReportRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface NewReportRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NewReportRequest
|
|
22
|
+
*/
|
|
23
|
+
details: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NewReportRequest
|
|
28
|
+
*/
|
|
29
|
+
dmesg?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NewReportRequest
|
|
34
|
+
*/
|
|
35
|
+
logcat?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: string; }}
|
|
39
|
+
* @memberof NewReportRequest
|
|
40
|
+
*/
|
|
41
|
+
logs: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof NewReportRequest
|
|
48
|
+
*/
|
|
49
|
+
screenshots: Array<string>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the NewReportRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfNewReportRequest(value: object): value is NewReportRequest;
|
|
55
|
+
export declare function NewReportRequestFromJSON(json: any): NewReportRequest;
|
|
56
|
+
export declare function NewReportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NewReportRequest;
|
|
57
|
+
export declare function NewReportRequestToJSON(json: any): NewReportRequest;
|
|
58
|
+
export declare function NewReportRequestToJSONTyped(value?: NewReportRequest | 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: 6.0.4
|
|
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 NewReportRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfNewReportRequest(value) {
|
|
18
|
+
if (!('details' in value) || value['details'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('logs' in value) || value['logs'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('screenshots' in value) || value['screenshots'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function NewReportRequestFromJSON(json) {
|
|
27
|
+
return NewReportRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function NewReportRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'details': json['details'],
|
|
35
|
+
'dmesg': json['dmesg'] == null ? undefined : json['dmesg'],
|
|
36
|
+
'logcat': json['logcat'] == null ? undefined : json['logcat'],
|
|
37
|
+
'logs': json['logs'],
|
|
38
|
+
'screenshots': json['screenshots'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function NewReportRequestToJSON(json) {
|
|
42
|
+
return NewReportRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function NewReportRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'details': value['details'],
|
|
50
|
+
'dmesg': value['dmesg'],
|
|
51
|
+
'logcat': value['logcat'],
|
|
52
|
+
'logs': value['logs'],
|
|
53
|
+
'screenshots': value['screenshots'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fox API
|
|
3
|
-
*
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.4
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PasteInput {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PasteInput
|
|
22
22
|
*/
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.4
|
|
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,50 @@
|
|
|
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.4
|
|
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 PasteResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PasteResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PasteResponse
|
|
22
|
+
*/
|
|
23
|
+
content: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PasteResponse
|
|
28
|
+
*/
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PasteResponse
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PasteResponse
|
|
40
|
+
*/
|
|
41
|
+
isOwner?: boolean | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PasteResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPasteResponse(value: object): value is PasteResponse;
|
|
47
|
+
export declare function PasteResponseFromJSON(json: any): PasteResponse;
|
|
48
|
+
export declare function PasteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasteResponse;
|
|
49
|
+
export declare function PasteResponseToJSON(json: any): PasteResponse;
|
|
50
|
+
export declare function PasteResponseToJSONTyped(value?: PasteResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.4
|
|
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 PasteResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPasteResponse(value) {
|
|
18
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PasteResponseFromJSON(json) {
|
|
27
|
+
return PasteResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PasteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'content': json['content'],
|
|
35
|
+
'createdAt': json['created_at'],
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'isOwner': json['isOwner'] == null ? undefined : json['isOwner'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function PasteResponseToJSON(json) {
|
|
41
|
+
return PasteResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function PasteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'content': value['content'],
|
|
49
|
+
'created_at': value['createdAt'],
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'isOwner': value['isOwner'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fox API
|
|
3
|
-
*
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.4
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
export interface RecoveryImgResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof RecoveryImgResponse
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
md5: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {number}
|
|
27
27
|
* @memberof RecoveryImgResponse
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
size: number;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the RecoveryImgResponse interface.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.4
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
* Check if a given object implements the RecoveryImgResponse interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfRecoveryImgResponse(value) {
|
|
18
|
-
if (!('size' in value) || value['size'] === undefined)
|
|
19
|
-
return false;
|
|
20
18
|
if (!('md5' in value) || value['md5'] === undefined)
|
|
21
19
|
return false;
|
|
20
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
21
|
+
return false;
|
|
22
22
|
return true;
|
|
23
23
|
}
|
|
24
24
|
export function RecoveryImgResponseFromJSON(json) {
|
|
@@ -29,8 +29,8 @@ export function RecoveryImgResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
return json;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
-
'size': json['size'],
|
|
33
32
|
'md5': json['md5'],
|
|
33
|
+
'size': json['size'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
export function RecoveryImgResponseToJSON(json) {
|
|
@@ -41,7 +41,7 @@ export function RecoveryImgResponseToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
41
41
|
return value;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'size': value['size'],
|
|
45
44
|
'md5': value['md5'],
|
|
45
|
+
'size': value['size'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fox API
|
|
3
|
-
*
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.4
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.4
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fox API
|
|
3
|
-
*
|
|
3
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.4
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ReleaseType } from './ReleaseType';
|
|
13
12
|
import type { RecoveryImgResponse } from './RecoveryImgResponse';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -19,127 +18,132 @@ import type { RecoveryImgResponse } from './RecoveryImgResponse';
|
|
|
19
18
|
export interface ReleaseResponse {
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
22
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
23
22
|
* @memberof ReleaseResponse
|
|
24
|
-
* @deprecated
|
|
25
23
|
*/
|
|
26
|
-
|
|
24
|
+
legacyId: string;
|
|
27
25
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
30
28
|
* @memberof ReleaseResponse
|
|
31
29
|
*/
|
|
32
|
-
|
|
30
|
+
archived: boolean;
|
|
33
31
|
/**
|
|
34
32
|
*
|
|
35
33
|
* @type {string}
|
|
36
34
|
* @memberof ReleaseResponse
|
|
37
35
|
*/
|
|
38
|
-
buildId?: string
|
|
36
|
+
buildId?: string;
|
|
39
37
|
/**
|
|
40
38
|
*
|
|
41
|
-
* @type {
|
|
39
|
+
* @type {number}
|
|
42
40
|
* @memberof ReleaseResponse
|
|
43
41
|
*/
|
|
44
|
-
|
|
42
|
+
date: number;
|
|
45
43
|
/**
|
|
46
44
|
*
|
|
47
45
|
* @type {string}
|
|
48
46
|
* @memberof ReleaseResponse
|
|
49
47
|
*/
|
|
50
|
-
|
|
48
|
+
deviceId: string;
|
|
51
49
|
/**
|
|
52
50
|
*
|
|
53
51
|
* @type {string}
|
|
54
52
|
* @memberof ReleaseResponse
|
|
55
53
|
*/
|
|
56
|
-
|
|
54
|
+
featuredText?: string;
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
60
58
|
* @memberof ReleaseResponse
|
|
61
59
|
*/
|
|
62
|
-
|
|
60
|
+
filename: string;
|
|
63
61
|
/**
|
|
64
62
|
*
|
|
65
63
|
* @type {string}
|
|
66
64
|
* @memberof ReleaseResponse
|
|
67
65
|
*/
|
|
68
|
-
|
|
66
|
+
id: string;
|
|
69
67
|
/**
|
|
70
68
|
*
|
|
71
|
-
* @type {
|
|
69
|
+
* @type {boolean}
|
|
72
70
|
* @memberof ReleaseResponse
|
|
73
71
|
*/
|
|
74
|
-
|
|
72
|
+
isFeatured: boolean;
|
|
75
73
|
/**
|
|
76
74
|
*
|
|
77
|
-
* @type {
|
|
75
|
+
* @type {string}
|
|
78
76
|
* @memberof ReleaseResponse
|
|
79
77
|
*/
|
|
80
|
-
|
|
78
|
+
maintainerId?: string;
|
|
81
79
|
/**
|
|
82
80
|
*
|
|
83
81
|
* @type {string}
|
|
84
82
|
* @memberof ReleaseResponse
|
|
85
83
|
*/
|
|
86
|
-
|
|
84
|
+
md5: string;
|
|
87
85
|
/**
|
|
88
86
|
*
|
|
89
|
-
* @type {
|
|
87
|
+
* @type {number}
|
|
90
88
|
* @memberof ReleaseResponse
|
|
91
89
|
*/
|
|
92
|
-
|
|
90
|
+
size: number;
|
|
93
91
|
/**
|
|
94
92
|
*
|
|
95
|
-
* @type {
|
|
93
|
+
* @type {string}
|
|
96
94
|
* @memberof ReleaseResponse
|
|
97
95
|
*/
|
|
98
|
-
|
|
96
|
+
type: string;
|
|
99
97
|
/**
|
|
100
98
|
*
|
|
101
99
|
* @type {string}
|
|
102
100
|
* @memberof ReleaseResponse
|
|
103
101
|
*/
|
|
104
|
-
|
|
102
|
+
variant: string;
|
|
105
103
|
/**
|
|
106
104
|
*
|
|
107
|
-
* @type {
|
|
105
|
+
* @type {string}
|
|
108
106
|
* @memberof ReleaseResponse
|
|
109
107
|
*/
|
|
110
|
-
|
|
108
|
+
version: string;
|
|
111
109
|
/**
|
|
112
110
|
*
|
|
113
111
|
* @type {Array<string>}
|
|
114
112
|
* @memberof ReleaseResponse
|
|
115
113
|
*/
|
|
116
|
-
|
|
114
|
+
bugs?: Array<string> | null;
|
|
117
115
|
/**
|
|
118
116
|
*
|
|
119
117
|
* @type {Array<string>}
|
|
120
118
|
* @memberof ReleaseResponse
|
|
121
119
|
*/
|
|
122
|
-
|
|
120
|
+
changelog: Array<string>;
|
|
123
121
|
/**
|
|
124
122
|
*
|
|
125
|
-
* @type {string}
|
|
123
|
+
* @type {{ [key: string]: string; }}
|
|
126
124
|
* @memberof ReleaseResponse
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
mirrors: {
|
|
127
|
+
[key: string]: string;
|
|
128
|
+
};
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
*
|
|
131
131
|
* @type {string}
|
|
132
132
|
* @memberof ReleaseResponse
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
notes?: string | null;
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
137
|
-
* @type {
|
|
136
|
+
*
|
|
137
|
+
* @type {RecoveryImgResponse}
|
|
138
138
|
* @memberof ReleaseResponse
|
|
139
139
|
*/
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
recoveryImg: RecoveryImgResponse;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof ReleaseResponse
|
|
145
|
+
*/
|
|
146
|
+
url: string;
|
|
143
147
|
}
|
|
144
148
|
/**
|
|
145
149
|
* Check if a given object implements the ReleaseResponse interface.
|
|
@@ -148,4 +152,4 @@ export declare function instanceOfReleaseResponse(value: object): value is Relea
|
|
|
148
152
|
export declare function ReleaseResponseFromJSON(json: any): ReleaseResponse;
|
|
149
153
|
export declare function ReleaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseResponse;
|
|
150
154
|
export declare function ReleaseResponseToJSON(json: any): ReleaseResponse;
|
|
151
|
-
export declare function ReleaseResponseToJSONTyped(value?:
|
|
155
|
+
export declare function ReleaseResponseToJSONTyped(value?: ReleaseResponse | null, ignoreDiscriminator?: boolean): any;
|