@orangefox-recovery/foxinternalclient 5.2.6 → 5.2.8
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 +58 -60
- package/README.md +3 -122
- package/dist/apis/DeviceApi.d.ts +158 -0
- package/dist/apis/DeviceApi.js +188 -0
- package/dist/apis/FoxFactoryApi.d.ts +298 -0
- package/dist/apis/FoxFactoryApi.js +507 -0
- package/dist/apis/GitlabApi.d.ts +51 -0
- package/dist/apis/GitlabApi.js +71 -0
- package/dist/apis/InternalApi.d.ts +549 -0
- package/dist/apis/InternalApi.js +957 -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 +7 -0
- package/dist/apis/index.js +25 -0
- package/dist/esm/apis/DeviceApi.d.ts +158 -0
- package/dist/esm/apis/DeviceApi.js +184 -0
- package/dist/esm/apis/FoxFactoryApi.d.ts +298 -0
- package/dist/esm/apis/FoxFactoryApi.js +503 -0
- package/dist/esm/apis/GitlabApi.d.ts +51 -0
- package/dist/esm/apis/GitlabApi.js +67 -0
- package/dist/esm/apis/InternalApi.d.ts +549 -0
- package/dist/esm/apis/InternalApi.js +953 -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 +7 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/index.d.ts +3 -13
- package/dist/esm/index.js +3 -13
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +47 -0
- package/dist/esm/models/BuildStatusEnum.d.ts +30 -0
- package/dist/esm/models/BuildStatusEnum.js +48 -0
- package/dist/esm/models/BuildTaskResponse.d.ts +103 -0
- package/dist/esm/models/BuildTaskResponse.js +78 -0
- package/dist/esm/models/BuildTaskShortResponse.d.ts +89 -0
- package/dist/esm/models/BuildTaskShortResponse.js +74 -0
- package/dist/esm/models/DeviceInternalResponse.d.ts +114 -0
- package/dist/esm/models/DeviceInternalResponse.js +91 -0
- package/dist/esm/models/DeviceResponse.d.ts +101 -0
- package/dist/esm/models/DeviceResponse.js +82 -0
- package/dist/esm/models/DeviceStatsResponse.d.ts +48 -0
- package/dist/esm/models/DeviceStatsResponse.js +51 -0
- package/dist/esm/models/DeviceUpdateBody.d.ts +62 -0
- package/dist/esm/models/DeviceUpdateBody.js +51 -0
- package/dist/esm/models/FFStatusEnum.d.ts +26 -0
- package/dist/esm/models/FFStatusEnum.js +44 -0
- package/dist/esm/models/FFStatusResponse.d.ts +33 -0
- package/dist/esm/models/FFStatusResponse.js +44 -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/ListResponseBuildTaskShortResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseBuildTaskShortResponse.js +47 -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/ListResponseUserShortResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseUserShortResponse.js +47 -0
- package/dist/esm/models/LogListResponse.d.ts +51 -0
- package/dist/esm/models/LogListResponse.js +56 -0
- package/dist/esm/models/LogResponse.d.ts +83 -0
- package/dist/esm/models/LogResponse.js +66 -0
- package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
- package/dist/esm/models/MaintainerShortModel.js +51 -0
- package/dist/esm/models/NewBuildTaskBody.d.ts +57 -0
- package/dist/esm/models/NewBuildTaskBody.js +52 -0
- package/dist/esm/models/NewDeviceBody.d.ts +50 -0
- package/dist/esm/models/NewDeviceBody.js +55 -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/ReleaseInternalResponse.d.ts +162 -0
- package/dist/esm/models/ReleaseInternalResponse.js +119 -0
- package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +26 -0
- package/dist/esm/models/ReleaseInternalResponsePropValue.js +31 -0
- package/dist/esm/models/ReleaseResponse.d.ts +139 -0
- package/dist/esm/models/ReleaseResponse.js +107 -0
- package/dist/esm/models/ReleaseStatsResponse.d.ts +48 -0
- package/dist/esm/models/ReleaseStatsResponse.js +51 -0
- package/dist/esm/models/ReleaseType.d.ts +26 -0
- package/dist/esm/models/ReleaseType.js +44 -0
- package/dist/esm/models/ReleaseUpdateBody.d.ts +50 -0
- package/dist/esm/models/ReleaseUpdateBody.js +47 -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/TaskUpdateBody.d.ts +39 -0
- package/dist/esm/models/TaskUpdateBody.js +44 -0
- package/dist/esm/models/TokenResponse.d.ts +38 -0
- package/dist/esm/models/TokenResponse.js +45 -0
- package/dist/esm/models/UserGitlab.d.ts +32 -0
- package/dist/esm/models/UserGitlab.js +43 -0
- package/dist/esm/models/UserInternalResponse.d.ts +90 -0
- package/dist/esm/models/UserInternalResponse.js +75 -0
- package/dist/esm/models/UserMail.d.ts +32 -0
- package/dist/esm/models/UserMail.js +43 -0
- package/dist/esm/models/UserShortResponse.d.ts +50 -0
- package/dist/esm/models/UserShortResponse.js +55 -0
- package/dist/esm/models/UserTelegram.d.ts +32 -0
- package/dist/esm/models/UserTelegram.js +43 -0
- package/dist/esm/models/UserUpdateBody.d.ts +56 -0
- package/dist/esm/models/UserUpdateBody.js +49 -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 +47 -0
- package/dist/esm/models/index.js +49 -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/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
- package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +54 -0
- package/dist/models/BuildStatusEnum.d.ts +30 -0
- package/dist/models/BuildStatusEnum.js +56 -0
- package/dist/models/BuildTaskResponse.d.ts +103 -0
- package/dist/models/BuildTaskResponse.js +85 -0
- package/dist/models/BuildTaskShortResponse.d.ts +89 -0
- package/dist/models/BuildTaskShortResponse.js +81 -0
- package/dist/models/DeviceInternalResponse.d.ts +114 -0
- package/dist/models/DeviceInternalResponse.js +98 -0
- package/dist/models/DeviceResponse.d.ts +101 -0
- package/dist/models/DeviceResponse.js +89 -0
- package/dist/models/DeviceStatsResponse.d.ts +48 -0
- package/dist/models/DeviceStatsResponse.js +58 -0
- package/dist/models/DeviceUpdateBody.d.ts +62 -0
- package/dist/models/DeviceUpdateBody.js +58 -0
- package/dist/models/FFStatusEnum.d.ts +26 -0
- package/dist/models/FFStatusEnum.js +52 -0
- package/dist/models/FFStatusResponse.d.ts +33 -0
- package/dist/models/FFStatusResponse.js +51 -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/ListResponseBuildTaskShortResponse.d.ts +39 -0
- package/dist/models/ListResponseBuildTaskShortResponse.js +54 -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/ListResponseUserShortResponse.d.ts +39 -0
- package/dist/models/ListResponseUserShortResponse.js +54 -0
- package/dist/models/LogListResponse.d.ts +51 -0
- package/dist/models/LogListResponse.js +63 -0
- package/dist/models/LogResponse.d.ts +83 -0
- package/dist/models/LogResponse.js +73 -0
- package/dist/models/MaintainerShortModel.d.ts +44 -0
- package/dist/models/MaintainerShortModel.js +58 -0
- package/dist/models/NewBuildTaskBody.d.ts +57 -0
- package/dist/models/NewBuildTaskBody.js +59 -0
- package/dist/models/NewDeviceBody.d.ts +50 -0
- package/dist/models/NewDeviceBody.js +62 -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/ReleaseInternalResponse.d.ts +162 -0
- package/dist/models/ReleaseInternalResponse.js +126 -0
- package/dist/models/ReleaseInternalResponsePropValue.d.ts +26 -0
- package/dist/models/ReleaseInternalResponsePropValue.js +38 -0
- package/dist/models/ReleaseResponse.d.ts +139 -0
- package/dist/models/ReleaseResponse.js +114 -0
- package/dist/models/ReleaseStatsResponse.d.ts +48 -0
- package/dist/models/ReleaseStatsResponse.js +58 -0
- package/dist/models/ReleaseType.d.ts +26 -0
- package/dist/models/ReleaseType.js +52 -0
- package/dist/models/ReleaseUpdateBody.d.ts +50 -0
- package/dist/models/ReleaseUpdateBody.js +54 -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/TaskUpdateBody.d.ts +39 -0
- package/dist/models/TaskUpdateBody.js +51 -0
- package/dist/models/TokenResponse.d.ts +38 -0
- package/dist/models/TokenResponse.js +52 -0
- package/dist/models/UserGitlab.d.ts +32 -0
- package/dist/models/UserGitlab.js +50 -0
- package/dist/models/UserInternalResponse.d.ts +90 -0
- package/dist/models/UserInternalResponse.js +82 -0
- package/dist/models/UserMail.d.ts +32 -0
- package/dist/models/UserMail.js +50 -0
- package/dist/models/UserShortResponse.d.ts +50 -0
- package/dist/models/UserShortResponse.js +62 -0
- package/dist/models/UserTelegram.d.ts +32 -0
- package/dist/models/UserTelegram.js +50 -0
- package/dist/models/UserUpdateBody.d.ts +56 -0
- package/dist/models/UserUpdateBody.js +56 -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 +47 -0
- package/dist/models/index.js +65 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +10 -17
- package/src/apis/DeviceApi.ts +326 -0
- package/src/apis/FoxFactoryApi.ts +807 -0
- package/src/apis/GitlabApi.ts +108 -0
- package/src/apis/InternalApi.ts +1590 -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 +9 -0
- package/src/index.ts +5 -0
- package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +75 -0
- package/src/models/BuildStatusEnum.ts +58 -0
- package/src/models/BuildTaskResponse.ts +183 -0
- package/src/models/BuildTaskShortResponse.ts +167 -0
- package/src/models/DeviceInternalResponse.ts +196 -0
- package/src/models/DeviceResponse.ts +171 -0
- package/src/models/DeviceStatsResponse.ts +84 -0
- package/src/models/DeviceUpdateBody.ts +105 -0
- package/src/models/FFStatusEnum.ts +54 -0
- package/src/models/FFStatusResponse.ts +76 -0
- package/src/models/GlobalStatsAggregationModel.ts +93 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/ListResponseBuildTaskShortResponse.ts +82 -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/ListResponseUserShortResponse.ts +82 -0
- package/src/models/LogListResponse.ts +101 -0
- package/src/models/LogResponse.ts +141 -0
- package/src/models/MaintainerShortModel.ts +84 -0
- package/src/models/NewBuildTaskBody.ts +108 -0
- package/src/models/NewDeviceBody.ts +93 -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/ReleaseInternalResponse.ts +279 -0
- package/src/models/ReleaseInternalResponsePropValue.ts +46 -0
- package/src/models/ReleaseResponse.ts +233 -0
- package/src/models/ReleaseStatsResponse.ts +84 -0
- package/src/models/ReleaseType.ts +54 -0
- package/src/models/ReleaseUpdateBody.ts +89 -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/TaskUpdateBody.ts +83 -0
- package/src/models/TokenResponse.ts +74 -0
- package/src/models/UserGitlab.ts +66 -0
- package/src/models/UserInternalResponse.ts +172 -0
- package/src/models/UserMail.ts +66 -0
- package/src/models/UserShortResponse.ts +93 -0
- package/src/models/UserTelegram.ts +66 -0
- package/src/models/UserUpdateBody.ts +97 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/index.ts +49 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +2 -4
- package/api.ts +0 -6111
- package/base.ts +0 -86
- package/common.ts +0 -150
- package/configuration.ts +0 -115
- package/dist/api.d.ts +0 -3964
- package/dist/api.js +0 -3664
- 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 -3964
- package/dist/esm/api.js +0 -3633
- 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/BodyChangePasswordProfileChangePasswordPost.md +0 -22
- package/docs/BuildStatusEnum.md +0 -20
- package/docs/BuildTaskResponse.md +0 -42
- package/docs/BuildTaskShortResponse.md +0 -38
- package/docs/DeviceApi.md +0 -251
- package/docs/DeviceInternalResponse.md +0 -48
- package/docs/DeviceResponse.md +0 -44
- package/docs/DeviceStatsResponse.md +0 -24
- package/docs/DeviceUpdateBody.md +0 -30
- package/docs/FFStatusEnum.md +0 -12
- package/docs/FFStatusResponse.md +0 -20
- package/docs/FoxFactoryApi.md +0 -540
- package/docs/GitlabApi.md +0 -62
- package/docs/GlobalStatsAggregationModel.md +0 -26
- package/docs/HTTPValidationError.md +0 -20
- package/docs/InternalApi.md +0 -1072
- package/docs/ListResponseBuildTaskShortResponse.md +0 -22
- 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/ListResponseUserShortResponse.md +0 -22
- package/docs/LogListResponse.md +0 -26
- package/docs/LogResponse.md +0 -36
- package/docs/MaintainerShortModel.md +0 -26
- package/docs/NewBuildTaskBody.md +0 -28
- package/docs/NewDeviceBody.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/ReleaseInternalResponse.md +0 -62
- package/docs/ReleaseInternalResponsePropValue.md +0 -18
- package/docs/ReleaseResponse.md +0 -56
- package/docs/ReleaseStatsResponse.md +0 -24
- package/docs/ReleaseType.md +0 -12
- package/docs/ReleaseUpdateBody.md +0 -26
- 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/TaskUpdateBody.md +0 -22
- package/docs/TokenResponse.md +0 -22
- package/docs/UserGitlab.md +0 -20
- package/docs/UserInternalResponse.md +0 -38
- package/docs/UserMail.md +0 -20
- package/docs/UserShortResponse.md +0 -26
- package/docs/UserTelegram.md +0 -20
- package/docs/UserUpdateBody.md +0 -28
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/git_push.sh +0 -57
|
@@ -0,0 +1,48 @@
|
|
|
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.8
|
|
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 DeviceStatsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DeviceStatsResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DeviceStatsResponse
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: number; }}
|
|
27
|
+
* @memberof DeviceStatsResponse
|
|
28
|
+
*/
|
|
29
|
+
days: {
|
|
30
|
+
[key: string]: number;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: number; }}
|
|
35
|
+
* @memberof DeviceStatsResponse
|
|
36
|
+
*/
|
|
37
|
+
mirrors: {
|
|
38
|
+
[key: string]: number;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the DeviceStatsResponse interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfDeviceStatsResponse(value: object): value is DeviceStatsResponse;
|
|
45
|
+
export declare function DeviceStatsResponseFromJSON(json: any): DeviceStatsResponse;
|
|
46
|
+
export declare function DeviceStatsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceStatsResponse;
|
|
47
|
+
export declare function DeviceStatsResponseToJSON(json: any): DeviceStatsResponse;
|
|
48
|
+
export declare function DeviceStatsResponseToJSONTyped(value?: DeviceStatsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDeviceStatsResponse = instanceOfDeviceStatsResponse;
|
|
17
|
+
exports.DeviceStatsResponseFromJSON = DeviceStatsResponseFromJSON;
|
|
18
|
+
exports.DeviceStatsResponseFromJSONTyped = DeviceStatsResponseFromJSONTyped;
|
|
19
|
+
exports.DeviceStatsResponseToJSON = DeviceStatsResponseToJSON;
|
|
20
|
+
exports.DeviceStatsResponseToJSONTyped = DeviceStatsResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeviceStatsResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeviceStatsResponse(value) {
|
|
25
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mirrors' in value) || value['mirrors'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DeviceStatsResponseFromJSON(json) {
|
|
34
|
+
return DeviceStatsResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DeviceStatsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'count': json['count'],
|
|
42
|
+
'days': json['days'],
|
|
43
|
+
'mirrors': json['mirrors'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DeviceStatsResponseToJSON(json) {
|
|
47
|
+
return DeviceStatsResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DeviceStatsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'count': value['count'],
|
|
55
|
+
'days': value['days'],
|
|
56
|
+
'mirrors': value['mirrors'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.8
|
|
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 DeviceUpdateBody
|
|
16
|
+
*/
|
|
17
|
+
export interface DeviceUpdateBody {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeviceUpdateBody
|
|
22
|
+
*/
|
|
23
|
+
oemName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof DeviceUpdateBody
|
|
28
|
+
*/
|
|
29
|
+
codenames?: Array<string> | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof DeviceUpdateBody
|
|
34
|
+
*/
|
|
35
|
+
modelNames?: Array<string> | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof DeviceUpdateBody
|
|
40
|
+
*/
|
|
41
|
+
supported?: boolean | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof DeviceUpdateBody
|
|
46
|
+
*/
|
|
47
|
+
freezed?: boolean | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DeviceUpdateBody
|
|
52
|
+
*/
|
|
53
|
+
notes?: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the DeviceUpdateBody interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfDeviceUpdateBody(value: object): value is DeviceUpdateBody;
|
|
59
|
+
export declare function DeviceUpdateBodyFromJSON(json: any): DeviceUpdateBody;
|
|
60
|
+
export declare function DeviceUpdateBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceUpdateBody;
|
|
61
|
+
export declare function DeviceUpdateBodyToJSON(json: any): DeviceUpdateBody;
|
|
62
|
+
export declare function DeviceUpdateBodyToJSONTyped(value?: DeviceUpdateBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDeviceUpdateBody = instanceOfDeviceUpdateBody;
|
|
17
|
+
exports.DeviceUpdateBodyFromJSON = DeviceUpdateBodyFromJSON;
|
|
18
|
+
exports.DeviceUpdateBodyFromJSONTyped = DeviceUpdateBodyFromJSONTyped;
|
|
19
|
+
exports.DeviceUpdateBodyToJSON = DeviceUpdateBodyToJSON;
|
|
20
|
+
exports.DeviceUpdateBodyToJSONTyped = DeviceUpdateBodyToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeviceUpdateBody interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeviceUpdateBody(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DeviceUpdateBodyFromJSON(json) {
|
|
28
|
+
return DeviceUpdateBodyFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DeviceUpdateBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'oemName': json['oem_name'] == null ? undefined : json['oem_name'],
|
|
36
|
+
'codenames': json['codenames'] == null ? undefined : json['codenames'],
|
|
37
|
+
'modelNames': json['model_names'] == null ? undefined : json['model_names'],
|
|
38
|
+
'supported': json['supported'] == null ? undefined : json['supported'],
|
|
39
|
+
'freezed': json['freezed'] == null ? undefined : json['freezed'],
|
|
40
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DeviceUpdateBodyToJSON(json) {
|
|
44
|
+
return DeviceUpdateBodyToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DeviceUpdateBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'oem_name': value['oemName'],
|
|
52
|
+
'codenames': value['codenames'],
|
|
53
|
+
'model_names': value['modelNames'],
|
|
54
|
+
'supported': value['supported'],
|
|
55
|
+
'freezed': value['freezed'],
|
|
56
|
+
'notes': value['notes'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.8
|
|
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
|
+
*/
|
|
16
|
+
export declare const FFStatusEnum: {
|
|
17
|
+
readonly Free: "free";
|
|
18
|
+
readonly Busy: "busy";
|
|
19
|
+
readonly Offline: "offline";
|
|
20
|
+
};
|
|
21
|
+
export type FFStatusEnum = typeof FFStatusEnum[keyof typeof FFStatusEnum];
|
|
22
|
+
export declare function instanceOfFFStatusEnum(value: any): boolean;
|
|
23
|
+
export declare function FFStatusEnumFromJSON(json: any): FFStatusEnum;
|
|
24
|
+
export declare function FFStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FFStatusEnum;
|
|
25
|
+
export declare function FFStatusEnumToJSON(value?: FFStatusEnum | null): any;
|
|
26
|
+
export declare function FFStatusEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): FFStatusEnum;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FFStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfFFStatusEnum = instanceOfFFStatusEnum;
|
|
18
|
+
exports.FFStatusEnumFromJSON = FFStatusEnumFromJSON;
|
|
19
|
+
exports.FFStatusEnumFromJSONTyped = FFStatusEnumFromJSONTyped;
|
|
20
|
+
exports.FFStatusEnumToJSON = FFStatusEnumToJSON;
|
|
21
|
+
exports.FFStatusEnumToJSONTyped = FFStatusEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.FFStatusEnum = {
|
|
27
|
+
Free: 'free',
|
|
28
|
+
Busy: 'busy',
|
|
29
|
+
Offline: 'offline'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfFFStatusEnum(value) {
|
|
32
|
+
for (const key in exports.FFStatusEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.FFStatusEnum, key)) {
|
|
34
|
+
if (exports.FFStatusEnum[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function FFStatusEnumFromJSON(json) {
|
|
42
|
+
return FFStatusEnumFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FFStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function FFStatusEnumToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function FFStatusEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -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.8
|
|
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 { FFStatusEnum } from './FFStatusEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FFStatusResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FFStatusResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {FFStatusEnum}
|
|
22
|
+
* @memberof FFStatusResponse
|
|
23
|
+
*/
|
|
24
|
+
status: FFStatusEnum;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FFStatusResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFFStatusResponse(value: object): value is FFStatusResponse;
|
|
30
|
+
export declare function FFStatusResponseFromJSON(json: any): FFStatusResponse;
|
|
31
|
+
export declare function FFStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FFStatusResponse;
|
|
32
|
+
export declare function FFStatusResponseToJSON(json: any): FFStatusResponse;
|
|
33
|
+
export declare function FFStatusResponseToJSONTyped(value?: FFStatusResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFFStatusResponse = instanceOfFFStatusResponse;
|
|
17
|
+
exports.FFStatusResponseFromJSON = FFStatusResponseFromJSON;
|
|
18
|
+
exports.FFStatusResponseFromJSONTyped = FFStatusResponseFromJSONTyped;
|
|
19
|
+
exports.FFStatusResponseToJSON = FFStatusResponseToJSON;
|
|
20
|
+
exports.FFStatusResponseToJSONTyped = FFStatusResponseToJSONTyped;
|
|
21
|
+
const FFStatusEnum_1 = require("./FFStatusEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FFStatusResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFFStatusResponse(value) {
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function FFStatusResponseFromJSON(json) {
|
|
31
|
+
return FFStatusResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function FFStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'status': (0, FFStatusEnum_1.FFStatusEnumFromJSON)(json['status']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FFStatusResponseToJSON(json) {
|
|
42
|
+
return FFStatusResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FFStatusResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': (0, FFStatusEnum_1.FFStatusEnumToJSON)(value['status']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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.8
|
|
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,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGlobalStatsAggregationModel = instanceOfGlobalStatsAggregationModel;
|
|
17
|
+
exports.GlobalStatsAggregationModelFromJSON = GlobalStatsAggregationModelFromJSON;
|
|
18
|
+
exports.GlobalStatsAggregationModelFromJSONTyped = GlobalStatsAggregationModelFromJSONTyped;
|
|
19
|
+
exports.GlobalStatsAggregationModelToJSON = GlobalStatsAggregationModelToJSON;
|
|
20
|
+
exports.GlobalStatsAggregationModelToJSONTyped = GlobalStatsAggregationModelToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GlobalStatsAggregationModel interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGlobalStatsAggregationModel(value) {
|
|
25
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('deviceCount' in value) || value['deviceCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('releaseCount' in value) || value['releaseCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GlobalStatsAggregationModelFromJSON(json) {
|
|
36
|
+
return GlobalStatsAggregationModelFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GlobalStatsAggregationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'count': json['count'],
|
|
44
|
+
'deviceCount': json['deviceCount'],
|
|
45
|
+
'releaseCount': json['releaseCount'],
|
|
46
|
+
'days': json['days'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GlobalStatsAggregationModelToJSON(json) {
|
|
50
|
+
return GlobalStatsAggregationModelToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GlobalStatsAggregationModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'count': value['count'],
|
|
58
|
+
'deviceCount': value['deviceCount'],
|
|
59
|
+
'releaseCount': value['releaseCount'],
|
|
60
|
+
'days': value['days'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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.8
|
|
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,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.2.8
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfHTTPValidationError = instanceOfHTTPValidationError;
|
|
17
|
+
exports.HTTPValidationErrorFromJSON = HTTPValidationErrorFromJSON;
|
|
18
|
+
exports.HTTPValidationErrorFromJSONTyped = HTTPValidationErrorFromJSONTyped;
|
|
19
|
+
exports.HTTPValidationErrorToJSON = HTTPValidationErrorToJSON;
|
|
20
|
+
exports.HTTPValidationErrorToJSONTyped = HTTPValidationErrorToJSONTyped;
|
|
21
|
+
const ValidationError_1 = require("./ValidationError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHTTPValidationError(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HTTPValidationErrorFromJSON(json) {
|
|
29
|
+
return HTTPValidationErrorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HTTPValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'detail': json['detail'] == null ? undefined : (json['detail'].map(ValidationError_1.ValidationErrorFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function HTTPValidationErrorToJSON(json) {
|
|
40
|
+
return HTTPValidationErrorToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function HTTPValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'detail': value['detail'] == null ? undefined : (value['detail'].map(ValidationError_1.ValidationErrorToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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.8
|
|
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 { BuildTaskShortResponse } from './BuildTaskShortResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseBuildTaskShortResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseBuildTaskShortResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BuildTaskShortResponse>}
|
|
22
|
+
* @memberof ListResponseBuildTaskShortResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<BuildTaskShortResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseBuildTaskShortResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseBuildTaskShortResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseBuildTaskShortResponse(value: object): value is ListResponseBuildTaskShortResponse;
|
|
36
|
+
export declare function ListResponseBuildTaskShortResponseFromJSON(json: any): ListResponseBuildTaskShortResponse;
|
|
37
|
+
export declare function ListResponseBuildTaskShortResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseBuildTaskShortResponse;
|
|
38
|
+
export declare function ListResponseBuildTaskShortResponseToJSON(json: any): ListResponseBuildTaskShortResponse;
|
|
39
|
+
export declare function ListResponseBuildTaskShortResponseToJSONTyped(value?: Omit<ListResponseBuildTaskShortResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|