@orangefox-recovery/foxinternalclient 5.2.4 → 5.2.6
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 +3 -0
- package/README.md +11 -2
- package/api.ts +897 -62
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +462 -25
- package/dist/api.js +614 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +462 -25
- package/dist/esm/api.js +609 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BuildStatusEnum.md +2 -0
- package/docs/BuildTaskResponse.md +11 -5
- package/docs/BuildTaskShortResponse.md +10 -4
- package/docs/FoxFactoryApi.md +174 -8
- package/docs/InternalApi.md +114 -0
- package/docs/PasteApi.md +117 -0
- package/docs/PasteInput.md +26 -0
- package/docs/PasteOutput.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 5.2.6
|
|
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 {
|
|
70
|
+
* @type {ShortDeviceResponse}
|
|
70
71
|
* @memberof BuildTaskResponse
|
|
71
72
|
*/
|
|
72
|
-
'
|
|
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 {
|
|
82
|
+
* @type {string}
|
|
82
83
|
* @memberof BuildTaskResponse
|
|
83
84
|
*/
|
|
84
|
-
'
|
|
85
|
-
|
|
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}
|
|
@@ -98,11 +109,17 @@ export interface BuildTaskResponse {
|
|
|
98
109
|
'finished_at'?: string | null;
|
|
99
110
|
/**
|
|
100
111
|
*
|
|
101
|
-
* @type {
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof BuildTaskResponse
|
|
114
|
+
*/
|
|
115
|
+
'has_artifact': boolean;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {{ [key: string]: string; }}
|
|
102
119
|
* @memberof BuildTaskResponse
|
|
103
120
|
*/
|
|
104
121
|
'environment'?: {
|
|
105
|
-
[key: string]:
|
|
122
|
+
[key: string]: string;
|
|
106
123
|
} | null;
|
|
107
124
|
/**
|
|
108
125
|
*
|
|
@@ -131,10 +148,10 @@ export interface BuildTaskShortResponse {
|
|
|
131
148
|
'started_by_id': string;
|
|
132
149
|
/**
|
|
133
150
|
*
|
|
134
|
-
* @type {
|
|
151
|
+
* @type {ShortDeviceResponse}
|
|
135
152
|
* @memberof BuildTaskShortResponse
|
|
136
153
|
*/
|
|
137
|
-
'
|
|
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 {
|
|
163
|
+
* @type {string}
|
|
147
164
|
* @memberof BuildTaskShortResponse
|
|
148
165
|
*/
|
|
149
|
-
'
|
|
150
|
-
|
|
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
|
*
|
|
@@ -800,6 +833,68 @@ export interface NewDeviceBody {
|
|
|
800
833
|
*/
|
|
801
834
|
'maintainer': string;
|
|
802
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @export
|
|
839
|
+
* @interface PasteInput
|
|
840
|
+
*/
|
|
841
|
+
export interface PasteInput {
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @type {string}
|
|
845
|
+
* @memberof PasteInput
|
|
846
|
+
*/
|
|
847
|
+
'_id'?: string | null;
|
|
848
|
+
/**
|
|
849
|
+
*
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof PasteInput
|
|
852
|
+
*/
|
|
853
|
+
'content': string;
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @type {string}
|
|
857
|
+
* @memberof PasteInput
|
|
858
|
+
*/
|
|
859
|
+
'ip_address': string;
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* @type {string}
|
|
863
|
+
* @memberof PasteInput
|
|
864
|
+
*/
|
|
865
|
+
'created_at'?: string;
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @export
|
|
870
|
+
* @interface PasteOutput
|
|
871
|
+
*/
|
|
872
|
+
export interface PasteOutput {
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @type {string}
|
|
876
|
+
* @memberof PasteOutput
|
|
877
|
+
*/
|
|
878
|
+
'_id'?: string | null;
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* @type {string}
|
|
882
|
+
* @memberof PasteOutput
|
|
883
|
+
*/
|
|
884
|
+
'content': string;
|
|
885
|
+
/**
|
|
886
|
+
*
|
|
887
|
+
* @type {string}
|
|
888
|
+
* @memberof PasteOutput
|
|
889
|
+
*/
|
|
890
|
+
'ip_address': string;
|
|
891
|
+
/**
|
|
892
|
+
*
|
|
893
|
+
* @type {string}
|
|
894
|
+
* @memberof PasteOutput
|
|
895
|
+
*/
|
|
896
|
+
'created_at'?: string;
|
|
897
|
+
}
|
|
803
898
|
/**
|
|
804
899
|
*
|
|
805
900
|
* @export
|
|
@@ -1889,7 +1984,7 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1889
1984
|
*/
|
|
1890
1985
|
cancelTaskFactoryTaskIdCancelPost: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1891
1986
|
/**
|
|
1892
|
-
* Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
1987
|
+
* 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.
|
|
1893
1988
|
* @summary Delete Task
|
|
1894
1989
|
* @param {string} taskId
|
|
1895
1990
|
* @param {*} [options] Override http request option.
|
|
@@ -1897,7 +1992,15 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1897
1992
|
*/
|
|
1898
1993
|
deleteTaskFactoryTaskIdDelete: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1899
1994
|
/**
|
|
1900
|
-
*
|
|
1995
|
+
* 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
|
|
1996
|
+
* @summary Download Artifact
|
|
1997
|
+
* @param {string} taskId
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
*/
|
|
2001
|
+
downloadArtifactFactoryTaskIdArtifactGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2002
|
+
/**
|
|
2003
|
+
* 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.
|
|
1901
2004
|
* @summary Factory Status
|
|
1902
2005
|
* @param {*} [options] Override http request option.
|
|
1903
2006
|
* @throws {RequiredError}
|
|
@@ -1936,6 +2039,24 @@ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1936
2039
|
* @throws {RequiredError}
|
|
1937
2040
|
*/
|
|
1938
2041
|
updateTaskFactoryTaskIdPatch: (taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2042
|
+
/**
|
|
2043
|
+
* Endpoint for FoxFactory worker to update its status.
|
|
2044
|
+
* @summary Update Worker Status
|
|
2045
|
+
* @param {string} body
|
|
2046
|
+
* @param {*} [options] Override http request option.
|
|
2047
|
+
* @throws {RequiredError}
|
|
2048
|
+
*/
|
|
2049
|
+
updateWorkerStatusFactoryUpdateStatusPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2050
|
+
/**
|
|
2051
|
+
* 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
|
|
2052
|
+
* @summary Upload Artifact
|
|
2053
|
+
* @param {string} taskId
|
|
2054
|
+
* @param {File} artifact
|
|
2055
|
+
* @param {string} md5Hash
|
|
2056
|
+
* @param {*} [options] Override http request option.
|
|
2057
|
+
* @throws {RequiredError}
|
|
2058
|
+
*/
|
|
2059
|
+
uploadArtifactFactoryTaskIdArtifactPost: (taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1939
2060
|
};
|
|
1940
2061
|
/**
|
|
1941
2062
|
* FoxFactoryApi - functional programming interface
|
|
@@ -1951,7 +2072,7 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
|
|
|
1951
2072
|
*/
|
|
1952
2073
|
cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
|
|
1953
2074
|
/**
|
|
1954
|
-
* Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
2075
|
+
* 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.
|
|
1955
2076
|
* @summary Delete Task
|
|
1956
2077
|
* @param {string} taskId
|
|
1957
2078
|
* @param {*} [options] Override http request option.
|
|
@@ -1959,7 +2080,15 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
|
|
|
1959
2080
|
*/
|
|
1960
2081
|
deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
1961
2082
|
/**
|
|
1962
|
-
*
|
|
2083
|
+
* 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
|
|
2084
|
+
* @summary Download Artifact
|
|
2085
|
+
* @param {string} taskId
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
*/
|
|
2089
|
+
downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2090
|
+
/**
|
|
2091
|
+
* 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.
|
|
1963
2092
|
* @summary Factory Status
|
|
1964
2093
|
* @param {*} [options] Override http request option.
|
|
1965
2094
|
* @throws {RequiredError}
|
|
@@ -1998,6 +2127,24 @@ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
|
|
|
1998
2127
|
* @throws {RequiredError}
|
|
1999
2128
|
*/
|
|
2000
2129
|
updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Endpoint for FoxFactory worker to update its status.
|
|
2132
|
+
* @summary Update Worker Status
|
|
2133
|
+
* @param {string} body
|
|
2134
|
+
* @param {*} [options] Override http request option.
|
|
2135
|
+
* @throws {RequiredError}
|
|
2136
|
+
*/
|
|
2137
|
+
updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2138
|
+
/**
|
|
2139
|
+
* 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
|
|
2140
|
+
* @summary Upload Artifact
|
|
2141
|
+
* @param {string} taskId
|
|
2142
|
+
* @param {File} artifact
|
|
2143
|
+
* @param {string} md5Hash
|
|
2144
|
+
* @param {*} [options] Override http request option.
|
|
2145
|
+
* @throws {RequiredError}
|
|
2146
|
+
*/
|
|
2147
|
+
uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
2001
2148
|
};
|
|
2002
2149
|
/**
|
|
2003
2150
|
* FoxFactoryApi - factory interface
|
|
@@ -2013,7 +2160,7 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
|
|
|
2013
2160
|
*/
|
|
2014
2161
|
cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
|
|
2015
2162
|
/**
|
|
2016
|
-
* Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
2163
|
+
* 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.
|
|
2017
2164
|
* @summary Delete Task
|
|
2018
2165
|
* @param {string} taskId
|
|
2019
2166
|
* @param {*} [options] Override http request option.
|
|
@@ -2021,7 +2168,15 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
|
|
|
2021
2168
|
*/
|
|
2022
2169
|
deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2023
2170
|
/**
|
|
2024
|
-
*
|
|
2171
|
+
* 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
|
|
2172
|
+
* @summary Download Artifact
|
|
2173
|
+
* @param {string} taskId
|
|
2174
|
+
* @param {*} [options] Override http request option.
|
|
2175
|
+
* @throws {RequiredError}
|
|
2176
|
+
*/
|
|
2177
|
+
downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2178
|
+
/**
|
|
2179
|
+
* 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.
|
|
2025
2180
|
* @summary Factory Status
|
|
2026
2181
|
* @param {*} [options] Override http request option.
|
|
2027
2182
|
* @throws {RequiredError}
|
|
@@ -2060,6 +2215,24 @@ export declare const FoxFactoryApiFactory: (configuration?: Configuration, baseP
|
|
|
2060
2215
|
* @throws {RequiredError}
|
|
2061
2216
|
*/
|
|
2062
2217
|
updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2218
|
+
/**
|
|
2219
|
+
* Endpoint for FoxFactory worker to update its status.
|
|
2220
|
+
* @summary Update Worker Status
|
|
2221
|
+
* @param {string} body
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
*/
|
|
2225
|
+
updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2226
|
+
/**
|
|
2227
|
+
* 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
|
|
2228
|
+
* @summary Upload Artifact
|
|
2229
|
+
* @param {string} taskId
|
|
2230
|
+
* @param {File} artifact
|
|
2231
|
+
* @param {string} md5Hash
|
|
2232
|
+
* @param {*} [options] Override http request option.
|
|
2233
|
+
* @throws {RequiredError}
|
|
2234
|
+
*/
|
|
2235
|
+
uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2063
2236
|
};
|
|
2064
2237
|
/**
|
|
2065
2238
|
* FoxFactoryApi - interface
|
|
@@ -2077,7 +2250,7 @@ export interface FoxFactoryApiInterface {
|
|
|
2077
2250
|
*/
|
|
2078
2251
|
cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
|
|
2079
2252
|
/**
|
|
2080
|
-
* Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
2253
|
+
* 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.
|
|
2081
2254
|
* @summary Delete Task
|
|
2082
2255
|
* @param {string} taskId
|
|
2083
2256
|
* @param {*} [options] Override http request option.
|
|
@@ -2086,7 +2259,16 @@ export interface FoxFactoryApiInterface {
|
|
|
2086
2259
|
*/
|
|
2087
2260
|
deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2088
2261
|
/**
|
|
2089
|
-
*
|
|
2262
|
+
* 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
|
|
2263
|
+
* @summary Download Artifact
|
|
2264
|
+
* @param {string} taskId
|
|
2265
|
+
* @param {*} [options] Override http request option.
|
|
2266
|
+
* @throws {RequiredError}
|
|
2267
|
+
* @memberof FoxFactoryApiInterface
|
|
2268
|
+
*/
|
|
2269
|
+
downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2270
|
+
/**
|
|
2271
|
+
* 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.
|
|
2090
2272
|
* @summary Factory Status
|
|
2091
2273
|
* @param {*} [options] Override http request option.
|
|
2092
2274
|
* @throws {RequiredError}
|
|
@@ -2130,6 +2312,26 @@ export interface FoxFactoryApiInterface {
|
|
|
2130
2312
|
* @memberof FoxFactoryApiInterface
|
|
2131
2313
|
*/
|
|
2132
2314
|
updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2315
|
+
/**
|
|
2316
|
+
* Endpoint for FoxFactory worker to update its status.
|
|
2317
|
+
* @summary Update Worker Status
|
|
2318
|
+
* @param {string} body
|
|
2319
|
+
* @param {*} [options] Override http request option.
|
|
2320
|
+
* @throws {RequiredError}
|
|
2321
|
+
* @memberof FoxFactoryApiInterface
|
|
2322
|
+
*/
|
|
2323
|
+
updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2324
|
+
/**
|
|
2325
|
+
* 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
|
|
2326
|
+
* @summary Upload Artifact
|
|
2327
|
+
* @param {string} taskId
|
|
2328
|
+
* @param {File} artifact
|
|
2329
|
+
* @param {string} md5Hash
|
|
2330
|
+
* @param {*} [options] Override http request option.
|
|
2331
|
+
* @throws {RequiredError}
|
|
2332
|
+
* @memberof FoxFactoryApiInterface
|
|
2333
|
+
*/
|
|
2334
|
+
uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2133
2335
|
}
|
|
2134
2336
|
/**
|
|
2135
2337
|
* FoxFactoryApi - object-oriented interface
|
|
@@ -2148,7 +2350,7 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
|
|
|
2148
2350
|
*/
|
|
2149
2351
|
cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
|
|
2150
2352
|
/**
|
|
2151
|
-
* Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
|
|
2353
|
+
* 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.
|
|
2152
2354
|
* @summary Delete Task
|
|
2153
2355
|
* @param {string} taskId
|
|
2154
2356
|
* @param {*} [options] Override http request option.
|
|
@@ -2157,7 +2359,16 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
|
|
|
2157
2359
|
*/
|
|
2158
2360
|
deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
2159
2361
|
/**
|
|
2160
|
-
*
|
|
2362
|
+
* 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
|
|
2363
|
+
* @summary Download Artifact
|
|
2364
|
+
* @param {string} taskId
|
|
2365
|
+
* @param {*} [options] Override http request option.
|
|
2366
|
+
* @throws {RequiredError}
|
|
2367
|
+
* @memberof FoxFactoryApi
|
|
2368
|
+
*/
|
|
2369
|
+
downloadArtifactFactoryTaskIdArtifactGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2370
|
+
/**
|
|
2371
|
+
* 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.
|
|
2161
2372
|
* @summary Factory Status
|
|
2162
2373
|
* @param {*} [options] Override http request option.
|
|
2163
2374
|
* @throws {RequiredError}
|
|
@@ -2201,6 +2412,26 @@ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInter
|
|
|
2201
2412
|
* @memberof FoxFactoryApi
|
|
2202
2413
|
*/
|
|
2203
2414
|
updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Endpoint for FoxFactory worker to update its status.
|
|
2417
|
+
* @summary Update Worker Status
|
|
2418
|
+
* @param {string} body
|
|
2419
|
+
* @param {*} [options] Override http request option.
|
|
2420
|
+
* @throws {RequiredError}
|
|
2421
|
+
* @memberof FoxFactoryApi
|
|
2422
|
+
*/
|
|
2423
|
+
updateWorkerStatusFactoryUpdateStatusPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2424
|
+
/**
|
|
2425
|
+
* 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
|
|
2426
|
+
* @summary Upload Artifact
|
|
2427
|
+
* @param {string} taskId
|
|
2428
|
+
* @param {File} artifact
|
|
2429
|
+
* @param {string} md5Hash
|
|
2430
|
+
* @param {*} [options] Override http request option.
|
|
2431
|
+
* @throws {RequiredError}
|
|
2432
|
+
* @memberof FoxFactoryApi
|
|
2433
|
+
*/
|
|
2434
|
+
uploadArtifactFactoryTaskIdArtifactPost(taskId: string, artifact: File, md5Hash: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
2204
2435
|
}
|
|
2205
2436
|
/**
|
|
2206
2437
|
* GitlabApi - axios parameter creator
|
|
@@ -2303,6 +2534,14 @@ export declare const InternalApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2303
2534
|
* @throws {RequiredError}
|
|
2304
2535
|
*/
|
|
2305
2536
|
delReleaseInternalReleasesReleaseIdDelete: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2537
|
+
/**
|
|
2538
|
+
* Delete a paste by ID. Requires admin permissions.
|
|
2539
|
+
* @summary Delete Paste
|
|
2540
|
+
* @param {string} pasteId
|
|
2541
|
+
* @param {*} [options] Override http request option.
|
|
2542
|
+
* @throws {RequiredError}
|
|
2543
|
+
*/
|
|
2544
|
+
deletePasteInternalPastePasteIdDelete: (pasteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2306
2545
|
/**
|
|
2307
2546
|
*
|
|
2308
2547
|
* @summary Delete User
|
|
@@ -2434,6 +2673,15 @@ export declare const InternalApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2434
2673
|
* @throws {RequiredError}
|
|
2435
2674
|
*/
|
|
2436
2675
|
updateDeviceInternalDevicesDeviceIdPut: (deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2676
|
+
/**
|
|
2677
|
+
* Update a paste by ID. Requires admin permissions.
|
|
2678
|
+
* @summary Update Paste
|
|
2679
|
+
* @param {string} pasteId
|
|
2680
|
+
* @param {PasteInput} pasteInput
|
|
2681
|
+
* @param {*} [options] Override http request option.
|
|
2682
|
+
* @throws {RequiredError}
|
|
2683
|
+
*/
|
|
2684
|
+
updatePasteInternalPastePasteIdPut: (pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2437
2685
|
/**
|
|
2438
2686
|
*
|
|
2439
2687
|
* @summary Update User
|
|
@@ -2465,6 +2713,14 @@ export declare const InternalApiFp: (configuration?: Configuration) => {
|
|
|
2465
2713
|
* @throws {RequiredError}
|
|
2466
2714
|
*/
|
|
2467
2715
|
delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
2716
|
+
/**
|
|
2717
|
+
* Delete a paste by ID. Requires admin permissions.
|
|
2718
|
+
* @summary Delete Paste
|
|
2719
|
+
* @param {string} pasteId
|
|
2720
|
+
* @param {*} [options] Override http request option.
|
|
2721
|
+
* @throws {RequiredError}
|
|
2722
|
+
*/
|
|
2723
|
+
deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2468
2724
|
/**
|
|
2469
2725
|
*
|
|
2470
2726
|
* @summary Delete User
|
|
@@ -2596,6 +2852,15 @@ export declare const InternalApiFp: (configuration?: Configuration) => {
|
|
|
2596
2852
|
* @throws {RequiredError}
|
|
2597
2853
|
*/
|
|
2598
2854
|
updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
2855
|
+
/**
|
|
2856
|
+
* Update a paste by ID. Requires admin permissions.
|
|
2857
|
+
* @summary Update Paste
|
|
2858
|
+
* @param {string} pasteId
|
|
2859
|
+
* @param {PasteInput} pasteInput
|
|
2860
|
+
* @param {*} [options] Override http request option.
|
|
2861
|
+
* @throws {RequiredError}
|
|
2862
|
+
*/
|
|
2863
|
+
updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
|
|
2599
2864
|
/**
|
|
2600
2865
|
*
|
|
2601
2866
|
* @summary Update User
|
|
@@ -2627,6 +2892,14 @@ export declare const InternalApiFactory: (configuration?: Configuration, basePat
|
|
|
2627
2892
|
* @throws {RequiredError}
|
|
2628
2893
|
*/
|
|
2629
2894
|
delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
2895
|
+
/**
|
|
2896
|
+
* Delete a paste by ID. Requires admin permissions.
|
|
2897
|
+
* @summary Delete Paste
|
|
2898
|
+
* @param {string} pasteId
|
|
2899
|
+
* @param {*} [options] Override http request option.
|
|
2900
|
+
* @throws {RequiredError}
|
|
2901
|
+
*/
|
|
2902
|
+
deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2630
2903
|
/**
|
|
2631
2904
|
*
|
|
2632
2905
|
* @summary Delete User
|
|
@@ -2758,6 +3031,15 @@ export declare const InternalApiFactory: (configuration?: Configuration, basePat
|
|
|
2758
3031
|
* @throws {RequiredError}
|
|
2759
3032
|
*/
|
|
2760
3033
|
updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
3034
|
+
/**
|
|
3035
|
+
* Update a paste by ID. Requires admin permissions.
|
|
3036
|
+
* @summary Update Paste
|
|
3037
|
+
* @param {string} pasteId
|
|
3038
|
+
* @param {PasteInput} pasteInput
|
|
3039
|
+
* @param {*} [options] Override http request option.
|
|
3040
|
+
* @throws {RequiredError}
|
|
3041
|
+
*/
|
|
3042
|
+
updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
2761
3043
|
/**
|
|
2762
3044
|
*
|
|
2763
3045
|
* @summary Update User
|
|
@@ -2792,6 +3074,15 @@ export interface InternalApiInterface {
|
|
|
2792
3074
|
* @memberof InternalApiInterface
|
|
2793
3075
|
*/
|
|
2794
3076
|
delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
3077
|
+
/**
|
|
3078
|
+
* Delete a paste by ID. Requires admin permissions.
|
|
3079
|
+
* @summary Delete Paste
|
|
3080
|
+
* @param {string} pasteId
|
|
3081
|
+
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @throws {RequiredError}
|
|
3083
|
+
* @memberof InternalApiInterface
|
|
3084
|
+
*/
|
|
3085
|
+
deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2795
3086
|
/**
|
|
2796
3087
|
*
|
|
2797
3088
|
* @summary Delete User
|
|
@@ -2937,6 +3228,16 @@ export interface InternalApiInterface {
|
|
|
2937
3228
|
* @memberof InternalApiInterface
|
|
2938
3229
|
*/
|
|
2939
3230
|
updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
3231
|
+
/**
|
|
3232
|
+
* Update a paste by ID. Requires admin permissions.
|
|
3233
|
+
* @summary Update Paste
|
|
3234
|
+
* @param {string} pasteId
|
|
3235
|
+
* @param {PasteInput} pasteInput
|
|
3236
|
+
* @param {*} [options] Override http request option.
|
|
3237
|
+
* @throws {RequiredError}
|
|
3238
|
+
* @memberof InternalApiInterface
|
|
3239
|
+
*/
|
|
3240
|
+
updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
2940
3241
|
/**
|
|
2941
3242
|
*
|
|
2942
3243
|
* @summary Update User
|
|
@@ -2973,6 +3274,15 @@ export declare class InternalApi extends BaseAPI implements InternalApiInterface
|
|
|
2973
3274
|
* @memberof InternalApi
|
|
2974
3275
|
*/
|
|
2975
3276
|
delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
3277
|
+
/**
|
|
3278
|
+
* Delete a paste by ID. Requires admin permissions.
|
|
3279
|
+
* @summary Delete Paste
|
|
3280
|
+
* @param {string} pasteId
|
|
3281
|
+
* @param {*} [options] Override http request option.
|
|
3282
|
+
* @throws {RequiredError}
|
|
3283
|
+
* @memberof InternalApi
|
|
3284
|
+
*/
|
|
3285
|
+
deletePasteInternalPastePasteIdDelete(pasteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2976
3286
|
/**
|
|
2977
3287
|
*
|
|
2978
3288
|
* @summary Delete User
|
|
@@ -3118,6 +3428,16 @@ export declare class InternalApi extends BaseAPI implements InternalApiInterface
|
|
|
3118
3428
|
* @memberof InternalApi
|
|
3119
3429
|
*/
|
|
3120
3430
|
updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
3431
|
+
/**
|
|
3432
|
+
* Update a paste by ID. Requires admin permissions.
|
|
3433
|
+
* @summary Update Paste
|
|
3434
|
+
* @param {string} pasteId
|
|
3435
|
+
* @param {PasteInput} pasteInput
|
|
3436
|
+
* @param {*} [options] Override http request option.
|
|
3437
|
+
* @throws {RequiredError}
|
|
3438
|
+
* @memberof InternalApi
|
|
3439
|
+
*/
|
|
3440
|
+
updatePasteInternalPastePasteIdPut(pasteId: string, pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
|
|
3121
3441
|
/**
|
|
3122
3442
|
*
|
|
3123
3443
|
* @summary Update User
|
|
@@ -3129,6 +3449,123 @@ export declare class InternalApi extends BaseAPI implements InternalApiInterface
|
|
|
3129
3449
|
*/
|
|
3130
3450
|
updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
3131
3451
|
}
|
|
3452
|
+
/**
|
|
3453
|
+
* PasteApi - axios parameter creator
|
|
3454
|
+
* @export
|
|
3455
|
+
*/
|
|
3456
|
+
export declare const PasteApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3457
|
+
/**
|
|
3458
|
+
* Create a new paste.
|
|
3459
|
+
* @summary Create Paste
|
|
3460
|
+
* @param {PasteInput} pasteInput
|
|
3461
|
+
* @param {*} [options] Override http request option.
|
|
3462
|
+
* @throws {RequiredError}
|
|
3463
|
+
*/
|
|
3464
|
+
createPastePastePost: (pasteInput: PasteInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3465
|
+
/**
|
|
3466
|
+
* Get a paste by ID.
|
|
3467
|
+
* @summary Get Paste
|
|
3468
|
+
* @param {string} pasteId
|
|
3469
|
+
* @param {*} [options] Override http request option.
|
|
3470
|
+
* @throws {RequiredError}
|
|
3471
|
+
*/
|
|
3472
|
+
getPastePastePasteIdGet: (pasteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3473
|
+
};
|
|
3474
|
+
/**
|
|
3475
|
+
* PasteApi - functional programming interface
|
|
3476
|
+
* @export
|
|
3477
|
+
*/
|
|
3478
|
+
export declare const PasteApiFp: (configuration?: Configuration) => {
|
|
3479
|
+
/**
|
|
3480
|
+
* Create a new paste.
|
|
3481
|
+
* @summary Create Paste
|
|
3482
|
+
* @param {PasteInput} pasteInput
|
|
3483
|
+
* @param {*} [options] Override http request option.
|
|
3484
|
+
* @throws {RequiredError}
|
|
3485
|
+
*/
|
|
3486
|
+
createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
|
|
3487
|
+
/**
|
|
3488
|
+
* Get a paste by ID.
|
|
3489
|
+
* @summary Get Paste
|
|
3490
|
+
* @param {string} pasteId
|
|
3491
|
+
* @param {*} [options] Override http request option.
|
|
3492
|
+
* @throws {RequiredError}
|
|
3493
|
+
*/
|
|
3494
|
+
getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
|
|
3495
|
+
};
|
|
3496
|
+
/**
|
|
3497
|
+
* PasteApi - factory interface
|
|
3498
|
+
* @export
|
|
3499
|
+
*/
|
|
3500
|
+
export declare const PasteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3501
|
+
/**
|
|
3502
|
+
* Create a new paste.
|
|
3503
|
+
* @summary Create Paste
|
|
3504
|
+
* @param {PasteInput} pasteInput
|
|
3505
|
+
* @param {*} [options] Override http request option.
|
|
3506
|
+
* @throws {RequiredError}
|
|
3507
|
+
*/
|
|
3508
|
+
createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
3509
|
+
/**
|
|
3510
|
+
* Get a paste by ID.
|
|
3511
|
+
* @summary Get Paste
|
|
3512
|
+
* @param {string} pasteId
|
|
3513
|
+
* @param {*} [options] Override http request option.
|
|
3514
|
+
* @throws {RequiredError}
|
|
3515
|
+
*/
|
|
3516
|
+
getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
3517
|
+
};
|
|
3518
|
+
/**
|
|
3519
|
+
* PasteApi - interface
|
|
3520
|
+
* @export
|
|
3521
|
+
* @interface PasteApi
|
|
3522
|
+
*/
|
|
3523
|
+
export interface PasteApiInterface {
|
|
3524
|
+
/**
|
|
3525
|
+
* Create a new paste.
|
|
3526
|
+
* @summary Create Paste
|
|
3527
|
+
* @param {PasteInput} pasteInput
|
|
3528
|
+
* @param {*} [options] Override http request option.
|
|
3529
|
+
* @throws {RequiredError}
|
|
3530
|
+
* @memberof PasteApiInterface
|
|
3531
|
+
*/
|
|
3532
|
+
createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
3533
|
+
/**
|
|
3534
|
+
* Get a paste by ID.
|
|
3535
|
+
* @summary Get Paste
|
|
3536
|
+
* @param {string} pasteId
|
|
3537
|
+
* @param {*} [options] Override http request option.
|
|
3538
|
+
* @throws {RequiredError}
|
|
3539
|
+
* @memberof PasteApiInterface
|
|
3540
|
+
*/
|
|
3541
|
+
getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
|
|
3542
|
+
}
|
|
3543
|
+
/**
|
|
3544
|
+
* PasteApi - object-oriented interface
|
|
3545
|
+
* @export
|
|
3546
|
+
* @class PasteApi
|
|
3547
|
+
* @extends {BaseAPI}
|
|
3548
|
+
*/
|
|
3549
|
+
export declare class PasteApi extends BaseAPI implements PasteApiInterface {
|
|
3550
|
+
/**
|
|
3551
|
+
* Create a new paste.
|
|
3552
|
+
* @summary Create Paste
|
|
3553
|
+
* @param {PasteInput} pasteInput
|
|
3554
|
+
* @param {*} [options] Override http request option.
|
|
3555
|
+
* @throws {RequiredError}
|
|
3556
|
+
* @memberof PasteApi
|
|
3557
|
+
*/
|
|
3558
|
+
createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
|
|
3559
|
+
/**
|
|
3560
|
+
* Get a paste by ID.
|
|
3561
|
+
* @summary Get Paste
|
|
3562
|
+
* @param {string} pasteId
|
|
3563
|
+
* @param {*} [options] Override http request option.
|
|
3564
|
+
* @throws {RequiredError}
|
|
3565
|
+
* @memberof PasteApi
|
|
3566
|
+
*/
|
|
3567
|
+
getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
|
|
3568
|
+
}
|
|
3132
3569
|
/**
|
|
3133
3570
|
* ReleaseApi - axios parameter creator
|
|
3134
3571
|
* @export
|