@orangefox-recovery/foxinternalclient 5.3.0 → 5.3.3
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 +54 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +199 -28
- package/dist/apis/DeviceApi.d.ts +1 -1
- package/dist/apis/DeviceApi.js +10 -5
- package/dist/apis/FoxFactoryApi.d.ts +1 -1
- package/dist/apis/FoxFactoryApi.js +27 -11
- package/dist/apis/GitlabApi.d.ts +1 -1
- package/dist/apis/GitlabApi.js +4 -2
- package/dist/apis/InternalApi.d.ts +25 -1
- package/dist/apis/InternalApi.js +98 -21
- package/dist/apis/PasteApi.d.ts +1 -1
- package/dist/apis/PasteApi.js +6 -3
- package/dist/apis/ReleaseApi.d.ts +1 -1
- package/dist/apis/ReleaseApi.js +11 -5
- package/dist/apis/StatsApi.d.ts +1 -1
- package/dist/apis/StatsApi.js +3 -2
- package/dist/esm/apis/DeviceApi.d.ts +1 -1
- package/dist/esm/apis/DeviceApi.js +10 -5
- package/dist/esm/apis/FoxFactoryApi.d.ts +1 -1
- package/dist/esm/apis/FoxFactoryApi.js +27 -11
- package/dist/esm/apis/GitlabApi.d.ts +1 -1
- package/dist/esm/apis/GitlabApi.js +4 -2
- package/dist/esm/apis/InternalApi.d.ts +25 -1
- package/dist/esm/apis/InternalApi.js +98 -21
- package/dist/esm/apis/PasteApi.d.ts +1 -1
- package/dist/esm/apis/PasteApi.js +6 -3
- package/dist/esm/apis/ReleaseApi.d.ts +1 -1
- package/dist/esm/apis/ReleaseApi.js +11 -5
- package/dist/esm/apis/StatsApi.d.ts +1 -1
- package/dist/esm/apis/StatsApi.js +3 -2
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +1 -1
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +1 -1
- package/dist/esm/models/BuildStatusEnum.d.ts +1 -1
- package/dist/esm/models/BuildStatusEnum.js +1 -1
- package/dist/esm/models/BuildTaskResponse.d.ts +1 -1
- package/dist/esm/models/BuildTaskResponse.js +3 -3
- package/dist/esm/models/BuildTaskShortResponse.d.ts +1 -1
- package/dist/esm/models/BuildTaskShortResponse.js +3 -3
- package/dist/esm/models/DeviceInternalResponse.d.ts +14 -2
- package/dist/esm/models/DeviceInternalResponse.js +5 -1
- package/dist/esm/models/DeviceResponse.d.ts +14 -2
- package/dist/esm/models/DeviceResponse.js +5 -1
- package/dist/esm/models/DeviceStatsResponse.d.ts +1 -1
- package/dist/esm/models/DeviceStatsResponse.js +1 -1
- package/dist/esm/models/DeviceUpdateBody.d.ts +1 -1
- package/dist/esm/models/DeviceUpdateBody.js +1 -1
- package/dist/esm/models/FFStatusEnum.d.ts +1 -1
- package/dist/esm/models/FFStatusEnum.js +1 -1
- package/dist/esm/models/FFStatusResponse.d.ts +1 -1
- package/dist/esm/models/FFStatusResponse.js +1 -1
- package/dist/esm/models/GlobalStatsAggregationModel.d.ts +1 -1
- package/dist/esm/models/GlobalStatsAggregationModel.js +1 -1
- package/dist/esm/models/HTTPValidationError.d.ts +1 -1
- package/dist/esm/models/HTTPValidationError.js +1 -1
- package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseBuildTaskShortResponse.js +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
- package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseShortReleaseResponse.js +1 -1
- package/dist/esm/models/ListResponseStr.d.ts +1 -1
- package/dist/esm/models/ListResponseStr.js +1 -1
- package/dist/esm/models/ListResponseUserShortResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseUserShortResponse.js +1 -1
- package/dist/esm/models/LogListResponse.d.ts +1 -1
- package/dist/esm/models/LogListResponse.js +1 -1
- package/dist/esm/models/LogResponse.d.ts +1 -1
- package/dist/esm/models/LogResponse.js +2 -2
- package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
- package/dist/esm/models/MaintainerShortModel.js +1 -1
- package/dist/esm/models/NewBuildTaskBody.d.ts +1 -1
- package/dist/esm/models/NewBuildTaskBody.js +1 -1
- package/dist/esm/models/NewDeviceBody.d.ts +1 -1
- package/dist/esm/models/NewDeviceBody.js +1 -1
- package/dist/esm/models/PasteInput.d.ts +1 -1
- package/dist/esm/models/PasteInput.js +1 -1
- package/dist/esm/models/PasteOutput.d.ts +1 -1
- package/dist/esm/models/PasteOutput.js +2 -2
- 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/ReleaseInternalResponse.d.ts +13 -1
- package/dist/esm/models/ReleaseInternalResponse.js +7 -1
- package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +1 -1
- package/dist/esm/models/ReleaseInternalResponsePropValue.js +1 -1
- package/dist/esm/models/ReleaseResponse.d.ts +13 -1
- package/dist/esm/models/ReleaseResponse.js +7 -1
- package/dist/esm/models/ReleaseStatsResponse.d.ts +1 -1
- package/dist/esm/models/ReleaseStatsResponse.js +1 -1
- package/dist/esm/models/ReleaseType.d.ts +1 -1
- package/dist/esm/models/ReleaseType.js +1 -1
- package/dist/esm/models/ReleaseUpdateBody.d.ts +1 -1
- package/dist/esm/models/ReleaseUpdateBody.js +1 -1
- package/dist/esm/models/ReleasesSort.d.ts +1 -1
- package/dist/esm/models/ReleasesSort.js +1 -1
- package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
- package/dist/esm/models/ResponseGetReleases.js +1 -1
- package/dist/esm/models/ShortDeviceResponse.d.ts +14 -2
- package/dist/esm/models/ShortDeviceResponse.js +5 -1
- package/dist/esm/models/ShortReleaseResponse.d.ts +13 -1
- package/dist/esm/models/ShortReleaseResponse.js +7 -1
- package/dist/esm/models/TaskUpdateBody.d.ts +1 -1
- package/dist/esm/models/TaskUpdateBody.js +1 -1
- package/dist/esm/models/TokenResponse.d.ts +1 -1
- package/dist/esm/models/TokenResponse.js +1 -1
- package/dist/esm/models/UserGitlab.d.ts +1 -1
- package/dist/esm/models/UserGitlab.js +1 -1
- package/dist/esm/models/UserInternalResponse.d.ts +1 -1
- package/dist/esm/models/UserInternalResponse.js +1 -1
- package/dist/esm/models/UserMail.d.ts +1 -1
- package/dist/esm/models/UserMail.js +1 -1
- package/dist/esm/models/UserShortResponse.d.ts +1 -1
- package/dist/esm/models/UserShortResponse.js +1 -1
- package/dist/esm/models/UserTelegram.d.ts +1 -1
- package/dist/esm/models/UserTelegram.js +1 -1
- package/dist/esm/models/UserUpdateBody.d.ts +1 -1
- package/dist/esm/models/UserUpdateBody.js +1 -1
- package/dist/esm/models/ValidationError.d.ts +1 -1
- package/dist/esm/models/ValidationError.js +1 -1
- package/dist/esm/models/ValidationErrorLocInner.d.ts +1 -1
- package/dist/esm/models/ValidationErrorLocInner.js +1 -1
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +1 -1
- package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +1 -1
- package/dist/models/BuildStatusEnum.d.ts +1 -1
- package/dist/models/BuildStatusEnum.js +1 -1
- package/dist/models/BuildTaskResponse.d.ts +1 -1
- package/dist/models/BuildTaskResponse.js +3 -3
- package/dist/models/BuildTaskShortResponse.d.ts +1 -1
- package/dist/models/BuildTaskShortResponse.js +3 -3
- package/dist/models/DeviceInternalResponse.d.ts +14 -2
- package/dist/models/DeviceInternalResponse.js +5 -1
- package/dist/models/DeviceResponse.d.ts +14 -2
- package/dist/models/DeviceResponse.js +5 -1
- package/dist/models/DeviceStatsResponse.d.ts +1 -1
- package/dist/models/DeviceStatsResponse.js +1 -1
- package/dist/models/DeviceUpdateBody.d.ts +1 -1
- package/dist/models/DeviceUpdateBody.js +1 -1
- package/dist/models/FFStatusEnum.d.ts +1 -1
- package/dist/models/FFStatusEnum.js +1 -1
- package/dist/models/FFStatusResponse.d.ts +1 -1
- package/dist/models/FFStatusResponse.js +1 -1
- package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
- package/dist/models/GlobalStatsAggregationModel.js +1 -1
- package/dist/models/HTTPValidationError.d.ts +1 -1
- package/dist/models/HTTPValidationError.js +1 -1
- package/dist/models/ListResponseBuildTaskShortResponse.d.ts +1 -1
- package/dist/models/ListResponseBuildTaskShortResponse.js +1 -1
- package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponse.js +1 -1
- package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponse.js +1 -1
- package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
- package/dist/models/ListResponseShortReleaseResponse.js +1 -1
- package/dist/models/ListResponseStr.d.ts +1 -1
- package/dist/models/ListResponseStr.js +1 -1
- package/dist/models/ListResponseUserShortResponse.d.ts +1 -1
- package/dist/models/ListResponseUserShortResponse.js +1 -1
- package/dist/models/LogListResponse.d.ts +1 -1
- package/dist/models/LogListResponse.js +1 -1
- package/dist/models/LogResponse.d.ts +1 -1
- package/dist/models/LogResponse.js +2 -2
- package/dist/models/MaintainerShortModel.d.ts +1 -1
- package/dist/models/MaintainerShortModel.js +1 -1
- package/dist/models/NewBuildTaskBody.d.ts +1 -1
- package/dist/models/NewBuildTaskBody.js +1 -1
- package/dist/models/NewDeviceBody.d.ts +1 -1
- package/dist/models/NewDeviceBody.js +1 -1
- package/dist/models/PasteInput.d.ts +1 -1
- package/dist/models/PasteInput.js +1 -1
- package/dist/models/PasteOutput.d.ts +1 -1
- package/dist/models/PasteOutput.js +2 -2
- 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/ReleaseInternalResponse.d.ts +13 -1
- package/dist/models/ReleaseInternalResponse.js +7 -1
- package/dist/models/ReleaseInternalResponsePropValue.d.ts +1 -1
- package/dist/models/ReleaseInternalResponsePropValue.js +1 -1
- package/dist/models/ReleaseResponse.d.ts +13 -1
- package/dist/models/ReleaseResponse.js +7 -1
- package/dist/models/ReleaseStatsResponse.d.ts +1 -1
- package/dist/models/ReleaseStatsResponse.js +1 -1
- package/dist/models/ReleaseType.d.ts +1 -1
- package/dist/models/ReleaseType.js +1 -1
- package/dist/models/ReleaseUpdateBody.d.ts +1 -1
- package/dist/models/ReleaseUpdateBody.js +1 -1
- package/dist/models/ReleasesSort.d.ts +1 -1
- package/dist/models/ReleasesSort.js +1 -1
- package/dist/models/ResponseGetReleases.d.ts +1 -1
- package/dist/models/ResponseGetReleases.js +1 -1
- package/dist/models/ShortDeviceResponse.d.ts +14 -2
- package/dist/models/ShortDeviceResponse.js +5 -1
- package/dist/models/ShortReleaseResponse.d.ts +13 -1
- package/dist/models/ShortReleaseResponse.js +7 -1
- package/dist/models/TaskUpdateBody.d.ts +1 -1
- package/dist/models/TaskUpdateBody.js +1 -1
- package/dist/models/TokenResponse.d.ts +1 -1
- package/dist/models/TokenResponse.js +1 -1
- package/dist/models/UserGitlab.d.ts +1 -1
- package/dist/models/UserGitlab.js +1 -1
- package/dist/models/UserInternalResponse.d.ts +1 -1
- package/dist/models/UserInternalResponse.js +1 -1
- package/dist/models/UserMail.d.ts +1 -1
- package/dist/models/UserMail.js +1 -1
- package/dist/models/UserShortResponse.d.ts +1 -1
- package/dist/models/UserShortResponse.js +1 -1
- package/dist/models/UserTelegram.d.ts +1 -1
- package/dist/models/UserTelegram.js +1 -1
- package/dist/models/UserUpdateBody.d.ts +1 -1
- package/dist/models/UserUpdateBody.js +1 -1
- package/dist/models/ValidationError.d.ts +1 -1
- package/dist/models/ValidationError.js +1 -1
- package/dist/models/ValidationErrorLocInner.d.ts +1 -1
- package/dist/models/ValidationErrorLocInner.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/BodyChangePasswordProfileChangePasswordPost.md +36 -0
- package/docs/BuildStatusEnum.md +32 -0
- package/docs/BuildTaskResponse.md +56 -0
- package/docs/BuildTaskShortResponse.md +52 -0
- package/docs/DeviceApi.md +315 -0
- package/docs/DeviceInternalResponse.md +64 -0
- package/docs/DeviceResponse.md +60 -0
- package/docs/DeviceStatsResponse.md +38 -0
- package/docs/DeviceUpdateBody.md +44 -0
- package/docs/FFStatusEnum.md +32 -0
- package/docs/FFStatusResponse.md +34 -0
- package/docs/FoxFactoryApi.md +758 -0
- package/docs/GitlabApi.md +78 -0
- package/docs/GlobalStatsAggregationModel.md +40 -0
- package/docs/HTTPValidationError.md +34 -0
- package/docs/InternalApi.md +1608 -0
- package/docs/ListResponseBuildTaskShortResponse.md +36 -0
- package/docs/ListResponseReleaseResponse.md +36 -0
- package/docs/ListResponseShortDeviceResponse.md +36 -0
- package/docs/ListResponseShortReleaseResponse.md +36 -0
- package/docs/ListResponseStr.md +36 -0
- package/docs/ListResponseUserShortResponse.md +36 -0
- package/docs/LogListResponse.md +40 -0
- package/docs/LogResponse.md +50 -0
- package/docs/MaintainerShortModel.md +38 -0
- package/docs/NewBuildTaskBody.md +42 -0
- package/docs/NewDeviceBody.md +40 -0
- package/docs/PasteApi.md +149 -0
- package/docs/PasteInput.md +34 -0
- package/docs/PasteOutput.md +40 -0
- package/docs/RecoveryImgResponse.md +36 -0
- package/docs/ReleaseApi.md +354 -0
- package/docs/ReleaseGroupsResponse.md +34 -0
- package/docs/ReleaseInternalResponse.md +78 -0
- package/docs/ReleaseInternalResponsePropValue.md +32 -0
- package/docs/ReleaseResponse.md +72 -0
- package/docs/ReleaseStatsResponse.md +38 -0
- package/docs/ReleaseType.md +32 -0
- package/docs/ReleaseUpdateBody.md +40 -0
- package/docs/ReleasesSort.md +32 -0
- package/docs/ResponseGetReleases.md +36 -0
- package/docs/ShortDeviceResponse.md +54 -0
- package/docs/ShortReleaseResponse.md +60 -0
- package/docs/StatsApi.md +69 -0
- package/docs/TaskUpdateBody.md +36 -0
- package/docs/TokenResponse.md +36 -0
- package/docs/UserGitlab.md +34 -0
- package/docs/UserInternalResponse.md +52 -0
- package/docs/UserMail.md +34 -0
- package/docs/UserShortResponse.md +40 -0
- package/docs/UserTelegram.md +34 -0
- package/docs/UserUpdateBody.md +42 -0
- package/docs/ValidationError.md +38 -0
- package/docs/ValidationErrorLocInner.md +32 -0
- package/package.json +5 -2
- package/src/apis/DeviceApi.ts +18 -5
- package/src/apis/FoxFactoryApi.ts +47 -11
- package/src/apis/GitlabApi.ts +6 -2
- package/src/apis/InternalApi.ts +165 -21
- package/src/apis/PasteApi.ts +10 -3
- package/src/apis/ReleaseApi.ts +19 -5
- package/src/apis/StatsApi.ts +5 -2
- package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +1 -1
- package/src/models/BuildStatusEnum.ts +1 -1
- package/src/models/BuildTaskResponse.ts +3 -3
- package/src/models/BuildTaskShortResponse.ts +3 -3
- package/src/models/DeviceInternalResponse.ts +18 -2
- package/src/models/DeviceResponse.ts +18 -2
- package/src/models/DeviceStatsResponse.ts +1 -1
- package/src/models/DeviceUpdateBody.ts +1 -1
- package/src/models/FFStatusEnum.ts +1 -1
- package/src/models/FFStatusResponse.ts +1 -1
- package/src/models/GlobalStatsAggregationModel.ts +1 -1
- package/src/models/HTTPValidationError.ts +1 -1
- package/src/models/ListResponseBuildTaskShortResponse.ts +1 -1
- package/src/models/ListResponseReleaseResponse.ts +1 -1
- package/src/models/ListResponseShortDeviceResponse.ts +1 -1
- package/src/models/ListResponseShortReleaseResponse.ts +1 -1
- package/src/models/ListResponseStr.ts +1 -1
- package/src/models/ListResponseUserShortResponse.ts +1 -1
- package/src/models/LogListResponse.ts +1 -1
- package/src/models/LogResponse.ts +2 -2
- package/src/models/MaintainerShortModel.ts +1 -1
- package/src/models/NewBuildTaskBody.ts +1 -1
- package/src/models/NewDeviceBody.ts +1 -1
- package/src/models/PasteInput.ts +1 -1
- package/src/models/PasteOutput.ts +2 -2
- package/src/models/RecoveryImgResponse.ts +1 -1
- package/src/models/ReleaseGroupsResponse.ts +1 -1
- package/src/models/ReleaseInternalResponse.ts +18 -1
- package/src/models/ReleaseInternalResponsePropValue.ts +1 -1
- package/src/models/ReleaseResponse.ts +18 -1
- package/src/models/ReleaseStatsResponse.ts +1 -1
- package/src/models/ReleaseType.ts +1 -1
- package/src/models/ReleaseUpdateBody.ts +1 -1
- package/src/models/ReleasesSort.ts +1 -1
- package/src/models/ResponseGetReleases.ts +1 -1
- package/src/models/ShortDeviceResponse.ts +18 -2
- package/src/models/ShortReleaseResponse.ts +18 -1
- package/src/models/TaskUpdateBody.ts +1 -1
- package/src/models/TokenResponse.ts +1 -1
- package/src/models/UserGitlab.ts +1 -1
- package/src/models/UserInternalResponse.ts +1 -1
- package/src/models/UserMail.ts +1 -1
- package/src/models/UserShortResponse.ts +1 -1
- package/src/models/UserTelegram.ts +1 -1
- package/src/models/UserUpdateBody.ts +1 -1
- package/src/models/ValidationError.ts +1 -1
- package/src/models/ValidationErrorLocInner.ts +1 -1
- package/src/runtime.ts +1 -1
|
@@ -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: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,8 +41,10 @@ export class GitlabApi extends runtime.BaseAPI {
|
|
|
41
41
|
queryParameters['gl_project_url'] = requestParameters['glProjectUrl'];
|
|
42
42
|
}
|
|
43
43
|
const headerParameters = {};
|
|
44
|
+
let urlPath = `/gitlab/device/{device_id}/gitlab`;
|
|
45
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
44
46
|
const response = yield this.request({
|
|
45
|
-
path:
|
|
47
|
+
path: urlPath,
|
|
46
48
|
method: 'POST',
|
|
47
49
|
headers: headerParameters,
|
|
48
50
|
query: queryParameters,
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,9 @@ export interface ChangePasswordProfileChangePasswordPostRequest {
|
|
|
17
17
|
export interface DelReleaseInternalReleasesReleaseIdDeleteRequest {
|
|
18
18
|
releaseId: string;
|
|
19
19
|
}
|
|
20
|
+
export interface DeleteDeviceInternalDevicesDeviceIdDeleteRequest {
|
|
21
|
+
deviceId: string;
|
|
22
|
+
}
|
|
20
23
|
export interface DeletePasteInternalPastePasteIdDeleteRequest {
|
|
21
24
|
pasteId: string;
|
|
22
25
|
}
|
|
@@ -122,6 +125,19 @@ export interface InternalApiInterface {
|
|
|
122
125
|
* Del Release
|
|
123
126
|
*/
|
|
124
127
|
delReleaseInternalReleasesReleaseIdDelete(requestParameters: DelReleaseInternalReleasesReleaseIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @summary Delete Device
|
|
131
|
+
* @param {string} deviceId
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
* @memberof InternalApiInterface
|
|
135
|
+
*/
|
|
136
|
+
deleteDeviceInternalDevicesDeviceIdDeleteRaw(requestParameters: DeleteDeviceInternalDevicesDeviceIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
|
|
137
|
+
/**
|
|
138
|
+
* Delete Device
|
|
139
|
+
*/
|
|
140
|
+
deleteDeviceInternalDevicesDeviceIdDelete(requestParameters: DeleteDeviceInternalDevicesDeviceIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
|
|
125
141
|
/**
|
|
126
142
|
* Delete a paste by ID. Requires admin permissions.
|
|
127
143
|
* @summary Delete Paste
|
|
@@ -409,6 +425,14 @@ export declare class InternalApi extends runtime.BaseAPI implements InternalApiI
|
|
|
409
425
|
* Del Release
|
|
410
426
|
*/
|
|
411
427
|
delReleaseInternalReleasesReleaseIdDelete(requestParameters: DelReleaseInternalReleasesReleaseIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
|
|
428
|
+
/**
|
|
429
|
+
* Delete Device
|
|
430
|
+
*/
|
|
431
|
+
deleteDeviceInternalDevicesDeviceIdDeleteRaw(requestParameters: DeleteDeviceInternalDevicesDeviceIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>>;
|
|
432
|
+
/**
|
|
433
|
+
* Delete Device
|
|
434
|
+
*/
|
|
435
|
+
deleteDeviceInternalDevicesDeviceIdDelete(requestParameters: DeleteDeviceInternalDevicesDeviceIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean>;
|
|
412
436
|
/**
|
|
413
437
|
* Delete a paste by ID. Requires admin permissions.
|
|
414
438
|
* Delete Paste
|
|
@@ -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: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,8 +38,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
38
38
|
const queryParameters = {};
|
|
39
39
|
const headerParameters = {};
|
|
40
40
|
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
let urlPath = `/profile/change_password`;
|
|
41
42
|
const response = yield this.request({
|
|
42
|
-
path:
|
|
43
|
+
path: urlPath,
|
|
43
44
|
method: 'POST',
|
|
44
45
|
headers: headerParameters,
|
|
45
46
|
query: queryParameters,
|
|
@@ -85,8 +86,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
85
86
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
86
87
|
}
|
|
87
88
|
}
|
|
89
|
+
let urlPath = `/internal/releases/{release_id}`;
|
|
90
|
+
urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
|
|
88
91
|
const response = yield this.request({
|
|
89
|
-
path:
|
|
92
|
+
path: urlPath,
|
|
90
93
|
method: 'DELETE',
|
|
91
94
|
headers: headerParameters,
|
|
92
95
|
query: queryParameters,
|
|
@@ -109,6 +112,52 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
109
112
|
return yield response.value();
|
|
110
113
|
});
|
|
111
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Delete Device
|
|
117
|
+
*/
|
|
118
|
+
deleteDeviceInternalDevicesDeviceIdDeleteRaw(requestParameters, initOverrides) {
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
if (requestParameters['deviceId'] == null) {
|
|
121
|
+
throw new runtime.RequiredError('deviceId', 'Required parameter "deviceId" was null or undefined when calling deleteDeviceInternalDevicesDeviceIdDelete().');
|
|
122
|
+
}
|
|
123
|
+
const queryParameters = {};
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
126
|
+
// oauth required
|
|
127
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("oauth2_password", []);
|
|
128
|
+
}
|
|
129
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
130
|
+
const token = this.configuration.accessToken;
|
|
131
|
+
const tokenString = yield token("bearer_auth", []);
|
|
132
|
+
if (tokenString) {
|
|
133
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
let urlPath = `/internal/devices/{device_id}`;
|
|
137
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
138
|
+
const response = yield this.request({
|
|
139
|
+
path: urlPath,
|
|
140
|
+
method: 'DELETE',
|
|
141
|
+
headers: headerParameters,
|
|
142
|
+
query: queryParameters,
|
|
143
|
+
}, initOverrides);
|
|
144
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
145
|
+
return new runtime.JSONApiResponse(response);
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
return new runtime.TextApiResponse(response);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Delete Device
|
|
154
|
+
*/
|
|
155
|
+
deleteDeviceInternalDevicesDeviceIdDelete(requestParameters, initOverrides) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const response = yield this.deleteDeviceInternalDevicesDeviceIdDeleteRaw(requestParameters, initOverrides);
|
|
158
|
+
return yield response.value();
|
|
159
|
+
});
|
|
160
|
+
}
|
|
112
161
|
/**
|
|
113
162
|
* Delete a paste by ID. Requires admin permissions.
|
|
114
163
|
* Delete Paste
|
|
@@ -131,8 +180,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
131
180
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
132
181
|
}
|
|
133
182
|
}
|
|
183
|
+
let urlPath = `/internal/paste/{paste_id}`;
|
|
184
|
+
urlPath = urlPath.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId'])));
|
|
134
185
|
const response = yield this.request({
|
|
135
|
-
path:
|
|
186
|
+
path: urlPath,
|
|
136
187
|
method: 'DELETE',
|
|
137
188
|
headers: headerParameters,
|
|
138
189
|
query: queryParameters,
|
|
@@ -170,8 +221,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
170
221
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
171
222
|
}
|
|
172
223
|
}
|
|
224
|
+
let urlPath = `/internal/users/{user_id}`;
|
|
225
|
+
urlPath = urlPath.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
173
226
|
const response = yield this.request({
|
|
174
|
-
path:
|
|
227
|
+
path: urlPath,
|
|
175
228
|
method: 'DELETE',
|
|
176
229
|
headers: headerParameters,
|
|
177
230
|
query: queryParameters,
|
|
@@ -219,8 +272,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
219
272
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
220
273
|
}
|
|
221
274
|
}
|
|
275
|
+
let urlPath = `/internal/releases/{release_id}`;
|
|
276
|
+
urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
|
|
222
277
|
const response = yield this.request({
|
|
223
|
-
path:
|
|
278
|
+
path: urlPath,
|
|
224
279
|
method: 'PUT',
|
|
225
280
|
headers: headerParameters,
|
|
226
281
|
query: queryParameters,
|
|
@@ -265,8 +320,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
265
320
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
266
321
|
}
|
|
267
322
|
}
|
|
323
|
+
let urlPath = `/internal/devices/{device_id}`;
|
|
324
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
268
325
|
const response = yield this.request({
|
|
269
|
-
path:
|
|
326
|
+
path: urlPath,
|
|
270
327
|
method: 'GET',
|
|
271
328
|
headers: headerParameters,
|
|
272
329
|
query: queryParameters,
|
|
@@ -320,8 +377,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
320
377
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
321
378
|
}
|
|
322
379
|
}
|
|
380
|
+
let urlPath = `/internal/logs/`;
|
|
323
381
|
const response = yield this.request({
|
|
324
|
-
path:
|
|
382
|
+
path: urlPath,
|
|
325
383
|
method: 'GET',
|
|
326
384
|
headers: headerParameters,
|
|
327
385
|
query: queryParameters,
|
|
@@ -361,8 +419,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
361
419
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
362
420
|
}
|
|
363
421
|
}
|
|
422
|
+
let urlPath = `/internal/releases/{release_id}`;
|
|
423
|
+
urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
|
|
364
424
|
const response = yield this.request({
|
|
365
|
-
path:
|
|
425
|
+
path: urlPath,
|
|
366
426
|
method: 'GET',
|
|
367
427
|
headers: headerParameters,
|
|
368
428
|
query: queryParameters,
|
|
@@ -402,8 +462,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
402
462
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
403
463
|
}
|
|
404
464
|
}
|
|
465
|
+
let urlPath = `/internal/releases/{release_id}/dl`;
|
|
466
|
+
urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
|
|
405
467
|
const response = yield this.request({
|
|
406
|
-
path:
|
|
468
|
+
path: urlPath,
|
|
407
469
|
method: 'GET',
|
|
408
470
|
headers: headerParameters,
|
|
409
471
|
query: queryParameters,
|
|
@@ -447,8 +509,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
447
509
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
448
510
|
}
|
|
449
511
|
}
|
|
512
|
+
let urlPath = `/internal/users/{user_id}`;
|
|
513
|
+
urlPath = urlPath.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
450
514
|
const response = yield this.request({
|
|
451
|
-
path:
|
|
515
|
+
path: urlPath,
|
|
452
516
|
method: 'GET',
|
|
453
517
|
headers: headerParameters,
|
|
454
518
|
query: queryParameters,
|
|
@@ -484,8 +548,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
484
548
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
485
549
|
}
|
|
486
550
|
}
|
|
551
|
+
let urlPath = `/internal/paste/`;
|
|
487
552
|
const response = yield this.request({
|
|
488
|
-
path:
|
|
553
|
+
path: urlPath,
|
|
489
554
|
method: 'GET',
|
|
490
555
|
headers: headerParameters,
|
|
491
556
|
query: queryParameters,
|
|
@@ -521,8 +586,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
521
586
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
522
587
|
}
|
|
523
588
|
}
|
|
589
|
+
let urlPath = `/internal/users/`;
|
|
524
590
|
const response = yield this.request({
|
|
525
|
-
path:
|
|
591
|
+
path: urlPath,
|
|
526
592
|
method: 'GET',
|
|
527
593
|
headers: headerParameters,
|
|
528
594
|
query: queryParameters,
|
|
@@ -601,8 +667,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
601
667
|
if (requestParameters['clientSecret'] != null) {
|
|
602
668
|
formParams.append('client_secret', requestParameters['clientSecret']);
|
|
603
669
|
}
|
|
670
|
+
let urlPath = `/auth/login`;
|
|
604
671
|
const response = yield this.request({
|
|
605
|
-
path:
|
|
672
|
+
path: urlPath,
|
|
606
673
|
method: 'POST',
|
|
607
674
|
headers: headerParameters,
|
|
608
675
|
query: queryParameters,
|
|
@@ -643,8 +710,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
643
710
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
644
711
|
}
|
|
645
712
|
}
|
|
713
|
+
let urlPath = `/auth/logout`;
|
|
646
714
|
const response = yield this.request({
|
|
647
|
-
path:
|
|
715
|
+
path: urlPath,
|
|
648
716
|
method: 'POST',
|
|
649
717
|
headers: headerParameters,
|
|
650
718
|
query: queryParameters,
|
|
@@ -689,8 +757,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
689
757
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
690
758
|
}
|
|
691
759
|
}
|
|
760
|
+
let urlPath = `/internal/devices/`;
|
|
692
761
|
const response = yield this.request({
|
|
693
|
-
path:
|
|
762
|
+
path: urlPath,
|
|
694
763
|
method: 'POST',
|
|
695
764
|
headers: headerParameters,
|
|
696
765
|
query: queryParameters,
|
|
@@ -779,8 +848,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
779
848
|
if (requestParameters['force'] != null) {
|
|
780
849
|
formParams.append('force', requestParameters['force']);
|
|
781
850
|
}
|
|
851
|
+
let urlPath = `/internal/releases/`;
|
|
782
852
|
const response = yield this.request({
|
|
783
|
-
path:
|
|
853
|
+
path: urlPath,
|
|
784
854
|
method: 'POST',
|
|
785
855
|
headers: headerParameters,
|
|
786
856
|
query: queryParameters,
|
|
@@ -820,8 +890,9 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
820
890
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
821
891
|
}
|
|
822
892
|
}
|
|
893
|
+
let urlPath = `/auth/renew`;
|
|
823
894
|
const response = yield this.request({
|
|
824
|
-
path:
|
|
895
|
+
path: urlPath,
|
|
825
896
|
method: 'POST',
|
|
826
897
|
headers: headerParameters,
|
|
827
898
|
query: queryParameters,
|
|
@@ -869,8 +940,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
869
940
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
870
941
|
}
|
|
871
942
|
}
|
|
943
|
+
let urlPath = `/internal/devices/{device_id}`;
|
|
944
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
872
945
|
const response = yield this.request({
|
|
873
|
-
path:
|
|
946
|
+
path: urlPath,
|
|
874
947
|
method: 'PUT',
|
|
875
948
|
headers: headerParameters,
|
|
876
949
|
query: queryParameters,
|
|
@@ -919,8 +992,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
919
992
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
920
993
|
}
|
|
921
994
|
}
|
|
995
|
+
let urlPath = `/internal/paste/{paste_id}`;
|
|
996
|
+
urlPath = urlPath.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId'])));
|
|
922
997
|
const response = yield this.request({
|
|
923
|
-
path:
|
|
998
|
+
path: urlPath,
|
|
924
999
|
method: 'PUT',
|
|
925
1000
|
headers: headerParameters,
|
|
926
1001
|
query: queryParameters,
|
|
@@ -964,8 +1039,10 @@ export class InternalApi extends runtime.BaseAPI {
|
|
|
964
1039
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
965
1040
|
}
|
|
966
1041
|
}
|
|
1042
|
+
let urlPath = `/internal/users/{user_id}`;
|
|
1043
|
+
urlPath = urlPath.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
967
1044
|
const response = yield this.request({
|
|
968
|
-
path:
|
|
1045
|
+
path: urlPath,
|
|
969
1046
|
method: 'PUT',
|
|
970
1047
|
headers: headerParameters,
|
|
971
1048
|
query: queryParameters,
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,8 +38,9 @@ export class PasteApi extends runtime.BaseAPI {
|
|
|
38
38
|
const queryParameters = {};
|
|
39
39
|
const headerParameters = {};
|
|
40
40
|
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
let urlPath = `/paste/`;
|
|
41
42
|
const response = yield this.request({
|
|
42
|
-
path:
|
|
43
|
+
path: urlPath,
|
|
43
44
|
method: 'POST',
|
|
44
45
|
headers: headerParameters,
|
|
45
46
|
query: queryParameters,
|
|
@@ -69,8 +70,10 @@ export class PasteApi extends runtime.BaseAPI {
|
|
|
69
70
|
}
|
|
70
71
|
const queryParameters = {};
|
|
71
72
|
const headerParameters = {};
|
|
73
|
+
let urlPath = `/paste/{paste_id}`;
|
|
74
|
+
urlPath = urlPath.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId'])));
|
|
72
75
|
const response = yield this.request({
|
|
73
|
-
path:
|
|
76
|
+
path: urlPath,
|
|
74
77
|
method: 'GET',
|
|
75
78
|
headers: headerParameters,
|
|
76
79
|
query: queryParameters,
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,8 +46,9 @@ export class ReleaseApi extends runtime.BaseAPI {
|
|
|
46
46
|
queryParameters['filename'] = requestParameters['filename'];
|
|
47
47
|
}
|
|
48
48
|
const headerParameters = {};
|
|
49
|
+
let urlPath = `/releases/get`;
|
|
49
50
|
const response = yield this.request({
|
|
50
|
-
path:
|
|
51
|
+
path: urlPath,
|
|
51
52
|
method: 'GET',
|
|
52
53
|
headers: headerParameters,
|
|
53
54
|
query: queryParameters,
|
|
@@ -77,8 +78,10 @@ export class ReleaseApi extends runtime.BaseAPI {
|
|
|
77
78
|
}
|
|
78
79
|
const queryParameters = {};
|
|
79
80
|
const headerParameters = {};
|
|
81
|
+
let urlPath = `/releases/{release_id}`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
|
|
80
83
|
const response = yield this.request({
|
|
81
|
-
path:
|
|
84
|
+
path: urlPath,
|
|
82
85
|
method: 'GET',
|
|
83
86
|
headers: headerParameters,
|
|
84
87
|
query: queryParameters,
|
|
@@ -153,8 +156,9 @@ export class ReleaseApi extends runtime.BaseAPI {
|
|
|
153
156
|
queryParameters['limit'] = requestParameters['limit'];
|
|
154
157
|
}
|
|
155
158
|
const headerParameters = {};
|
|
159
|
+
let urlPath = `/releases/`;
|
|
156
160
|
const response = yield this.request({
|
|
157
|
-
path:
|
|
161
|
+
path: urlPath,
|
|
158
162
|
method: 'GET',
|
|
159
163
|
headers: headerParameters,
|
|
160
164
|
query: queryParameters,
|
|
@@ -199,8 +203,10 @@ export class ReleaseApi extends runtime.BaseAPI {
|
|
|
199
203
|
queryParameters['limit'] = requestParameters['limit'];
|
|
200
204
|
}
|
|
201
205
|
const headerParameters = {};
|
|
206
|
+
let urlPath = `/updates/{last_known_id}`;
|
|
207
|
+
urlPath = urlPath.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId'])));
|
|
202
208
|
const response = yield this.request({
|
|
203
|
-
path:
|
|
209
|
+
path: urlPath,
|
|
204
210
|
method: 'GET',
|
|
205
211
|
headers: headerParameters,
|
|
206
212
|
query: queryParameters,
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,8 +34,9 @@ export class StatsApi extends runtime.BaseAPI {
|
|
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
35
|
const queryParameters = {};
|
|
36
36
|
const headerParameters = {};
|
|
37
|
+
let urlPath = `/stats/`;
|
|
37
38
|
const response = yield this.request({
|
|
38
|
-
path:
|
|
39
|
+
path: urlPath,
|
|
39
40
|
method: 'GET',
|
|
40
41
|
headers: headerParameters,
|
|
41
42
|
query: queryParameters,
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -69,8 +69,8 @@ export function BuildTaskResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
69
69
|
'version': value['version'],
|
|
70
70
|
'type': ReleaseTypeToJSON(value['type']),
|
|
71
71
|
'variant': value['variant'],
|
|
72
|
-
'started_at':
|
|
73
|
-
'finished_at': value['finishedAt'] == null ?
|
|
72
|
+
'started_at': value['startedAt'].toISOString(),
|
|
73
|
+
'finished_at': value['finishedAt'] == null ? value['finishedAt'] : value['finishedAt'].toISOString(),
|
|
74
74
|
'has_artifact': value['hasArtifact'],
|
|
75
75
|
'environment': value['environment'],
|
|
76
76
|
'logs': value['logs'],
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Fox API
|
|
5
5
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.3.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.3
|
|
8
8
|
* Contact: admin@orangefox.tech
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -67,8 +67,8 @@ export function BuildTaskShortResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
67
67
|
'version': value['version'],
|
|
68
68
|
'type': ReleaseTypeToJSON(value['type']),
|
|
69
69
|
'variant': value['variant'],
|
|
70
|
-
'started_at':
|
|
71
|
-
'finished_at': value['finishedAt'] == null ?
|
|
70
|
+
'started_at': value['startedAt'].toISOString(),
|
|
71
|
+
'finished_at': value['finishedAt'] == null ? value['finishedAt'] : value['finishedAt'].toISOString(),
|
|
72
72
|
'has_artifact': value['hasArtifact'],
|
|
73
73
|
};
|
|
74
74
|
}
|
|
@@ -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: 5.3.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.3
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -61,6 +61,18 @@ export interface DeviceInternalResponse {
|
|
|
61
61
|
* @memberof DeviceInternalResponse
|
|
62
62
|
*/
|
|
63
63
|
supported: boolean;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof DeviceInternalResponse
|
|
68
|
+
*/
|
|
69
|
+
isFeatured?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof DeviceInternalResponse
|
|
74
|
+
*/
|
|
75
|
+
featuredText?: string | null;
|
|
64
76
|
/**
|
|
65
77
|
*
|
|
66
78
|
* @type {MaintainerShortModel}
|
|
@@ -111,4 +123,4 @@ export declare function instanceOfDeviceInternalResponse(value: object): value i
|
|
|
111
123
|
export declare function DeviceInternalResponseFromJSON(json: any): DeviceInternalResponse;
|
|
112
124
|
export declare function DeviceInternalResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceInternalResponse;
|
|
113
125
|
export declare function DeviceInternalResponseToJSON(json: any): DeviceInternalResponse;
|
|
114
|
-
export declare function DeviceInternalResponseToJSONTyped(value?: Omit<DeviceInternalResponse, '
|
|
126
|
+
export declare function DeviceInternalResponseToJSONTyped(value?: Omit<DeviceInternalResponse, 'fullName' | 'url'> | null, ignoreDiscriminator?: boolean): any;
|