@orangefox-recovery/foxinternalclient 5.2.3 → 5.2.5

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/dist/esm/api.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.2.3
5
+ * The version of the OpenAPI document: 5.2.5
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -41,6 +41,7 @@ export declare const BuildStatusEnum: {
41
41
  readonly Pending: "pending";
42
42
  readonly Running: "running";
43
43
  readonly Cancelling: "cancelling";
44
+ readonly Uploading: "uploading";
44
45
  readonly Success: "success";
45
46
  readonly Cancelled: "cancelled";
46
47
  readonly Failed: "failed";
@@ -66,10 +67,10 @@ export interface BuildTaskResponse {
66
67
  'started_by_id': string;
67
68
  /**
68
69
  *
69
- * @type {string}
70
+ * @type {ShortDeviceResponse}
70
71
  * @memberof BuildTaskResponse
71
72
  */
72
- 'device_id': string;
73
+ 'device': ShortDeviceResponse;
73
74
  /**
74
75
  *
75
76
  * @type {BuildStatusEnum}
@@ -78,12 +79,22 @@ export interface BuildTaskResponse {
78
79
  'status': BuildStatusEnum;
79
80
  /**
80
81
  *
81
- * @type {{ [key: string]: any; }}
82
+ * @type {string}
82
83
  * @memberof BuildTaskResponse
83
84
  */
84
- 'info': {
85
- [key: string]: any;
86
- };
85
+ 'version'?: string;
86
+ /**
87
+ *
88
+ * @type {ReleaseType}
89
+ * @memberof BuildTaskResponse
90
+ */
91
+ 'type'?: ReleaseType;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof BuildTaskResponse
96
+ */
97
+ 'variant'?: string;
87
98
  /**
88
99
  *
89
100
  * @type {string}
@@ -96,6 +107,12 @@ export interface BuildTaskResponse {
96
107
  * @memberof BuildTaskResponse
97
108
  */
98
109
  'finished_at'?: string | null;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof BuildTaskResponse
114
+ */
115
+ 'has_artifact': boolean;
99
116
  /**
100
117
  *
101
118
  * @type {{ [key: string]: any; }}
@@ -131,10 +148,10 @@ export interface BuildTaskShortResponse {
131
148
  'started_by_id': string;
132
149
  /**
133
150
  *
134
- * @type {string}
151
+ * @type {ShortDeviceResponse}
135
152
  * @memberof BuildTaskShortResponse
136
153
  */
137
- 'device_id': string;
154
+ 'device': ShortDeviceResponse;
138
155
  /**
139
156
  *
140
157
  * @type {BuildStatusEnum}
@@ -143,12 +160,22 @@ export interface BuildTaskShortResponse {
143
160
  'status': BuildStatusEnum;
144
161
  /**
145
162
  *
146
- * @type {{ [key: string]: any; }}
163
+ * @type {string}
147
164
  * @memberof BuildTaskShortResponse
148
165
  */
149
- 'info': {
150
- [key: string]: any;
151
- };
166
+ 'version'?: string;
167
+ /**
168
+ *
169
+ * @type {ReleaseType}
170
+ * @memberof BuildTaskShortResponse
171
+ */
172
+ 'type'?: ReleaseType;
173
+ /**
174
+ *
175
+ * @type {string}
176
+ * @memberof BuildTaskShortResponse
177
+ */
178
+ 'variant'?: string;
152
179
  /**
153
180
  *
154
181
  * @type {string}
@@ -161,6 +188,12 @@ export interface BuildTaskShortResponse {
161
188
  * @memberof BuildTaskShortResponse
162
189
  */
163
190
  'finished_at'?: string | null;
191
+ /**
192
+ *
193
+ * @type {boolean}
194
+ * @memberof BuildTaskShortResponse
195
+ */
196
+ 'has_artifact': boolean;
164
197
  }
165
198
  /**
166
199
  *
@@ -492,6 +525,25 @@ export interface HTTPValidationError {
492
525
  */
493
526
  'detail'?: Array<ValidationError>;
494
527
  }
528
+ /**
529
+ *
530
+ * @export
531
+ * @interface ListResponseBuildTaskShortResponse
532
+ */
533
+ export interface ListResponseBuildTaskShortResponse {
534
+ /**
535
+ *
536
+ * @type {Array<BuildTaskShortResponse>}
537
+ * @memberof ListResponseBuildTaskShortResponse
538
+ */
539
+ 'data': Array<BuildTaskShortResponse>;
540
+ /**
541
+ *
542
+ * @type {number}
543
+ * @memberof ListResponseBuildTaskShortResponse
544
+ */
545
+ 'count': number;
546
+ }
495
547
  /**
496
548
  *
497
549
  * @export
@@ -1870,7 +1922,7 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
1870
1922
  */
1871
1923
  cancelTaskFactoryTaskIdCancelPost: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1872
1924
  /**
1873
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1925
+ * 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.
1874
1926
  * @summary Delete Task
1875
1927
  * @param {string} taskId
1876
1928
  * @param {*} [options] Override http request option.
@@ -1878,7 +1930,15 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
1878
1930
  */
1879
1931
  deleteTaskFactoryTaskIdDelete: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1880
1932
  /**
1881
- *
1933
+ * 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
1934
+ * @summary Download Artifact
1935
+ * @param {string} taskId
1936
+ * @param {*} [options] Override http request option.
1937
+ * @throws {RequiredError}
1938
+ */
1939
+ downloadArtifactFactoryTaskIdArtifactGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1940
+ /**
1941
+ * 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.
1882
1942
  * @summary Factory Status
1883
1943
  * @param {*} [options] Override http request option.
1884
1944
  * @throws {RequiredError}
@@ -1917,6 +1977,24 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
1917
1977
  * @throws {RequiredError}
1918
1978
  */
1919
1979
  updateTaskFactoryTaskIdPatch: (taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1980
+ /**
1981
+ * Endpoint for FoxFactory worker to update its status.
1982
+ * @summary Update Worker Status
1983
+ * @param {string} body
1984
+ * @param {*} [options] Override http request option.
1985
+ * @throws {RequiredError}
1986
+ */
1987
+ updateWorkerStatusFactoryUpdateStatusPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1988
+ /**
1989
+ * 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
1990
+ * @summary Upload Artifact
1991
+ * @param {string} taskId
1992
+ * @param {File} artifact
1993
+ * @param {string} md5Hash
1994
+ * @param {*} [options] Override http request option.
1995
+ * @throws {RequiredError}
1996
+ */
1997
+ uploadArtifactFactoryTaskIdArtifactPost: (taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1920
1998
  };
1921
1999
  /**
1922
2000
  * FoxFactoryApi - functional programming interface
@@ -1932,7 +2010,7 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
1932
2010
  */
1933
2011
  cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
1934
2012
  /**
1935
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2013
+ * 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.
1936
2014
  * @summary Delete Task
1937
2015
  * @param {string} taskId
1938
2016
  * @param {*} [options] Override http request option.
@@ -1940,7 +2018,15 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
1940
2018
  */
1941
2019
  deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
1942
2020
  /**
1943
- *
2021
+ * 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
2022
+ * @summary Download Artifact
2023
+ * @param {string} taskId
2024
+ * @param {*} [options] Override http request option.
2025
+ * @throws {RequiredError}
2026
+ */
2027
+ downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2028
+ /**
2029
+ * 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.
1944
2030
  * @summary Factory Status
1945
2031
  * @param {*} [options] Override http request option.
1946
2032
  * @throws {RequiredError}
@@ -1961,7 +2047,7 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
1961
2047
  * @param {*} [options] Override http request option.
1962
2048
  * @throws {RequiredError}
1963
2049
  */
1964
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BuildTaskShortResponse>>>;
2050
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseBuildTaskShortResponse>>;
1965
2051
  /**
1966
2052
  * 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.
1967
2053
  * @summary New Task
@@ -1979,6 +2065,24 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
1979
2065
  * @throws {RequiredError}
1980
2066
  */
1981
2067
  updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2068
+ /**
2069
+ * Endpoint for FoxFactory worker to update its status.
2070
+ * @summary Update Worker Status
2071
+ * @param {string} body
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ */
2075
+ updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2076
+ /**
2077
+ * 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
2078
+ * @summary Upload Artifact
2079
+ * @param {string} taskId
2080
+ * @param {File} artifact
2081
+ * @param {string} md5Hash
2082
+ * @param {*} [options] Override http request option.
2083
+ * @throws {RequiredError}
2084
+ */
2085
+ uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
1982
2086
  };
1983
2087
  /**
1984
2088
  * FoxFactoryApi - factory interface
@@ -1994,7 +2098,7 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
1994
2098
  */
1995
2099
  cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
1996
2100
  /**
1997
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2101
+ * 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.
1998
2102
  * @summary Delete Task
1999
2103
  * @param {string} taskId
2000
2104
  * @param {*} [options] Override http request option.
@@ -2002,7 +2106,15 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
2002
2106
  */
2003
2107
  deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2004
2108
  /**
2005
- *
2109
+ * 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
2110
+ * @summary Download Artifact
2111
+ * @param {string} taskId
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2116
+ /**
2117
+ * 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.
2006
2118
  * @summary Factory Status
2007
2119
  * @param {*} [options] Override http request option.
2008
2120
  * @throws {RequiredError}
@@ -2023,7 +2135,7 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
2023
2135
  * @param {*} [options] Override http request option.
2024
2136
  * @throws {RequiredError}
2025
2137
  */
2026
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2138
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseBuildTaskShortResponse>;
2027
2139
  /**
2028
2140
  * 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.
2029
2141
  * @summary New Task
@@ -2041,6 +2153,24 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
2041
2153
  * @throws {RequiredError}
2042
2154
  */
2043
2155
  updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2156
+ /**
2157
+ * Endpoint for FoxFactory worker to update its status.
2158
+ * @summary Update Worker Status
2159
+ * @param {string} body
2160
+ * @param {*} [options] Override http request option.
2161
+ * @throws {RequiredError}
2162
+ */
2163
+ updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2164
+ /**
2165
+ * 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
2166
+ * @summary Upload Artifact
2167
+ * @param {string} taskId
2168
+ * @param {File} artifact
2169
+ * @param {string} md5Hash
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2044
2174
  };
2045
2175
  /**
2046
2176
  * FoxFactoryApi - interface
@@ -2058,7 +2188,7 @@ export interface FoxFactoryApiInterface {
2058
2188
  */
2059
2189
  cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2060
2190
  /**
2061
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2191
+ * 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.
2062
2192
  * @summary Delete Task
2063
2193
  * @param {string} taskId
2064
2194
  * @param {*} [options] Override http request option.
@@ -2067,7 +2197,16 @@ export interface FoxFactoryApiInterface {
2067
2197
  */
2068
2198
  deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2069
2199
  /**
2070
- *
2200
+ * 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
2201
+ * @summary Download Artifact
2202
+ * @param {string} taskId
2203
+ * @param {*} [options] Override http request option.
2204
+ * @throws {RequiredError}
2205
+ * @memberof FoxFactoryApiInterface
2206
+ */
2207
+ downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2208
+ /**
2209
+ * 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.
2071
2210
  * @summary Factory Status
2072
2211
  * @param {*} [options] Override http request option.
2073
2212
  * @throws {RequiredError}
@@ -2091,7 +2230,7 @@ export interface FoxFactoryApiInterface {
2091
2230
  * @throws {RequiredError}
2092
2231
  * @memberof FoxFactoryApiInterface
2093
2232
  */
2094
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2233
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseBuildTaskShortResponse>;
2095
2234
  /**
2096
2235
  * 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.
2097
2236
  * @summary New Task
@@ -2111,6 +2250,26 @@ export interface FoxFactoryApiInterface {
2111
2250
  * @memberof FoxFactoryApiInterface
2112
2251
  */
2113
2252
  updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2253
+ /**
2254
+ * Endpoint for FoxFactory worker to update its status.
2255
+ * @summary Update Worker Status
2256
+ * @param {string} body
2257
+ * @param {*} [options] Override http request option.
2258
+ * @throws {RequiredError}
2259
+ * @memberof FoxFactoryApiInterface
2260
+ */
2261
+ updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2262
+ /**
2263
+ * 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
2264
+ * @summary Upload Artifact
2265
+ * @param {string} taskId
2266
+ * @param {File} artifact
2267
+ * @param {string} md5Hash
2268
+ * @param {*} [options] Override http request option.
2269
+ * @throws {RequiredError}
2270
+ * @memberof FoxFactoryApiInterface
2271
+ */
2272
+ uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2114
2273
  }
2115
2274
  /**
2116
2275
  * FoxFactoryApi - object-oriented interface
@@ -2129,7 +2288,7 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
2129
2288
  */
2130
2289
  cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
2131
2290
  /**
2132
- * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2291
+ * 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.
2133
2292
  * @summary Delete Task
2134
2293
  * @param {string} taskId
2135
2294
  * @param {*} [options] Override http request option.
@@ -2138,7 +2297,16 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
2138
2297
  */
2139
2298
  deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2140
2299
  /**
2141
- *
2300
+ * 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
2301
+ * @summary Download Artifact
2302
+ * @param {string} taskId
2303
+ * @param {*} [options] Override http request option.
2304
+ * @throws {RequiredError}
2305
+ * @memberof FoxFactoryApi
2306
+ */
2307
+ downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
2308
+ /**
2309
+ * 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.
2142
2310
  * @summary Factory Status
2143
2311
  * @param {*} [options] Override http request option.
2144
2312
  * @throws {RequiredError}
@@ -2162,7 +2330,7 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
2162
2330
  * @throws {RequiredError}
2163
2331
  * @memberof FoxFactoryApi
2164
2332
  */
2165
- listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskShortResponse[], any>>;
2333
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseBuildTaskShortResponse, any>>;
2166
2334
  /**
2167
2335
  * 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.
2168
2336
  * @summary New Task
@@ -2182,6 +2350,26 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
2182
2350
  * @memberof FoxFactoryApi
2183
2351
  */
2184
2352
  updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2353
+ /**
2354
+ * Endpoint for FoxFactory worker to update its status.
2355
+ * @summary Update Worker Status
2356
+ * @param {string} body
2357
+ * @param {*} [options] Override http request option.
2358
+ * @throws {RequiredError}
2359
+ * @memberof FoxFactoryApi
2360
+ */
2361
+ updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
2362
+ /**
2363
+ * 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
2364
+ * @summary Upload Artifact
2365
+ * @param {string} taskId
2366
+ * @param {File} artifact
2367
+ * @param {string} md5Hash
2368
+ * @param {*} [options] Override http request option.
2369
+ * @throws {RequiredError}
2370
+ * @memberof FoxFactoryApi
2371
+ */
2372
+ uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2185
2373
  }
2186
2374
  /**
2187
2375
  * GitlabApi - axios parameter creator