@orangefox-recovery/foxinternalclient 5.2.5 → 5.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +58 -57
- package/README.md +3 -116
- package/dist/apis/DeviceApi.d.ts +158 -0
- package/dist/apis/DeviceApi.js +188 -0
- package/dist/apis/FoxFactoryApi.d.ts +298 -0
- package/dist/apis/FoxFactoryApi.js +507 -0
- package/dist/apis/GitlabApi.d.ts +51 -0
- package/dist/apis/GitlabApi.js +71 -0
- package/dist/apis/InternalApi.d.ts +549 -0
- package/dist/apis/InternalApi.js +957 -0
- package/dist/apis/PasteApi.d.ts +80 -0
- package/dist/apis/PasteApi.js +95 -0
- package/dist/apis/ReleaseApi.d.ts +188 -0
- package/dist/apis/ReleaseApi.js +226 -0
- package/dist/apis/StatsApi.d.ts +49 -0
- package/dist/apis/StatsApi.js +60 -0
- package/dist/apis/index.d.ts +7 -0
- package/dist/apis/index.js +25 -0
- package/dist/esm/apis/DeviceApi.d.ts +158 -0
- package/dist/esm/apis/DeviceApi.js +184 -0
- package/dist/esm/apis/FoxFactoryApi.d.ts +298 -0
- package/dist/esm/apis/FoxFactoryApi.js +503 -0
- package/dist/esm/apis/GitlabApi.d.ts +51 -0
- package/dist/esm/apis/GitlabApi.js +67 -0
- package/dist/esm/apis/InternalApi.d.ts +549 -0
- package/dist/esm/apis/InternalApi.js +953 -0
- package/dist/esm/apis/PasteApi.d.ts +80 -0
- package/dist/esm/apis/PasteApi.js +91 -0
- package/dist/esm/apis/ReleaseApi.d.ts +188 -0
- package/dist/esm/apis/ReleaseApi.js +222 -0
- package/dist/esm/apis/StatsApi.d.ts +49 -0
- package/dist/esm/apis/StatsApi.js +56 -0
- package/dist/esm/apis/index.d.ts +7 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/index.d.ts +3 -13
- package/dist/esm/index.js +3 -13
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
- package/dist/esm/models/BodyChangePasswordProfileChangePasswordPost.js +47 -0
- package/dist/esm/models/BuildStatusEnum.d.ts +30 -0
- package/dist/esm/models/BuildStatusEnum.js +48 -0
- package/dist/esm/models/BuildTaskResponse.d.ts +103 -0
- package/dist/esm/models/BuildTaskResponse.js +78 -0
- package/dist/esm/models/BuildTaskShortResponse.d.ts +89 -0
- package/dist/esm/models/BuildTaskShortResponse.js +74 -0
- package/dist/esm/models/DeviceInternalResponse.d.ts +114 -0
- package/dist/esm/models/DeviceInternalResponse.js +91 -0
- package/dist/esm/models/DeviceResponse.d.ts +101 -0
- package/dist/esm/models/DeviceResponse.js +82 -0
- package/dist/esm/models/DeviceStatsResponse.d.ts +48 -0
- package/dist/esm/models/DeviceStatsResponse.js +51 -0
- package/dist/esm/models/DeviceUpdateBody.d.ts +62 -0
- package/dist/esm/models/DeviceUpdateBody.js +51 -0
- package/dist/esm/models/FFStatusEnum.d.ts +26 -0
- package/dist/esm/models/FFStatusEnum.js +44 -0
- package/dist/esm/models/FFStatusResponse.d.ts +33 -0
- package/dist/esm/models/FFStatusResponse.js +44 -0
- package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
- package/dist/esm/models/HTTPValidationError.d.ts +33 -0
- package/dist/esm/models/HTTPValidationError.js +42 -0
- package/dist/esm/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseBuildTaskShortResponse.js +47 -0
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseStr.d.ts +38 -0
- package/dist/esm/models/ListResponseStr.js +46 -0
- package/dist/esm/models/ListResponseUserShortResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseUserShortResponse.js +47 -0
- package/dist/esm/models/LogListResponse.d.ts +51 -0
- package/dist/esm/models/LogListResponse.js +56 -0
- package/dist/esm/models/LogResponse.d.ts +83 -0
- package/dist/esm/models/LogResponse.js +66 -0
- package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
- package/dist/esm/models/MaintainerShortModel.js +51 -0
- package/dist/esm/models/NewBuildTaskBody.d.ts +57 -0
- package/dist/esm/models/NewBuildTaskBody.js +52 -0
- package/dist/esm/models/NewDeviceBody.d.ts +50 -0
- package/dist/esm/models/NewDeviceBody.js +55 -0
- package/dist/esm/models/PasteInput.d.ts +50 -0
- package/dist/esm/models/PasteInput.js +51 -0
- package/dist/esm/models/PasteOutput.d.ts +50 -0
- package/dist/esm/models/PasteOutput.js +51 -0
- package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/esm/models/RecoveryImgResponse.js +47 -0
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
- package/dist/esm/models/ReleaseInternalResponse.d.ts +162 -0
- package/dist/esm/models/ReleaseInternalResponse.js +119 -0
- package/dist/esm/models/ReleaseInternalResponsePropValue.d.ts +26 -0
- package/dist/esm/models/ReleaseInternalResponsePropValue.js +31 -0
- package/dist/esm/models/ReleaseResponse.d.ts +139 -0
- package/dist/esm/models/ReleaseResponse.js +107 -0
- package/dist/esm/models/ReleaseStatsResponse.d.ts +48 -0
- package/dist/esm/models/ReleaseStatsResponse.js +51 -0
- package/dist/esm/models/ReleaseType.d.ts +26 -0
- package/dist/esm/models/ReleaseType.js +44 -0
- package/dist/esm/models/ReleaseUpdateBody.d.ts +50 -0
- package/dist/esm/models/ReleaseUpdateBody.js +47 -0
- package/dist/esm/models/ReleasesSort.d.ts +25 -0
- package/dist/esm/models/ReleasesSort.js +43 -0
- package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
- package/dist/esm/models/ResponseGetReleases.js +46 -0
- package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/esm/models/ShortDeviceResponse.js +73 -0
- package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/esm/models/ShortReleaseResponse.js +84 -0
- package/dist/esm/models/TaskUpdateBody.d.ts +39 -0
- package/dist/esm/models/TaskUpdateBody.js +44 -0
- package/dist/esm/models/TokenResponse.d.ts +38 -0
- package/dist/esm/models/TokenResponse.js +45 -0
- package/dist/esm/models/UserGitlab.d.ts +32 -0
- package/dist/esm/models/UserGitlab.js +43 -0
- package/dist/esm/models/UserInternalResponse.d.ts +90 -0
- package/dist/esm/models/UserInternalResponse.js +75 -0
- package/dist/esm/models/UserMail.d.ts +32 -0
- package/dist/esm/models/UserMail.js +43 -0
- package/dist/esm/models/UserShortResponse.d.ts +50 -0
- package/dist/esm/models/UserShortResponse.js +55 -0
- package/dist/esm/models/UserTelegram.d.ts +32 -0
- package/dist/esm/models/UserTelegram.js +43 -0
- package/dist/esm/models/UserUpdateBody.d.ts +56 -0
- package/dist/esm/models/UserUpdateBody.js +49 -0
- package/dist/esm/models/ValidationError.d.ts +45 -0
- package/dist/esm/models/ValidationError.js +52 -0
- package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
- package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
- package/dist/esm/models/index.d.ts +47 -0
- package/dist/esm/models/index.js +49 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -13
- package/dist/index.js +5 -15
- package/dist/models/BodyChangePasswordProfileChangePasswordPost.d.ts +38 -0
- package/dist/models/BodyChangePasswordProfileChangePasswordPost.js +54 -0
- package/dist/models/BuildStatusEnum.d.ts +30 -0
- package/dist/models/BuildStatusEnum.js +56 -0
- package/dist/models/BuildTaskResponse.d.ts +103 -0
- package/dist/models/BuildTaskResponse.js +85 -0
- package/dist/models/BuildTaskShortResponse.d.ts +89 -0
- package/dist/models/BuildTaskShortResponse.js +81 -0
- package/dist/models/DeviceInternalResponse.d.ts +114 -0
- package/dist/models/DeviceInternalResponse.js +98 -0
- package/dist/models/DeviceResponse.d.ts +101 -0
- package/dist/models/DeviceResponse.js +89 -0
- package/dist/models/DeviceStatsResponse.d.ts +48 -0
- package/dist/models/DeviceStatsResponse.js +58 -0
- package/dist/models/DeviceUpdateBody.d.ts +62 -0
- package/dist/models/DeviceUpdateBody.js +58 -0
- package/dist/models/FFStatusEnum.d.ts +26 -0
- package/dist/models/FFStatusEnum.js +52 -0
- package/dist/models/FFStatusResponse.d.ts +33 -0
- package/dist/models/FFStatusResponse.js +51 -0
- package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/models/GlobalStatsAggregationModel.js +62 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +49 -0
- package/dist/models/ListResponseBuildTaskShortResponse.d.ts +39 -0
- package/dist/models/ListResponseBuildTaskShortResponse.js +54 -0
- package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseReleaseResponse.js +54 -0
- package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/models/ListResponseShortDeviceResponse.js +54 -0
- package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseShortReleaseResponse.js +54 -0
- package/dist/models/ListResponseStr.d.ts +38 -0
- package/dist/models/ListResponseStr.js +53 -0
- package/dist/models/ListResponseUserShortResponse.d.ts +39 -0
- package/dist/models/ListResponseUserShortResponse.js +54 -0
- package/dist/models/LogListResponse.d.ts +51 -0
- package/dist/models/LogListResponse.js +63 -0
- package/dist/models/LogResponse.d.ts +83 -0
- package/dist/models/LogResponse.js +73 -0
- package/dist/models/MaintainerShortModel.d.ts +44 -0
- package/dist/models/MaintainerShortModel.js +58 -0
- package/dist/models/NewBuildTaskBody.d.ts +57 -0
- package/dist/models/NewBuildTaskBody.js +59 -0
- package/dist/models/NewDeviceBody.d.ts +50 -0
- package/dist/models/NewDeviceBody.js +62 -0
- package/dist/models/PasteInput.d.ts +50 -0
- package/dist/models/PasteInput.js +58 -0
- package/dist/models/PasteOutput.d.ts +50 -0
- package/dist/models/PasteOutput.js +58 -0
- package/dist/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/models/RecoveryImgResponse.js +54 -0
- package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/models/ReleaseGroupsResponse.js +50 -0
- package/dist/models/ReleaseInternalResponse.d.ts +162 -0
- package/dist/models/ReleaseInternalResponse.js +126 -0
- package/dist/models/ReleaseInternalResponsePropValue.d.ts +26 -0
- package/dist/models/ReleaseInternalResponsePropValue.js +38 -0
- package/dist/models/ReleaseResponse.d.ts +139 -0
- package/dist/models/ReleaseResponse.js +114 -0
- package/dist/models/ReleaseStatsResponse.d.ts +48 -0
- package/dist/models/ReleaseStatsResponse.js +58 -0
- package/dist/models/ReleaseType.d.ts +26 -0
- package/dist/models/ReleaseType.js +52 -0
- package/dist/models/ReleaseUpdateBody.d.ts +50 -0
- package/dist/models/ReleaseUpdateBody.js +54 -0
- package/dist/models/ReleasesSort.d.ts +25 -0
- package/dist/models/ReleasesSort.js +51 -0
- package/dist/models/ResponseGetReleases.d.ts +41 -0
- package/dist/models/ResponseGetReleases.js +53 -0
- package/dist/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/models/ShortDeviceResponse.js +80 -0
- package/dist/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/models/ShortReleaseResponse.js +91 -0
- package/dist/models/TaskUpdateBody.d.ts +39 -0
- package/dist/models/TaskUpdateBody.js +51 -0
- package/dist/models/TokenResponse.d.ts +38 -0
- package/dist/models/TokenResponse.js +52 -0
- package/dist/models/UserGitlab.d.ts +32 -0
- package/dist/models/UserGitlab.js +50 -0
- package/dist/models/UserInternalResponse.d.ts +90 -0
- package/dist/models/UserInternalResponse.js +82 -0
- package/dist/models/UserMail.d.ts +32 -0
- package/dist/models/UserMail.js +50 -0
- package/dist/models/UserShortResponse.d.ts +50 -0
- package/dist/models/UserShortResponse.js +62 -0
- package/dist/models/UserTelegram.d.ts +32 -0
- package/dist/models/UserTelegram.js +50 -0
- package/dist/models/UserUpdateBody.d.ts +56 -0
- package/dist/models/UserUpdateBody.js +56 -0
- package/dist/models/ValidationError.d.ts +45 -0
- package/dist/models/ValidationError.js +59 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +38 -0
- package/dist/models/index.d.ts +47 -0
- package/dist/models/index.js +65 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +4 -17
- package/src/apis/DeviceApi.ts +326 -0
- package/src/apis/FoxFactoryApi.ts +807 -0
- package/src/apis/GitlabApi.ts +108 -0
- package/src/apis/InternalApi.ts +1590 -0
- package/src/apis/PasteApi.ts +158 -0
- package/src/apis/ReleaseApi.ts +414 -0
- package/src/apis/StatsApi.ts +82 -0
- package/src/apis/index.ts +9 -0
- package/src/index.ts +5 -0
- package/src/models/BodyChangePasswordProfileChangePasswordPost.ts +75 -0
- package/src/models/BuildStatusEnum.ts +58 -0
- package/src/models/BuildTaskResponse.ts +183 -0
- package/src/models/BuildTaskShortResponse.ts +167 -0
- package/src/models/DeviceInternalResponse.ts +196 -0
- package/src/models/DeviceResponse.ts +171 -0
- package/src/models/DeviceStatsResponse.ts +84 -0
- package/src/models/DeviceUpdateBody.ts +105 -0
- package/src/models/FFStatusEnum.ts +54 -0
- package/src/models/FFStatusResponse.ts +76 -0
- package/src/models/GlobalStatsAggregationModel.ts +93 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/ListResponseBuildTaskShortResponse.ts +82 -0
- package/src/models/ListResponseReleaseResponse.ts +82 -0
- package/src/models/ListResponseShortDeviceResponse.ts +82 -0
- package/src/models/ListResponseShortReleaseResponse.ts +82 -0
- package/src/models/ListResponseStr.ts +74 -0
- package/src/models/ListResponseUserShortResponse.ts +82 -0
- package/src/models/LogListResponse.ts +101 -0
- package/src/models/LogResponse.ts +141 -0
- package/src/models/MaintainerShortModel.ts +84 -0
- package/src/models/NewBuildTaskBody.ts +108 -0
- package/src/models/NewDeviceBody.ts +93 -0
- package/src/models/PasteInput.ts +91 -0
- package/src/models/PasteOutput.ts +91 -0
- package/src/models/RecoveryImgResponse.ts +75 -0
- package/src/models/ReleaseGroupsResponse.ts +74 -0
- package/src/models/ReleaseInternalResponse.ts +279 -0
- package/src/models/ReleaseInternalResponsePropValue.ts +46 -0
- package/src/models/ReleaseResponse.ts +233 -0
- package/src/models/ReleaseStatsResponse.ts +84 -0
- package/src/models/ReleaseType.ts +54 -0
- package/src/models/ReleaseUpdateBody.ts +89 -0
- package/src/models/ReleasesSort.ts +53 -0
- package/src/models/ResponseGetReleases.ts +96 -0
- package/src/models/ShortDeviceResponse.ts +138 -0
- package/src/models/ShortReleaseResponse.ts +174 -0
- package/src/models/TaskUpdateBody.ts +83 -0
- package/src/models/TokenResponse.ts +74 -0
- package/src/models/UserGitlab.ts +66 -0
- package/src/models/UserInternalResponse.ts +172 -0
- package/src/models/UserMail.ts +66 -0
- package/src/models/UserShortResponse.ts +93 -0
- package/src/models/UserTelegram.ts +66 -0
- package/src/models/UserUpdateBody.ts +97 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/index.ts +49 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +2 -4
- package/api.ts +0 -5578
- package/base.ts +0 -86
- package/common.ts +0 -150
- package/configuration.ts +0 -115
- package/dist/api.d.ts +0 -3696
- package/dist/api.js +0 -3281
- package/dist/base.d.ts +0 -66
- package/dist/base.js +0 -65
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -161
- package/dist/configuration.d.ts +0 -91
- package/dist/configuration.js +0 -44
- package/dist/esm/api.d.ts +0 -3696
- package/dist/esm/api.js +0 -3254
- package/dist/esm/base.d.ts +0 -66
- package/dist/esm/base.js +0 -60
- package/dist/esm/common.d.ts +0 -65
- package/dist/esm/common.js +0 -149
- package/dist/esm/configuration.d.ts +0 -91
- package/dist/esm/configuration.js +0 -40
- package/docs/BodyChangePasswordProfileChangePasswordPost.md +0 -22
- package/docs/BuildStatusEnum.md +0 -20
- package/docs/BuildTaskResponse.md +0 -42
- package/docs/BuildTaskShortResponse.md +0 -38
- package/docs/DeviceApi.md +0 -251
- package/docs/DeviceInternalResponse.md +0 -48
- package/docs/DeviceResponse.md +0 -44
- package/docs/DeviceStatsResponse.md +0 -24
- package/docs/DeviceUpdateBody.md +0 -30
- package/docs/FFStatusEnum.md +0 -12
- package/docs/FFStatusResponse.md +0 -20
- package/docs/FoxFactoryApi.md +0 -540
- package/docs/GitlabApi.md +0 -62
- package/docs/GlobalStatsAggregationModel.md +0 -26
- package/docs/HTTPValidationError.md +0 -20
- package/docs/InternalApi.md +0 -958
- package/docs/ListResponseBuildTaskShortResponse.md +0 -22
- package/docs/ListResponseReleaseResponse.md +0 -22
- package/docs/ListResponseShortDeviceResponse.md +0 -22
- package/docs/ListResponseShortReleaseResponse.md +0 -22
- package/docs/ListResponseStr.md +0 -22
- package/docs/ListResponseUserShortResponse.md +0 -22
- package/docs/LogListResponse.md +0 -26
- package/docs/LogResponse.md +0 -36
- package/docs/MaintainerShortModel.md +0 -26
- package/docs/NewBuildTaskBody.md +0 -28
- package/docs/NewDeviceBody.md +0 -26
- package/docs/RecoveryImgResponse.md +0 -22
- package/docs/ReleaseApi.md +0 -289
- package/docs/ReleaseGroupsResponse.md +0 -20
- package/docs/ReleaseInternalResponse.md +0 -62
- package/docs/ReleaseInternalResponsePropValue.md +0 -18
- package/docs/ReleaseResponse.md +0 -56
- package/docs/ReleaseStatsResponse.md +0 -24
- package/docs/ReleaseType.md +0 -12
- package/docs/ReleaseUpdateBody.md +0 -26
- package/docs/ReleasesSort.md +0 -10
- package/docs/ResponseGetReleases.md +0 -22
- package/docs/ShortDeviceResponse.md +0 -38
- package/docs/ShortReleaseResponse.md +0 -44
- package/docs/StatsApi.md +0 -53
- package/docs/TaskUpdateBody.md +0 -22
- package/docs/TokenResponse.md +0 -22
- package/docs/UserGitlab.md +0 -20
- package/docs/UserInternalResponse.md +0 -38
- package/docs/UserMail.md +0 -20
- package/docs/UserShortResponse.md +0 -26
- package/docs/UserTelegram.md +0 -20
- package/docs/UserUpdateBody.md +0 -28
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/git_push.sh +0 -57
package/docs/FoxFactoryApi.md
DELETED
|
@@ -1,540 +0,0 @@
|
|
|
1
|
-
# FoxFactoryApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.orangefox.download*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**cancelTaskFactoryTaskIdCancelPost**](#canceltaskfactorytaskidcancelpost) | **POST** /factory/{task_id}/cancel | Cancel Task|
|
|
8
|
-
|[**deleteTaskFactoryTaskIdDelete**](#deletetaskfactorytaskiddelete) | **DELETE** /factory/{task_id} | Delete Task|
|
|
9
|
-
|[**downloadArtifactFactoryTaskIdArtifactGet**](#downloadartifactfactorytaskidartifactget) | **GET** /factory/{task_id}/artifact | Download Artifact|
|
|
10
|
-
|[**factoryStatusFactoryStatusGet**](#factorystatusfactorystatusget) | **GET** /factory/status | Factory Status|
|
|
11
|
-
|[**getTaskFactoryTaskIdGet**](#gettaskfactorytaskidget) | **GET** /factory/{task_id} | Get Task|
|
|
12
|
-
|[**listTasksFactoryGet**](#listtasksfactoryget) | **GET** /factory/ | List Tasks|
|
|
13
|
-
|[**newTaskFactoryPost**](#newtaskfactorypost) | **POST** /factory/ | New Task|
|
|
14
|
-
|[**updateTaskFactoryTaskIdPatch**](#updatetaskfactorytaskidpatch) | **PATCH** /factory/{task_id} | Update Task|
|
|
15
|
-
|[**updateWorkerStatusFactoryUpdateStatusPost**](#updateworkerstatusfactoryupdatestatuspost) | **POST** /factory/update_status | Update Worker Status|
|
|
16
|
-
|[**uploadArtifactFactoryTaskIdArtifactPost**](#uploadartifactfactorytaskidartifactpost) | **POST** /factory/{task_id}/artifact | Upload Artifact|
|
|
17
|
-
|
|
18
|
-
# **cancelTaskFactoryTaskIdCancelPost**
|
|
19
|
-
> BuildTaskResponse cancelTaskFactoryTaskIdCancelPost()
|
|
20
|
-
|
|
21
|
-
Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
22
|
-
|
|
23
|
-
### Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import {
|
|
27
|
-
FoxFactoryApi,
|
|
28
|
-
Configuration
|
|
29
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
30
|
-
|
|
31
|
-
const configuration = new Configuration();
|
|
32
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
33
|
-
|
|
34
|
-
let taskId: string; // (default to undefined)
|
|
35
|
-
|
|
36
|
-
const { status, data } = await apiInstance.cancelTaskFactoryTaskIdCancelPost(
|
|
37
|
-
taskId
|
|
38
|
-
);
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Parameters
|
|
42
|
-
|
|
43
|
-
|Name | Type | Description | Notes|
|
|
44
|
-
|------------- | ------------- | ------------- | -------------|
|
|
45
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Return type
|
|
49
|
-
|
|
50
|
-
**BuildTaskResponse**
|
|
51
|
-
|
|
52
|
-
### Authorization
|
|
53
|
-
|
|
54
|
-
No authorization required
|
|
55
|
-
|
|
56
|
-
### HTTP request headers
|
|
57
|
-
|
|
58
|
-
- **Content-Type**: Not defined
|
|
59
|
-
- **Accept**: application/json
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### HTTP response details
|
|
63
|
-
| Status code | Description | Response headers |
|
|
64
|
-
|-------------|-------------|------------------|
|
|
65
|
-
|**200** | Successful Response | - |
|
|
66
|
-
|**422** | Validation Error | - |
|
|
67
|
-
|
|
68
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
69
|
-
|
|
70
|
-
# **deleteTaskFactoryTaskIdDelete**
|
|
71
|
-
> boolean deleteTaskFactoryTaskIdDelete()
|
|
72
|
-
|
|
73
|
-
Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised. Also deletes any associated artifact files.
|
|
74
|
-
|
|
75
|
-
### Example
|
|
76
|
-
|
|
77
|
-
```typescript
|
|
78
|
-
import {
|
|
79
|
-
FoxFactoryApi,
|
|
80
|
-
Configuration
|
|
81
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
82
|
-
|
|
83
|
-
const configuration = new Configuration();
|
|
84
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
85
|
-
|
|
86
|
-
let taskId: string; // (default to undefined)
|
|
87
|
-
|
|
88
|
-
const { status, data } = await apiInstance.deleteTaskFactoryTaskIdDelete(
|
|
89
|
-
taskId
|
|
90
|
-
);
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### Parameters
|
|
94
|
-
|
|
95
|
-
|Name | Type | Description | Notes|
|
|
96
|
-
|------------- | ------------- | ------------- | -------------|
|
|
97
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Return type
|
|
101
|
-
|
|
102
|
-
**boolean**
|
|
103
|
-
|
|
104
|
-
### Authorization
|
|
105
|
-
|
|
106
|
-
No authorization required
|
|
107
|
-
|
|
108
|
-
### HTTP request headers
|
|
109
|
-
|
|
110
|
-
- **Content-Type**: Not defined
|
|
111
|
-
- **Accept**: application/json
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### HTTP response details
|
|
115
|
-
| Status code | Description | Response headers |
|
|
116
|
-
|-------------|-------------|------------------|
|
|
117
|
-
|**200** | Successful Response | - |
|
|
118
|
-
|**422** | Validation Error | - |
|
|
119
|
-
|
|
120
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
121
|
-
|
|
122
|
-
# **downloadArtifactFactoryTaskIdArtifactGet**
|
|
123
|
-
> any downloadArtifactFactoryTaskIdArtifactGet()
|
|
124
|
-
|
|
125
|
-
Download the artifact file for a specific build task. This endpoint allows maintainers and foxfactory workers to download the artifact file associated with a build task. Parameters: task_id: The ID of the build task
|
|
126
|
-
|
|
127
|
-
### Example
|
|
128
|
-
|
|
129
|
-
```typescript
|
|
130
|
-
import {
|
|
131
|
-
FoxFactoryApi,
|
|
132
|
-
Configuration
|
|
133
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
134
|
-
|
|
135
|
-
const configuration = new Configuration();
|
|
136
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
137
|
-
|
|
138
|
-
let taskId: string; // (default to undefined)
|
|
139
|
-
|
|
140
|
-
const { status, data } = await apiInstance.downloadArtifactFactoryTaskIdArtifactGet(
|
|
141
|
-
taskId
|
|
142
|
-
);
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Parameters
|
|
146
|
-
|
|
147
|
-
|Name | Type | Description | Notes|
|
|
148
|
-
|------------- | ------------- | ------------- | -------------|
|
|
149
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
### Return type
|
|
153
|
-
|
|
154
|
-
**any**
|
|
155
|
-
|
|
156
|
-
### Authorization
|
|
157
|
-
|
|
158
|
-
No authorization required
|
|
159
|
-
|
|
160
|
-
### HTTP request headers
|
|
161
|
-
|
|
162
|
-
- **Content-Type**: Not defined
|
|
163
|
-
- **Accept**: application/json
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
### HTTP response details
|
|
167
|
-
| Status code | Description | Response headers |
|
|
168
|
-
|-------------|-------------|------------------|
|
|
169
|
-
|**200** | Successful Response | - |
|
|
170
|
-
|**422** | Validation Error | - |
|
|
171
|
-
|
|
172
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
173
|
-
|
|
174
|
-
# **factoryStatusFactoryStatusGet**
|
|
175
|
-
> FFStatusResponse factoryStatusFactoryStatusGet()
|
|
176
|
-
|
|
177
|
-
Endpoint for clients to get the current status of the worker. If the last update was longer than the defined timeout, worker is considered offline.
|
|
178
|
-
|
|
179
|
-
### Example
|
|
180
|
-
|
|
181
|
-
```typescript
|
|
182
|
-
import {
|
|
183
|
-
FoxFactoryApi,
|
|
184
|
-
Configuration
|
|
185
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
186
|
-
|
|
187
|
-
const configuration = new Configuration();
|
|
188
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
189
|
-
|
|
190
|
-
const { status, data } = await apiInstance.factoryStatusFactoryStatusGet();
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
### Parameters
|
|
194
|
-
This endpoint does not have any parameters.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
### Return type
|
|
198
|
-
|
|
199
|
-
**FFStatusResponse**
|
|
200
|
-
|
|
201
|
-
### Authorization
|
|
202
|
-
|
|
203
|
-
No authorization required
|
|
204
|
-
|
|
205
|
-
### HTTP request headers
|
|
206
|
-
|
|
207
|
-
- **Content-Type**: Not defined
|
|
208
|
-
- **Accept**: application/json
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
### HTTP response details
|
|
212
|
-
| Status code | Description | Response headers |
|
|
213
|
-
|-------------|-------------|------------------|
|
|
214
|
-
|**200** | Successful Response | - |
|
|
215
|
-
|
|
216
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
217
|
-
|
|
218
|
-
# **getTaskFactoryTaskIdGet**
|
|
219
|
-
> BuildTaskResponse getTaskFactoryTaskIdGet()
|
|
220
|
-
|
|
221
|
-
Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
|
|
222
|
-
|
|
223
|
-
### Example
|
|
224
|
-
|
|
225
|
-
```typescript
|
|
226
|
-
import {
|
|
227
|
-
FoxFactoryApi,
|
|
228
|
-
Configuration
|
|
229
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
230
|
-
|
|
231
|
-
const configuration = new Configuration();
|
|
232
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
233
|
-
|
|
234
|
-
let taskId: string; // (default to undefined)
|
|
235
|
-
|
|
236
|
-
const { status, data } = await apiInstance.getTaskFactoryTaskIdGet(
|
|
237
|
-
taskId
|
|
238
|
-
);
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
### Parameters
|
|
242
|
-
|
|
243
|
-
|Name | Type | Description | Notes|
|
|
244
|
-
|------------- | ------------- | ------------- | -------------|
|
|
245
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### Return type
|
|
249
|
-
|
|
250
|
-
**BuildTaskResponse**
|
|
251
|
-
|
|
252
|
-
### Authorization
|
|
253
|
-
|
|
254
|
-
No authorization required
|
|
255
|
-
|
|
256
|
-
### HTTP request headers
|
|
257
|
-
|
|
258
|
-
- **Content-Type**: Not defined
|
|
259
|
-
- **Accept**: application/json
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
### HTTP response details
|
|
263
|
-
| Status code | Description | Response headers |
|
|
264
|
-
|-------------|-------------|------------------|
|
|
265
|
-
|**200** | Successful Response | - |
|
|
266
|
-
|**422** | Validation Error | - |
|
|
267
|
-
|
|
268
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
269
|
-
|
|
270
|
-
# **listTasksFactoryGet**
|
|
271
|
-
> ListResponseBuildTaskShortResponse listTasksFactoryGet()
|
|
272
|
-
|
|
273
|
-
Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
|
|
274
|
-
|
|
275
|
-
### Example
|
|
276
|
-
|
|
277
|
-
```typescript
|
|
278
|
-
import {
|
|
279
|
-
FoxFactoryApi,
|
|
280
|
-
Configuration
|
|
281
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
282
|
-
|
|
283
|
-
const configuration = new Configuration();
|
|
284
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
285
|
-
|
|
286
|
-
let deviceId: string; // (optional) (default to undefined)
|
|
287
|
-
|
|
288
|
-
const { status, data } = await apiInstance.listTasksFactoryGet(
|
|
289
|
-
deviceId
|
|
290
|
-
);
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
### Parameters
|
|
294
|
-
|
|
295
|
-
|Name | Type | Description | Notes|
|
|
296
|
-
|------------- | ------------- | ------------- | -------------|
|
|
297
|
-
| **deviceId** | [**string**] | | (optional) defaults to undefined|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
### Return type
|
|
301
|
-
|
|
302
|
-
**ListResponseBuildTaskShortResponse**
|
|
303
|
-
|
|
304
|
-
### Authorization
|
|
305
|
-
|
|
306
|
-
No authorization required
|
|
307
|
-
|
|
308
|
-
### HTTP request headers
|
|
309
|
-
|
|
310
|
-
- **Content-Type**: Not defined
|
|
311
|
-
- **Accept**: application/json
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
### HTTP response details
|
|
315
|
-
| Status code | Description | Response headers |
|
|
316
|
-
|-------------|-------------|------------------|
|
|
317
|
-
|**200** | Successful Response | - |
|
|
318
|
-
|**422** | Validation Error | - |
|
|
319
|
-
|
|
320
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
321
|
-
|
|
322
|
-
# **newTaskFactoryPost**
|
|
323
|
-
> boolean newTaskFactoryPost(newBuildTaskBody)
|
|
324
|
-
|
|
325
|
-
Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
|
|
326
|
-
|
|
327
|
-
### Example
|
|
328
|
-
|
|
329
|
-
```typescript
|
|
330
|
-
import {
|
|
331
|
-
FoxFactoryApi,
|
|
332
|
-
Configuration,
|
|
333
|
-
NewBuildTaskBody
|
|
334
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
335
|
-
|
|
336
|
-
const configuration = new Configuration();
|
|
337
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
338
|
-
|
|
339
|
-
let newBuildTaskBody: NewBuildTaskBody; //
|
|
340
|
-
|
|
341
|
-
const { status, data } = await apiInstance.newTaskFactoryPost(
|
|
342
|
-
newBuildTaskBody
|
|
343
|
-
);
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
### Parameters
|
|
347
|
-
|
|
348
|
-
|Name | Type | Description | Notes|
|
|
349
|
-
|------------- | ------------- | ------------- | -------------|
|
|
350
|
-
| **newBuildTaskBody** | **NewBuildTaskBody**| | |
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
### Return type
|
|
354
|
-
|
|
355
|
-
**boolean**
|
|
356
|
-
|
|
357
|
-
### Authorization
|
|
358
|
-
|
|
359
|
-
No authorization required
|
|
360
|
-
|
|
361
|
-
### HTTP request headers
|
|
362
|
-
|
|
363
|
-
- **Content-Type**: application/json
|
|
364
|
-
- **Accept**: application/json
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
### HTTP response details
|
|
368
|
-
| Status code | Description | Response headers |
|
|
369
|
-
|-------------|-------------|------------------|
|
|
370
|
-
|**200** | Successful Response | - |
|
|
371
|
-
|**422** | Validation Error | - |
|
|
372
|
-
|
|
373
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
374
|
-
|
|
375
|
-
# **updateTaskFactoryTaskIdPatch**
|
|
376
|
-
> boolean updateTaskFactoryTaskIdPatch(taskUpdateBody)
|
|
377
|
-
|
|
378
|
-
Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
|
|
379
|
-
|
|
380
|
-
### Example
|
|
381
|
-
|
|
382
|
-
```typescript
|
|
383
|
-
import {
|
|
384
|
-
FoxFactoryApi,
|
|
385
|
-
Configuration,
|
|
386
|
-
TaskUpdateBody
|
|
387
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
388
|
-
|
|
389
|
-
const configuration = new Configuration();
|
|
390
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
391
|
-
|
|
392
|
-
let taskId: string; // (default to undefined)
|
|
393
|
-
let taskUpdateBody: TaskUpdateBody; //
|
|
394
|
-
|
|
395
|
-
const { status, data } = await apiInstance.updateTaskFactoryTaskIdPatch(
|
|
396
|
-
taskId,
|
|
397
|
-
taskUpdateBody
|
|
398
|
-
);
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
### Parameters
|
|
402
|
-
|
|
403
|
-
|Name | Type | Description | Notes|
|
|
404
|
-
|------------- | ------------- | ------------- | -------------|
|
|
405
|
-
| **taskUpdateBody** | **TaskUpdateBody**| | |
|
|
406
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
### Return type
|
|
410
|
-
|
|
411
|
-
**boolean**
|
|
412
|
-
|
|
413
|
-
### Authorization
|
|
414
|
-
|
|
415
|
-
No authorization required
|
|
416
|
-
|
|
417
|
-
### HTTP request headers
|
|
418
|
-
|
|
419
|
-
- **Content-Type**: application/json
|
|
420
|
-
- **Accept**: application/json
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
### HTTP response details
|
|
424
|
-
| Status code | Description | Response headers |
|
|
425
|
-
|-------------|-------------|------------------|
|
|
426
|
-
|**200** | Successful Response | - |
|
|
427
|
-
|**422** | Validation Error | - |
|
|
428
|
-
|
|
429
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
430
|
-
|
|
431
|
-
# **updateWorkerStatusFactoryUpdateStatusPost**
|
|
432
|
-
> any updateWorkerStatusFactoryUpdateStatusPost(body)
|
|
433
|
-
|
|
434
|
-
Endpoint for FoxFactory worker to update its status.
|
|
435
|
-
|
|
436
|
-
### Example
|
|
437
|
-
|
|
438
|
-
```typescript
|
|
439
|
-
import {
|
|
440
|
-
FoxFactoryApi,
|
|
441
|
-
Configuration
|
|
442
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
443
|
-
|
|
444
|
-
const configuration = new Configuration();
|
|
445
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
446
|
-
|
|
447
|
-
let body: string; //
|
|
448
|
-
|
|
449
|
-
const { status, data } = await apiInstance.updateWorkerStatusFactoryUpdateStatusPost(
|
|
450
|
-
body
|
|
451
|
-
);
|
|
452
|
-
```
|
|
453
|
-
|
|
454
|
-
### Parameters
|
|
455
|
-
|
|
456
|
-
|Name | Type | Description | Notes|
|
|
457
|
-
|------------- | ------------- | ------------- | -------------|
|
|
458
|
-
| **body** | **string**| | |
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
### Return type
|
|
462
|
-
|
|
463
|
-
**any**
|
|
464
|
-
|
|
465
|
-
### Authorization
|
|
466
|
-
|
|
467
|
-
No authorization required
|
|
468
|
-
|
|
469
|
-
### HTTP request headers
|
|
470
|
-
|
|
471
|
-
- **Content-Type**: application/json
|
|
472
|
-
- **Accept**: application/json
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
### HTTP response details
|
|
476
|
-
| Status code | Description | Response headers |
|
|
477
|
-
|-------------|-------------|------------------|
|
|
478
|
-
|**200** | Successful Response | - |
|
|
479
|
-
|**422** | Validation Error | - |
|
|
480
|
-
|
|
481
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
482
|
-
|
|
483
|
-
# **uploadArtifactFactoryTaskIdArtifactPost**
|
|
484
|
-
> boolean uploadArtifactFactoryTaskIdArtifactPost()
|
|
485
|
-
|
|
486
|
-
Upload an artifact zip file for a specific build task. This endpoint allows foxfactory workers to upload an artifact zip file, verifies its MD5 hash, and stores it in the appropriate directory. Parameters: task_id: The ID of the build task artifact: The artifact zip file to upload md5_hash: The expected MD5 hash of the artifact file
|
|
487
|
-
|
|
488
|
-
### Example
|
|
489
|
-
|
|
490
|
-
```typescript
|
|
491
|
-
import {
|
|
492
|
-
FoxFactoryApi,
|
|
493
|
-
Configuration
|
|
494
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
495
|
-
|
|
496
|
-
const configuration = new Configuration();
|
|
497
|
-
const apiInstance = new FoxFactoryApi(configuration);
|
|
498
|
-
|
|
499
|
-
let taskId: string; // (default to undefined)
|
|
500
|
-
let artifact: File; // (default to undefined)
|
|
501
|
-
let md5Hash: string; // (default to undefined)
|
|
502
|
-
|
|
503
|
-
const { status, data } = await apiInstance.uploadArtifactFactoryTaskIdArtifactPost(
|
|
504
|
-
taskId,
|
|
505
|
-
artifact,
|
|
506
|
-
md5Hash
|
|
507
|
-
);
|
|
508
|
-
```
|
|
509
|
-
|
|
510
|
-
### Parameters
|
|
511
|
-
|
|
512
|
-
|Name | Type | Description | Notes|
|
|
513
|
-
|------------- | ------------- | ------------- | -------------|
|
|
514
|
-
| **taskId** | [**string**] | | defaults to undefined|
|
|
515
|
-
| **artifact** | [**File**] | | defaults to undefined|
|
|
516
|
-
| **md5Hash** | [**string**] | | defaults to undefined|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
### Return type
|
|
520
|
-
|
|
521
|
-
**boolean**
|
|
522
|
-
|
|
523
|
-
### Authorization
|
|
524
|
-
|
|
525
|
-
No authorization required
|
|
526
|
-
|
|
527
|
-
### HTTP request headers
|
|
528
|
-
|
|
529
|
-
- **Content-Type**: multipart/form-data
|
|
530
|
-
- **Accept**: application/json
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
### HTTP response details
|
|
534
|
-
| Status code | Description | Response headers |
|
|
535
|
-
|-------------|-------------|------------------|
|
|
536
|
-
|**200** | Successful Response | - |
|
|
537
|
-
|**422** | Validation Error | - |
|
|
538
|
-
|
|
539
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
540
|
-
|
package/docs/GitlabApi.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# GitlabApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.orangefox.download*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost**](#deviceaddgitlabrepogitlabdevicedeviceidgitlabpost) | **POST** /gitlab/device/{device_id}/gitlab | Device Add Gitlab Repo|
|
|
8
|
-
|
|
9
|
-
# **deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost**
|
|
10
|
-
> boolean deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost()
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import {
|
|
17
|
-
GitlabApi,
|
|
18
|
-
Configuration
|
|
19
|
-
} from '@orangefox-recovery/foxinternalclient';
|
|
20
|
-
|
|
21
|
-
const configuration = new Configuration();
|
|
22
|
-
const apiInstance = new GitlabApi(configuration);
|
|
23
|
-
|
|
24
|
-
let deviceId: string; // (default to undefined)
|
|
25
|
-
let glProjectUrl: string; // (default to undefined)
|
|
26
|
-
|
|
27
|
-
const { status, data } = await apiInstance.deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(
|
|
28
|
-
deviceId,
|
|
29
|
-
glProjectUrl
|
|
30
|
-
);
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Parameters
|
|
34
|
-
|
|
35
|
-
|Name | Type | Description | Notes|
|
|
36
|
-
|------------- | ------------- | ------------- | -------------|
|
|
37
|
-
| **deviceId** | [**string**] | | defaults to undefined|
|
|
38
|
-
| **glProjectUrl** | [**string**] | | defaults to undefined|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Return type
|
|
42
|
-
|
|
43
|
-
**boolean**
|
|
44
|
-
|
|
45
|
-
### Authorization
|
|
46
|
-
|
|
47
|
-
No authorization required
|
|
48
|
-
|
|
49
|
-
### HTTP request headers
|
|
50
|
-
|
|
51
|
-
- **Content-Type**: Not defined
|
|
52
|
-
- **Accept**: application/json
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### HTTP response details
|
|
56
|
-
| Status code | Description | Response headers |
|
|
57
|
-
|-------------|-------------|------------------|
|
|
58
|
-
|**200** | Successful Response | - |
|
|
59
|
-
|**422** | Validation Error | - |
|
|
60
|
-
|
|
61
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# GlobalStatsAggregationModel
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**count** | **number** | | [default to undefined]
|
|
9
|
-
**deviceCount** | **number** | | [default to undefined]
|
|
10
|
-
**releaseCount** | **number** | | [default to undefined]
|
|
11
|
-
**days** | **{ [key: string]: number; }** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { GlobalStatsAggregationModel } from '@orangefox-recovery/foxinternalclient';
|
|
17
|
-
|
|
18
|
-
const instance: GlobalStatsAggregationModel = {
|
|
19
|
-
count,
|
|
20
|
-
deviceCount,
|
|
21
|
-
releaseCount,
|
|
22
|
-
days,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# HTTPValidationError
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**detail** | [**Array<ValidationError>**](ValidationError.md) | | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { HTTPValidationError } from '@orangefox-recovery/foxinternalclient';
|
|
14
|
-
|
|
15
|
-
const instance: HTTPValidationError = {
|
|
16
|
-
detail,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|