@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
package/.openapi-generator/FILES
CHANGED
|
@@ -2,6 +2,60 @@
|
|
|
2
2
|
.npmignore
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
|
+
docs/BodyChangePasswordProfileChangePasswordPost.md
|
|
6
|
+
docs/BuildStatusEnum.md
|
|
7
|
+
docs/BuildTaskResponse.md
|
|
8
|
+
docs/BuildTaskShortResponse.md
|
|
9
|
+
docs/DeviceApi.md
|
|
10
|
+
docs/DeviceInternalResponse.md
|
|
11
|
+
docs/DeviceResponse.md
|
|
12
|
+
docs/DeviceStatsResponse.md
|
|
13
|
+
docs/DeviceUpdateBody.md
|
|
14
|
+
docs/FFStatusEnum.md
|
|
15
|
+
docs/FFStatusResponse.md
|
|
16
|
+
docs/FoxFactoryApi.md
|
|
17
|
+
docs/GitlabApi.md
|
|
18
|
+
docs/GlobalStatsAggregationModel.md
|
|
19
|
+
docs/HTTPValidationError.md
|
|
20
|
+
docs/InternalApi.md
|
|
21
|
+
docs/ListResponseBuildTaskShortResponse.md
|
|
22
|
+
docs/ListResponseReleaseResponse.md
|
|
23
|
+
docs/ListResponseShortDeviceResponse.md
|
|
24
|
+
docs/ListResponseShortReleaseResponse.md
|
|
25
|
+
docs/ListResponseStr.md
|
|
26
|
+
docs/ListResponseUserShortResponse.md
|
|
27
|
+
docs/LogListResponse.md
|
|
28
|
+
docs/LogResponse.md
|
|
29
|
+
docs/MaintainerShortModel.md
|
|
30
|
+
docs/NewBuildTaskBody.md
|
|
31
|
+
docs/NewDeviceBody.md
|
|
32
|
+
docs/PasteApi.md
|
|
33
|
+
docs/PasteInput.md
|
|
34
|
+
docs/PasteOutput.md
|
|
35
|
+
docs/RecoveryImgResponse.md
|
|
36
|
+
docs/ReleaseApi.md
|
|
37
|
+
docs/ReleaseGroupsResponse.md
|
|
38
|
+
docs/ReleaseInternalResponse.md
|
|
39
|
+
docs/ReleaseInternalResponsePropValue.md
|
|
40
|
+
docs/ReleaseResponse.md
|
|
41
|
+
docs/ReleaseStatsResponse.md
|
|
42
|
+
docs/ReleaseType.md
|
|
43
|
+
docs/ReleaseUpdateBody.md
|
|
44
|
+
docs/ReleasesSort.md
|
|
45
|
+
docs/ResponseGetReleases.md
|
|
46
|
+
docs/ShortDeviceResponse.md
|
|
47
|
+
docs/ShortReleaseResponse.md
|
|
48
|
+
docs/StatsApi.md
|
|
49
|
+
docs/TaskUpdateBody.md
|
|
50
|
+
docs/TokenResponse.md
|
|
51
|
+
docs/UserGitlab.md
|
|
52
|
+
docs/UserInternalResponse.md
|
|
53
|
+
docs/UserMail.md
|
|
54
|
+
docs/UserShortResponse.md
|
|
55
|
+
docs/UserTelegram.md
|
|
56
|
+
docs/UserUpdateBody.md
|
|
57
|
+
docs/ValidationError.md
|
|
58
|
+
docs/ValidationErrorLocInner.md
|
|
5
59
|
package.json
|
|
6
60
|
src/apis/DeviceApi.ts
|
|
7
61
|
src/apis/FoxFactoryApi.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.17.0
|
package/README.md
CHANGED
|
@@ -1,46 +1,217 @@
|
|
|
1
|
-
|
|
1
|
+
# @orangefox-recovery/foxinternalclient@5.3.3
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A TypeScript SDK client for the api.orangefox.download API.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
* Node.js
|
|
7
|
-
* Webpack
|
|
8
|
-
* Browserify
|
|
5
|
+
## Usage
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
* ES5 - you must have a Promises/A+ library installed
|
|
12
|
-
* ES6
|
|
7
|
+
First, install the SDK from npm.
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install @orangefox-recovery/foxinternalclient --save
|
|
11
|
+
```
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
Next, try it out.
|
|
19
14
|
|
|
20
|
-
### Building
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
```ts
|
|
17
|
+
import {
|
|
18
|
+
Configuration,
|
|
19
|
+
DeviceApi,
|
|
20
|
+
} from '@orangefox-recovery/foxinternalclient';
|
|
21
|
+
import type { GetDeviceRequest } from '@orangefox-recovery/foxinternalclient';
|
|
22
|
+
|
|
23
|
+
async function example() {
|
|
24
|
+
console.log("🚀 Testing @orangefox-recovery/foxinternalclient SDK...");
|
|
25
|
+
const api = new DeviceApi();
|
|
26
|
+
|
|
27
|
+
const body = {
|
|
28
|
+
// string (optional)
|
|
29
|
+
deviceId: deviceId_example,
|
|
30
|
+
// string | Filter by Device ID (deprecated) (optional)
|
|
31
|
+
id: id_example,
|
|
32
|
+
// string | Not recommended to use when you can (optional)
|
|
33
|
+
codename: codename_example,
|
|
34
|
+
} satisfies GetDeviceRequest;
|
|
35
|
+
|
|
36
|
+
try {
|
|
37
|
+
const data = await api.getDevice(body);
|
|
38
|
+
console.log(data);
|
|
39
|
+
} catch (error) {
|
|
40
|
+
console.error(error);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Run the test
|
|
45
|
+
example().catch(console.error);
|
|
26
46
|
```
|
|
27
47
|
|
|
28
|
-
### Publishing
|
|
29
48
|
|
|
30
|
-
|
|
49
|
+
## Documentation
|
|
31
50
|
|
|
32
|
-
###
|
|
51
|
+
### API Endpoints
|
|
33
52
|
|
|
34
|
-
|
|
53
|
+
All URIs are relative to *https://api.orangefox.download*
|
|
35
54
|
|
|
36
|
-
|
|
55
|
+
| Class | Method | HTTP request | Description
|
|
56
|
+
| ----- | ------ | ------------ | -------------
|
|
57
|
+
*DeviceApi* | [**getDevice**](docs/DeviceApi.md#getdevice) | **GET** /devices/get | Get Device
|
|
58
|
+
*DeviceApi* | [**getDeviceDeprecated**](docs/DeviceApi.md#getdevicedeprecated) | **GET** /devices/{device_id} | Get Device Short
|
|
59
|
+
*DeviceApi* | [**getDevices**](docs/DeviceApi.md#getdevices) | **GET** /devices/ | Get Devices
|
|
60
|
+
*DeviceApi* | [**getOems**](docs/DeviceApi.md#getoems) | **GET** /oems/ | Get Oems
|
|
61
|
+
*FoxFactoryApi* | [**cancelTaskFactoryTaskIdCancelPost**](docs/FoxFactoryApi.md#canceltaskfactorytaskidcancelpost) | **POST** /factory/{task_id}/cancel | Cancel Task
|
|
62
|
+
*FoxFactoryApi* | [**deleteTaskFactoryTaskIdDelete**](docs/FoxFactoryApi.md#deletetaskfactorytaskiddelete) | **DELETE** /factory/{task_id} | Delete Task
|
|
63
|
+
*FoxFactoryApi* | [**downloadArtifactFactoryTaskIdArtifactGet**](docs/FoxFactoryApi.md#downloadartifactfactorytaskidartifactget) | **GET** /factory/{task_id}/artifact | Download Artifact
|
|
64
|
+
*FoxFactoryApi* | [**factoryStatusFactoryStatusGet**](docs/FoxFactoryApi.md#factorystatusfactorystatusget) | **GET** /factory/status | Factory Status
|
|
65
|
+
*FoxFactoryApi* | [**getTaskFactoryTaskIdGet**](docs/FoxFactoryApi.md#gettaskfactorytaskidget) | **GET** /factory/{task_id} | Get Task
|
|
66
|
+
*FoxFactoryApi* | [**listTasksFactoryGet**](docs/FoxFactoryApi.md#listtasksfactoryget) | **GET** /factory/ | List Tasks
|
|
67
|
+
*FoxFactoryApi* | [**newTaskFactoryPost**](docs/FoxFactoryApi.md#newtaskfactorypost) | **POST** /factory/ | New Task
|
|
68
|
+
*FoxFactoryApi* | [**updateTaskFactoryTaskIdPatch**](docs/FoxFactoryApi.md#updatetaskfactorytaskidpatch) | **PATCH** /factory/{task_id} | Update Task
|
|
69
|
+
*FoxFactoryApi* | [**updateWorkerStatusFactoryUpdateStatusPost**](docs/FoxFactoryApi.md#updateworkerstatusfactoryupdatestatuspost) | **POST** /factory/update_status | Update Worker Status
|
|
70
|
+
*FoxFactoryApi* | [**uploadArtifactFactoryTaskIdArtifactPost**](docs/FoxFactoryApi.md#uploadartifactfactorytaskidartifactpost) | **POST** /factory/{task_id}/artifact | Upload Artifact
|
|
71
|
+
*GitlabApi* | [**deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost**](docs/GitlabApi.md#deviceaddgitlabrepogitlabdevicedeviceidgitlabpost) | **POST** /gitlab/device/{device_id}/gitlab | Device Add Gitlab Repo
|
|
72
|
+
*InternalApi* | [**changePasswordProfileChangePasswordPost**](docs/InternalApi.md#changepasswordprofilechangepasswordpost) | **POST** /profile/change_password | Change Password
|
|
73
|
+
*InternalApi* | [**delReleaseInternalReleasesReleaseIdDelete**](docs/InternalApi.md#delreleaseinternalreleasesreleaseiddelete) | **DELETE** /internal/releases/{release_id} | Del Release
|
|
74
|
+
*InternalApi* | [**deleteDeviceInternalDevicesDeviceIdDelete**](docs/InternalApi.md#deletedeviceinternaldevicesdeviceiddelete) | **DELETE** /internal/devices/{device_id} | Delete Device
|
|
75
|
+
*InternalApi* | [**deletePasteInternalPastePasteIdDelete**](docs/InternalApi.md#deletepasteinternalpastepasteiddelete) | **DELETE** /internal/paste/{paste_id} | Delete Paste
|
|
76
|
+
*InternalApi* | [**deleteUserInternalUsersUserIdDelete**](docs/InternalApi.md#deleteuserinternalusersuseriddelete) | **DELETE** /internal/users/{user_id} | Delete User
|
|
77
|
+
*InternalApi* | [**editReleaseInternalReleasesReleaseIdPut**](docs/InternalApi.md#editreleaseinternalreleasesreleaseidput) | **PUT** /internal/releases/{release_id} | Edit Release
|
|
78
|
+
*InternalApi* | [**getDeviceInfoInternalDevicesDeviceIdGet**](docs/InternalApi.md#getdeviceinfointernaldevicesdeviceidget) | **GET** /internal/devices/{device_id} | Get Device Info
|
|
79
|
+
*InternalApi* | [**getLogsInternalLogsGet**](docs/InternalApi.md#getlogsinternallogsget) | **GET** /internal/logs/ | Get Logs
|
|
80
|
+
*InternalApi* | [**getReleaseInfoInternalReleasesReleaseIdGet**](docs/InternalApi.md#getreleaseinfointernalreleasesreleaseidget) | **GET** /internal/releases/{release_id} | Get Release Info
|
|
81
|
+
*InternalApi* | [**getReleaseZipInternalReleasesReleaseIdDlGet**](docs/InternalApi.md#getreleasezipinternalreleasesreleaseiddlget) | **GET** /internal/releases/{release_id}/dl | Get Release Zip
|
|
82
|
+
*InternalApi* | [**getUserByIdInternalUsersUserIdGet**](docs/InternalApi.md#getuserbyidinternalusersuseridget) | **GET** /internal/users/{user_id} | Get User By Id
|
|
83
|
+
*InternalApi* | [**listPastesInternalPasteGet**](docs/InternalApi.md#listpastesinternalpasteget) | **GET** /internal/paste/ | List Pastes
|
|
84
|
+
*InternalApi* | [**listUsersInternalUsersGet**](docs/InternalApi.md#listusersinternalusersget) | **GET** /internal/users/ | List Users
|
|
85
|
+
*InternalApi* | [**loginOauthAuthLoginPost**](docs/InternalApi.md#loginoauthauthloginpost) | **POST** /auth/login | Login Oauth
|
|
86
|
+
*InternalApi* | [**logoutAuthLogoutPost**](docs/InternalApi.md#logoutauthlogoutpost) | **POST** /auth/logout | Logout
|
|
87
|
+
*InternalApi* | [**newDeviceInternalDevicesPost**](docs/InternalApi.md#newdeviceinternaldevicespost) | **POST** /internal/devices/ | New Device
|
|
88
|
+
*InternalApi* | [**newReleaseInternalReleasesPost**](docs/InternalApi.md#newreleaseinternalreleasespost) | **POST** /internal/releases/ | New Release
|
|
89
|
+
*InternalApi* | [**renewAuthRenewPost**](docs/InternalApi.md#renewauthrenewpost) | **POST** /auth/renew | Renew
|
|
90
|
+
*InternalApi* | [**updateDeviceInternalDevicesDeviceIdPut**](docs/InternalApi.md#updatedeviceinternaldevicesdeviceidput) | **PUT** /internal/devices/{device_id} | Update Device
|
|
91
|
+
*InternalApi* | [**updatePasteInternalPastePasteIdPut**](docs/InternalApi.md#updatepasteinternalpastepasteidput) | **PUT** /internal/paste/{paste_id} | Update Paste
|
|
92
|
+
*InternalApi* | [**updateUserInternalUsersUserIdPut**](docs/InternalApi.md#updateuserinternalusersuseridput) | **PUT** /internal/users/{user_id} | Update User
|
|
93
|
+
*PasteApi* | [**createPastePastePost**](docs/PasteApi.md#createpastepastepost) | **POST** /paste/ | Create Paste
|
|
94
|
+
*PasteApi* | [**getPastePastePasteIdGet**](docs/PasteApi.md#getpastepastepasteidget) | **GET** /paste/{paste_id} | Get Paste
|
|
95
|
+
*ReleaseApi* | [**getRelease**](docs/ReleaseApi.md#getrelease) | **GET** /releases/get | Get Release
|
|
96
|
+
*ReleaseApi* | [**getReleaseDeprecated**](docs/ReleaseApi.md#getreleasedeprecated) | **GET** /releases/{release_id} | Get Release Short
|
|
97
|
+
*ReleaseApi* | [**getReleases**](docs/ReleaseApi.md#getreleases) | **GET** /releases/ | Get Releases
|
|
98
|
+
*ReleaseApi* | [**getUpdatesDeprecated**](docs/ReleaseApi.md#getupdatesdeprecated) | **GET** /updates/{last_known_id} | Get Updates
|
|
99
|
+
*StatsApi* | [**getPublicStats**](docs/StatsApi.md#getpublicstats) | **GET** /stats/ | Public Stats
|
|
37
100
|
|
|
38
|
-
```
|
|
39
|
-
npm install @orangefox-recovery/foxinternalclient@5.3.0 --save
|
|
40
|
-
```
|
|
41
101
|
|
|
42
|
-
|
|
102
|
+
### Models
|
|
103
|
+
|
|
104
|
+
- [BodyChangePasswordProfileChangePasswordPost](docs/BodyChangePasswordProfileChangePasswordPost.md)
|
|
105
|
+
- [BuildStatusEnum](docs/BuildStatusEnum.md)
|
|
106
|
+
- [BuildTaskResponse](docs/BuildTaskResponse.md)
|
|
107
|
+
- [BuildTaskShortResponse](docs/BuildTaskShortResponse.md)
|
|
108
|
+
- [DeviceInternalResponse](docs/DeviceInternalResponse.md)
|
|
109
|
+
- [DeviceResponse](docs/DeviceResponse.md)
|
|
110
|
+
- [DeviceStatsResponse](docs/DeviceStatsResponse.md)
|
|
111
|
+
- [DeviceUpdateBody](docs/DeviceUpdateBody.md)
|
|
112
|
+
- [FFStatusEnum](docs/FFStatusEnum.md)
|
|
113
|
+
- [FFStatusResponse](docs/FFStatusResponse.md)
|
|
114
|
+
- [GlobalStatsAggregationModel](docs/GlobalStatsAggregationModel.md)
|
|
115
|
+
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
116
|
+
- [ListResponseBuildTaskShortResponse](docs/ListResponseBuildTaskShortResponse.md)
|
|
117
|
+
- [ListResponseReleaseResponse](docs/ListResponseReleaseResponse.md)
|
|
118
|
+
- [ListResponseShortDeviceResponse](docs/ListResponseShortDeviceResponse.md)
|
|
119
|
+
- [ListResponseShortReleaseResponse](docs/ListResponseShortReleaseResponse.md)
|
|
120
|
+
- [ListResponseStr](docs/ListResponseStr.md)
|
|
121
|
+
- [ListResponseUserShortResponse](docs/ListResponseUserShortResponse.md)
|
|
122
|
+
- [LogListResponse](docs/LogListResponse.md)
|
|
123
|
+
- [LogResponse](docs/LogResponse.md)
|
|
124
|
+
- [MaintainerShortModel](docs/MaintainerShortModel.md)
|
|
125
|
+
- [NewBuildTaskBody](docs/NewBuildTaskBody.md)
|
|
126
|
+
- [NewDeviceBody](docs/NewDeviceBody.md)
|
|
127
|
+
- [PasteInput](docs/PasteInput.md)
|
|
128
|
+
- [PasteOutput](docs/PasteOutput.md)
|
|
129
|
+
- [RecoveryImgResponse](docs/RecoveryImgResponse.md)
|
|
130
|
+
- [ReleaseGroupsResponse](docs/ReleaseGroupsResponse.md)
|
|
131
|
+
- [ReleaseInternalResponse](docs/ReleaseInternalResponse.md)
|
|
132
|
+
- [ReleaseInternalResponsePropValue](docs/ReleaseInternalResponsePropValue.md)
|
|
133
|
+
- [ReleaseResponse](docs/ReleaseResponse.md)
|
|
134
|
+
- [ReleaseStatsResponse](docs/ReleaseStatsResponse.md)
|
|
135
|
+
- [ReleaseType](docs/ReleaseType.md)
|
|
136
|
+
- [ReleaseUpdateBody](docs/ReleaseUpdateBody.md)
|
|
137
|
+
- [ReleasesSort](docs/ReleasesSort.md)
|
|
138
|
+
- [ResponseGetReleases](docs/ResponseGetReleases.md)
|
|
139
|
+
- [ShortDeviceResponse](docs/ShortDeviceResponse.md)
|
|
140
|
+
- [ShortReleaseResponse](docs/ShortReleaseResponse.md)
|
|
141
|
+
- [TaskUpdateBody](docs/TaskUpdateBody.md)
|
|
142
|
+
- [TokenResponse](docs/TokenResponse.md)
|
|
143
|
+
- [UserGitlab](docs/UserGitlab.md)
|
|
144
|
+
- [UserInternalResponse](docs/UserInternalResponse.md)
|
|
145
|
+
- [UserMail](docs/UserMail.md)
|
|
146
|
+
- [UserShortResponse](docs/UserShortResponse.md)
|
|
147
|
+
- [UserTelegram](docs/UserTelegram.md)
|
|
148
|
+
- [UserUpdateBody](docs/UserUpdateBody.md)
|
|
149
|
+
- [ValidationError](docs/ValidationError.md)
|
|
150
|
+
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
151
|
+
|
|
152
|
+
### Authorization
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
Authentication schemes defined for the API:
|
|
156
|
+
<a id="bearer_auth"></a>
|
|
157
|
+
#### bearer_auth
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
- **Type**: HTTP Bearer Token authentication (JWT)
|
|
161
|
+
<a id="oauth2_password-password"></a>
|
|
162
|
+
#### oauth2_password password
|
|
163
|
+
|
|
43
164
|
|
|
165
|
+
- **Type**: OAuth
|
|
166
|
+
- **Flow**: password
|
|
167
|
+
- **Authorization URL**:
|
|
168
|
+
- **Scopes**: N/A
|
|
169
|
+
|
|
170
|
+
## About
|
|
171
|
+
|
|
172
|
+
This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
|
|
173
|
+
and is automatically generated by the
|
|
174
|
+
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
175
|
+
|
|
176
|
+
- API version: `5.3.3`
|
|
177
|
+
- Package version: `5.3.3`
|
|
178
|
+
- Generator version: `7.17.0`
|
|
179
|
+
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
180
|
+
|
|
181
|
+
The generated npm module supports the following:
|
|
182
|
+
|
|
183
|
+
- Environments
|
|
184
|
+
* Node.js
|
|
185
|
+
* Webpack
|
|
186
|
+
* Browserify
|
|
187
|
+
- Language levels
|
|
188
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
189
|
+
* ES6
|
|
190
|
+
- Module systems
|
|
191
|
+
* CommonJS
|
|
192
|
+
* ES6 module system
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## Development
|
|
196
|
+
|
|
197
|
+
### Building
|
|
198
|
+
|
|
199
|
+
To build the TypeScript source code, you need to have Node.js and npm installed.
|
|
200
|
+
After cloning the repository, navigate to the project directory and run:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
npm install
|
|
204
|
+
npm run build
|
|
44
205
|
```
|
|
45
|
-
|
|
206
|
+
|
|
207
|
+
### Publishing
|
|
208
|
+
|
|
209
|
+
Once you've built the package, you can publish it to npm:
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
npm publish
|
|
46
213
|
```
|
|
214
|
+
|
|
215
|
+
## License
|
|
216
|
+
|
|
217
|
+
[]()
|
package/dist/apis/DeviceApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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).
|
package/dist/apis/DeviceApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 5.3.
|
|
8
|
+
* The version of the OpenAPI document: 5.3.3
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,8 +46,9 @@ class DeviceApi extends runtime.BaseAPI {
|
|
|
46
46
|
queryParameters['codename'] = requestParameters['codename'];
|
|
47
47
|
}
|
|
48
48
|
const headerParameters = {};
|
|
49
|
+
let urlPath = `/devices/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 @@ class DeviceApi extends runtime.BaseAPI {
|
|
|
77
78
|
}
|
|
78
79
|
const queryParameters = {};
|
|
79
80
|
const headerParameters = {};
|
|
81
|
+
let urlPath = `/devices/{device_id}`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
80
83
|
const response = yield this.request({
|
|
81
|
-
path:
|
|
84
|
+
path: urlPath,
|
|
82
85
|
method: 'GET',
|
|
83
86
|
headers: headerParameters,
|
|
84
87
|
query: queryParameters,
|
|
@@ -138,8 +141,9 @@ class DeviceApi extends runtime.BaseAPI {
|
|
|
138
141
|
queryParameters['limit'] = requestParameters['limit'];
|
|
139
142
|
}
|
|
140
143
|
const headerParameters = {};
|
|
144
|
+
let urlPath = `/devices/`;
|
|
141
145
|
const response = yield this.request({
|
|
142
|
-
path:
|
|
146
|
+
path: urlPath,
|
|
143
147
|
method: 'GET',
|
|
144
148
|
headers: headerParameters,
|
|
145
149
|
query: queryParameters,
|
|
@@ -165,8 +169,9 @@ class DeviceApi extends runtime.BaseAPI {
|
|
|
165
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
166
170
|
const queryParameters = {};
|
|
167
171
|
const headerParameters = {};
|
|
172
|
+
let urlPath = `/oems/`;
|
|
168
173
|
const response = yield this.request({
|
|
169
|
-
path:
|
|
174
|
+
path: urlPath,
|
|
170
175
|
method: 'GET',
|
|
171
176
|
headers: headerParameters,
|
|
172
177
|
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).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 5.3.
|
|
8
|
+
* The version of the OpenAPI document: 5.3.3
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,8 +51,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
51
51
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
let urlPath = `/factory/{task_id}/cancel`;
|
|
55
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
54
56
|
const response = yield this.request({
|
|
55
|
-
path:
|
|
57
|
+
path: urlPath,
|
|
56
58
|
method: 'POST',
|
|
57
59
|
headers: headerParameters,
|
|
58
60
|
query: queryParameters,
|
|
@@ -92,8 +94,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
92
94
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
93
95
|
}
|
|
94
96
|
}
|
|
97
|
+
let urlPath = `/factory/{task_id}`;
|
|
98
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
95
99
|
const response = yield this.request({
|
|
96
|
-
path:
|
|
100
|
+
path: urlPath,
|
|
97
101
|
method: 'DELETE',
|
|
98
102
|
headers: headerParameters,
|
|
99
103
|
query: queryParameters,
|
|
@@ -138,8 +142,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
138
142
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
139
143
|
}
|
|
140
144
|
}
|
|
145
|
+
let urlPath = `/factory/{task_id}/artifact`;
|
|
146
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
141
147
|
const response = yield this.request({
|
|
142
|
-
path:
|
|
148
|
+
path: urlPath,
|
|
143
149
|
method: 'GET',
|
|
144
150
|
headers: headerParameters,
|
|
145
151
|
query: queryParameters,
|
|
@@ -181,8 +187,9 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
181
187
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
182
188
|
}
|
|
183
189
|
}
|
|
190
|
+
let urlPath = `/factory/status`;
|
|
184
191
|
const response = yield this.request({
|
|
185
|
-
path:
|
|
192
|
+
path: urlPath,
|
|
186
193
|
method: 'GET',
|
|
187
194
|
headers: headerParameters,
|
|
188
195
|
query: queryParameters,
|
|
@@ -222,8 +229,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
222
229
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
223
230
|
}
|
|
224
231
|
}
|
|
232
|
+
let urlPath = `/factory/{task_id}`;
|
|
233
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
225
234
|
const response = yield this.request({
|
|
226
|
-
path:
|
|
235
|
+
path: urlPath,
|
|
227
236
|
method: 'GET',
|
|
228
237
|
headers: headerParameters,
|
|
229
238
|
query: queryParameters,
|
|
@@ -263,8 +272,9 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
263
272
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
264
273
|
}
|
|
265
274
|
}
|
|
275
|
+
let urlPath = `/factory/`;
|
|
266
276
|
const response = yield this.request({
|
|
267
|
-
path:
|
|
277
|
+
path: urlPath,
|
|
268
278
|
method: 'GET',
|
|
269
279
|
headers: headerParameters,
|
|
270
280
|
query: queryParameters,
|
|
@@ -305,8 +315,9 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
305
315
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
306
316
|
}
|
|
307
317
|
}
|
|
318
|
+
let urlPath = `/factory/`;
|
|
308
319
|
const response = yield this.request({
|
|
309
|
-
path:
|
|
320
|
+
path: urlPath,
|
|
310
321
|
method: 'POST',
|
|
311
322
|
headers: headerParameters,
|
|
312
323
|
query: queryParameters,
|
|
@@ -356,8 +367,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
356
367
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
357
368
|
}
|
|
358
369
|
}
|
|
370
|
+
let urlPath = `/factory/{task_id}`;
|
|
371
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
359
372
|
const response = yield this.request({
|
|
360
|
-
path:
|
|
373
|
+
path: urlPath,
|
|
361
374
|
method: 'PATCH',
|
|
362
375
|
headers: headerParameters,
|
|
363
376
|
query: queryParameters,
|
|
@@ -404,8 +417,9 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
404
417
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
405
418
|
}
|
|
406
419
|
}
|
|
420
|
+
let urlPath = `/factory/update_status`;
|
|
407
421
|
const response = yield this.request({
|
|
408
|
-
path:
|
|
422
|
+
path: urlPath,
|
|
409
423
|
method: 'POST',
|
|
410
424
|
headers: headerParameters,
|
|
411
425
|
query: queryParameters,
|
|
@@ -478,8 +492,10 @@ class FoxFactoryApi extends runtime.BaseAPI {
|
|
|
478
492
|
if (requestParameters['md5Hash'] != null) {
|
|
479
493
|
formParams.append('md5_hash', requestParameters['md5Hash']);
|
|
480
494
|
}
|
|
495
|
+
let urlPath = `/factory/{task_id}/artifact`;
|
|
496
|
+
urlPath = urlPath.replace(`{${"task_id"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
481
497
|
const response = yield this.request({
|
|
482
|
-
path:
|
|
498
|
+
path: urlPath,
|
|
483
499
|
method: 'POST',
|
|
484
500
|
headers: headerParameters,
|
|
485
501
|
query: queryParameters,
|
package/dist/apis/GitlabApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fox API
|
|
3
3
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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).
|
package/dist/apis/GitlabApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 5.3.
|
|
8
|
+
* The version of the OpenAPI document: 5.3.3
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,8 +44,10 @@ class GitlabApi extends runtime.BaseAPI {
|
|
|
44
44
|
queryParameters['gl_project_url'] = requestParameters['glProjectUrl'];
|
|
45
45
|
}
|
|
46
46
|
const headerParameters = {};
|
|
47
|
+
let urlPath = `/gitlab/device/{device_id}/gitlab`;
|
|
48
|
+
urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
|
|
47
49
|
const response = yield this.request({
|
|
48
|
-
path:
|
|
50
|
+
path: urlPath,
|
|
49
51
|
method: 'POST',
|
|
50
52
|
headers: headerParameters,
|
|
51
53
|
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
|