@daytonaio/api-client 0.5.1 → 0.5.2
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/README.md +2 -2
- package/api/toolbox-api.ts +429 -429
- package/dist/api/toolbox-api.d.ts +198 -198
- package/dist/api/toolbox-api.js +417 -417
- package/dist/esm/api/toolbox-api.d.ts +198 -198
- package/dist/esm/api/toolbox-api.js +417 -417
- package/package.json +1 -1
|
@@ -25,23 +25,6 @@ import type { ReplaceRequestDto } from '../models';
|
|
|
25
25
|
* @export
|
|
26
26
|
*/
|
|
27
27
|
export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @summary Get workspace project dir
|
|
31
|
-
* @param {string} workspaceId
|
|
32
|
-
* @param {*} [options] Override http request option.
|
|
33
|
-
* @throws {RequiredError}
|
|
34
|
-
*/
|
|
35
|
-
getProjectDir: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @summary List files
|
|
39
|
-
* @param {string} workspaceId
|
|
40
|
-
* @param {string} [path]
|
|
41
|
-
* @param {*} [options] Override http request option.
|
|
42
|
-
* @throws {RequiredError}
|
|
43
|
-
*/
|
|
44
|
-
listFiles: (workspaceId: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
28
|
/**
|
|
46
29
|
* Create folder inside workspace
|
|
47
30
|
* @summary Create folder
|
|
@@ -51,7 +34,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
51
34
|
* @param {*} [options] Override http request option.
|
|
52
35
|
* @throws {RequiredError}
|
|
53
36
|
*/
|
|
54
|
-
|
|
37
|
+
createFolder: (workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
38
|
/**
|
|
56
39
|
* Delete file inside workspace
|
|
57
40
|
* @summary Delete file
|
|
@@ -60,7 +43,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
43
|
* @param {*} [options] Override http request option.
|
|
61
44
|
* @throws {RequiredError}
|
|
62
45
|
*/
|
|
63
|
-
|
|
46
|
+
deleteFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
47
|
/**
|
|
65
48
|
* Download file from workspace
|
|
66
49
|
* @summary Download file
|
|
@@ -69,7 +52,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
69
52
|
* @param {*} [options] Override http request option.
|
|
70
53
|
* @throws {RequiredError}
|
|
71
54
|
*/
|
|
72
|
-
|
|
55
|
+
downloadFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
56
|
/**
|
|
74
57
|
* Execute command synchronously inside workspace
|
|
75
58
|
* @summary Execute command
|
|
@@ -78,7 +61,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
78
61
|
* @param {*} [options] Override http request option.
|
|
79
62
|
* @throws {RequiredError}
|
|
80
63
|
*/
|
|
81
|
-
|
|
64
|
+
executeCommand: (workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
65
|
/**
|
|
83
66
|
* Search for text/pattern inside workspace files
|
|
84
67
|
* @summary Search for text/pattern in files
|
|
@@ -88,7 +71,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
88
71
|
* @param {*} [options] Override http request option.
|
|
89
72
|
* @throws {RequiredError}
|
|
90
73
|
*/
|
|
91
|
-
|
|
74
|
+
findInFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
75
|
/**
|
|
93
76
|
* Get file info inside workspace
|
|
94
77
|
* @summary Get file info
|
|
@@ -97,25 +80,24 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
97
80
|
* @param {*} [options] Override http request option.
|
|
98
81
|
* @throws {RequiredError}
|
|
99
82
|
*/
|
|
100
|
-
|
|
83
|
+
getFileInfo: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
84
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @summary
|
|
85
|
+
*
|
|
86
|
+
* @summary Get workspace project dir
|
|
104
87
|
* @param {string} workspaceId
|
|
105
|
-
* @param {GitAddRequestDto} gitAddRequestDto
|
|
106
88
|
* @param {*} [options] Override http request option.
|
|
107
89
|
* @throws {RequiredError}
|
|
108
90
|
*/
|
|
109
|
-
|
|
91
|
+
getProjectDir: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
92
|
/**
|
|
111
|
-
*
|
|
112
|
-
* @summary
|
|
93
|
+
* Add files to git commit
|
|
94
|
+
* @summary Add files
|
|
113
95
|
* @param {string} workspaceId
|
|
114
|
-
* @param {
|
|
96
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
115
97
|
* @param {*} [options] Override http request option.
|
|
116
98
|
* @throws {RequiredError}
|
|
117
99
|
*/
|
|
118
|
-
|
|
100
|
+
gitAddFiles: (workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
101
|
/**
|
|
120
102
|
* Clone git repository
|
|
121
103
|
* @summary Clone repository
|
|
@@ -124,7 +106,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
124
106
|
* @param {*} [options] Override http request option.
|
|
125
107
|
* @throws {RequiredError}
|
|
126
108
|
*/
|
|
127
|
-
|
|
109
|
+
gitCloneRepository: (workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
110
|
/**
|
|
129
111
|
* Commit changes to git repository
|
|
130
112
|
* @summary Commit changes
|
|
@@ -133,7 +115,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
133
115
|
* @param {*} [options] Override http request option.
|
|
134
116
|
* @throws {RequiredError}
|
|
135
117
|
*/
|
|
136
|
-
|
|
118
|
+
gitCommitChanges: (workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
|
+
/**
|
|
120
|
+
* Create branch on git repository
|
|
121
|
+
* @summary Create branch
|
|
122
|
+
* @param {string} workspaceId
|
|
123
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
gitCreateBranch: (workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
137
128
|
/**
|
|
138
129
|
* Get commit history from git repository
|
|
139
130
|
* @summary Get commit history
|
|
@@ -142,16 +133,25 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
142
133
|
* @param {*} [options] Override http request option.
|
|
143
134
|
* @throws {RequiredError}
|
|
144
135
|
*/
|
|
145
|
-
|
|
136
|
+
gitGetHistory: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
146
137
|
/**
|
|
147
|
-
*
|
|
148
|
-
* @summary
|
|
138
|
+
* Get status from git repository
|
|
139
|
+
* @summary Get git status
|
|
149
140
|
* @param {string} workspaceId
|
|
150
|
-
* @param {
|
|
141
|
+
* @param {string} path
|
|
151
142
|
* @param {*} [options] Override http request option.
|
|
152
143
|
* @throws {RequiredError}
|
|
153
144
|
*/
|
|
154
|
-
|
|
145
|
+
gitGetStatus: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
146
|
+
/**
|
|
147
|
+
* Get branch list from git repository
|
|
148
|
+
* @summary Get branch list
|
|
149
|
+
* @param {string} workspaceId
|
|
150
|
+
* @param {string} path
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
gitListBranches: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
155
155
|
/**
|
|
156
156
|
* Pull changes from remote
|
|
157
157
|
* @summary Pull changes
|
|
@@ -160,7 +160,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
gitPullChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
164
164
|
/**
|
|
165
165
|
* Push changes to remote
|
|
166
166
|
* @summary Push changes
|
|
@@ -169,16 +169,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
gitPushChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary
|
|
174
|
+
*
|
|
175
|
+
* @summary List files
|
|
176
176
|
* @param {string} workspaceId
|
|
177
|
-
* @param {string} path
|
|
177
|
+
* @param {string} [path]
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
listFiles: (workspaceId: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
182
182
|
/**
|
|
183
183
|
* Move file inside workspace
|
|
184
184
|
* @summary Move file
|
|
@@ -188,7 +188,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
moveFile: (workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
192
192
|
/**
|
|
193
193
|
* Replace text/pattern in multiple files inside workspace
|
|
194
194
|
* @summary Replace in files
|
|
@@ -197,7 +197,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
replaceInFiles: (workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
201
201
|
/**
|
|
202
202
|
* Search for files inside workspace
|
|
203
203
|
* @summary Search files
|
|
@@ -207,7 +207,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
207
207
|
* @param {*} [options] Override http request option.
|
|
208
208
|
* @throws {RequiredError}
|
|
209
209
|
*/
|
|
210
|
-
|
|
210
|
+
searchFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
211
211
|
/**
|
|
212
212
|
* Set file owner/group/permissions inside workspace
|
|
213
213
|
* @summary Set file permissions
|
|
@@ -219,7 +219,7 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
setFilePermissions: (workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
223
223
|
/**
|
|
224
224
|
* Upload file inside workspace
|
|
225
225
|
* @summary Upload file
|
|
@@ -229,30 +229,13 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
229
229
|
* @param {*} [options] Override http request option.
|
|
230
230
|
* @throws {RequiredError}
|
|
231
231
|
*/
|
|
232
|
-
|
|
232
|
+
uploadFile: (workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
233
233
|
};
|
|
234
234
|
/**
|
|
235
235
|
* ToolboxApi - functional programming interface
|
|
236
236
|
* @export
|
|
237
237
|
*/
|
|
238
238
|
export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
239
|
-
/**
|
|
240
|
-
*
|
|
241
|
-
* @summary Get workspace project dir
|
|
242
|
-
* @param {string} workspaceId
|
|
243
|
-
* @param {*} [options] Override http request option.
|
|
244
|
-
* @throws {RequiredError}
|
|
245
|
-
*/
|
|
246
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* @summary List files
|
|
250
|
-
* @param {string} workspaceId
|
|
251
|
-
* @param {string} [path]
|
|
252
|
-
* @param {*} [options] Override http request option.
|
|
253
|
-
* @throws {RequiredError}
|
|
254
|
-
*/
|
|
255
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
256
239
|
/**
|
|
257
240
|
* Create folder inside workspace
|
|
258
241
|
* @summary Create folder
|
|
@@ -262,7 +245,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
262
245
|
* @param {*} [options] Override http request option.
|
|
263
246
|
* @throws {RequiredError}
|
|
264
247
|
*/
|
|
265
|
-
|
|
248
|
+
createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
266
249
|
/**
|
|
267
250
|
* Delete file inside workspace
|
|
268
251
|
* @summary Delete file
|
|
@@ -271,7 +254,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
271
254
|
* @param {*} [options] Override http request option.
|
|
272
255
|
* @throws {RequiredError}
|
|
273
256
|
*/
|
|
274
|
-
|
|
257
|
+
deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
275
258
|
/**
|
|
276
259
|
* Download file from workspace
|
|
277
260
|
* @summary Download file
|
|
@@ -280,7 +263,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
280
263
|
* @param {*} [options] Override http request option.
|
|
281
264
|
* @throws {RequiredError}
|
|
282
265
|
*/
|
|
283
|
-
|
|
266
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
284
267
|
/**
|
|
285
268
|
* Execute command synchronously inside workspace
|
|
286
269
|
* @summary Execute command
|
|
@@ -289,7 +272,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
289
272
|
* @param {*} [options] Override http request option.
|
|
290
273
|
* @throws {RequiredError}
|
|
291
274
|
*/
|
|
292
|
-
|
|
275
|
+
executeCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>>;
|
|
293
276
|
/**
|
|
294
277
|
* Search for text/pattern inside workspace files
|
|
295
278
|
* @summary Search for text/pattern in files
|
|
@@ -299,7 +282,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
299
282
|
* @param {*} [options] Override http request option.
|
|
300
283
|
* @throws {RequiredError}
|
|
301
284
|
*/
|
|
302
|
-
|
|
285
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
303
286
|
/**
|
|
304
287
|
* Get file info inside workspace
|
|
305
288
|
* @summary Get file info
|
|
@@ -308,25 +291,24 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
308
291
|
* @param {*} [options] Override http request option.
|
|
309
292
|
* @throws {RequiredError}
|
|
310
293
|
*/
|
|
311
|
-
|
|
294
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
312
295
|
/**
|
|
313
|
-
*
|
|
314
|
-
* @summary
|
|
296
|
+
*
|
|
297
|
+
* @summary Get workspace project dir
|
|
315
298
|
* @param {string} workspaceId
|
|
316
|
-
* @param {GitAddRequestDto} gitAddRequestDto
|
|
317
299
|
* @param {*} [options] Override http request option.
|
|
318
300
|
* @throws {RequiredError}
|
|
319
301
|
*/
|
|
320
|
-
|
|
302
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
321
303
|
/**
|
|
322
|
-
*
|
|
323
|
-
* @summary
|
|
304
|
+
* Add files to git commit
|
|
305
|
+
* @summary Add files
|
|
324
306
|
* @param {string} workspaceId
|
|
325
|
-
* @param {
|
|
307
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
326
308
|
* @param {*} [options] Override http request option.
|
|
327
309
|
* @throws {RequiredError}
|
|
328
310
|
*/
|
|
329
|
-
|
|
311
|
+
gitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
330
312
|
/**
|
|
331
313
|
* Clone git repository
|
|
332
314
|
* @summary Clone repository
|
|
@@ -335,7 +317,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
335
317
|
* @param {*} [options] Override http request option.
|
|
336
318
|
* @throws {RequiredError}
|
|
337
319
|
*/
|
|
338
|
-
|
|
320
|
+
gitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
339
321
|
/**
|
|
340
322
|
* Commit changes to git repository
|
|
341
323
|
* @summary Commit changes
|
|
@@ -344,7 +326,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
344
326
|
* @param {*} [options] Override http request option.
|
|
345
327
|
* @throws {RequiredError}
|
|
346
328
|
*/
|
|
347
|
-
|
|
329
|
+
gitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
330
|
+
/**
|
|
331
|
+
* Create branch on git repository
|
|
332
|
+
* @summary Create branch
|
|
333
|
+
* @param {string} workspaceId
|
|
334
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
gitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
348
339
|
/**
|
|
349
340
|
* Get commit history from git repository
|
|
350
341
|
* @summary Get commit history
|
|
@@ -353,16 +344,25 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
353
344
|
* @param {*} [options] Override http request option.
|
|
354
345
|
* @throws {RequiredError}
|
|
355
346
|
*/
|
|
356
|
-
|
|
347
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
357
348
|
/**
|
|
358
|
-
*
|
|
359
|
-
* @summary
|
|
349
|
+
* Get status from git repository
|
|
350
|
+
* @summary Get git status
|
|
360
351
|
* @param {string} workspaceId
|
|
361
|
-
* @param {
|
|
352
|
+
* @param {string} path
|
|
362
353
|
* @param {*} [options] Override http request option.
|
|
363
354
|
* @throws {RequiredError}
|
|
364
355
|
*/
|
|
365
|
-
|
|
356
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
357
|
+
/**
|
|
358
|
+
* Get branch list from git repository
|
|
359
|
+
* @summary Get branch list
|
|
360
|
+
* @param {string} workspaceId
|
|
361
|
+
* @param {string} path
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
366
366
|
/**
|
|
367
367
|
* Pull changes from remote
|
|
368
368
|
* @summary Pull changes
|
|
@@ -371,7 +371,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
*/
|
|
374
|
-
|
|
374
|
+
gitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
375
375
|
/**
|
|
376
376
|
* Push changes to remote
|
|
377
377
|
* @summary Push changes
|
|
@@ -380,16 +380,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
|
|
383
|
+
gitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
386
|
-
* @summary
|
|
385
|
+
*
|
|
386
|
+
* @summary List files
|
|
387
387
|
* @param {string} workspaceId
|
|
388
|
-
* @param {string} path
|
|
388
|
+
* @param {string} [path]
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
393
393
|
/**
|
|
394
394
|
* Move file inside workspace
|
|
395
395
|
* @summary Move file
|
|
@@ -399,7 +399,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
400
400
|
* @throws {RequiredError}
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
403
403
|
/**
|
|
404
404
|
* Replace text/pattern in multiple files inside workspace
|
|
405
405
|
* @summary Replace in files
|
|
@@ -408,7 +408,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
|
-
|
|
411
|
+
replaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
412
412
|
/**
|
|
413
413
|
* Search for files inside workspace
|
|
414
414
|
* @summary Search files
|
|
@@ -418,7 +418,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
418
418
|
* @param {*} [options] Override http request option.
|
|
419
419
|
* @throws {RequiredError}
|
|
420
420
|
*/
|
|
421
|
-
|
|
421
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
422
422
|
/**
|
|
423
423
|
* Set file owner/group/permissions inside workspace
|
|
424
424
|
* @summary Set file permissions
|
|
@@ -430,7 +430,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
430
430
|
* @param {*} [options] Override http request option.
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
*/
|
|
433
|
-
|
|
433
|
+
setFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
434
434
|
/**
|
|
435
435
|
* Upload file inside workspace
|
|
436
436
|
* @summary Upload file
|
|
@@ -440,30 +440,13 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
|
|
443
|
+
uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
444
444
|
};
|
|
445
445
|
/**
|
|
446
446
|
* ToolboxApi - factory interface
|
|
447
447
|
* @export
|
|
448
448
|
*/
|
|
449
449
|
export declare const ToolboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @summary Get workspace project dir
|
|
453
|
-
* @param {string} workspaceId
|
|
454
|
-
* @param {*} [options] Override http request option.
|
|
455
|
-
* @throws {RequiredError}
|
|
456
|
-
*/
|
|
457
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @summary List files
|
|
461
|
-
* @param {string} workspaceId
|
|
462
|
-
* @param {string} [path]
|
|
463
|
-
* @param {*} [options] Override http request option.
|
|
464
|
-
* @throws {RequiredError}
|
|
465
|
-
*/
|
|
466
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
467
450
|
/**
|
|
468
451
|
* Create folder inside workspace
|
|
469
452
|
* @summary Create folder
|
|
@@ -473,7 +456,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
473
456
|
* @param {*} [options] Override http request option.
|
|
474
457
|
* @throws {RequiredError}
|
|
475
458
|
*/
|
|
476
|
-
|
|
459
|
+
createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
477
460
|
/**
|
|
478
461
|
* Delete file inside workspace
|
|
479
462
|
* @summary Delete file
|
|
@@ -482,7 +465,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
482
465
|
* @param {*} [options] Override http request option.
|
|
483
466
|
* @throws {RequiredError}
|
|
484
467
|
*/
|
|
485
|
-
|
|
468
|
+
deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
486
469
|
/**
|
|
487
470
|
* Download file from workspace
|
|
488
471
|
* @summary Download file
|
|
@@ -491,7 +474,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
491
474
|
* @param {*} [options] Override http request option.
|
|
492
475
|
* @throws {RequiredError}
|
|
493
476
|
*/
|
|
494
|
-
|
|
477
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
495
478
|
/**
|
|
496
479
|
* Execute command synchronously inside workspace
|
|
497
480
|
* @summary Execute command
|
|
@@ -500,7 +483,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
500
483
|
* @param {*} [options] Override http request option.
|
|
501
484
|
* @throws {RequiredError}
|
|
502
485
|
*/
|
|
503
|
-
|
|
486
|
+
executeCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto>;
|
|
504
487
|
/**
|
|
505
488
|
* Search for text/pattern inside workspace files
|
|
506
489
|
* @summary Search for text/pattern in files
|
|
@@ -510,7 +493,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
510
493
|
* @param {*} [options] Override http request option.
|
|
511
494
|
* @throws {RequiredError}
|
|
512
495
|
*/
|
|
513
|
-
|
|
496
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
514
497
|
/**
|
|
515
498
|
* Get file info inside workspace
|
|
516
499
|
* @summary Get file info
|
|
@@ -519,25 +502,24 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
519
502
|
* @param {*} [options] Override http request option.
|
|
520
503
|
* @throws {RequiredError}
|
|
521
504
|
*/
|
|
522
|
-
|
|
505
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
523
506
|
/**
|
|
524
|
-
*
|
|
525
|
-
* @summary
|
|
507
|
+
*
|
|
508
|
+
* @summary Get workspace project dir
|
|
526
509
|
* @param {string} workspaceId
|
|
527
|
-
* @param {GitAddRequestDto} gitAddRequestDto
|
|
528
510
|
* @param {*} [options] Override http request option.
|
|
529
511
|
* @throws {RequiredError}
|
|
530
512
|
*/
|
|
531
|
-
|
|
513
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
532
514
|
/**
|
|
533
|
-
*
|
|
534
|
-
* @summary
|
|
515
|
+
* Add files to git commit
|
|
516
|
+
* @summary Add files
|
|
535
517
|
* @param {string} workspaceId
|
|
536
|
-
* @param {
|
|
518
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
537
519
|
* @param {*} [options] Override http request option.
|
|
538
520
|
* @throws {RequiredError}
|
|
539
521
|
*/
|
|
540
|
-
|
|
522
|
+
gitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
541
523
|
/**
|
|
542
524
|
* Clone git repository
|
|
543
525
|
* @summary Clone repository
|
|
@@ -546,7 +528,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
546
528
|
* @param {*} [options] Override http request option.
|
|
547
529
|
* @throws {RequiredError}
|
|
548
530
|
*/
|
|
549
|
-
|
|
531
|
+
gitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
550
532
|
/**
|
|
551
533
|
* Commit changes to git repository
|
|
552
534
|
* @summary Commit changes
|
|
@@ -555,7 +537,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
555
537
|
* @param {*} [options] Override http request option.
|
|
556
538
|
* @throws {RequiredError}
|
|
557
539
|
*/
|
|
558
|
-
|
|
540
|
+
gitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
541
|
+
/**
|
|
542
|
+
* Create branch on git repository
|
|
543
|
+
* @summary Create branch
|
|
544
|
+
* @param {string} workspaceId
|
|
545
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
gitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
559
550
|
/**
|
|
560
551
|
* Get commit history from git repository
|
|
561
552
|
* @summary Get commit history
|
|
@@ -564,16 +555,25 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
564
555
|
* @param {*} [options] Override http request option.
|
|
565
556
|
* @throws {RequiredError}
|
|
566
557
|
*/
|
|
567
|
-
|
|
558
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
568
559
|
/**
|
|
569
|
-
*
|
|
570
|
-
* @summary
|
|
560
|
+
* Get status from git repository
|
|
561
|
+
* @summary Get git status
|
|
571
562
|
* @param {string} workspaceId
|
|
572
|
-
* @param {
|
|
563
|
+
* @param {string} path
|
|
573
564
|
* @param {*} [options] Override http request option.
|
|
574
565
|
* @throws {RequiredError}
|
|
575
566
|
*/
|
|
576
|
-
|
|
567
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
568
|
+
/**
|
|
569
|
+
* Get branch list from git repository
|
|
570
|
+
* @summary Get branch list
|
|
571
|
+
* @param {string} workspaceId
|
|
572
|
+
* @param {string} path
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
*/
|
|
576
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
577
577
|
/**
|
|
578
578
|
* Pull changes from remote
|
|
579
579
|
* @summary Pull changes
|
|
@@ -582,7 +582,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
582
582
|
* @param {*} [options] Override http request option.
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
*/
|
|
585
|
-
|
|
585
|
+
gitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
586
586
|
/**
|
|
587
587
|
* Push changes to remote
|
|
588
588
|
* @summary Push changes
|
|
@@ -591,16 +591,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
591
591
|
* @param {*} [options] Override http request option.
|
|
592
592
|
* @throws {RequiredError}
|
|
593
593
|
*/
|
|
594
|
-
|
|
594
|
+
gitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
595
595
|
/**
|
|
596
|
-
*
|
|
597
|
-
* @summary
|
|
596
|
+
*
|
|
597
|
+
* @summary List files
|
|
598
598
|
* @param {string} workspaceId
|
|
599
|
-
* @param {string} path
|
|
599
|
+
* @param {string} [path]
|
|
600
600
|
* @param {*} [options] Override http request option.
|
|
601
601
|
* @throws {RequiredError}
|
|
602
602
|
*/
|
|
603
|
-
|
|
603
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
604
604
|
/**
|
|
605
605
|
* Move file inside workspace
|
|
606
606
|
* @summary Move file
|
|
@@ -610,7 +610,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
610
610
|
* @param {*} [options] Override http request option.
|
|
611
611
|
* @throws {RequiredError}
|
|
612
612
|
*/
|
|
613
|
-
|
|
613
|
+
moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
614
614
|
/**
|
|
615
615
|
* Replace text/pattern in multiple files inside workspace
|
|
616
616
|
* @summary Replace in files
|
|
@@ -619,7 +619,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
619
619
|
* @param {*} [options] Override http request option.
|
|
620
620
|
* @throws {RequiredError}
|
|
621
621
|
*/
|
|
622
|
-
|
|
622
|
+
replaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
623
623
|
/**
|
|
624
624
|
* Search for files inside workspace
|
|
625
625
|
* @summary Search files
|
|
@@ -629,7 +629,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
629
629
|
* @param {*} [options] Override http request option.
|
|
630
630
|
* @throws {RequiredError}
|
|
631
631
|
*/
|
|
632
|
-
|
|
632
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
633
633
|
/**
|
|
634
634
|
* Set file owner/group/permissions inside workspace
|
|
635
635
|
* @summary Set file permissions
|
|
@@ -641,7 +641,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
641
641
|
* @param {*} [options] Override http request option.
|
|
642
642
|
* @throws {RequiredError}
|
|
643
643
|
*/
|
|
644
|
-
|
|
644
|
+
setFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
645
645
|
/**
|
|
646
646
|
* Upload file inside workspace
|
|
647
647
|
* @summary Upload file
|
|
@@ -651,7 +651,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
651
651
|
* @param {*} [options] Override http request option.
|
|
652
652
|
* @throws {RequiredError}
|
|
653
653
|
*/
|
|
654
|
-
|
|
654
|
+
uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
655
655
|
};
|
|
656
656
|
/**
|
|
657
657
|
* ToolboxApi - object-oriented interface
|
|
@@ -660,25 +660,6 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
660
660
|
* @extends {BaseAPI}
|
|
661
661
|
*/
|
|
662
662
|
export declare class ToolboxApi extends BaseAPI {
|
|
663
|
-
/**
|
|
664
|
-
*
|
|
665
|
-
* @summary Get workspace project dir
|
|
666
|
-
* @param {string} workspaceId
|
|
667
|
-
* @param {*} [options] Override http request option.
|
|
668
|
-
* @throws {RequiredError}
|
|
669
|
-
* @memberof ToolboxApi
|
|
670
|
-
*/
|
|
671
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
672
|
-
/**
|
|
673
|
-
*
|
|
674
|
-
* @summary List files
|
|
675
|
-
* @param {string} workspaceId
|
|
676
|
-
* @param {string} [path]
|
|
677
|
-
* @param {*} [options] Override http request option.
|
|
678
|
-
* @throws {RequiredError}
|
|
679
|
-
* @memberof ToolboxApi
|
|
680
|
-
*/
|
|
681
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
682
663
|
/**
|
|
683
664
|
* Create folder inside workspace
|
|
684
665
|
* @summary Create folder
|
|
@@ -689,7 +670,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
689
670
|
* @throws {RequiredError}
|
|
690
671
|
* @memberof ToolboxApi
|
|
691
672
|
*/
|
|
692
|
-
|
|
673
|
+
createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
693
674
|
/**
|
|
694
675
|
* Delete file inside workspace
|
|
695
676
|
* @summary Delete file
|
|
@@ -699,7 +680,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
699
680
|
* @throws {RequiredError}
|
|
700
681
|
* @memberof ToolboxApi
|
|
701
682
|
*/
|
|
702
|
-
|
|
683
|
+
deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
703
684
|
/**
|
|
704
685
|
* Download file from workspace
|
|
705
686
|
* @summary Download file
|
|
@@ -709,7 +690,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
709
690
|
* @throws {RequiredError}
|
|
710
691
|
* @memberof ToolboxApi
|
|
711
692
|
*/
|
|
712
|
-
|
|
693
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
713
694
|
/**
|
|
714
695
|
* Execute command synchronously inside workspace
|
|
715
696
|
* @summary Execute command
|
|
@@ -719,7 +700,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
719
700
|
* @throws {RequiredError}
|
|
720
701
|
* @memberof ToolboxApi
|
|
721
702
|
*/
|
|
722
|
-
|
|
703
|
+
executeCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponseDto, any>>;
|
|
723
704
|
/**
|
|
724
705
|
* Search for text/pattern inside workspace files
|
|
725
706
|
* @summary Search for text/pattern in files
|
|
@@ -730,7 +711,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
730
711
|
* @throws {RequiredError}
|
|
731
712
|
* @memberof ToolboxApi
|
|
732
713
|
*/
|
|
733
|
-
|
|
714
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
734
715
|
/**
|
|
735
716
|
* Get file info inside workspace
|
|
736
717
|
* @summary Get file info
|
|
@@ -740,27 +721,26 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
740
721
|
* @throws {RequiredError}
|
|
741
722
|
* @memberof ToolboxApi
|
|
742
723
|
*/
|
|
743
|
-
|
|
724
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
744
725
|
/**
|
|
745
|
-
*
|
|
746
|
-
* @summary
|
|
726
|
+
*
|
|
727
|
+
* @summary Get workspace project dir
|
|
747
728
|
* @param {string} workspaceId
|
|
748
|
-
* @param {GitAddRequestDto} gitAddRequestDto
|
|
749
729
|
* @param {*} [options] Override http request option.
|
|
750
730
|
* @throws {RequiredError}
|
|
751
731
|
* @memberof ToolboxApi
|
|
752
732
|
*/
|
|
753
|
-
|
|
733
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
754
734
|
/**
|
|
755
|
-
*
|
|
756
|
-
* @summary
|
|
735
|
+
* Add files to git commit
|
|
736
|
+
* @summary Add files
|
|
757
737
|
* @param {string} workspaceId
|
|
758
|
-
* @param {
|
|
738
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
759
739
|
* @param {*} [options] Override http request option.
|
|
760
740
|
* @throws {RequiredError}
|
|
761
741
|
* @memberof ToolboxApi
|
|
762
742
|
*/
|
|
763
|
-
|
|
743
|
+
gitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
764
744
|
/**
|
|
765
745
|
* Clone git repository
|
|
766
746
|
* @summary Clone repository
|
|
@@ -770,7 +750,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
770
750
|
* @throws {RequiredError}
|
|
771
751
|
* @memberof ToolboxApi
|
|
772
752
|
*/
|
|
773
|
-
|
|
753
|
+
gitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
774
754
|
/**
|
|
775
755
|
* Commit changes to git repository
|
|
776
756
|
* @summary Commit changes
|
|
@@ -780,7 +760,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
780
760
|
* @throws {RequiredError}
|
|
781
761
|
* @memberof ToolboxApi
|
|
782
762
|
*/
|
|
783
|
-
|
|
763
|
+
gitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
764
|
+
/**
|
|
765
|
+
* Create branch on git repository
|
|
766
|
+
* @summary Create branch
|
|
767
|
+
* @param {string} workspaceId
|
|
768
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
* @memberof ToolboxApi
|
|
772
|
+
*/
|
|
773
|
+
gitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
784
774
|
/**
|
|
785
775
|
* Get commit history from git repository
|
|
786
776
|
* @summary Get commit history
|
|
@@ -790,17 +780,27 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
790
780
|
* @throws {RequiredError}
|
|
791
781
|
* @memberof ToolboxApi
|
|
792
782
|
*/
|
|
793
|
-
|
|
783
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
794
784
|
/**
|
|
795
|
-
*
|
|
796
|
-
* @summary
|
|
785
|
+
* Get status from git repository
|
|
786
|
+
* @summary Get git status
|
|
797
787
|
* @param {string} workspaceId
|
|
798
|
-
* @param {
|
|
788
|
+
* @param {string} path
|
|
799
789
|
* @param {*} [options] Override http request option.
|
|
800
790
|
* @throws {RequiredError}
|
|
801
791
|
* @memberof ToolboxApi
|
|
802
792
|
*/
|
|
803
|
-
|
|
793
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
794
|
+
/**
|
|
795
|
+
* Get branch list from git repository
|
|
796
|
+
* @summary Get branch list
|
|
797
|
+
* @param {string} workspaceId
|
|
798
|
+
* @param {string} path
|
|
799
|
+
* @param {*} [options] Override http request option.
|
|
800
|
+
* @throws {RequiredError}
|
|
801
|
+
* @memberof ToolboxApi
|
|
802
|
+
*/
|
|
803
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
804
804
|
/**
|
|
805
805
|
* Pull changes from remote
|
|
806
806
|
* @summary Pull changes
|
|
@@ -810,7 +810,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
810
810
|
* @throws {RequiredError}
|
|
811
811
|
* @memberof ToolboxApi
|
|
812
812
|
*/
|
|
813
|
-
|
|
813
|
+
gitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
814
814
|
/**
|
|
815
815
|
* Push changes to remote
|
|
816
816
|
* @summary Push changes
|
|
@@ -820,17 +820,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
820
820
|
* @throws {RequiredError}
|
|
821
821
|
* @memberof ToolboxApi
|
|
822
822
|
*/
|
|
823
|
-
|
|
823
|
+
gitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
824
824
|
/**
|
|
825
|
-
*
|
|
826
|
-
* @summary
|
|
825
|
+
*
|
|
826
|
+
* @summary List files
|
|
827
827
|
* @param {string} workspaceId
|
|
828
|
-
* @param {string} path
|
|
828
|
+
* @param {string} [path]
|
|
829
829
|
* @param {*} [options] Override http request option.
|
|
830
830
|
* @throws {RequiredError}
|
|
831
831
|
* @memberof ToolboxApi
|
|
832
832
|
*/
|
|
833
|
-
|
|
833
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
834
834
|
/**
|
|
835
835
|
* Move file inside workspace
|
|
836
836
|
* @summary Move file
|
|
@@ -841,7 +841,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
841
841
|
* @throws {RequiredError}
|
|
842
842
|
* @memberof ToolboxApi
|
|
843
843
|
*/
|
|
844
|
-
|
|
844
|
+
moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
845
845
|
/**
|
|
846
846
|
* Replace text/pattern in multiple files inside workspace
|
|
847
847
|
* @summary Replace in files
|
|
@@ -851,7 +851,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
851
851
|
* @throws {RequiredError}
|
|
852
852
|
* @memberof ToolboxApi
|
|
853
853
|
*/
|
|
854
|
-
|
|
854
|
+
replaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
855
855
|
/**
|
|
856
856
|
* Search for files inside workspace
|
|
857
857
|
* @summary Search files
|
|
@@ -862,7 +862,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
862
862
|
* @throws {RequiredError}
|
|
863
863
|
* @memberof ToolboxApi
|
|
864
864
|
*/
|
|
865
|
-
|
|
865
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
866
866
|
/**
|
|
867
867
|
* Set file owner/group/permissions inside workspace
|
|
868
868
|
* @summary Set file permissions
|
|
@@ -875,7 +875,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
875
875
|
* @throws {RequiredError}
|
|
876
876
|
* @memberof ToolboxApi
|
|
877
877
|
*/
|
|
878
|
-
|
|
878
|
+
setFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
879
879
|
/**
|
|
880
880
|
* Upload file inside workspace
|
|
881
881
|
* @summary Upload file
|
|
@@ -886,5 +886,5 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
886
886
|
* @throws {RequiredError}
|
|
887
887
|
* @memberof ToolboxApi
|
|
888
888
|
*/
|
|
889
|
-
|
|
889
|
+
uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
890
890
|
}
|