@daytonaio/api-client 0.3.0 → 0.4.0
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 +295 -521
- package/dist/api/default-api.d.ts +168 -285
- package/dist/api/default-api.js +296 -518
- package/dist/esm/api/default-api.d.ts +168 -285
- package/dist/esm/api/default-api.js +296 -518
- package/dist/esm/models/create-workspace-dto.d.ts +14 -0
- package/dist/models/create-workspace-dto.d.ts +14 -0
- package/models/create-workspace-dto.ts +12 -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
|
|
@@ -389,29 +360,29 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
389
360
|
/**
|
|
390
361
|
*
|
|
391
362
|
* @param {string} workspaceId
|
|
392
|
-
* @param {string} projectId
|
|
393
363
|
* @param {*} [options] Override http request option.
|
|
394
364
|
* @throws {RequiredError}
|
|
395
365
|
*/
|
|
396
|
-
|
|
366
|
+
workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
397
367
|
/**
|
|
398
|
-
*
|
|
399
|
-
* @
|
|
368
|
+
* Change public preview status of a workspace
|
|
369
|
+
* @summary Change public preview status
|
|
370
|
+
* @param {string} workspaceId ID of the workspace
|
|
371
|
+
* @param {boolean} isPublic Public status to set
|
|
400
372
|
* @param {*} [options] Override http request option.
|
|
401
373
|
* @throws {RequiredError}
|
|
402
374
|
*/
|
|
403
|
-
|
|
375
|
+
workspaceControllerUpdatePublicStatus: (workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
376
|
/**
|
|
405
|
-
* Upload file inside workspace
|
|
377
|
+
* Upload file inside workspace
|
|
406
378
|
* @summary Upload file
|
|
407
379
|
* @param {string} workspaceId
|
|
408
|
-
* @param {string} projectId
|
|
409
380
|
* @param {string} path
|
|
410
381
|
* @param {File} [file]
|
|
411
382
|
* @param {*} [options] Override http request option.
|
|
412
383
|
* @throws {RequiredError}
|
|
413
384
|
*/
|
|
414
|
-
workspaceControllerUploadFile: (workspaceId: string,
|
|
385
|
+
workspaceControllerUploadFile: (workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
415
386
|
};
|
|
416
387
|
/**
|
|
417
388
|
* DefaultApi - functional programming interface
|
|
@@ -496,16 +467,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
496
467
|
*/
|
|
497
468
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
498
469
|
/**
|
|
499
|
-
* Create folder inside workspace
|
|
470
|
+
* Create folder inside workspace
|
|
500
471
|
* @summary Create folder
|
|
501
472
|
* @param {string} workspaceId
|
|
502
|
-
* @param {string} projectId
|
|
503
473
|
* @param {string} path
|
|
504
474
|
* @param {string} mode
|
|
505
475
|
* @param {*} [options] Override http request option.
|
|
506
476
|
* @throws {RequiredError}
|
|
507
477
|
*/
|
|
508
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
478
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
509
479
|
/**
|
|
510
480
|
*
|
|
511
481
|
* @summary Create a workspace snapshot
|
|
@@ -522,65 +492,59 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
522
492
|
*/
|
|
523
493
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
|
|
524
494
|
/**
|
|
525
|
-
* Delete file inside workspace
|
|
495
|
+
* Delete file inside workspace
|
|
526
496
|
* @summary Delete file
|
|
527
497
|
* @param {string} workspaceId
|
|
528
|
-
* @param {string} projectId
|
|
529
498
|
* @param {string} path
|
|
530
499
|
* @param {*} [options] Override http request option.
|
|
531
500
|
* @throws {RequiredError}
|
|
532
501
|
*/
|
|
533
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
502
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
534
503
|
/**
|
|
535
|
-
* Download file from workspace
|
|
504
|
+
* Download file from workspace
|
|
536
505
|
* @summary Download file
|
|
537
506
|
* @param {string} workspaceId
|
|
538
|
-
* @param {string} projectId
|
|
539
507
|
* @param {string} path
|
|
540
508
|
* @param {*} [options] Override http request option.
|
|
541
509
|
* @throws {RequiredError}
|
|
542
510
|
*/
|
|
543
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
511
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
544
512
|
/**
|
|
545
|
-
* Execute command synchronously inside workspace
|
|
513
|
+
* Execute command synchronously inside workspace
|
|
546
514
|
* @summary Execute command
|
|
547
515
|
* @param {string} workspaceId
|
|
548
|
-
* @param {string} projectId
|
|
549
516
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
550
517
|
* @param {*} [options] Override http request option.
|
|
551
518
|
* @throws {RequiredError}
|
|
552
519
|
*/
|
|
553
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
520
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>>;
|
|
554
521
|
/**
|
|
555
|
-
* Search for text/pattern inside workspace
|
|
522
|
+
* Search for text/pattern inside workspace files
|
|
556
523
|
* @summary Search for text/pattern in files
|
|
557
524
|
* @param {string} workspaceId
|
|
558
|
-
* @param {string} projectId
|
|
559
525
|
* @param {string} path
|
|
560
526
|
* @param {string} pattern
|
|
561
527
|
* @param {*} [options] Override http request option.
|
|
562
528
|
* @throws {RequiredError}
|
|
563
529
|
*/
|
|
564
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
530
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
565
531
|
/**
|
|
566
|
-
* Get file info inside workspace
|
|
532
|
+
* Get file info inside workspace
|
|
567
533
|
* @summary Get file info
|
|
568
534
|
* @param {string} workspaceId
|
|
569
|
-
* @param {string} projectId
|
|
570
535
|
* @param {string} path
|
|
571
536
|
* @param {*} [options] Override http request option.
|
|
572
537
|
* @throws {RequiredError}
|
|
573
538
|
*/
|
|
574
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
539
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
575
540
|
/**
|
|
576
|
-
* Get project directory
|
|
577
|
-
* @summary Get project dir
|
|
541
|
+
* Get workspace project directory
|
|
542
|
+
* @summary Get workspace project dir
|
|
578
543
|
* @param {string} workspaceId
|
|
579
|
-
* @param {string} projectId
|
|
580
544
|
* @param {*} [options] Override http request option.
|
|
581
545
|
* @throws {RequiredError}
|
|
582
546
|
*/
|
|
583
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
547
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
584
548
|
/**
|
|
585
549
|
*
|
|
586
550
|
* @param {string} workspaceId
|
|
@@ -593,102 +557,92 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
593
557
|
* Add files to git commit
|
|
594
558
|
* @summary Add files
|
|
595
559
|
* @param {string} workspaceId
|
|
596
|
-
* @param {string} projectId
|
|
597
560
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
598
561
|
* @param {*} [options] Override http request option.
|
|
599
562
|
* @throws {RequiredError}
|
|
600
563
|
*/
|
|
601
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
564
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
602
565
|
/**
|
|
603
566
|
* Get branch list from git repository
|
|
604
567
|
* @summary Get branch list
|
|
605
568
|
* @param {string} workspaceId
|
|
606
|
-
* @param {string} projectId
|
|
607
569
|
* @param {string} path
|
|
608
570
|
* @param {*} [options] Override http request option.
|
|
609
571
|
* @throws {RequiredError}
|
|
610
572
|
*/
|
|
611
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
573
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
612
574
|
/**
|
|
613
575
|
* Clone git repository
|
|
614
576
|
* @summary Clone repository
|
|
615
577
|
* @param {string} workspaceId
|
|
616
|
-
* @param {string} projectId
|
|
617
578
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
618
579
|
* @param {*} [options] Override http request option.
|
|
619
580
|
* @throws {RequiredError}
|
|
620
581
|
*/
|
|
621
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
582
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
622
583
|
/**
|
|
623
584
|
* Commit changes to git repository
|
|
624
585
|
* @summary Commit changes
|
|
625
586
|
* @param {string} workspaceId
|
|
626
|
-
* @param {string} projectId
|
|
627
587
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
628
588
|
* @param {*} [options] Override http request option.
|
|
629
589
|
* @throws {RequiredError}
|
|
630
590
|
*/
|
|
631
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
591
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
632
592
|
/**
|
|
633
593
|
* Get commit history from git repository
|
|
634
594
|
* @summary Get commit history
|
|
635
595
|
* @param {string} workspaceId
|
|
636
|
-
* @param {string} projectId
|
|
637
596
|
* @param {string} path
|
|
638
597
|
* @param {*} [options] Override http request option.
|
|
639
598
|
* @throws {RequiredError}
|
|
640
599
|
*/
|
|
641
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
600
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
642
601
|
/**
|
|
643
602
|
* Create branch on git repository
|
|
644
603
|
* @summary Create branch
|
|
645
604
|
* @param {string} workspaceId
|
|
646
|
-
* @param {string} projectId
|
|
647
605
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
648
606
|
* @param {*} [options] Override http request option.
|
|
649
607
|
* @throws {RequiredError}
|
|
650
608
|
*/
|
|
651
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
609
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
652
610
|
/**
|
|
653
611
|
* Pull changes from remote
|
|
654
612
|
* @summary Pull changes
|
|
655
613
|
* @param {string} workspaceId
|
|
656
|
-
* @param {string} projectId
|
|
657
614
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
658
615
|
* @param {*} [options] Override http request option.
|
|
659
616
|
* @throws {RequiredError}
|
|
660
617
|
*/
|
|
661
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
618
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
662
619
|
/**
|
|
663
620
|
* Push changes to remote
|
|
664
621
|
* @summary Push changes
|
|
665
622
|
* @param {string} workspaceId
|
|
666
|
-
* @param {string} projectId
|
|
667
623
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
668
624
|
* @param {*} [options] Override http request option.
|
|
669
625
|
* @throws {RequiredError}
|
|
670
626
|
*/
|
|
671
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
627
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
672
628
|
/**
|
|
673
629
|
* Get status from git repository
|
|
674
630
|
* @summary Get git status
|
|
675
631
|
* @param {string} workspaceId
|
|
676
|
-
* @param {string} projectId
|
|
677
632
|
* @param {string} path
|
|
678
633
|
* @param {*} [options] Override http request option.
|
|
679
634
|
* @throws {RequiredError}
|
|
680
635
|
*/
|
|
681
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
636
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
682
637
|
/**
|
|
683
|
-
* List files inside workspace
|
|
638
|
+
* List files inside workspace
|
|
684
639
|
* @summary List files
|
|
685
640
|
* @param {string} workspaceId
|
|
686
|
-
* @param {string} projectId
|
|
687
641
|
* @param {string} [path]
|
|
688
642
|
* @param {*} [options] Override http request option.
|
|
689
643
|
* @throws {RequiredError}
|
|
690
644
|
*/
|
|
691
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
645
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
692
646
|
/**
|
|
693
647
|
*
|
|
694
648
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -697,16 +651,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
697
651
|
*/
|
|
698
652
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkspaceDto>>>;
|
|
699
653
|
/**
|
|
700
|
-
* Move file inside workspace
|
|
654
|
+
* Move file inside workspace
|
|
701
655
|
* @summary Move file
|
|
702
656
|
* @param {string} workspaceId
|
|
703
|
-
* @param {string} projectId
|
|
704
657
|
* @param {string} source
|
|
705
658
|
* @param {string} destination
|
|
706
659
|
* @param {*} [options] Override http request option.
|
|
707
660
|
* @throws {RequiredError}
|
|
708
661
|
*/
|
|
709
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
662
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
710
663
|
/**
|
|
711
664
|
*
|
|
712
665
|
* @param {string} workspaceId
|
|
@@ -716,15 +669,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
716
669
|
*/
|
|
717
670
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
718
671
|
/**
|
|
719
|
-
* Replace text/pattern in multiple files inside workspace
|
|
672
|
+
* Replace text/pattern in multiple files inside workspace
|
|
720
673
|
* @summary Replace in files
|
|
721
674
|
* @param {string} workspaceId
|
|
722
|
-
* @param {string} projectId
|
|
723
675
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
724
676
|
* @param {*} [options] Override http request option.
|
|
725
677
|
* @throws {RequiredError}
|
|
726
678
|
*/
|
|
727
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
679
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
728
680
|
/**
|
|
729
681
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
730
682
|
* @summary Replace workspace labels
|
|
@@ -735,21 +687,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
735
687
|
*/
|
|
736
688
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabelsDto>>;
|
|
737
689
|
/**
|
|
738
|
-
* Search for files inside workspace
|
|
690
|
+
* Search for files inside workspace
|
|
739
691
|
* @summary Search files
|
|
740
692
|
* @param {string} workspaceId
|
|
741
|
-
* @param {string} projectId
|
|
742
693
|
* @param {string} path
|
|
743
694
|
* @param {string} pattern
|
|
744
695
|
* @param {*} [options] Override http request option.
|
|
745
696
|
* @throws {RequiredError}
|
|
746
697
|
*/
|
|
747
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
698
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
748
699
|
/**
|
|
749
|
-
* Set file owner/group/permissions inside workspace
|
|
700
|
+
* Set file owner/group/permissions inside workspace
|
|
750
701
|
* @summary Set file permissions
|
|
751
702
|
* @param {string} workspaceId
|
|
752
|
-
* @param {string} projectId
|
|
753
703
|
* @param {string} path
|
|
754
704
|
* @param {string} owner
|
|
755
705
|
* @param {string} group
|
|
@@ -757,15 +707,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
757
707
|
* @param {*} [options] Override http request option.
|
|
758
708
|
* @throws {RequiredError}
|
|
759
709
|
*/
|
|
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>>;
|
|
710
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
769
711
|
/**
|
|
770
712
|
*
|
|
771
713
|
* @param {string} workspaceId
|
|
@@ -776,29 +718,29 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
776
718
|
/**
|
|
777
719
|
*
|
|
778
720
|
* @param {string} workspaceId
|
|
779
|
-
* @param {string} projectId
|
|
780
721
|
* @param {*} [options] Override http request option.
|
|
781
722
|
* @throws {RequiredError}
|
|
782
723
|
*/
|
|
783
|
-
|
|
724
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
784
725
|
/**
|
|
785
|
-
*
|
|
786
|
-
* @
|
|
726
|
+
* Change public preview status of a workspace
|
|
727
|
+
* @summary Change public preview status
|
|
728
|
+
* @param {string} workspaceId ID of the workspace
|
|
729
|
+
* @param {boolean} isPublic Public status to set
|
|
787
730
|
* @param {*} [options] Override http request option.
|
|
788
731
|
* @throws {RequiredError}
|
|
789
732
|
*/
|
|
790
|
-
|
|
733
|
+
workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
791
734
|
/**
|
|
792
|
-
* Upload file inside workspace
|
|
735
|
+
* Upload file inside workspace
|
|
793
736
|
* @summary Upload file
|
|
794
737
|
* @param {string} workspaceId
|
|
795
|
-
* @param {string} projectId
|
|
796
738
|
* @param {string} path
|
|
797
739
|
* @param {File} [file]
|
|
798
740
|
* @param {*} [options] Override http request option.
|
|
799
741
|
* @throws {RequiredError}
|
|
800
742
|
*/
|
|
801
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
743
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
802
744
|
};
|
|
803
745
|
/**
|
|
804
746
|
* DefaultApi - factory interface
|
|
@@ -883,16 +825,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
883
825
|
*/
|
|
884
826
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
885
827
|
/**
|
|
886
|
-
* Create folder inside workspace
|
|
828
|
+
* Create folder inside workspace
|
|
887
829
|
* @summary Create folder
|
|
888
830
|
* @param {string} workspaceId
|
|
889
|
-
* @param {string} projectId
|
|
890
831
|
* @param {string} path
|
|
891
832
|
* @param {string} mode
|
|
892
833
|
* @param {*} [options] Override http request option.
|
|
893
834
|
* @throws {RequiredError}
|
|
894
835
|
*/
|
|
895
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
836
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
896
837
|
/**
|
|
897
838
|
*
|
|
898
839
|
* @summary Create a workspace snapshot
|
|
@@ -909,65 +850,59 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
909
850
|
*/
|
|
910
851
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
|
|
911
852
|
/**
|
|
912
|
-
* Delete file inside workspace
|
|
853
|
+
* Delete file inside workspace
|
|
913
854
|
* @summary Delete file
|
|
914
855
|
* @param {string} workspaceId
|
|
915
|
-
* @param {string} projectId
|
|
916
856
|
* @param {string} path
|
|
917
857
|
* @param {*} [options] Override http request option.
|
|
918
858
|
* @throws {RequiredError}
|
|
919
859
|
*/
|
|
920
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
860
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
921
861
|
/**
|
|
922
|
-
* Download file from workspace
|
|
862
|
+
* Download file from workspace
|
|
923
863
|
* @summary Download file
|
|
924
864
|
* @param {string} workspaceId
|
|
925
|
-
* @param {string} projectId
|
|
926
865
|
* @param {string} path
|
|
927
866
|
* @param {*} [options] Override http request option.
|
|
928
867
|
* @throws {RequiredError}
|
|
929
868
|
*/
|
|
930
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
869
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
931
870
|
/**
|
|
932
|
-
* Execute command synchronously inside workspace
|
|
871
|
+
* Execute command synchronously inside workspace
|
|
933
872
|
* @summary Execute command
|
|
934
873
|
* @param {string} workspaceId
|
|
935
|
-
* @param {string} projectId
|
|
936
874
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
937
875
|
* @param {*} [options] Override http request option.
|
|
938
876
|
* @throws {RequiredError}
|
|
939
877
|
*/
|
|
940
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
878
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto>;
|
|
941
879
|
/**
|
|
942
|
-
* Search for text/pattern inside workspace
|
|
880
|
+
* Search for text/pattern inside workspace files
|
|
943
881
|
* @summary Search for text/pattern in files
|
|
944
882
|
* @param {string} workspaceId
|
|
945
|
-
* @param {string} projectId
|
|
946
883
|
* @param {string} path
|
|
947
884
|
* @param {string} pattern
|
|
948
885
|
* @param {*} [options] Override http request option.
|
|
949
886
|
* @throws {RequiredError}
|
|
950
887
|
*/
|
|
951
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
888
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
952
889
|
/**
|
|
953
|
-
* Get file info inside workspace
|
|
890
|
+
* Get file info inside workspace
|
|
954
891
|
* @summary Get file info
|
|
955
892
|
* @param {string} workspaceId
|
|
956
|
-
* @param {string} projectId
|
|
957
893
|
* @param {string} path
|
|
958
894
|
* @param {*} [options] Override http request option.
|
|
959
895
|
* @throws {RequiredError}
|
|
960
896
|
*/
|
|
961
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
897
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
962
898
|
/**
|
|
963
|
-
* Get project directory
|
|
964
|
-
* @summary Get project dir
|
|
899
|
+
* Get workspace project directory
|
|
900
|
+
* @summary Get workspace project dir
|
|
965
901
|
* @param {string} workspaceId
|
|
966
|
-
* @param {string} projectId
|
|
967
902
|
* @param {*} [options] Override http request option.
|
|
968
903
|
* @throws {RequiredError}
|
|
969
904
|
*/
|
|
970
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
905
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
971
906
|
/**
|
|
972
907
|
*
|
|
973
908
|
* @param {string} workspaceId
|
|
@@ -980,102 +915,92 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
980
915
|
* Add files to git commit
|
|
981
916
|
* @summary Add files
|
|
982
917
|
* @param {string} workspaceId
|
|
983
|
-
* @param {string} projectId
|
|
984
918
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
985
919
|
* @param {*} [options] Override http request option.
|
|
986
920
|
* @throws {RequiredError}
|
|
987
921
|
*/
|
|
988
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
922
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
989
923
|
/**
|
|
990
924
|
* Get branch list from git repository
|
|
991
925
|
* @summary Get branch list
|
|
992
926
|
* @param {string} workspaceId
|
|
993
|
-
* @param {string} projectId
|
|
994
927
|
* @param {string} path
|
|
995
928
|
* @param {*} [options] Override http request option.
|
|
996
929
|
* @throws {RequiredError}
|
|
997
930
|
*/
|
|
998
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
931
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
999
932
|
/**
|
|
1000
933
|
* Clone git repository
|
|
1001
934
|
* @summary Clone repository
|
|
1002
935
|
* @param {string} workspaceId
|
|
1003
|
-
* @param {string} projectId
|
|
1004
936
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1005
937
|
* @param {*} [options] Override http request option.
|
|
1006
938
|
* @throws {RequiredError}
|
|
1007
939
|
*/
|
|
1008
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
940
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1009
941
|
/**
|
|
1010
942
|
* Commit changes to git repository
|
|
1011
943
|
* @summary Commit changes
|
|
1012
944
|
* @param {string} workspaceId
|
|
1013
|
-
* @param {string} projectId
|
|
1014
945
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1015
946
|
* @param {*} [options] Override http request option.
|
|
1016
947
|
* @throws {RequiredError}
|
|
1017
948
|
*/
|
|
1018
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
949
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1019
950
|
/**
|
|
1020
951
|
* Get commit history from git repository
|
|
1021
952
|
* @summary Get commit history
|
|
1022
953
|
* @param {string} workspaceId
|
|
1023
|
-
* @param {string} projectId
|
|
1024
954
|
* @param {string} path
|
|
1025
955
|
* @param {*} [options] Override http request option.
|
|
1026
956
|
* @throws {RequiredError}
|
|
1027
957
|
*/
|
|
1028
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
958
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1029
959
|
/**
|
|
1030
960
|
* Create branch on git repository
|
|
1031
961
|
* @summary Create branch
|
|
1032
962
|
* @param {string} workspaceId
|
|
1033
|
-
* @param {string} projectId
|
|
1034
963
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1035
964
|
* @param {*} [options] Override http request option.
|
|
1036
965
|
* @throws {RequiredError}
|
|
1037
966
|
*/
|
|
1038
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
967
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1039
968
|
/**
|
|
1040
969
|
* Pull changes from remote
|
|
1041
970
|
* @summary Pull changes
|
|
1042
971
|
* @param {string} workspaceId
|
|
1043
|
-
* @param {string} projectId
|
|
1044
972
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1045
973
|
* @param {*} [options] Override http request option.
|
|
1046
974
|
* @throws {RequiredError}
|
|
1047
975
|
*/
|
|
1048
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
976
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1049
977
|
/**
|
|
1050
978
|
* Push changes to remote
|
|
1051
979
|
* @summary Push changes
|
|
1052
980
|
* @param {string} workspaceId
|
|
1053
|
-
* @param {string} projectId
|
|
1054
981
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1055
982
|
* @param {*} [options] Override http request option.
|
|
1056
983
|
* @throws {RequiredError}
|
|
1057
984
|
*/
|
|
1058
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
985
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1059
986
|
/**
|
|
1060
987
|
* Get status from git repository
|
|
1061
988
|
* @summary Get git status
|
|
1062
989
|
* @param {string} workspaceId
|
|
1063
|
-
* @param {string} projectId
|
|
1064
990
|
* @param {string} path
|
|
1065
991
|
* @param {*} [options] Override http request option.
|
|
1066
992
|
* @throws {RequiredError}
|
|
1067
993
|
*/
|
|
1068
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
994
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1069
995
|
/**
|
|
1070
|
-
* List files inside workspace
|
|
996
|
+
* List files inside workspace
|
|
1071
997
|
* @summary List files
|
|
1072
998
|
* @param {string} workspaceId
|
|
1073
|
-
* @param {string} projectId
|
|
1074
999
|
* @param {string} [path]
|
|
1075
1000
|
* @param {*} [options] Override http request option.
|
|
1076
1001
|
* @throws {RequiredError}
|
|
1077
1002
|
*/
|
|
1078
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
1003
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1079
1004
|
/**
|
|
1080
1005
|
*
|
|
1081
1006
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -1084,16 +1009,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1084
1009
|
*/
|
|
1085
1010
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkspaceDto>>;
|
|
1086
1011
|
/**
|
|
1087
|
-
* Move file inside workspace
|
|
1012
|
+
* Move file inside workspace
|
|
1088
1013
|
* @summary Move file
|
|
1089
1014
|
* @param {string} workspaceId
|
|
1090
|
-
* @param {string} projectId
|
|
1091
1015
|
* @param {string} source
|
|
1092
1016
|
* @param {string} destination
|
|
1093
1017
|
* @param {*} [options] Override http request option.
|
|
1094
1018
|
* @throws {RequiredError}
|
|
1095
1019
|
*/
|
|
1096
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
1020
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1097
1021
|
/**
|
|
1098
1022
|
*
|
|
1099
1023
|
* @param {string} workspaceId
|
|
@@ -1103,15 +1027,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1103
1027
|
*/
|
|
1104
1028
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1105
1029
|
/**
|
|
1106
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1030
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1107
1031
|
* @summary Replace in files
|
|
1108
1032
|
* @param {string} workspaceId
|
|
1109
|
-
* @param {string} projectId
|
|
1110
1033
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1111
1034
|
* @param {*} [options] Override http request option.
|
|
1112
1035
|
* @throws {RequiredError}
|
|
1113
1036
|
*/
|
|
1114
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
1037
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1115
1038
|
/**
|
|
1116
1039
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1117
1040
|
* @summary Replace workspace labels
|
|
@@ -1122,21 +1045,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1122
1045
|
*/
|
|
1123
1046
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabelsDto>;
|
|
1124
1047
|
/**
|
|
1125
|
-
* Search for files inside workspace
|
|
1048
|
+
* Search for files inside workspace
|
|
1126
1049
|
* @summary Search files
|
|
1127
1050
|
* @param {string} workspaceId
|
|
1128
|
-
* @param {string} projectId
|
|
1129
1051
|
* @param {string} path
|
|
1130
1052
|
* @param {string} pattern
|
|
1131
1053
|
* @param {*} [options] Override http request option.
|
|
1132
1054
|
* @throws {RequiredError}
|
|
1133
1055
|
*/
|
|
1134
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
1056
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1135
1057
|
/**
|
|
1136
|
-
* Set file owner/group/permissions inside workspace
|
|
1058
|
+
* Set file owner/group/permissions inside workspace
|
|
1137
1059
|
* @summary Set file permissions
|
|
1138
1060
|
* @param {string} workspaceId
|
|
1139
|
-
* @param {string} projectId
|
|
1140
1061
|
* @param {string} path
|
|
1141
1062
|
* @param {string} owner
|
|
1142
1063
|
* @param {string} group
|
|
@@ -1144,15 +1065,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1144
1065
|
* @param {*} [options] Override http request option.
|
|
1145
1066
|
* @throws {RequiredError}
|
|
1146
1067
|
*/
|
|
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>;
|
|
1068
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1156
1069
|
/**
|
|
1157
1070
|
*
|
|
1158
1071
|
* @param {string} workspaceId
|
|
@@ -1163,29 +1076,29 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1163
1076
|
/**
|
|
1164
1077
|
*
|
|
1165
1078
|
* @param {string} workspaceId
|
|
1166
|
-
* @param {string} projectId
|
|
1167
1079
|
* @param {*} [options] Override http request option.
|
|
1168
1080
|
* @throws {RequiredError}
|
|
1169
1081
|
*/
|
|
1170
|
-
|
|
1082
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1171
1083
|
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @
|
|
1084
|
+
* Change public preview status of a workspace
|
|
1085
|
+
* @summary Change public preview status
|
|
1086
|
+
* @param {string} workspaceId ID of the workspace
|
|
1087
|
+
* @param {boolean} isPublic Public status to set
|
|
1174
1088
|
* @param {*} [options] Override http request option.
|
|
1175
1089
|
* @throws {RequiredError}
|
|
1176
1090
|
*/
|
|
1177
|
-
|
|
1091
|
+
workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1178
1092
|
/**
|
|
1179
|
-
* Upload file inside workspace
|
|
1093
|
+
* Upload file inside workspace
|
|
1180
1094
|
* @summary Upload file
|
|
1181
1095
|
* @param {string} workspaceId
|
|
1182
|
-
* @param {string} projectId
|
|
1183
1096
|
* @param {string} path
|
|
1184
1097
|
* @param {File} [file]
|
|
1185
1098
|
* @param {*} [options] Override http request option.
|
|
1186
1099
|
* @throws {RequiredError}
|
|
1187
1100
|
*/
|
|
1188
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
1101
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1189
1102
|
};
|
|
1190
1103
|
/**
|
|
1191
1104
|
* DefaultApi - object-oriented interface
|
|
@@ -1283,17 +1196,16 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1283
1196
|
*/
|
|
1284
1197
|
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1285
1198
|
/**
|
|
1286
|
-
* Create folder inside workspace
|
|
1199
|
+
* Create folder inside workspace
|
|
1287
1200
|
* @summary Create folder
|
|
1288
1201
|
* @param {string} workspaceId
|
|
1289
|
-
* @param {string} projectId
|
|
1290
1202
|
* @param {string} path
|
|
1291
1203
|
* @param {string} mode
|
|
1292
1204
|
* @param {*} [options] Override http request option.
|
|
1293
1205
|
* @throws {RequiredError}
|
|
1294
1206
|
* @memberof DefaultApi
|
|
1295
1207
|
*/
|
|
1296
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
1208
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1297
1209
|
/**
|
|
1298
1210
|
*
|
|
1299
1211
|
* @summary Create a workspace snapshot
|
|
@@ -1312,71 +1224,65 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1312
1224
|
*/
|
|
1313
1225
|
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
|
|
1314
1226
|
/**
|
|
1315
|
-
* Delete file inside workspace
|
|
1227
|
+
* Delete file inside workspace
|
|
1316
1228
|
* @summary Delete file
|
|
1317
1229
|
* @param {string} workspaceId
|
|
1318
|
-
* @param {string} projectId
|
|
1319
1230
|
* @param {string} path
|
|
1320
1231
|
* @param {*} [options] Override http request option.
|
|
1321
1232
|
* @throws {RequiredError}
|
|
1322
1233
|
* @memberof DefaultApi
|
|
1323
1234
|
*/
|
|
1324
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
1235
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1325
1236
|
/**
|
|
1326
|
-
* Download file from workspace
|
|
1237
|
+
* Download file from workspace
|
|
1327
1238
|
* @summary Download file
|
|
1328
1239
|
* @param {string} workspaceId
|
|
1329
|
-
* @param {string} projectId
|
|
1330
1240
|
* @param {string} path
|
|
1331
1241
|
* @param {*} [options] Override http request option.
|
|
1332
1242
|
* @throws {RequiredError}
|
|
1333
1243
|
* @memberof DefaultApi
|
|
1334
1244
|
*/
|
|
1335
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
1245
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1336
1246
|
/**
|
|
1337
|
-
* Execute command synchronously inside workspace
|
|
1247
|
+
* Execute command synchronously inside workspace
|
|
1338
1248
|
* @summary Execute command
|
|
1339
1249
|
* @param {string} workspaceId
|
|
1340
|
-
* @param {string} projectId
|
|
1341
1250
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
1342
1251
|
* @param {*} [options] Override http request option.
|
|
1343
1252
|
* @throws {RequiredError}
|
|
1344
1253
|
* @memberof DefaultApi
|
|
1345
1254
|
*/
|
|
1346
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
1255
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponseDto, any>>;
|
|
1347
1256
|
/**
|
|
1348
|
-
* Search for text/pattern inside workspace
|
|
1257
|
+
* Search for text/pattern inside workspace files
|
|
1349
1258
|
* @summary Search for text/pattern in files
|
|
1350
1259
|
* @param {string} workspaceId
|
|
1351
|
-
* @param {string} projectId
|
|
1352
1260
|
* @param {string} path
|
|
1353
1261
|
* @param {string} pattern
|
|
1354
1262
|
* @param {*} [options] Override http request option.
|
|
1355
1263
|
* @throws {RequiredError}
|
|
1356
1264
|
* @memberof DefaultApi
|
|
1357
1265
|
*/
|
|
1358
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
1266
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1359
1267
|
/**
|
|
1360
|
-
* Get file info inside workspace
|
|
1268
|
+
* Get file info inside workspace
|
|
1361
1269
|
* @summary Get file info
|
|
1362
1270
|
* @param {string} workspaceId
|
|
1363
|
-
* @param {string} projectId
|
|
1364
1271
|
* @param {string} path
|
|
1365
1272
|
* @param {*} [options] Override http request option.
|
|
1366
1273
|
* @throws {RequiredError}
|
|
1367
1274
|
* @memberof DefaultApi
|
|
1368
1275
|
*/
|
|
1369
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
1276
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1370
1277
|
/**
|
|
1371
|
-
* Get project directory
|
|
1372
|
-
* @summary Get project dir
|
|
1278
|
+
* Get workspace project directory
|
|
1279
|
+
* @summary Get workspace project dir
|
|
1373
1280
|
* @param {string} workspaceId
|
|
1374
|
-
* @param {string} projectId
|
|
1375
1281
|
* @param {*} [options] Override http request option.
|
|
1376
1282
|
* @throws {RequiredError}
|
|
1377
1283
|
* @memberof DefaultApi
|
|
1378
1284
|
*/
|
|
1379
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
1285
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1380
1286
|
/**
|
|
1381
1287
|
*
|
|
1382
1288
|
* @param {string} workspaceId
|
|
@@ -1390,112 +1296,102 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1390
1296
|
* Add files to git commit
|
|
1391
1297
|
* @summary Add files
|
|
1392
1298
|
* @param {string} workspaceId
|
|
1393
|
-
* @param {string} projectId
|
|
1394
1299
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
1395
1300
|
* @param {*} [options] Override http request option.
|
|
1396
1301
|
* @throws {RequiredError}
|
|
1397
1302
|
* @memberof DefaultApi
|
|
1398
1303
|
*/
|
|
1399
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
1304
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1400
1305
|
/**
|
|
1401
1306
|
* Get branch list from git repository
|
|
1402
1307
|
* @summary Get branch list
|
|
1403
1308
|
* @param {string} workspaceId
|
|
1404
|
-
* @param {string} projectId
|
|
1405
1309
|
* @param {string} path
|
|
1406
1310
|
* @param {*} [options] Override http request option.
|
|
1407
1311
|
* @throws {RequiredError}
|
|
1408
1312
|
* @memberof DefaultApi
|
|
1409
1313
|
*/
|
|
1410
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
1314
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1411
1315
|
/**
|
|
1412
1316
|
* Clone git repository
|
|
1413
1317
|
* @summary Clone repository
|
|
1414
1318
|
* @param {string} workspaceId
|
|
1415
|
-
* @param {string} projectId
|
|
1416
1319
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1417
1320
|
* @param {*} [options] Override http request option.
|
|
1418
1321
|
* @throws {RequiredError}
|
|
1419
1322
|
* @memberof DefaultApi
|
|
1420
1323
|
*/
|
|
1421
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
1324
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1422
1325
|
/**
|
|
1423
1326
|
* Commit changes to git repository
|
|
1424
1327
|
* @summary Commit changes
|
|
1425
1328
|
* @param {string} workspaceId
|
|
1426
|
-
* @param {string} projectId
|
|
1427
1329
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1428
1330
|
* @param {*} [options] Override http request option.
|
|
1429
1331
|
* @throws {RequiredError}
|
|
1430
1332
|
* @memberof DefaultApi
|
|
1431
1333
|
*/
|
|
1432
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
1334
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1433
1335
|
/**
|
|
1434
1336
|
* Get commit history from git repository
|
|
1435
1337
|
* @summary Get commit history
|
|
1436
1338
|
* @param {string} workspaceId
|
|
1437
|
-
* @param {string} projectId
|
|
1438
1339
|
* @param {string} path
|
|
1439
1340
|
* @param {*} [options] Override http request option.
|
|
1440
1341
|
* @throws {RequiredError}
|
|
1441
1342
|
* @memberof DefaultApi
|
|
1442
1343
|
*/
|
|
1443
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
1344
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1444
1345
|
/**
|
|
1445
1346
|
* Create branch on git repository
|
|
1446
1347
|
* @summary Create branch
|
|
1447
1348
|
* @param {string} workspaceId
|
|
1448
|
-
* @param {string} projectId
|
|
1449
1349
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1450
1350
|
* @param {*} [options] Override http request option.
|
|
1451
1351
|
* @throws {RequiredError}
|
|
1452
1352
|
* @memberof DefaultApi
|
|
1453
1353
|
*/
|
|
1454
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
1354
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1455
1355
|
/**
|
|
1456
1356
|
* Pull changes from remote
|
|
1457
1357
|
* @summary Pull changes
|
|
1458
1358
|
* @param {string} workspaceId
|
|
1459
|
-
* @param {string} projectId
|
|
1460
1359
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1461
1360
|
* @param {*} [options] Override http request option.
|
|
1462
1361
|
* @throws {RequiredError}
|
|
1463
1362
|
* @memberof DefaultApi
|
|
1464
1363
|
*/
|
|
1465
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
1364
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1466
1365
|
/**
|
|
1467
1366
|
* Push changes to remote
|
|
1468
1367
|
* @summary Push changes
|
|
1469
1368
|
* @param {string} workspaceId
|
|
1470
|
-
* @param {string} projectId
|
|
1471
1369
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1472
1370
|
* @param {*} [options] Override http request option.
|
|
1473
1371
|
* @throws {RequiredError}
|
|
1474
1372
|
* @memberof DefaultApi
|
|
1475
1373
|
*/
|
|
1476
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
1374
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1477
1375
|
/**
|
|
1478
1376
|
* Get status from git repository
|
|
1479
1377
|
* @summary Get git status
|
|
1480
1378
|
* @param {string} workspaceId
|
|
1481
|
-
* @param {string} projectId
|
|
1482
1379
|
* @param {string} path
|
|
1483
1380
|
* @param {*} [options] Override http request option.
|
|
1484
1381
|
* @throws {RequiredError}
|
|
1485
1382
|
* @memberof DefaultApi
|
|
1486
1383
|
*/
|
|
1487
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
1384
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1488
1385
|
/**
|
|
1489
|
-
* List files inside workspace
|
|
1386
|
+
* List files inside workspace
|
|
1490
1387
|
* @summary List files
|
|
1491
1388
|
* @param {string} workspaceId
|
|
1492
|
-
* @param {string} projectId
|
|
1493
1389
|
* @param {string} [path]
|
|
1494
1390
|
* @param {*} [options] Override http request option.
|
|
1495
1391
|
* @throws {RequiredError}
|
|
1496
1392
|
* @memberof DefaultApi
|
|
1497
1393
|
*/
|
|
1498
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
1394
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1499
1395
|
/**
|
|
1500
1396
|
*
|
|
1501
1397
|
* @param {boolean} [verbose] Include verbose output
|
|
@@ -1505,17 +1401,16 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1505
1401
|
*/
|
|
1506
1402
|
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto[], any>>;
|
|
1507
1403
|
/**
|
|
1508
|
-
* Move file inside workspace
|
|
1404
|
+
* Move file inside workspace
|
|
1509
1405
|
* @summary Move file
|
|
1510
1406
|
* @param {string} workspaceId
|
|
1511
|
-
* @param {string} projectId
|
|
1512
1407
|
* @param {string} source
|
|
1513
1408
|
* @param {string} destination
|
|
1514
1409
|
* @param {*} [options] Override http request option.
|
|
1515
1410
|
* @throws {RequiredError}
|
|
1516
1411
|
* @memberof DefaultApi
|
|
1517
1412
|
*/
|
|
1518
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
1413
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1519
1414
|
/**
|
|
1520
1415
|
*
|
|
1521
1416
|
* @param {string} workspaceId
|
|
@@ -1526,16 +1421,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1526
1421
|
*/
|
|
1527
1422
|
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1528
1423
|
/**
|
|
1529
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1424
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1530
1425
|
* @summary Replace in files
|
|
1531
1426
|
* @param {string} workspaceId
|
|
1532
|
-
* @param {string} projectId
|
|
1533
1427
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1534
1428
|
* @param {*} [options] Override http request option.
|
|
1535
1429
|
* @throws {RequiredError}
|
|
1536
1430
|
* @memberof DefaultApi
|
|
1537
1431
|
*/
|
|
1538
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
1432
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1539
1433
|
/**
|
|
1540
1434
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1541
1435
|
* @summary Replace workspace labels
|
|
@@ -1547,22 +1441,20 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1547
1441
|
*/
|
|
1548
1442
|
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabelsDto, any>>;
|
|
1549
1443
|
/**
|
|
1550
|
-
* Search for files inside workspace
|
|
1444
|
+
* Search for files inside workspace
|
|
1551
1445
|
* @summary Search files
|
|
1552
1446
|
* @param {string} workspaceId
|
|
1553
|
-
* @param {string} projectId
|
|
1554
1447
|
* @param {string} path
|
|
1555
1448
|
* @param {string} pattern
|
|
1556
1449
|
* @param {*} [options] Override http request option.
|
|
1557
1450
|
* @throws {RequiredError}
|
|
1558
1451
|
* @memberof DefaultApi
|
|
1559
1452
|
*/
|
|
1560
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
1453
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1561
1454
|
/**
|
|
1562
|
-
* Set file owner/group/permissions inside workspace
|
|
1455
|
+
* Set file owner/group/permissions inside workspace
|
|
1563
1456
|
* @summary Set file permissions
|
|
1564
1457
|
* @param {string} workspaceId
|
|
1565
|
-
* @param {string} projectId
|
|
1566
1458
|
* @param {string} path
|
|
1567
1459
|
* @param {string} owner
|
|
1568
1460
|
* @param {string} group
|
|
@@ -1571,16 +1463,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1571
1463
|
* @throws {RequiredError}
|
|
1572
1464
|
* @memberof DefaultApi
|
|
1573
1465
|
*/
|
|
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>>;
|
|
1466
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1584
1467
|
/**
|
|
1585
1468
|
*
|
|
1586
1469
|
* @param {string} workspaceId
|
|
@@ -1592,30 +1475,30 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1592
1475
|
/**
|
|
1593
1476
|
*
|
|
1594
1477
|
* @param {string} workspaceId
|
|
1595
|
-
* @param {string} projectId
|
|
1596
1478
|
* @param {*} [options] Override http request option.
|
|
1597
1479
|
* @throws {RequiredError}
|
|
1598
1480
|
* @memberof DefaultApi
|
|
1599
1481
|
*/
|
|
1600
|
-
|
|
1482
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1601
1483
|
/**
|
|
1602
|
-
*
|
|
1603
|
-
* @
|
|
1484
|
+
* Change public preview status of a workspace
|
|
1485
|
+
* @summary Change public preview status
|
|
1486
|
+
* @param {string} workspaceId ID of the workspace
|
|
1487
|
+
* @param {boolean} isPublic Public status to set
|
|
1604
1488
|
* @param {*} [options] Override http request option.
|
|
1605
1489
|
* @throws {RequiredError}
|
|
1606
1490
|
* @memberof DefaultApi
|
|
1607
1491
|
*/
|
|
1608
|
-
|
|
1492
|
+
workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1609
1493
|
/**
|
|
1610
|
-
* Upload file inside workspace
|
|
1494
|
+
* Upload file inside workspace
|
|
1611
1495
|
* @summary Upload file
|
|
1612
1496
|
* @param {string} workspaceId
|
|
1613
|
-
* @param {string} projectId
|
|
1614
1497
|
* @param {string} path
|
|
1615
1498
|
* @param {File} [file]
|
|
1616
1499
|
* @param {*} [options] Override http request option.
|
|
1617
1500
|
* @throws {RequiredError}
|
|
1618
1501
|
* @memberof DefaultApi
|
|
1619
1502
|
*/
|
|
1620
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
1503
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1621
1504
|
}
|