@daytonaio/api-client 0.2.3 → 0.3.1
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/default-api.ts +254 -560
- package/dist/api/default-api.d.ts +144 -298
- package/dist/api/default-api.js +272 -570
- package/dist/api/docker-registry-api.js +6 -6
- package/dist/esm/api/default-api.d.ts +144 -298
- package/dist/esm/api/default-api.js +272 -570
- package/dist/esm/api/docker-registry-api.js +6 -6
- package/dist/esm/models/create-workspace-dto.d.ts +24 -0
- package/dist/esm/models/workspace-dto.d.ts +24 -0
- package/dist/models/create-workspace-dto.d.ts +24 -0
- package/dist/models/workspace-dto.d.ts +24 -0
- package/models/create-workspace-dto.ts +24 -0
- package/models/workspace-dto.ts +24 -0
- package/package.json +1 -1
|
@@ -109,16 +109,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
109
109
|
*/
|
|
110
110
|
userControllerRegenerateKeyPair: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
111
|
/**
|
|
112
|
-
* Create folder inside workspace
|
|
112
|
+
* Create folder inside workspace
|
|
113
113
|
* @summary Create folder
|
|
114
114
|
* @param {string} workspaceId
|
|
115
|
-
* @param {string} projectId
|
|
116
115
|
* @param {string} path
|
|
117
116
|
* @param {string} mode
|
|
118
117
|
* @param {*} [options] Override http request option.
|
|
119
118
|
* @throws {RequiredError}
|
|
120
119
|
*/
|
|
121
|
-
workspaceControllerCreateFolder: (workspaceId: string,
|
|
120
|
+
workspaceControllerCreateFolder: (workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
122
121
|
/**
|
|
123
122
|
*
|
|
124
123
|
* @summary Create a workspace snapshot
|
|
@@ -135,65 +134,59 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
135
134
|
*/
|
|
136
135
|
workspaceControllerCreateWorkspace: (createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
137
136
|
/**
|
|
138
|
-
* Delete file inside workspace
|
|
137
|
+
* Delete file inside workspace
|
|
139
138
|
* @summary Delete file
|
|
140
139
|
* @param {string} workspaceId
|
|
141
|
-
* @param {string} projectId
|
|
142
140
|
* @param {string} path
|
|
143
141
|
* @param {*} [options] Override http request option.
|
|
144
142
|
* @throws {RequiredError}
|
|
145
143
|
*/
|
|
146
|
-
workspaceControllerDeleteFile: (workspaceId: string,
|
|
144
|
+
workspaceControllerDeleteFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
145
|
/**
|
|
148
|
-
* Download file from workspace
|
|
146
|
+
* Download file from workspace
|
|
149
147
|
* @summary Download file
|
|
150
148
|
* @param {string} workspaceId
|
|
151
|
-
* @param {string} projectId
|
|
152
149
|
* @param {string} path
|
|
153
150
|
* @param {*} [options] Override http request option.
|
|
154
151
|
* @throws {RequiredError}
|
|
155
152
|
*/
|
|
156
|
-
workspaceControllerDownloadFile: (workspaceId: string,
|
|
153
|
+
workspaceControllerDownloadFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
154
|
/**
|
|
158
|
-
* Execute command synchronously inside workspace
|
|
155
|
+
* Execute command synchronously inside workspace
|
|
159
156
|
* @summary Execute command
|
|
160
157
|
* @param {string} workspaceId
|
|
161
|
-
* @param {string} projectId
|
|
162
158
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
163
159
|
* @param {*} [options] Override http request option.
|
|
164
160
|
* @throws {RequiredError}
|
|
165
161
|
*/
|
|
166
|
-
workspaceControllerExecuteCommand: (workspaceId: string,
|
|
162
|
+
workspaceControllerExecuteCommand: (workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
167
163
|
/**
|
|
168
|
-
* Search for text/pattern inside workspace
|
|
164
|
+
* Search for text/pattern inside workspace files
|
|
169
165
|
* @summary Search for text/pattern in files
|
|
170
166
|
* @param {string} workspaceId
|
|
171
|
-
* @param {string} projectId
|
|
172
167
|
* @param {string} path
|
|
173
168
|
* @param {string} pattern
|
|
174
169
|
* @param {*} [options] Override http request option.
|
|
175
170
|
* @throws {RequiredError}
|
|
176
171
|
*/
|
|
177
|
-
workspaceControllerFindInFiles: (workspaceId: string,
|
|
172
|
+
workspaceControllerFindInFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
178
173
|
/**
|
|
179
|
-
* Get file info inside workspace
|
|
174
|
+
* Get file info inside workspace
|
|
180
175
|
* @summary Get file info
|
|
181
176
|
* @param {string} workspaceId
|
|
182
|
-
* @param {string} projectId
|
|
183
177
|
* @param {string} path
|
|
184
178
|
* @param {*} [options] Override http request option.
|
|
185
179
|
* @throws {RequiredError}
|
|
186
180
|
*/
|
|
187
|
-
workspaceControllerGetFileInfo: (workspaceId: string,
|
|
181
|
+
workspaceControllerGetFileInfo: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
182
|
/**
|
|
189
|
-
* Get project directory
|
|
190
|
-
* @summary Get project dir
|
|
183
|
+
* Get workspace project directory
|
|
184
|
+
* @summary Get workspace project dir
|
|
191
185
|
* @param {string} workspaceId
|
|
192
|
-
* @param {string} projectId
|
|
193
186
|
* @param {*} [options] Override http request option.
|
|
194
187
|
* @throws {RequiredError}
|
|
195
188
|
*/
|
|
196
|
-
workspaceControllerGetProjectDir: (workspaceId: string,
|
|
189
|
+
workspaceControllerGetProjectDir: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
197
190
|
/**
|
|
198
191
|
*
|
|
199
192
|
* @param {string} workspaceId
|
|
@@ -206,102 +199,92 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
206
199
|
* Add files to git commit
|
|
207
200
|
* @summary Add files
|
|
208
201
|
* @param {string} workspaceId
|
|
209
|
-
* @param {string} projectId
|
|
210
202
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
211
203
|
* @param {*} [options] Override http request option.
|
|
212
204
|
* @throws {RequiredError}
|
|
213
205
|
*/
|
|
214
|
-
workspaceControllerGitAddFiles: (workspaceId: string,
|
|
206
|
+
workspaceControllerGitAddFiles: (workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
215
207
|
/**
|
|
216
208
|
* Get branch list from git repository
|
|
217
209
|
* @summary Get branch list
|
|
218
210
|
* @param {string} workspaceId
|
|
219
|
-
* @param {string} projectId
|
|
220
211
|
* @param {string} path
|
|
221
212
|
* @param {*} [options] Override http request option.
|
|
222
213
|
* @throws {RequiredError}
|
|
223
214
|
*/
|
|
224
|
-
workspaceControllerGitBranchList: (workspaceId: string,
|
|
215
|
+
workspaceControllerGitBranchList: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
216
|
/**
|
|
226
217
|
* Clone git repository
|
|
227
218
|
* @summary Clone repository
|
|
228
219
|
* @param {string} workspaceId
|
|
229
|
-
* @param {string} projectId
|
|
230
220
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
231
221
|
* @param {*} [options] Override http request option.
|
|
232
222
|
* @throws {RequiredError}
|
|
233
223
|
*/
|
|
234
|
-
workspaceControllerGitCloneRepository: (workspaceId: string,
|
|
224
|
+
workspaceControllerGitCloneRepository: (workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
235
225
|
/**
|
|
236
226
|
* Commit changes to git repository
|
|
237
227
|
* @summary Commit changes
|
|
238
228
|
* @param {string} workspaceId
|
|
239
|
-
* @param {string} projectId
|
|
240
229
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
241
230
|
* @param {*} [options] Override http request option.
|
|
242
231
|
* @throws {RequiredError}
|
|
243
232
|
*/
|
|
244
|
-
workspaceControllerGitCommitChanges: (workspaceId: string,
|
|
233
|
+
workspaceControllerGitCommitChanges: (workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
245
234
|
/**
|
|
246
235
|
* Get commit history from git repository
|
|
247
236
|
* @summary Get commit history
|
|
248
237
|
* @param {string} workspaceId
|
|
249
|
-
* @param {string} projectId
|
|
250
238
|
* @param {string} path
|
|
251
239
|
* @param {*} [options] Override http request option.
|
|
252
240
|
* @throws {RequiredError}
|
|
253
241
|
*/
|
|
254
|
-
workspaceControllerGitCommitHistory: (workspaceId: string,
|
|
242
|
+
workspaceControllerGitCommitHistory: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
255
243
|
/**
|
|
256
244
|
* Create branch on git repository
|
|
257
245
|
* @summary Create branch
|
|
258
246
|
* @param {string} workspaceId
|
|
259
|
-
* @param {string} projectId
|
|
260
247
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
261
248
|
* @param {*} [options] Override http request option.
|
|
262
249
|
* @throws {RequiredError}
|
|
263
250
|
*/
|
|
264
|
-
workspaceControllerGitCreateBranch: (workspaceId: string,
|
|
251
|
+
workspaceControllerGitCreateBranch: (workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
265
252
|
/**
|
|
266
253
|
* Pull changes from remote
|
|
267
254
|
* @summary Pull changes
|
|
268
255
|
* @param {string} workspaceId
|
|
269
|
-
* @param {string} projectId
|
|
270
256
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
271
257
|
* @param {*} [options] Override http request option.
|
|
272
258
|
* @throws {RequiredError}
|
|
273
259
|
*/
|
|
274
|
-
workspaceControllerGitPullChanges: (workspaceId: string,
|
|
260
|
+
workspaceControllerGitPullChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
275
261
|
/**
|
|
276
262
|
* Push changes to remote
|
|
277
263
|
* @summary Push changes
|
|
278
264
|
* @param {string} workspaceId
|
|
279
|
-
* @param {string} projectId
|
|
280
265
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
281
266
|
* @param {*} [options] Override http request option.
|
|
282
267
|
* @throws {RequiredError}
|
|
283
268
|
*/
|
|
284
|
-
workspaceControllerGitPushChanges: (workspaceId: string,
|
|
269
|
+
workspaceControllerGitPushChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
285
270
|
/**
|
|
286
271
|
* Get status from git repository
|
|
287
272
|
* @summary Get git status
|
|
288
273
|
* @param {string} workspaceId
|
|
289
|
-
* @param {string} projectId
|
|
290
274
|
* @param {string} path
|
|
291
275
|
* @param {*} [options] Override http request option.
|
|
292
276
|
* @throws {RequiredError}
|
|
293
277
|
*/
|
|
294
|
-
workspaceControllerGitStatus: (workspaceId: string,
|
|
278
|
+
workspaceControllerGitStatus: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
295
279
|
/**
|
|
296
|
-
* List files inside workspace
|
|
280
|
+
* List files inside workspace
|
|
297
281
|
* @summary List files
|
|
298
282
|
* @param {string} workspaceId
|
|
299
|
-
* @param {string} projectId
|
|
300
283
|
* @param {string} [path]
|
|
301
284
|
* @param {*} [options] Override http request option.
|
|
302
285
|
* @throws {RequiredError}
|
|
303
286
|
*/
|
|
304
|
-
workspaceControllerListFiles: (workspaceId: string,
|
|
287
|
+
workspaceControllerListFiles: (workspaceId: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
305
288
|
/**
|
|
306
289
|
*
|
|
307
290
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -310,16 +293,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
310
293
|
*/
|
|
311
294
|
workspaceControllerListWorkspaces: (verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
312
295
|
/**
|
|
313
|
-
* Move file inside workspace
|
|
296
|
+
* Move file inside workspace
|
|
314
297
|
* @summary Move file
|
|
315
298
|
* @param {string} workspaceId
|
|
316
|
-
* @param {string} projectId
|
|
317
299
|
* @param {string} source
|
|
318
300
|
* @param {string} destination
|
|
319
301
|
* @param {*} [options] Override http request option.
|
|
320
302
|
* @throws {RequiredError}
|
|
321
303
|
*/
|
|
322
|
-
workspaceControllerMoveFile: (workspaceId: string,
|
|
304
|
+
workspaceControllerMoveFile: (workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
323
305
|
/**
|
|
324
306
|
*
|
|
325
307
|
* @param {string} workspaceId
|
|
@@ -329,15 +311,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
329
311
|
*/
|
|
330
312
|
workspaceControllerRemoveWorkspace: (workspaceId: string, force: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
331
313
|
/**
|
|
332
|
-
* Replace text/pattern in multiple files inside workspace
|
|
314
|
+
* Replace text/pattern in multiple files inside workspace
|
|
333
315
|
* @summary Replace in files
|
|
334
316
|
* @param {string} workspaceId
|
|
335
|
-
* @param {string} projectId
|
|
336
317
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
337
318
|
* @param {*} [options] Override http request option.
|
|
338
319
|
* @throws {RequiredError}
|
|
339
320
|
*/
|
|
340
|
-
workspaceControllerReplaceInFiles: (workspaceId: string,
|
|
321
|
+
workspaceControllerReplaceInFiles: (workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
341
322
|
/**
|
|
342
323
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
343
324
|
* @summary Replace workspace labels
|
|
@@ -348,21 +329,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
348
329
|
*/
|
|
349
330
|
workspaceControllerReplaceLabels: (workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
350
331
|
/**
|
|
351
|
-
* Search for files inside workspace
|
|
332
|
+
* Search for files inside workspace
|
|
352
333
|
* @summary Search files
|
|
353
334
|
* @param {string} workspaceId
|
|
354
|
-
* @param {string} projectId
|
|
355
335
|
* @param {string} path
|
|
356
336
|
* @param {string} pattern
|
|
357
337
|
* @param {*} [options] Override http request option.
|
|
358
338
|
* @throws {RequiredError}
|
|
359
339
|
*/
|
|
360
|
-
workspaceControllerSearchFiles: (workspaceId: string,
|
|
340
|
+
workspaceControllerSearchFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
361
341
|
/**
|
|
362
|
-
* Set file owner/group/permissions inside workspace
|
|
342
|
+
* Set file owner/group/permissions inside workspace
|
|
363
343
|
* @summary Set file permissions
|
|
364
344
|
* @param {string} workspaceId
|
|
365
|
-
* @param {string} projectId
|
|
366
345
|
* @param {string} path
|
|
367
346
|
* @param {string} owner
|
|
368
347
|
* @param {string} group
|
|
@@ -370,15 +349,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
370
349
|
* @param {*} [options] Override http request option.
|
|
371
350
|
* @throws {RequiredError}
|
|
372
351
|
*/
|
|
373
|
-
workspaceControllerSetFilePermissions: (workspaceId: string,
|
|
374
|
-
/**
|
|
375
|
-
*
|
|
376
|
-
* @param {string} workspaceId
|
|
377
|
-
* @param {string} projectId
|
|
378
|
-
* @param {*} [options] Override http request option.
|
|
379
|
-
* @throws {RequiredError}
|
|
380
|
-
*/
|
|
381
|
-
workspaceControllerStartProject: (workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
352
|
+
workspaceControllerSetFilePermissions: (workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
382
353
|
/**
|
|
383
354
|
*
|
|
384
355
|
* @param {string} workspaceId
|
|
@@ -386,14 +357,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
386
357
|
* @throws {RequiredError}
|
|
387
358
|
*/
|
|
388
359
|
workspaceControllerStartWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
389
|
-
/**
|
|
390
|
-
*
|
|
391
|
-
* @param {string} workspaceId
|
|
392
|
-
* @param {string} projectId
|
|
393
|
-
* @param {*} [options] Override http request option.
|
|
394
|
-
* @throws {RequiredError}
|
|
395
|
-
*/
|
|
396
|
-
workspaceControllerStopProject: (workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
397
360
|
/**
|
|
398
361
|
*
|
|
399
362
|
* @param {string} workspaceId
|
|
@@ -402,16 +365,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
402
365
|
*/
|
|
403
366
|
workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
367
|
/**
|
|
405
|
-
* Upload file inside workspace
|
|
368
|
+
* Upload file inside workspace
|
|
406
369
|
* @summary Upload file
|
|
407
370
|
* @param {string} workspaceId
|
|
408
|
-
* @param {string} projectId
|
|
409
371
|
* @param {string} path
|
|
410
372
|
* @param {File} [file]
|
|
411
373
|
* @param {*} [options] Override http request option.
|
|
412
374
|
* @throws {RequiredError}
|
|
413
375
|
*/
|
|
414
|
-
workspaceControllerUploadFile: (workspaceId: string,
|
|
376
|
+
workspaceControllerUploadFile: (workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
415
377
|
};
|
|
416
378
|
/**
|
|
417
379
|
* DefaultApi - functional programming interface
|
|
@@ -496,16 +458,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
496
458
|
*/
|
|
497
459
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
498
460
|
/**
|
|
499
|
-
* Create folder inside workspace
|
|
461
|
+
* Create folder inside workspace
|
|
500
462
|
* @summary Create folder
|
|
501
463
|
* @param {string} workspaceId
|
|
502
|
-
* @param {string} projectId
|
|
503
464
|
* @param {string} path
|
|
504
465
|
* @param {string} mode
|
|
505
466
|
* @param {*} [options] Override http request option.
|
|
506
467
|
* @throws {RequiredError}
|
|
507
468
|
*/
|
|
508
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
469
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
509
470
|
/**
|
|
510
471
|
*
|
|
511
472
|
* @summary Create a workspace snapshot
|
|
@@ -522,65 +483,59 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
522
483
|
*/
|
|
523
484
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
|
|
524
485
|
/**
|
|
525
|
-
* Delete file inside workspace
|
|
486
|
+
* Delete file inside workspace
|
|
526
487
|
* @summary Delete file
|
|
527
488
|
* @param {string} workspaceId
|
|
528
|
-
* @param {string} projectId
|
|
529
489
|
* @param {string} path
|
|
530
490
|
* @param {*} [options] Override http request option.
|
|
531
491
|
* @throws {RequiredError}
|
|
532
492
|
*/
|
|
533
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
493
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
534
494
|
/**
|
|
535
|
-
* Download file from workspace
|
|
495
|
+
* Download file from workspace
|
|
536
496
|
* @summary Download file
|
|
537
497
|
* @param {string} workspaceId
|
|
538
|
-
* @param {string} projectId
|
|
539
498
|
* @param {string} path
|
|
540
499
|
* @param {*} [options] Override http request option.
|
|
541
500
|
* @throws {RequiredError}
|
|
542
501
|
*/
|
|
543
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
502
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
544
503
|
/**
|
|
545
|
-
* Execute command synchronously inside workspace
|
|
504
|
+
* Execute command synchronously inside workspace
|
|
546
505
|
* @summary Execute command
|
|
547
506
|
* @param {string} workspaceId
|
|
548
|
-
* @param {string} projectId
|
|
549
507
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
550
508
|
* @param {*} [options] Override http request option.
|
|
551
509
|
* @throws {RequiredError}
|
|
552
510
|
*/
|
|
553
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
511
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>>;
|
|
554
512
|
/**
|
|
555
|
-
* Search for text/pattern inside workspace
|
|
513
|
+
* Search for text/pattern inside workspace files
|
|
556
514
|
* @summary Search for text/pattern in files
|
|
557
515
|
* @param {string} workspaceId
|
|
558
|
-
* @param {string} projectId
|
|
559
516
|
* @param {string} path
|
|
560
517
|
* @param {string} pattern
|
|
561
518
|
* @param {*} [options] Override http request option.
|
|
562
519
|
* @throws {RequiredError}
|
|
563
520
|
*/
|
|
564
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
521
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
565
522
|
/**
|
|
566
|
-
* Get file info inside workspace
|
|
523
|
+
* Get file info inside workspace
|
|
567
524
|
* @summary Get file info
|
|
568
525
|
* @param {string} workspaceId
|
|
569
|
-
* @param {string} projectId
|
|
570
526
|
* @param {string} path
|
|
571
527
|
* @param {*} [options] Override http request option.
|
|
572
528
|
* @throws {RequiredError}
|
|
573
529
|
*/
|
|
574
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
530
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
575
531
|
/**
|
|
576
|
-
* Get project directory
|
|
577
|
-
* @summary Get project dir
|
|
532
|
+
* Get workspace project directory
|
|
533
|
+
* @summary Get workspace project dir
|
|
578
534
|
* @param {string} workspaceId
|
|
579
|
-
* @param {string} projectId
|
|
580
535
|
* @param {*} [options] Override http request option.
|
|
581
536
|
* @throws {RequiredError}
|
|
582
537
|
*/
|
|
583
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
538
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
584
539
|
/**
|
|
585
540
|
*
|
|
586
541
|
* @param {string} workspaceId
|
|
@@ -593,102 +548,92 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
593
548
|
* Add files to git commit
|
|
594
549
|
* @summary Add files
|
|
595
550
|
* @param {string} workspaceId
|
|
596
|
-
* @param {string} projectId
|
|
597
551
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
598
552
|
* @param {*} [options] Override http request option.
|
|
599
553
|
* @throws {RequiredError}
|
|
600
554
|
*/
|
|
601
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
555
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
602
556
|
/**
|
|
603
557
|
* Get branch list from git repository
|
|
604
558
|
* @summary Get branch list
|
|
605
559
|
* @param {string} workspaceId
|
|
606
|
-
* @param {string} projectId
|
|
607
560
|
* @param {string} path
|
|
608
561
|
* @param {*} [options] Override http request option.
|
|
609
562
|
* @throws {RequiredError}
|
|
610
563
|
*/
|
|
611
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
564
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
612
565
|
/**
|
|
613
566
|
* Clone git repository
|
|
614
567
|
* @summary Clone repository
|
|
615
568
|
* @param {string} workspaceId
|
|
616
|
-
* @param {string} projectId
|
|
617
569
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
618
570
|
* @param {*} [options] Override http request option.
|
|
619
571
|
* @throws {RequiredError}
|
|
620
572
|
*/
|
|
621
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
573
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
622
574
|
/**
|
|
623
575
|
* Commit changes to git repository
|
|
624
576
|
* @summary Commit changes
|
|
625
577
|
* @param {string} workspaceId
|
|
626
|
-
* @param {string} projectId
|
|
627
578
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
628
579
|
* @param {*} [options] Override http request option.
|
|
629
580
|
* @throws {RequiredError}
|
|
630
581
|
*/
|
|
631
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
582
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
632
583
|
/**
|
|
633
584
|
* Get commit history from git repository
|
|
634
585
|
* @summary Get commit history
|
|
635
586
|
* @param {string} workspaceId
|
|
636
|
-
* @param {string} projectId
|
|
637
587
|
* @param {string} path
|
|
638
588
|
* @param {*} [options] Override http request option.
|
|
639
589
|
* @throws {RequiredError}
|
|
640
590
|
*/
|
|
641
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
591
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
642
592
|
/**
|
|
643
593
|
* Create branch on git repository
|
|
644
594
|
* @summary Create branch
|
|
645
595
|
* @param {string} workspaceId
|
|
646
|
-
* @param {string} projectId
|
|
647
596
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
648
597
|
* @param {*} [options] Override http request option.
|
|
649
598
|
* @throws {RequiredError}
|
|
650
599
|
*/
|
|
651
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
600
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
652
601
|
/**
|
|
653
602
|
* Pull changes from remote
|
|
654
603
|
* @summary Pull changes
|
|
655
604
|
* @param {string} workspaceId
|
|
656
|
-
* @param {string} projectId
|
|
657
605
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
658
606
|
* @param {*} [options] Override http request option.
|
|
659
607
|
* @throws {RequiredError}
|
|
660
608
|
*/
|
|
661
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
609
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
662
610
|
/**
|
|
663
611
|
* Push changes to remote
|
|
664
612
|
* @summary Push changes
|
|
665
613
|
* @param {string} workspaceId
|
|
666
|
-
* @param {string} projectId
|
|
667
614
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
668
615
|
* @param {*} [options] Override http request option.
|
|
669
616
|
* @throws {RequiredError}
|
|
670
617
|
*/
|
|
671
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
618
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
672
619
|
/**
|
|
673
620
|
* Get status from git repository
|
|
674
621
|
* @summary Get git status
|
|
675
622
|
* @param {string} workspaceId
|
|
676
|
-
* @param {string} projectId
|
|
677
623
|
* @param {string} path
|
|
678
624
|
* @param {*} [options] Override http request option.
|
|
679
625
|
* @throws {RequiredError}
|
|
680
626
|
*/
|
|
681
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
627
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
682
628
|
/**
|
|
683
|
-
* List files inside workspace
|
|
629
|
+
* List files inside workspace
|
|
684
630
|
* @summary List files
|
|
685
631
|
* @param {string} workspaceId
|
|
686
|
-
* @param {string} projectId
|
|
687
632
|
* @param {string} [path]
|
|
688
633
|
* @param {*} [options] Override http request option.
|
|
689
634
|
* @throws {RequiredError}
|
|
690
635
|
*/
|
|
691
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
636
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
692
637
|
/**
|
|
693
638
|
*
|
|
694
639
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -697,16 +642,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
697
642
|
*/
|
|
698
643
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkspaceDto>>>;
|
|
699
644
|
/**
|
|
700
|
-
* Move file inside workspace
|
|
645
|
+
* Move file inside workspace
|
|
701
646
|
* @summary Move file
|
|
702
647
|
* @param {string} workspaceId
|
|
703
|
-
* @param {string} projectId
|
|
704
648
|
* @param {string} source
|
|
705
649
|
* @param {string} destination
|
|
706
650
|
* @param {*} [options] Override http request option.
|
|
707
651
|
* @throws {RequiredError}
|
|
708
652
|
*/
|
|
709
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
653
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
710
654
|
/**
|
|
711
655
|
*
|
|
712
656
|
* @param {string} workspaceId
|
|
@@ -716,15 +660,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
716
660
|
*/
|
|
717
661
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
718
662
|
/**
|
|
719
|
-
* Replace text/pattern in multiple files inside workspace
|
|
663
|
+
* Replace text/pattern in multiple files inside workspace
|
|
720
664
|
* @summary Replace in files
|
|
721
665
|
* @param {string} workspaceId
|
|
722
|
-
* @param {string} projectId
|
|
723
666
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
724
667
|
* @param {*} [options] Override http request option.
|
|
725
668
|
* @throws {RequiredError}
|
|
726
669
|
*/
|
|
727
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
670
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
728
671
|
/**
|
|
729
672
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
730
673
|
* @summary Replace workspace labels
|
|
@@ -735,21 +678,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
735
678
|
*/
|
|
736
679
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabelsDto>>;
|
|
737
680
|
/**
|
|
738
|
-
* Search for files inside workspace
|
|
681
|
+
* Search for files inside workspace
|
|
739
682
|
* @summary Search files
|
|
740
683
|
* @param {string} workspaceId
|
|
741
|
-
* @param {string} projectId
|
|
742
684
|
* @param {string} path
|
|
743
685
|
* @param {string} pattern
|
|
744
686
|
* @param {*} [options] Override http request option.
|
|
745
687
|
* @throws {RequiredError}
|
|
746
688
|
*/
|
|
747
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
689
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
748
690
|
/**
|
|
749
|
-
* Set file owner/group/permissions inside workspace
|
|
691
|
+
* Set file owner/group/permissions inside workspace
|
|
750
692
|
* @summary Set file permissions
|
|
751
693
|
* @param {string} workspaceId
|
|
752
|
-
* @param {string} projectId
|
|
753
694
|
* @param {string} path
|
|
754
695
|
* @param {string} owner
|
|
755
696
|
* @param {string} group
|
|
@@ -757,15 +698,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
757
698
|
* @param {*} [options] Override http request option.
|
|
758
699
|
* @throws {RequiredError}
|
|
759
700
|
*/
|
|
760
|
-
workspaceControllerSetFilePermissions(workspaceId: string,
|
|
761
|
-
/**
|
|
762
|
-
*
|
|
763
|
-
* @param {string} workspaceId
|
|
764
|
-
* @param {string} projectId
|
|
765
|
-
* @param {*} [options] Override http request option.
|
|
766
|
-
* @throws {RequiredError}
|
|
767
|
-
*/
|
|
768
|
-
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
701
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
769
702
|
/**
|
|
770
703
|
*
|
|
771
704
|
* @param {string} workspaceId
|
|
@@ -773,14 +706,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
773
706
|
* @throws {RequiredError}
|
|
774
707
|
*/
|
|
775
708
|
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
776
|
-
/**
|
|
777
|
-
*
|
|
778
|
-
* @param {string} workspaceId
|
|
779
|
-
* @param {string} projectId
|
|
780
|
-
* @param {*} [options] Override http request option.
|
|
781
|
-
* @throws {RequiredError}
|
|
782
|
-
*/
|
|
783
|
-
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
784
709
|
/**
|
|
785
710
|
*
|
|
786
711
|
* @param {string} workspaceId
|
|
@@ -789,16 +714,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
789
714
|
*/
|
|
790
715
|
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
791
716
|
/**
|
|
792
|
-
* Upload file inside workspace
|
|
717
|
+
* Upload file inside workspace
|
|
793
718
|
* @summary Upload file
|
|
794
719
|
* @param {string} workspaceId
|
|
795
|
-
* @param {string} projectId
|
|
796
720
|
* @param {string} path
|
|
797
721
|
* @param {File} [file]
|
|
798
722
|
* @param {*} [options] Override http request option.
|
|
799
723
|
* @throws {RequiredError}
|
|
800
724
|
*/
|
|
801
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
725
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
802
726
|
};
|
|
803
727
|
/**
|
|
804
728
|
* DefaultApi - factory interface
|
|
@@ -883,16 +807,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
883
807
|
*/
|
|
884
808
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
885
809
|
/**
|
|
886
|
-
* Create folder inside workspace
|
|
810
|
+
* Create folder inside workspace
|
|
887
811
|
* @summary Create folder
|
|
888
812
|
* @param {string} workspaceId
|
|
889
|
-
* @param {string} projectId
|
|
890
813
|
* @param {string} path
|
|
891
814
|
* @param {string} mode
|
|
892
815
|
* @param {*} [options] Override http request option.
|
|
893
816
|
* @throws {RequiredError}
|
|
894
817
|
*/
|
|
895
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
818
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
896
819
|
/**
|
|
897
820
|
*
|
|
898
821
|
* @summary Create a workspace snapshot
|
|
@@ -909,65 +832,59 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
909
832
|
*/
|
|
910
833
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
|
|
911
834
|
/**
|
|
912
|
-
* Delete file inside workspace
|
|
835
|
+
* Delete file inside workspace
|
|
913
836
|
* @summary Delete file
|
|
914
837
|
* @param {string} workspaceId
|
|
915
|
-
* @param {string} projectId
|
|
916
838
|
* @param {string} path
|
|
917
839
|
* @param {*} [options] Override http request option.
|
|
918
840
|
* @throws {RequiredError}
|
|
919
841
|
*/
|
|
920
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
842
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
921
843
|
/**
|
|
922
|
-
* Download file from workspace
|
|
844
|
+
* Download file from workspace
|
|
923
845
|
* @summary Download file
|
|
924
846
|
* @param {string} workspaceId
|
|
925
|
-
* @param {string} projectId
|
|
926
847
|
* @param {string} path
|
|
927
848
|
* @param {*} [options] Override http request option.
|
|
928
849
|
* @throws {RequiredError}
|
|
929
850
|
*/
|
|
930
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
851
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
931
852
|
/**
|
|
932
|
-
* Execute command synchronously inside workspace
|
|
853
|
+
* Execute command synchronously inside workspace
|
|
933
854
|
* @summary Execute command
|
|
934
855
|
* @param {string} workspaceId
|
|
935
|
-
* @param {string} projectId
|
|
936
856
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
937
857
|
* @param {*} [options] Override http request option.
|
|
938
858
|
* @throws {RequiredError}
|
|
939
859
|
*/
|
|
940
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
860
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto>;
|
|
941
861
|
/**
|
|
942
|
-
* Search for text/pattern inside workspace
|
|
862
|
+
* Search for text/pattern inside workspace files
|
|
943
863
|
* @summary Search for text/pattern in files
|
|
944
864
|
* @param {string} workspaceId
|
|
945
|
-
* @param {string} projectId
|
|
946
865
|
* @param {string} path
|
|
947
866
|
* @param {string} pattern
|
|
948
867
|
* @param {*} [options] Override http request option.
|
|
949
868
|
* @throws {RequiredError}
|
|
950
869
|
*/
|
|
951
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
870
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
952
871
|
/**
|
|
953
|
-
* Get file info inside workspace
|
|
872
|
+
* Get file info inside workspace
|
|
954
873
|
* @summary Get file info
|
|
955
874
|
* @param {string} workspaceId
|
|
956
|
-
* @param {string} projectId
|
|
957
875
|
* @param {string} path
|
|
958
876
|
* @param {*} [options] Override http request option.
|
|
959
877
|
* @throws {RequiredError}
|
|
960
878
|
*/
|
|
961
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
879
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
962
880
|
/**
|
|
963
|
-
* Get project directory
|
|
964
|
-
* @summary Get project dir
|
|
881
|
+
* Get workspace project directory
|
|
882
|
+
* @summary Get workspace project dir
|
|
965
883
|
* @param {string} workspaceId
|
|
966
|
-
* @param {string} projectId
|
|
967
884
|
* @param {*} [options] Override http request option.
|
|
968
885
|
* @throws {RequiredError}
|
|
969
886
|
*/
|
|
970
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
887
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
971
888
|
/**
|
|
972
889
|
*
|
|
973
890
|
* @param {string} workspaceId
|
|
@@ -980,102 +897,92 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
980
897
|
* Add files to git commit
|
|
981
898
|
* @summary Add files
|
|
982
899
|
* @param {string} workspaceId
|
|
983
|
-
* @param {string} projectId
|
|
984
900
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
985
901
|
* @param {*} [options] Override http request option.
|
|
986
902
|
* @throws {RequiredError}
|
|
987
903
|
*/
|
|
988
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
904
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
989
905
|
/**
|
|
990
906
|
* Get branch list from git repository
|
|
991
907
|
* @summary Get branch list
|
|
992
908
|
* @param {string} workspaceId
|
|
993
|
-
* @param {string} projectId
|
|
994
909
|
* @param {string} path
|
|
995
910
|
* @param {*} [options] Override http request option.
|
|
996
911
|
* @throws {RequiredError}
|
|
997
912
|
*/
|
|
998
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
913
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
999
914
|
/**
|
|
1000
915
|
* Clone git repository
|
|
1001
916
|
* @summary Clone repository
|
|
1002
917
|
* @param {string} workspaceId
|
|
1003
|
-
* @param {string} projectId
|
|
1004
918
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1005
919
|
* @param {*} [options] Override http request option.
|
|
1006
920
|
* @throws {RequiredError}
|
|
1007
921
|
*/
|
|
1008
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
922
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1009
923
|
/**
|
|
1010
924
|
* Commit changes to git repository
|
|
1011
925
|
* @summary Commit changes
|
|
1012
926
|
* @param {string} workspaceId
|
|
1013
|
-
* @param {string} projectId
|
|
1014
927
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1015
928
|
* @param {*} [options] Override http request option.
|
|
1016
929
|
* @throws {RequiredError}
|
|
1017
930
|
*/
|
|
1018
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
931
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1019
932
|
/**
|
|
1020
933
|
* Get commit history from git repository
|
|
1021
934
|
* @summary Get commit history
|
|
1022
935
|
* @param {string} workspaceId
|
|
1023
|
-
* @param {string} projectId
|
|
1024
936
|
* @param {string} path
|
|
1025
937
|
* @param {*} [options] Override http request option.
|
|
1026
938
|
* @throws {RequiredError}
|
|
1027
939
|
*/
|
|
1028
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
940
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1029
941
|
/**
|
|
1030
942
|
* Create branch on git repository
|
|
1031
943
|
* @summary Create branch
|
|
1032
944
|
* @param {string} workspaceId
|
|
1033
|
-
* @param {string} projectId
|
|
1034
945
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1035
946
|
* @param {*} [options] Override http request option.
|
|
1036
947
|
* @throws {RequiredError}
|
|
1037
948
|
*/
|
|
1038
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
949
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1039
950
|
/**
|
|
1040
951
|
* Pull changes from remote
|
|
1041
952
|
* @summary Pull changes
|
|
1042
953
|
* @param {string} workspaceId
|
|
1043
|
-
* @param {string} projectId
|
|
1044
954
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1045
955
|
* @param {*} [options] Override http request option.
|
|
1046
956
|
* @throws {RequiredError}
|
|
1047
957
|
*/
|
|
1048
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
958
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1049
959
|
/**
|
|
1050
960
|
* Push changes to remote
|
|
1051
961
|
* @summary Push changes
|
|
1052
962
|
* @param {string} workspaceId
|
|
1053
|
-
* @param {string} projectId
|
|
1054
963
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1055
964
|
* @param {*} [options] Override http request option.
|
|
1056
965
|
* @throws {RequiredError}
|
|
1057
966
|
*/
|
|
1058
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
967
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1059
968
|
/**
|
|
1060
969
|
* Get status from git repository
|
|
1061
970
|
* @summary Get git status
|
|
1062
971
|
* @param {string} workspaceId
|
|
1063
|
-
* @param {string} projectId
|
|
1064
972
|
* @param {string} path
|
|
1065
973
|
* @param {*} [options] Override http request option.
|
|
1066
974
|
* @throws {RequiredError}
|
|
1067
975
|
*/
|
|
1068
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
976
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1069
977
|
/**
|
|
1070
|
-
* List files inside workspace
|
|
978
|
+
* List files inside workspace
|
|
1071
979
|
* @summary List files
|
|
1072
980
|
* @param {string} workspaceId
|
|
1073
|
-
* @param {string} projectId
|
|
1074
981
|
* @param {string} [path]
|
|
1075
982
|
* @param {*} [options] Override http request option.
|
|
1076
983
|
* @throws {RequiredError}
|
|
1077
984
|
*/
|
|
1078
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
985
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1079
986
|
/**
|
|
1080
987
|
*
|
|
1081
988
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -1084,16 +991,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1084
991
|
*/
|
|
1085
992
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkspaceDto>>;
|
|
1086
993
|
/**
|
|
1087
|
-
* Move file inside workspace
|
|
994
|
+
* Move file inside workspace
|
|
1088
995
|
* @summary Move file
|
|
1089
996
|
* @param {string} workspaceId
|
|
1090
|
-
* @param {string} projectId
|
|
1091
997
|
* @param {string} source
|
|
1092
998
|
* @param {string} destination
|
|
1093
999
|
* @param {*} [options] Override http request option.
|
|
1094
1000
|
* @throws {RequiredError}
|
|
1095
1001
|
*/
|
|
1096
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
1002
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1097
1003
|
/**
|
|
1098
1004
|
*
|
|
1099
1005
|
* @param {string} workspaceId
|
|
@@ -1103,15 +1009,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1103
1009
|
*/
|
|
1104
1010
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1105
1011
|
/**
|
|
1106
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1012
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1107
1013
|
* @summary Replace in files
|
|
1108
1014
|
* @param {string} workspaceId
|
|
1109
|
-
* @param {string} projectId
|
|
1110
1015
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1111
1016
|
* @param {*} [options] Override http request option.
|
|
1112
1017
|
* @throws {RequiredError}
|
|
1113
1018
|
*/
|
|
1114
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
1019
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1115
1020
|
/**
|
|
1116
1021
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1117
1022
|
* @summary Replace workspace labels
|
|
@@ -1122,21 +1027,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1122
1027
|
*/
|
|
1123
1028
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabelsDto>;
|
|
1124
1029
|
/**
|
|
1125
|
-
* Search for files inside workspace
|
|
1030
|
+
* Search for files inside workspace
|
|
1126
1031
|
* @summary Search files
|
|
1127
1032
|
* @param {string} workspaceId
|
|
1128
|
-
* @param {string} projectId
|
|
1129
1033
|
* @param {string} path
|
|
1130
1034
|
* @param {string} pattern
|
|
1131
1035
|
* @param {*} [options] Override http request option.
|
|
1132
1036
|
* @throws {RequiredError}
|
|
1133
1037
|
*/
|
|
1134
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
1038
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1135
1039
|
/**
|
|
1136
|
-
* Set file owner/group/permissions inside workspace
|
|
1040
|
+
* Set file owner/group/permissions inside workspace
|
|
1137
1041
|
* @summary Set file permissions
|
|
1138
1042
|
* @param {string} workspaceId
|
|
1139
|
-
* @param {string} projectId
|
|
1140
1043
|
* @param {string} path
|
|
1141
1044
|
* @param {string} owner
|
|
1142
1045
|
* @param {string} group
|
|
@@ -1144,15 +1047,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1144
1047
|
* @param {*} [options] Override http request option.
|
|
1145
1048
|
* @throws {RequiredError}
|
|
1146
1049
|
*/
|
|
1147
|
-
workspaceControllerSetFilePermissions(workspaceId: string,
|
|
1148
|
-
/**
|
|
1149
|
-
*
|
|
1150
|
-
* @param {string} workspaceId
|
|
1151
|
-
* @param {string} projectId
|
|
1152
|
-
* @param {*} [options] Override http request option.
|
|
1153
|
-
* @throws {RequiredError}
|
|
1154
|
-
*/
|
|
1155
|
-
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1050
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1156
1051
|
/**
|
|
1157
1052
|
*
|
|
1158
1053
|
* @param {string} workspaceId
|
|
@@ -1160,14 +1055,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1160
1055
|
* @throws {RequiredError}
|
|
1161
1056
|
*/
|
|
1162
1057
|
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1163
|
-
/**
|
|
1164
|
-
*
|
|
1165
|
-
* @param {string} workspaceId
|
|
1166
|
-
* @param {string} projectId
|
|
1167
|
-
* @param {*} [options] Override http request option.
|
|
1168
|
-
* @throws {RequiredError}
|
|
1169
|
-
*/
|
|
1170
|
-
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1171
1058
|
/**
|
|
1172
1059
|
*
|
|
1173
1060
|
* @param {string} workspaceId
|
|
@@ -1176,16 +1063,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1176
1063
|
*/
|
|
1177
1064
|
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1178
1065
|
/**
|
|
1179
|
-
* Upload file inside workspace
|
|
1066
|
+
* Upload file inside workspace
|
|
1180
1067
|
* @summary Upload file
|
|
1181
1068
|
* @param {string} workspaceId
|
|
1182
|
-
* @param {string} projectId
|
|
1183
1069
|
* @param {string} path
|
|
1184
1070
|
* @param {File} [file]
|
|
1185
1071
|
* @param {*} [options] Override http request option.
|
|
1186
1072
|
* @throws {RequiredError}
|
|
1187
1073
|
*/
|
|
1188
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
1074
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1189
1075
|
};
|
|
1190
1076
|
/**
|
|
1191
1077
|
* DefaultApi - object-oriented interface
|
|
@@ -1283,17 +1169,16 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1283
1169
|
*/
|
|
1284
1170
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1285
1171
|
/**
|
|
1286
|
-
* Create folder inside workspace
|
|
1172
|
+
* Create folder inside workspace
|
|
1287
1173
|
* @summary Create folder
|
|
1288
1174
|
* @param {string} workspaceId
|
|
1289
|
-
* @param {string} projectId
|
|
1290
1175
|
* @param {string} path
|
|
1291
1176
|
* @param {string} mode
|
|
1292
1177
|
* @param {*} [options] Override http request option.
|
|
1293
1178
|
* @throws {RequiredError}
|
|
1294
1179
|
* @memberof DefaultApi
|
|
1295
1180
|
*/
|
|
1296
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
1181
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1297
1182
|
/**
|
|
1298
1183
|
*
|
|
1299
1184
|
* @summary Create a workspace snapshot
|
|
@@ -1312,71 +1197,65 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1312
1197
|
*/
|
|
1313
1198
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
|
|
1314
1199
|
/**
|
|
1315
|
-
* Delete file inside workspace
|
|
1200
|
+
* Delete file inside workspace
|
|
1316
1201
|
* @summary Delete file
|
|
1317
1202
|
* @param {string} workspaceId
|
|
1318
|
-
* @param {string} projectId
|
|
1319
1203
|
* @param {string} path
|
|
1320
1204
|
* @param {*} [options] Override http request option.
|
|
1321
1205
|
* @throws {RequiredError}
|
|
1322
1206
|
* @memberof DefaultApi
|
|
1323
1207
|
*/
|
|
1324
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
1208
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1325
1209
|
/**
|
|
1326
|
-
* Download file from workspace
|
|
1210
|
+
* Download file from workspace
|
|
1327
1211
|
* @summary Download file
|
|
1328
1212
|
* @param {string} workspaceId
|
|
1329
|
-
* @param {string} projectId
|
|
1330
1213
|
* @param {string} path
|
|
1331
1214
|
* @param {*} [options] Override http request option.
|
|
1332
1215
|
* @throws {RequiredError}
|
|
1333
1216
|
* @memberof DefaultApi
|
|
1334
1217
|
*/
|
|
1335
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
1218
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1336
1219
|
/**
|
|
1337
|
-
* Execute command synchronously inside workspace
|
|
1220
|
+
* Execute command synchronously inside workspace
|
|
1338
1221
|
* @summary Execute command
|
|
1339
1222
|
* @param {string} workspaceId
|
|
1340
|
-
* @param {string} projectId
|
|
1341
1223
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
1342
1224
|
* @param {*} [options] Override http request option.
|
|
1343
1225
|
* @throws {RequiredError}
|
|
1344
1226
|
* @memberof DefaultApi
|
|
1345
1227
|
*/
|
|
1346
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
1228
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponseDto, any>>;
|
|
1347
1229
|
/**
|
|
1348
|
-
* Search for text/pattern inside workspace
|
|
1230
|
+
* Search for text/pattern inside workspace files
|
|
1349
1231
|
* @summary Search for text/pattern in files
|
|
1350
1232
|
* @param {string} workspaceId
|
|
1351
|
-
* @param {string} projectId
|
|
1352
1233
|
* @param {string} path
|
|
1353
1234
|
* @param {string} pattern
|
|
1354
1235
|
* @param {*} [options] Override http request option.
|
|
1355
1236
|
* @throws {RequiredError}
|
|
1356
1237
|
* @memberof DefaultApi
|
|
1357
1238
|
*/
|
|
1358
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
1239
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1359
1240
|
/**
|
|
1360
|
-
* Get file info inside workspace
|
|
1241
|
+
* Get file info inside workspace
|
|
1361
1242
|
* @summary Get file info
|
|
1362
1243
|
* @param {string} workspaceId
|
|
1363
|
-
* @param {string} projectId
|
|
1364
1244
|
* @param {string} path
|
|
1365
1245
|
* @param {*} [options] Override http request option.
|
|
1366
1246
|
* @throws {RequiredError}
|
|
1367
1247
|
* @memberof DefaultApi
|
|
1368
1248
|
*/
|
|
1369
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
1249
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1370
1250
|
/**
|
|
1371
|
-
* Get project directory
|
|
1372
|
-
* @summary Get project dir
|
|
1251
|
+
* Get workspace project directory
|
|
1252
|
+
* @summary Get workspace project dir
|
|
1373
1253
|
* @param {string} workspaceId
|
|
1374
|
-
* @param {string} projectId
|
|
1375
1254
|
* @param {*} [options] Override http request option.
|
|
1376
1255
|
* @throws {RequiredError}
|
|
1377
1256
|
* @memberof DefaultApi
|
|
1378
1257
|
*/
|
|
1379
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
1258
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1380
1259
|
/**
|
|
1381
1260
|
*
|
|
1382
1261
|
* @param {string} workspaceId
|
|
@@ -1390,112 +1269,102 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1390
1269
|
* Add files to git commit
|
|
1391
1270
|
* @summary Add files
|
|
1392
1271
|
* @param {string} workspaceId
|
|
1393
|
-
* @param {string} projectId
|
|
1394
1272
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
1395
1273
|
* @param {*} [options] Override http request option.
|
|
1396
1274
|
* @throws {RequiredError}
|
|
1397
1275
|
* @memberof DefaultApi
|
|
1398
1276
|
*/
|
|
1399
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
1277
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1400
1278
|
/**
|
|
1401
1279
|
* Get branch list from git repository
|
|
1402
1280
|
* @summary Get branch list
|
|
1403
1281
|
* @param {string} workspaceId
|
|
1404
|
-
* @param {string} projectId
|
|
1405
1282
|
* @param {string} path
|
|
1406
1283
|
* @param {*} [options] Override http request option.
|
|
1407
1284
|
* @throws {RequiredError}
|
|
1408
1285
|
* @memberof DefaultApi
|
|
1409
1286
|
*/
|
|
1410
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
1287
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1411
1288
|
/**
|
|
1412
1289
|
* Clone git repository
|
|
1413
1290
|
* @summary Clone repository
|
|
1414
1291
|
* @param {string} workspaceId
|
|
1415
|
-
* @param {string} projectId
|
|
1416
1292
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1417
1293
|
* @param {*} [options] Override http request option.
|
|
1418
1294
|
* @throws {RequiredError}
|
|
1419
1295
|
* @memberof DefaultApi
|
|
1420
1296
|
*/
|
|
1421
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
1297
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1422
1298
|
/**
|
|
1423
1299
|
* Commit changes to git repository
|
|
1424
1300
|
* @summary Commit changes
|
|
1425
1301
|
* @param {string} workspaceId
|
|
1426
|
-
* @param {string} projectId
|
|
1427
1302
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1428
1303
|
* @param {*} [options] Override http request option.
|
|
1429
1304
|
* @throws {RequiredError}
|
|
1430
1305
|
* @memberof DefaultApi
|
|
1431
1306
|
*/
|
|
1432
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
1307
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1433
1308
|
/**
|
|
1434
1309
|
* Get commit history from git repository
|
|
1435
1310
|
* @summary Get commit history
|
|
1436
1311
|
* @param {string} workspaceId
|
|
1437
|
-
* @param {string} projectId
|
|
1438
1312
|
* @param {string} path
|
|
1439
1313
|
* @param {*} [options] Override http request option.
|
|
1440
1314
|
* @throws {RequiredError}
|
|
1441
1315
|
* @memberof DefaultApi
|
|
1442
1316
|
*/
|
|
1443
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
1317
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1444
1318
|
/**
|
|
1445
1319
|
* Create branch on git repository
|
|
1446
1320
|
* @summary Create branch
|
|
1447
1321
|
* @param {string} workspaceId
|
|
1448
|
-
* @param {string} projectId
|
|
1449
1322
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1450
1323
|
* @param {*} [options] Override http request option.
|
|
1451
1324
|
* @throws {RequiredError}
|
|
1452
1325
|
* @memberof DefaultApi
|
|
1453
1326
|
*/
|
|
1454
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
1327
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1455
1328
|
/**
|
|
1456
1329
|
* Pull changes from remote
|
|
1457
1330
|
* @summary Pull changes
|
|
1458
1331
|
* @param {string} workspaceId
|
|
1459
|
-
* @param {string} projectId
|
|
1460
1332
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1461
1333
|
* @param {*} [options] Override http request option.
|
|
1462
1334
|
* @throws {RequiredError}
|
|
1463
1335
|
* @memberof DefaultApi
|
|
1464
1336
|
*/
|
|
1465
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
1337
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1466
1338
|
/**
|
|
1467
1339
|
* Push changes to remote
|
|
1468
1340
|
* @summary Push changes
|
|
1469
1341
|
* @param {string} workspaceId
|
|
1470
|
-
* @param {string} projectId
|
|
1471
1342
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1472
1343
|
* @param {*} [options] Override http request option.
|
|
1473
1344
|
* @throws {RequiredError}
|
|
1474
1345
|
* @memberof DefaultApi
|
|
1475
1346
|
*/
|
|
1476
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
1347
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1477
1348
|
/**
|
|
1478
1349
|
* Get status from git repository
|
|
1479
1350
|
* @summary Get git status
|
|
1480
1351
|
* @param {string} workspaceId
|
|
1481
|
-
* @param {string} projectId
|
|
1482
1352
|
* @param {string} path
|
|
1483
1353
|
* @param {*} [options] Override http request option.
|
|
1484
1354
|
* @throws {RequiredError}
|
|
1485
1355
|
* @memberof DefaultApi
|
|
1486
1356
|
*/
|
|
1487
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
1357
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1488
1358
|
/**
|
|
1489
|
-
* List files inside workspace
|
|
1359
|
+
* List files inside workspace
|
|
1490
1360
|
* @summary List files
|
|
1491
1361
|
* @param {string} workspaceId
|
|
1492
|
-
* @param {string} projectId
|
|
1493
1362
|
* @param {string} [path]
|
|
1494
1363
|
* @param {*} [options] Override http request option.
|
|
1495
1364
|
* @throws {RequiredError}
|
|
1496
1365
|
* @memberof DefaultApi
|
|
1497
1366
|
*/
|
|
1498
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
1367
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1499
1368
|
/**
|
|
1500
1369
|
*
|
|
1501
1370
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -1505,17 +1374,16 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1505
1374
|
*/
|
|
1506
1375
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto[], any>>;
|
|
1507
1376
|
/**
|
|
1508
|
-
* Move file inside workspace
|
|
1377
|
+
* Move file inside workspace
|
|
1509
1378
|
* @summary Move file
|
|
1510
1379
|
* @param {string} workspaceId
|
|
1511
|
-
* @param {string} projectId
|
|
1512
1380
|
* @param {string} source
|
|
1513
1381
|
* @param {string} destination
|
|
1514
1382
|
* @param {*} [options] Override http request option.
|
|
1515
1383
|
* @throws {RequiredError}
|
|
1516
1384
|
* @memberof DefaultApi
|
|
1517
1385
|
*/
|
|
1518
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
1386
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1519
1387
|
/**
|
|
1520
1388
|
*
|
|
1521
1389
|
* @param {string} workspaceId
|
|
@@ -1526,16 +1394,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1526
1394
|
*/
|
|
1527
1395
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1528
1396
|
/**
|
|
1529
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1397
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1530
1398
|
* @summary Replace in files
|
|
1531
1399
|
* @param {string} workspaceId
|
|
1532
|
-
* @param {string} projectId
|
|
1533
1400
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1534
1401
|
* @param {*} [options] Override http request option.
|
|
1535
1402
|
* @throws {RequiredError}
|
|
1536
1403
|
* @memberof DefaultApi
|
|
1537
1404
|
*/
|
|
1538
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
1405
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1539
1406
|
/**
|
|
1540
1407
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1541
1408
|
* @summary Replace workspace labels
|
|
@@ -1547,22 +1414,20 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1547
1414
|
*/
|
|
1548
1415
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabelsDto, any>>;
|
|
1549
1416
|
/**
|
|
1550
|
-
* Search for files inside workspace
|
|
1417
|
+
* Search for files inside workspace
|
|
1551
1418
|
* @summary Search files
|
|
1552
1419
|
* @param {string} workspaceId
|
|
1553
|
-
* @param {string} projectId
|
|
1554
1420
|
* @param {string} path
|
|
1555
1421
|
* @param {string} pattern
|
|
1556
1422
|
* @param {*} [options] Override http request option.
|
|
1557
1423
|
* @throws {RequiredError}
|
|
1558
1424
|
* @memberof DefaultApi
|
|
1559
1425
|
*/
|
|
1560
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
1426
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1561
1427
|
/**
|
|
1562
|
-
* Set file owner/group/permissions inside workspace
|
|
1428
|
+
* Set file owner/group/permissions inside workspace
|
|
1563
1429
|
* @summary Set file permissions
|
|
1564
1430
|
* @param {string} workspaceId
|
|
1565
|
-
* @param {string} projectId
|
|
1566
1431
|
* @param {string} path
|
|
1567
1432
|
* @param {string} owner
|
|
1568
1433
|
* @param {string} group
|
|
@@ -1571,16 +1436,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1571
1436
|
* @throws {RequiredError}
|
|
1572
1437
|
* @memberof DefaultApi
|
|
1573
1438
|
*/
|
|
1574
|
-
workspaceControllerSetFilePermissions(workspaceId: string,
|
|
1575
|
-
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @param {string} workspaceId
|
|
1578
|
-
* @param {string} projectId
|
|
1579
|
-
* @param {*} [options] Override http request option.
|
|
1580
|
-
* @throws {RequiredError}
|
|
1581
|
-
* @memberof DefaultApi
|
|
1582
|
-
*/
|
|
1583
|
-
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1439
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1584
1440
|
/**
|
|
1585
1441
|
*
|
|
1586
1442
|
* @param {string} workspaceId
|
|
@@ -1589,15 +1445,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1589
1445
|
* @memberof DefaultApi
|
|
1590
1446
|
*/
|
|
1591
1447
|
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1592
|
-
/**
|
|
1593
|
-
*
|
|
1594
|
-
* @param {string} workspaceId
|
|
1595
|
-
* @param {string} projectId
|
|
1596
|
-
* @param {*} [options] Override http request option.
|
|
1597
|
-
* @throws {RequiredError}
|
|
1598
|
-
* @memberof DefaultApi
|
|
1599
|
-
*/
|
|
1600
|
-
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1601
1448
|
/**
|
|
1602
1449
|
*
|
|
1603
1450
|
* @param {string} workspaceId
|
|
@@ -1607,15 +1454,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1607
1454
|
*/
|
|
1608
1455
|
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1609
1456
|
/**
|
|
1610
|
-
* Upload file inside workspace
|
|
1457
|
+
* Upload file inside workspace
|
|
1611
1458
|
* @summary Upload file
|
|
1612
1459
|
* @param {string} workspaceId
|
|
1613
|
-
* @param {string} projectId
|
|
1614
1460
|
* @param {string} path
|
|
1615
1461
|
* @param {File} [file]
|
|
1616
1462
|
* @param {*} [options] Override http request option.
|
|
1617
1463
|
* @throws {RequiredError}
|
|
1618
1464
|
* @memberof DefaultApi
|
|
1619
1465
|
*/
|
|
1620
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
1466
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1621
1467
|
}
|