@daytonaio/api-client 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,74 +32,6 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
32
32
  */
33
33
  export const ToolboxApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
- /**
36
- *
37
- * @summary Get workspace project dir
38
- * @param {string} workspaceId
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- getProjectDir: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
43
- // verify required parameter 'workspaceId' is not null or undefined
44
- assertParamExists('getProjectDir', 'workspaceId', workspaceId);
45
- const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
46
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
47
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
- let baseOptions;
50
- if (configuration) {
51
- baseOptions = configuration.baseOptions;
52
- }
53
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
54
- const localVarHeaderParameter = {};
55
- const localVarQueryParameter = {};
56
- // authentication oauth2 required
57
- // oauth required
58
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
59
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
- return {
63
- url: toPathString(localVarUrlObj),
64
- options: localVarRequestOptions,
65
- };
66
- }),
67
- /**
68
- *
69
- * @summary List files
70
- * @param {string} workspaceId
71
- * @param {string} [path]
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- listFiles: (workspaceId_2, path_1, ...args_2) => __awaiter(this, [workspaceId_2, path_1, ...args_2], void 0, function* (workspaceId, path, options = {}) {
76
- // verify required parameter 'workspaceId' is not null or undefined
77
- assertParamExists('listFiles', 'workspaceId', workspaceId);
78
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
79
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
80
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
81
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
82
- let baseOptions;
83
- if (configuration) {
84
- baseOptions = configuration.baseOptions;
85
- }
86
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
87
- const localVarHeaderParameter = {};
88
- const localVarQueryParameter = {};
89
- // authentication oauth2 required
90
- // oauth required
91
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
92
- if (path !== undefined) {
93
- localVarQueryParameter['path'] = path;
94
- }
95
- setSearchParams(localVarUrlObj, localVarQueryParameter);
96
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
- return {
99
- url: toPathString(localVarUrlObj),
100
- options: localVarRequestOptions,
101
- };
102
- }),
103
35
  /**
104
36
  * Create folder inside workspace
105
37
  * @summary Create folder
@@ -109,13 +41,13 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
109
41
  * @param {*} [options] Override http request option.
110
42
  * @throws {RequiredError}
111
43
  */
112
- toolboxControllerCreateFolder: (workspaceId_3, path_2, mode_1, ...args_3) => __awaiter(this, [workspaceId_3, path_2, mode_1, ...args_3], void 0, function* (workspaceId, path, mode, options = {}) {
44
+ createFolder: (workspaceId_1, path_1, mode_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, mode_1, ...args_1], void 0, function* (workspaceId, path, mode, options = {}) {
113
45
  // verify required parameter 'workspaceId' is not null or undefined
114
- assertParamExists('toolboxControllerCreateFolder', 'workspaceId', workspaceId);
46
+ assertParamExists('createFolder', 'workspaceId', workspaceId);
115
47
  // verify required parameter 'path' is not null or undefined
116
- assertParamExists('toolboxControllerCreateFolder', 'path', path);
48
+ assertParamExists('createFolder', 'path', path);
117
49
  // verify required parameter 'mode' is not null or undefined
118
- assertParamExists('toolboxControllerCreateFolder', 'mode', mode);
50
+ assertParamExists('createFolder', 'mode', mode);
119
51
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`
120
52
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
121
53
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -152,11 +84,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
152
84
  * @param {*} [options] Override http request option.
153
85
  * @throws {RequiredError}
154
86
  */
155
- toolboxControllerDeleteFile: (workspaceId_4, path_3, ...args_4) => __awaiter(this, [workspaceId_4, path_3, ...args_4], void 0, function* (workspaceId, path, options = {}) {
87
+ deleteFile: (workspaceId_2, path_2, ...args_2) => __awaiter(this, [workspaceId_2, path_2, ...args_2], void 0, function* (workspaceId, path, options = {}) {
156
88
  // verify required parameter 'workspaceId' is not null or undefined
157
- assertParamExists('toolboxControllerDeleteFile', 'workspaceId', workspaceId);
89
+ assertParamExists('deleteFile', 'workspaceId', workspaceId);
158
90
  // verify required parameter 'path' is not null or undefined
159
- assertParamExists('toolboxControllerDeleteFile', 'path', path);
91
+ assertParamExists('deleteFile', 'path', path);
160
92
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
161
93
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
162
94
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -190,11 +122,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
190
122
  * @param {*} [options] Override http request option.
191
123
  * @throws {RequiredError}
192
124
  */
193
- toolboxControllerDownloadFile: (workspaceId_5, path_4, ...args_5) => __awaiter(this, [workspaceId_5, path_4, ...args_5], void 0, function* (workspaceId, path, options = {}) {
125
+ downloadFile: (workspaceId_3, path_3, ...args_3) => __awaiter(this, [workspaceId_3, path_3, ...args_3], void 0, function* (workspaceId, path, options = {}) {
194
126
  // verify required parameter 'workspaceId' is not null or undefined
195
- assertParamExists('toolboxControllerDownloadFile', 'workspaceId', workspaceId);
127
+ assertParamExists('downloadFile', 'workspaceId', workspaceId);
196
128
  // verify required parameter 'path' is not null or undefined
197
- assertParamExists('toolboxControllerDownloadFile', 'path', path);
129
+ assertParamExists('downloadFile', 'path', path);
198
130
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`
199
131
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
200
132
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -228,11 +160,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
228
160
  * @param {*} [options] Override http request option.
229
161
  * @throws {RequiredError}
230
162
  */
231
- toolboxControllerExecuteCommand: (workspaceId_6, executeRequestDto_1, ...args_6) => __awaiter(this, [workspaceId_6, executeRequestDto_1, ...args_6], void 0, function* (workspaceId, executeRequestDto, options = {}) {
163
+ executeCommand: (workspaceId_4, executeRequestDto_1, ...args_4) => __awaiter(this, [workspaceId_4, executeRequestDto_1, ...args_4], void 0, function* (workspaceId, executeRequestDto, options = {}) {
232
164
  // verify required parameter 'workspaceId' is not null or undefined
233
- assertParamExists('toolboxControllerExecuteCommand', 'workspaceId', workspaceId);
165
+ assertParamExists('executeCommand', 'workspaceId', workspaceId);
234
166
  // verify required parameter 'executeRequestDto' is not null or undefined
235
- assertParamExists('toolboxControllerExecuteCommand', 'executeRequestDto', executeRequestDto);
167
+ assertParamExists('executeCommand', 'executeRequestDto', executeRequestDto);
236
168
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`
237
169
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
238
170
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -266,13 +198,13 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
266
198
  * @param {*} [options] Override http request option.
267
199
  * @throws {RequiredError}
268
200
  */
269
- toolboxControllerFindInFiles: (workspaceId_7, path_5, pattern_1, ...args_7) => __awaiter(this, [workspaceId_7, path_5, pattern_1, ...args_7], void 0, function* (workspaceId, path, pattern, options = {}) {
201
+ findInFiles: (workspaceId_5, path_4, pattern_1, ...args_5) => __awaiter(this, [workspaceId_5, path_4, pattern_1, ...args_5], void 0, function* (workspaceId, path, pattern, options = {}) {
270
202
  // verify required parameter 'workspaceId' is not null or undefined
271
- assertParamExists('toolboxControllerFindInFiles', 'workspaceId', workspaceId);
203
+ assertParamExists('findInFiles', 'workspaceId', workspaceId);
272
204
  // verify required parameter 'path' is not null or undefined
273
- assertParamExists('toolboxControllerFindInFiles', 'path', path);
205
+ assertParamExists('findInFiles', 'path', path);
274
206
  // verify required parameter 'pattern' is not null or undefined
275
- assertParamExists('toolboxControllerFindInFiles', 'pattern', pattern);
207
+ assertParamExists('findInFiles', 'pattern', pattern);
276
208
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`
277
209
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
278
210
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -309,11 +241,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
309
241
  * @param {*} [options] Override http request option.
310
242
  * @throws {RequiredError}
311
243
  */
312
- toolboxControllerGetFileInfo: (workspaceId_8, path_6, ...args_8) => __awaiter(this, [workspaceId_8, path_6, ...args_8], void 0, function* (workspaceId, path, options = {}) {
244
+ getFileInfo: (workspaceId_6, path_5, ...args_6) => __awaiter(this, [workspaceId_6, path_5, ...args_6], void 0, function* (workspaceId, path, options = {}) {
313
245
  // verify required parameter 'workspaceId' is not null or undefined
314
- assertParamExists('toolboxControllerGetFileInfo', 'workspaceId', workspaceId);
246
+ assertParamExists('getFileInfo', 'workspaceId', workspaceId);
315
247
  // verify required parameter 'path' is not null or undefined
316
- assertParamExists('toolboxControllerGetFileInfo', 'path', path);
248
+ assertParamExists('getFileInfo', 'path', path);
317
249
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`
318
250
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
319
251
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -340,19 +272,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
340
272
  };
341
273
  }),
342
274
  /**
343
- * Add files to git commit
344
- * @summary Add files
275
+ *
276
+ * @summary Get workspace project dir
345
277
  * @param {string} workspaceId
346
- * @param {GitAddRequestDto} gitAddRequestDto
347
278
  * @param {*} [options] Override http request option.
348
279
  * @throws {RequiredError}
349
280
  */
350
- toolboxControllerGitAddFiles: (workspaceId_9, gitAddRequestDto_1, ...args_9) => __awaiter(this, [workspaceId_9, gitAddRequestDto_1, ...args_9], void 0, function* (workspaceId, gitAddRequestDto, options = {}) {
281
+ getProjectDir: (workspaceId_7, ...args_7) => __awaiter(this, [workspaceId_7, ...args_7], void 0, function* (workspaceId, options = {}) {
351
282
  // verify required parameter 'workspaceId' is not null or undefined
352
- assertParamExists('toolboxControllerGitAddFiles', 'workspaceId', workspaceId);
353
- // verify required parameter 'gitAddRequestDto' is not null or undefined
354
- assertParamExists('toolboxControllerGitAddFiles', 'gitAddRequestDto', gitAddRequestDto);
355
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
283
+ assertParamExists('getProjectDir', 'workspaceId', workspaceId);
284
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
356
285
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
357
286
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
358
287
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -360,36 +289,34 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
360
289
  if (configuration) {
361
290
  baseOptions = configuration.baseOptions;
362
291
  }
363
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
364
293
  const localVarHeaderParameter = {};
365
294
  const localVarQueryParameter = {};
366
295
  // authentication oauth2 required
367
296
  // oauth required
368
297
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
369
- localVarHeaderParameter['Content-Type'] = 'application/json';
370
298
  setSearchParams(localVarUrlObj, localVarQueryParameter);
371
299
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
372
300
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
373
- localVarRequestOptions.data = serializeDataIfNeeded(gitAddRequestDto, localVarRequestOptions, configuration);
374
301
  return {
375
302
  url: toPathString(localVarUrlObj),
376
303
  options: localVarRequestOptions,
377
304
  };
378
305
  }),
379
306
  /**
380
- * Get branch list from git repository
381
- * @summary Get branch list
307
+ * Add files to git commit
308
+ * @summary Add files
382
309
  * @param {string} workspaceId
383
- * @param {string} path
310
+ * @param {GitAddRequestDto} gitAddRequestDto
384
311
  * @param {*} [options] Override http request option.
385
312
  * @throws {RequiredError}
386
313
  */
387
- toolboxControllerGitBranchList: (workspaceId_10, path_7, ...args_10) => __awaiter(this, [workspaceId_10, path_7, ...args_10], void 0, function* (workspaceId, path, options = {}) {
314
+ gitAddFiles: (workspaceId_8, gitAddRequestDto_1, ...args_8) => __awaiter(this, [workspaceId_8, gitAddRequestDto_1, ...args_8], void 0, function* (workspaceId, gitAddRequestDto, options = {}) {
388
315
  // verify required parameter 'workspaceId' is not null or undefined
389
- assertParamExists('toolboxControllerGitBranchList', 'workspaceId', workspaceId);
390
- // verify required parameter 'path' is not null or undefined
391
- assertParamExists('toolboxControllerGitBranchList', 'path', path);
392
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
316
+ assertParamExists('gitAddFiles', 'workspaceId', workspaceId);
317
+ // verify required parameter 'gitAddRequestDto' is not null or undefined
318
+ assertParamExists('gitAddFiles', 'gitAddRequestDto', gitAddRequestDto);
319
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
393
320
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
394
321
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
395
322
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -397,18 +324,17 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
397
324
  if (configuration) {
398
325
  baseOptions = configuration.baseOptions;
399
326
  }
400
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
327
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
401
328
  const localVarHeaderParameter = {};
402
329
  const localVarQueryParameter = {};
403
330
  // authentication oauth2 required
404
331
  // oauth required
405
332
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
406
- if (path !== undefined) {
407
- localVarQueryParameter['path'] = path;
408
- }
333
+ localVarHeaderParameter['Content-Type'] = 'application/json';
409
334
  setSearchParams(localVarUrlObj, localVarQueryParameter);
410
335
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
411
336
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
337
+ localVarRequestOptions.data = serializeDataIfNeeded(gitAddRequestDto, localVarRequestOptions, configuration);
412
338
  return {
413
339
  url: toPathString(localVarUrlObj),
414
340
  options: localVarRequestOptions,
@@ -422,11 +348,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
422
348
  * @param {*} [options] Override http request option.
423
349
  * @throws {RequiredError}
424
350
  */
425
- toolboxControllerGitCloneRepository: (workspaceId_11, gitCloneRequestDto_1, ...args_11) => __awaiter(this, [workspaceId_11, gitCloneRequestDto_1, ...args_11], void 0, function* (workspaceId, gitCloneRequestDto, options = {}) {
351
+ gitCloneRepository: (workspaceId_9, gitCloneRequestDto_1, ...args_9) => __awaiter(this, [workspaceId_9, gitCloneRequestDto_1, ...args_9], void 0, function* (workspaceId, gitCloneRequestDto, options = {}) {
426
352
  // verify required parameter 'workspaceId' is not null or undefined
427
- assertParamExists('toolboxControllerGitCloneRepository', 'workspaceId', workspaceId);
353
+ assertParamExists('gitCloneRepository', 'workspaceId', workspaceId);
428
354
  // verify required parameter 'gitCloneRequestDto' is not null or undefined
429
- assertParamExists('toolboxControllerGitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto);
355
+ assertParamExists('gitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto);
430
356
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`
431
357
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
432
358
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -459,11 +385,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
459
385
  * @param {*} [options] Override http request option.
460
386
  * @throws {RequiredError}
461
387
  */
462
- toolboxControllerGitCommitChanges: (workspaceId_12, gitCommitRequestDto_1, ...args_12) => __awaiter(this, [workspaceId_12, gitCommitRequestDto_1, ...args_12], void 0, function* (workspaceId, gitCommitRequestDto, options = {}) {
388
+ gitCommitChanges: (workspaceId_10, gitCommitRequestDto_1, ...args_10) => __awaiter(this, [workspaceId_10, gitCommitRequestDto_1, ...args_10], void 0, function* (workspaceId, gitCommitRequestDto, options = {}) {
463
389
  // verify required parameter 'workspaceId' is not null or undefined
464
- assertParamExists('toolboxControllerGitCommitChanges', 'workspaceId', workspaceId);
390
+ assertParamExists('gitCommitChanges', 'workspaceId', workspaceId);
465
391
  // verify required parameter 'gitCommitRequestDto' is not null or undefined
466
- assertParamExists('toolboxControllerGitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto);
392
+ assertParamExists('gitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto);
467
393
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`
468
394
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
469
395
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -488,6 +414,43 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
488
414
  options: localVarRequestOptions,
489
415
  };
490
416
  }),
417
+ /**
418
+ * Create branch on git repository
419
+ * @summary Create branch
420
+ * @param {string} workspaceId
421
+ * @param {GitBranchRequestDto} gitBranchRequestDto
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ gitCreateBranch: (workspaceId_11, gitBranchRequestDto_1, ...args_11) => __awaiter(this, [workspaceId_11, gitBranchRequestDto_1, ...args_11], void 0, function* (workspaceId, gitBranchRequestDto, options = {}) {
426
+ // verify required parameter 'workspaceId' is not null or undefined
427
+ assertParamExists('gitCreateBranch', 'workspaceId', workspaceId);
428
+ // verify required parameter 'gitBranchRequestDto' is not null or undefined
429
+ assertParamExists('gitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto);
430
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
431
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
432
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
433
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
434
+ let baseOptions;
435
+ if (configuration) {
436
+ baseOptions = configuration.baseOptions;
437
+ }
438
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
439
+ const localVarHeaderParameter = {};
440
+ const localVarQueryParameter = {};
441
+ // authentication oauth2 required
442
+ // oauth required
443
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
444
+ localVarHeaderParameter['Content-Type'] = 'application/json';
445
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
446
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
447
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
448
+ localVarRequestOptions.data = serializeDataIfNeeded(gitBranchRequestDto, localVarRequestOptions, configuration);
449
+ return {
450
+ url: toPathString(localVarUrlObj),
451
+ options: localVarRequestOptions,
452
+ };
453
+ }),
491
454
  /**
492
455
  * Get commit history from git repository
493
456
  * @summary Get commit history
@@ -496,11 +459,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
496
459
  * @param {*} [options] Override http request option.
497
460
  * @throws {RequiredError}
498
461
  */
499
- toolboxControllerGitCommitHistory: (workspaceId_13, path_8, ...args_13) => __awaiter(this, [workspaceId_13, path_8, ...args_13], void 0, function* (workspaceId, path, options = {}) {
462
+ gitGetHistory: (workspaceId_12, path_6, ...args_12) => __awaiter(this, [workspaceId_12, path_6, ...args_12], void 0, function* (workspaceId, path, options = {}) {
500
463
  // verify required parameter 'workspaceId' is not null or undefined
501
- assertParamExists('toolboxControllerGitCommitHistory', 'workspaceId', workspaceId);
464
+ assertParamExists('gitGetHistory', 'workspaceId', workspaceId);
502
465
  // verify required parameter 'path' is not null or undefined
503
- assertParamExists('toolboxControllerGitCommitHistory', 'path', path);
466
+ assertParamExists('gitGetHistory', 'path', path);
504
467
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`
505
468
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
506
469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -527,18 +490,56 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
527
490
  };
528
491
  }),
529
492
  /**
530
- * Create branch on git repository
531
- * @summary Create branch
493
+ * Get status from git repository
494
+ * @summary Get git status
532
495
  * @param {string} workspaceId
533
- * @param {GitBranchRequestDto} gitBranchRequestDto
496
+ * @param {string} path
534
497
  * @param {*} [options] Override http request option.
535
498
  * @throws {RequiredError}
536
499
  */
537
- toolboxControllerGitCreateBranch: (workspaceId_14, gitBranchRequestDto_1, ...args_14) => __awaiter(this, [workspaceId_14, gitBranchRequestDto_1, ...args_14], void 0, function* (workspaceId, gitBranchRequestDto, options = {}) {
500
+ gitGetStatus: (workspaceId_13, path_7, ...args_13) => __awaiter(this, [workspaceId_13, path_7, ...args_13], void 0, function* (workspaceId, path, options = {}) {
538
501
  // verify required parameter 'workspaceId' is not null or undefined
539
- assertParamExists('toolboxControllerGitCreateBranch', 'workspaceId', workspaceId);
540
- // verify required parameter 'gitBranchRequestDto' is not null or undefined
541
- assertParamExists('toolboxControllerGitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto);
502
+ assertParamExists('gitGetStatus', 'workspaceId', workspaceId);
503
+ // verify required parameter 'path' is not null or undefined
504
+ assertParamExists('gitGetStatus', 'path', path);
505
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
506
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) {
511
+ baseOptions = configuration.baseOptions;
512
+ }
513
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
514
+ const localVarHeaderParameter = {};
515
+ const localVarQueryParameter = {};
516
+ // authentication oauth2 required
517
+ // oauth required
518
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
519
+ if (path !== undefined) {
520
+ localVarQueryParameter['path'] = path;
521
+ }
522
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
523
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
524
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
525
+ return {
526
+ url: toPathString(localVarUrlObj),
527
+ options: localVarRequestOptions,
528
+ };
529
+ }),
530
+ /**
531
+ * Get branch list from git repository
532
+ * @summary Get branch list
533
+ * @param {string} workspaceId
534
+ * @param {string} path
535
+ * @param {*} [options] Override http request option.
536
+ * @throws {RequiredError}
537
+ */
538
+ gitListBranches: (workspaceId_14, path_8, ...args_14) => __awaiter(this, [workspaceId_14, path_8, ...args_14], void 0, function* (workspaceId, path, options = {}) {
539
+ // verify required parameter 'workspaceId' is not null or undefined
540
+ assertParamExists('gitListBranches', 'workspaceId', workspaceId);
541
+ // verify required parameter 'path' is not null or undefined
542
+ assertParamExists('gitListBranches', 'path', path);
542
543
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
543
544
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
544
545
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -547,17 +548,18 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
547
548
  if (configuration) {
548
549
  baseOptions = configuration.baseOptions;
549
550
  }
550
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
551
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
551
552
  const localVarHeaderParameter = {};
552
553
  const localVarQueryParameter = {};
553
554
  // authentication oauth2 required
554
555
  // oauth required
555
556
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
556
- localVarHeaderParameter['Content-Type'] = 'application/json';
557
+ if (path !== undefined) {
558
+ localVarQueryParameter['path'] = path;
559
+ }
557
560
  setSearchParams(localVarUrlObj, localVarQueryParameter);
558
561
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
559
562
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
560
- localVarRequestOptions.data = serializeDataIfNeeded(gitBranchRequestDto, localVarRequestOptions, configuration);
561
563
  return {
562
564
  url: toPathString(localVarUrlObj),
563
565
  options: localVarRequestOptions,
@@ -571,11 +573,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
571
573
  * @param {*} [options] Override http request option.
572
574
  * @throws {RequiredError}
573
575
  */
574
- toolboxControllerGitPullChanges: (workspaceId_15, gitRepoRequestDto_1, ...args_15) => __awaiter(this, [workspaceId_15, gitRepoRequestDto_1, ...args_15], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
576
+ gitPullChanges: (workspaceId_15, gitRepoRequestDto_1, ...args_15) => __awaiter(this, [workspaceId_15, gitRepoRequestDto_1, ...args_15], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
575
577
  // verify required parameter 'workspaceId' is not null or undefined
576
- assertParamExists('toolboxControllerGitPullChanges', 'workspaceId', workspaceId);
578
+ assertParamExists('gitPullChanges', 'workspaceId', workspaceId);
577
579
  // verify required parameter 'gitRepoRequestDto' is not null or undefined
578
- assertParamExists('toolboxControllerGitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto);
580
+ assertParamExists('gitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto);
579
581
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`
580
582
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
581
583
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -608,11 +610,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
608
610
  * @param {*} [options] Override http request option.
609
611
  * @throws {RequiredError}
610
612
  */
611
- toolboxControllerGitPushChanges: (workspaceId_16, gitRepoRequestDto_2, ...args_16) => __awaiter(this, [workspaceId_16, gitRepoRequestDto_2, ...args_16], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
613
+ gitPushChanges: (workspaceId_16, gitRepoRequestDto_2, ...args_16) => __awaiter(this, [workspaceId_16, gitRepoRequestDto_2, ...args_16], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
612
614
  // verify required parameter 'workspaceId' is not null or undefined
613
- assertParamExists('toolboxControllerGitPushChanges', 'workspaceId', workspaceId);
615
+ assertParamExists('gitPushChanges', 'workspaceId', workspaceId);
614
616
  // verify required parameter 'gitRepoRequestDto' is not null or undefined
615
- assertParamExists('toolboxControllerGitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto);
617
+ assertParamExists('gitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto);
616
618
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`
617
619
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
618
620
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -638,19 +640,17 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
638
640
  };
639
641
  }),
640
642
  /**
641
- * Get status from git repository
642
- * @summary Get git status
643
+ *
644
+ * @summary List files
643
645
  * @param {string} workspaceId
644
- * @param {string} path
646
+ * @param {string} [path]
645
647
  * @param {*} [options] Override http request option.
646
648
  * @throws {RequiredError}
647
649
  */
648
- toolboxControllerGitStatus: (workspaceId_17, path_9, ...args_17) => __awaiter(this, [workspaceId_17, path_9, ...args_17], void 0, function* (workspaceId, path, options = {}) {
650
+ listFiles: (workspaceId_17, path_9, ...args_17) => __awaiter(this, [workspaceId_17, path_9, ...args_17], void 0, function* (workspaceId, path, options = {}) {
649
651
  // verify required parameter 'workspaceId' is not null or undefined
650
- assertParamExists('toolboxControllerGitStatus', 'workspaceId', workspaceId);
651
- // verify required parameter 'path' is not null or undefined
652
- assertParamExists('toolboxControllerGitStatus', 'path', path);
653
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
652
+ assertParamExists('listFiles', 'workspaceId', workspaceId);
653
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
654
654
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
655
655
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
656
656
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -684,13 +684,13 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
684
684
  * @param {*} [options] Override http request option.
685
685
  * @throws {RequiredError}
686
686
  */
687
- toolboxControllerMoveFile: (workspaceId_18, source_1, destination_1, ...args_18) => __awaiter(this, [workspaceId_18, source_1, destination_1, ...args_18], void 0, function* (workspaceId, source, destination, options = {}) {
687
+ moveFile: (workspaceId_18, source_1, destination_1, ...args_18) => __awaiter(this, [workspaceId_18, source_1, destination_1, ...args_18], void 0, function* (workspaceId, source, destination, options = {}) {
688
688
  // verify required parameter 'workspaceId' is not null or undefined
689
- assertParamExists('toolboxControllerMoveFile', 'workspaceId', workspaceId);
689
+ assertParamExists('moveFile', 'workspaceId', workspaceId);
690
690
  // verify required parameter 'source' is not null or undefined
691
- assertParamExists('toolboxControllerMoveFile', 'source', source);
691
+ assertParamExists('moveFile', 'source', source);
692
692
  // verify required parameter 'destination' is not null or undefined
693
- assertParamExists('toolboxControllerMoveFile', 'destination', destination);
693
+ assertParamExists('moveFile', 'destination', destination);
694
694
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`
695
695
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
696
696
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -727,11 +727,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
727
727
  * @param {*} [options] Override http request option.
728
728
  * @throws {RequiredError}
729
729
  */
730
- toolboxControllerReplaceInFiles: (workspaceId_19, replaceRequestDto_1, ...args_19) => __awaiter(this, [workspaceId_19, replaceRequestDto_1, ...args_19], void 0, function* (workspaceId, replaceRequestDto, options = {}) {
730
+ replaceInFiles: (workspaceId_19, replaceRequestDto_1, ...args_19) => __awaiter(this, [workspaceId_19, replaceRequestDto_1, ...args_19], void 0, function* (workspaceId, replaceRequestDto, options = {}) {
731
731
  // verify required parameter 'workspaceId' is not null or undefined
732
- assertParamExists('toolboxControllerReplaceInFiles', 'workspaceId', workspaceId);
732
+ assertParamExists('replaceInFiles', 'workspaceId', workspaceId);
733
733
  // verify required parameter 'replaceRequestDto' is not null or undefined
734
- assertParamExists('toolboxControllerReplaceInFiles', 'replaceRequestDto', replaceRequestDto);
734
+ assertParamExists('replaceInFiles', 'replaceRequestDto', replaceRequestDto);
735
735
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`
736
736
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
737
737
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -765,13 +765,13 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
765
765
  * @param {*} [options] Override http request option.
766
766
  * @throws {RequiredError}
767
767
  */
768
- toolboxControllerSearchFiles: (workspaceId_20, path_10, pattern_2, ...args_20) => __awaiter(this, [workspaceId_20, path_10, pattern_2, ...args_20], void 0, function* (workspaceId, path, pattern, options = {}) {
768
+ searchFiles: (workspaceId_20, path_10, pattern_2, ...args_20) => __awaiter(this, [workspaceId_20, path_10, pattern_2, ...args_20], void 0, function* (workspaceId, path, pattern, options = {}) {
769
769
  // verify required parameter 'workspaceId' is not null or undefined
770
- assertParamExists('toolboxControllerSearchFiles', 'workspaceId', workspaceId);
770
+ assertParamExists('searchFiles', 'workspaceId', workspaceId);
771
771
  // verify required parameter 'path' is not null or undefined
772
- assertParamExists('toolboxControllerSearchFiles', 'path', path);
772
+ assertParamExists('searchFiles', 'path', path);
773
773
  // verify required parameter 'pattern' is not null or undefined
774
- assertParamExists('toolboxControllerSearchFiles', 'pattern', pattern);
774
+ assertParamExists('searchFiles', 'pattern', pattern);
775
775
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`
776
776
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
777
777
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -811,17 +811,17 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
811
811
  * @param {*} [options] Override http request option.
812
812
  * @throws {RequiredError}
813
813
  */
814
- toolboxControllerSetFilePermissions: (workspaceId_21, path_11, owner_1, group_1, mode_2, ...args_21) => __awaiter(this, [workspaceId_21, path_11, owner_1, group_1, mode_2, ...args_21], void 0, function* (workspaceId, path, owner, group, mode, options = {}) {
814
+ setFilePermissions: (workspaceId_21, path_11, owner_1, group_1, mode_2, ...args_21) => __awaiter(this, [workspaceId_21, path_11, owner_1, group_1, mode_2, ...args_21], void 0, function* (workspaceId, path, owner, group, mode, options = {}) {
815
815
  // verify required parameter 'workspaceId' is not null or undefined
816
- assertParamExists('toolboxControllerSetFilePermissions', 'workspaceId', workspaceId);
816
+ assertParamExists('setFilePermissions', 'workspaceId', workspaceId);
817
817
  // verify required parameter 'path' is not null or undefined
818
- assertParamExists('toolboxControllerSetFilePermissions', 'path', path);
818
+ assertParamExists('setFilePermissions', 'path', path);
819
819
  // verify required parameter 'owner' is not null or undefined
820
- assertParamExists('toolboxControllerSetFilePermissions', 'owner', owner);
820
+ assertParamExists('setFilePermissions', 'owner', owner);
821
821
  // verify required parameter 'group' is not null or undefined
822
- assertParamExists('toolboxControllerSetFilePermissions', 'group', group);
822
+ assertParamExists('setFilePermissions', 'group', group);
823
823
  // verify required parameter 'mode' is not null or undefined
824
- assertParamExists('toolboxControllerSetFilePermissions', 'mode', mode);
824
+ assertParamExists('setFilePermissions', 'mode', mode);
825
825
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`
826
826
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
827
827
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -865,11 +865,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
865
865
  * @param {*} [options] Override http request option.
866
866
  * @throws {RequiredError}
867
867
  */
868
- toolboxControllerUploadFile: (workspaceId_22, path_12, file_1, ...args_22) => __awaiter(this, [workspaceId_22, path_12, file_1, ...args_22], void 0, function* (workspaceId, path, file, options = {}) {
868
+ uploadFile: (workspaceId_22, path_12, file_1, ...args_22) => __awaiter(this, [workspaceId_22, path_12, file_1, ...args_22], void 0, function* (workspaceId, path, file, options = {}) {
869
869
  // verify required parameter 'workspaceId' is not null or undefined
870
- assertParamExists('toolboxControllerUploadFile', 'workspaceId', workspaceId);
870
+ assertParamExists('uploadFile', 'workspaceId', workspaceId);
871
871
  // verify required parameter 'path' is not null or undefined
872
- assertParamExists('toolboxControllerUploadFile', 'path', path);
872
+ assertParamExists('uploadFile', 'path', path);
873
873
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`
874
874
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
875
875
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -910,39 +910,6 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
910
910
  export const ToolboxApiFp = function (configuration) {
911
911
  const localVarAxiosParamCreator = ToolboxApiAxiosParamCreator(configuration);
912
912
  return {
913
- /**
914
- *
915
- * @summary Get workspace project dir
916
- * @param {string} workspaceId
917
- * @param {*} [options] Override http request option.
918
- * @throws {RequiredError}
919
- */
920
- getProjectDir(workspaceId, options) {
921
- return __awaiter(this, void 0, void 0, function* () {
922
- var _a, _b, _c;
923
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, options);
924
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
925
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
926
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
927
- });
928
- },
929
- /**
930
- *
931
- * @summary List files
932
- * @param {string} workspaceId
933
- * @param {string} [path]
934
- * @param {*} [options] Override http request option.
935
- * @throws {RequiredError}
936
- */
937
- listFiles(workspaceId, path, options) {
938
- return __awaiter(this, void 0, void 0, function* () {
939
- var _a, _b, _c;
940
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, path, options);
941
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
942
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
943
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
944
- });
945
- },
946
913
  /**
947
914
  * Create folder inside workspace
948
915
  * @summary Create folder
@@ -952,12 +919,12 @@ export const ToolboxApiFp = function (configuration) {
952
919
  * @param {*} [options] Override http request option.
953
920
  * @throws {RequiredError}
954
921
  */
955
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
922
+ createFolder(workspaceId, path, mode, options) {
956
923
  return __awaiter(this, void 0, void 0, function* () {
957
924
  var _a, _b, _c;
958
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerCreateFolder(workspaceId, path, mode, options);
925
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createFolder(workspaceId, path, mode, options);
959
926
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
960
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerCreateFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
927
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
961
928
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
962
929
  });
963
930
  },
@@ -969,12 +936,12 @@ export const ToolboxApiFp = function (configuration) {
969
936
  * @param {*} [options] Override http request option.
970
937
  * @throws {RequiredError}
971
938
  */
972
- toolboxControllerDeleteFile(workspaceId, path, options) {
939
+ deleteFile(workspaceId, path, options) {
973
940
  return __awaiter(this, void 0, void 0, function* () {
974
941
  var _a, _b, _c;
975
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerDeleteFile(workspaceId, path, options);
942
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(workspaceId, path, options);
976
943
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
977
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerDeleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
944
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
978
945
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
979
946
  });
980
947
  },
@@ -986,12 +953,12 @@ export const ToolboxApiFp = function (configuration) {
986
953
  * @param {*} [options] Override http request option.
987
954
  * @throws {RequiredError}
988
955
  */
989
- toolboxControllerDownloadFile(workspaceId, path, options) {
956
+ downloadFile(workspaceId, path, options) {
990
957
  return __awaiter(this, void 0, void 0, function* () {
991
958
  var _a, _b, _c;
992
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerDownloadFile(workspaceId, path, options);
959
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(workspaceId, path, options);
993
960
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
994
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerDownloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
961
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
995
962
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
996
963
  });
997
964
  },
@@ -1003,12 +970,12 @@ export const ToolboxApiFp = function (configuration) {
1003
970
  * @param {*} [options] Override http request option.
1004
971
  * @throws {RequiredError}
1005
972
  */
1006
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
973
+ executeCommand(workspaceId, executeRequestDto, options) {
1007
974
  return __awaiter(this, void 0, void 0, function* () {
1008
975
  var _a, _b, _c;
1009
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options);
976
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequestDto, options);
1010
977
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1011
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerExecuteCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
978
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1012
979
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1013
980
  });
1014
981
  },
@@ -1021,12 +988,12 @@ export const ToolboxApiFp = function (configuration) {
1021
988
  * @param {*} [options] Override http request option.
1022
989
  * @throws {RequiredError}
1023
990
  */
1024
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
991
+ findInFiles(workspaceId, path, pattern, options) {
1025
992
  return __awaiter(this, void 0, void 0, function* () {
1026
993
  var _a, _b, _c;
1027
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerFindInFiles(workspaceId, path, pattern, options);
994
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, options);
1028
995
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1029
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerFindInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
996
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1030
997
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1031
998
  });
1032
999
  },
@@ -1038,46 +1005,45 @@ export const ToolboxApiFp = function (configuration) {
1038
1005
  * @param {*} [options] Override http request option.
1039
1006
  * @throws {RequiredError}
1040
1007
  */
1041
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1008
+ getFileInfo(workspaceId, path, options) {
1042
1009
  return __awaiter(this, void 0, void 0, function* () {
1043
1010
  var _a, _b, _c;
1044
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGetFileInfo(workspaceId, path, options);
1011
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileInfo(workspaceId, path, options);
1045
1012
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1046
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGetFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1013
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1047
1014
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1048
1015
  });
1049
1016
  },
1050
1017
  /**
1051
- * Add files to git commit
1052
- * @summary Add files
1018
+ *
1019
+ * @summary Get workspace project dir
1053
1020
  * @param {string} workspaceId
1054
- * @param {GitAddRequestDto} gitAddRequestDto
1055
1021
  * @param {*} [options] Override http request option.
1056
1022
  * @throws {RequiredError}
1057
1023
  */
1058
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1024
+ getProjectDir(workspaceId, options) {
1059
1025
  return __awaiter(this, void 0, void 0, function* () {
1060
1026
  var _a, _b, _c;
1061
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options);
1027
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, options);
1062
1028
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1063
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1029
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1064
1030
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1065
1031
  });
1066
1032
  },
1067
1033
  /**
1068
- * Get branch list from git repository
1069
- * @summary Get branch list
1034
+ * Add files to git commit
1035
+ * @summary Add files
1070
1036
  * @param {string} workspaceId
1071
- * @param {string} path
1037
+ * @param {GitAddRequestDto} gitAddRequestDto
1072
1038
  * @param {*} [options] Override http request option.
1073
1039
  * @throws {RequiredError}
1074
1040
  */
1075
- toolboxControllerGitBranchList(workspaceId, path, options) {
1041
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1076
1042
  return __awaiter(this, void 0, void 0, function* () {
1077
1043
  var _a, _b, _c;
1078
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitBranchList(workspaceId, path, options);
1044
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequestDto, options);
1079
1045
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1080
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitBranchList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1046
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1081
1047
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1082
1048
  });
1083
1049
  },
@@ -1089,12 +1055,12 @@ export const ToolboxApiFp = function (configuration) {
1089
1055
  * @param {*} [options] Override http request option.
1090
1056
  * @throws {RequiredError}
1091
1057
  */
1092
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1058
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1093
1059
  return __awaiter(this, void 0, void 0, function* () {
1094
1060
  var _a, _b, _c;
1095
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options);
1061
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequestDto, options);
1096
1062
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1097
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1063
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1098
1064
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1099
1065
  });
1100
1066
  },
@@ -1106,12 +1072,29 @@ export const ToolboxApiFp = function (configuration) {
1106
1072
  * @param {*} [options] Override http request option.
1107
1073
  * @throws {RequiredError}
1108
1074
  */
1109
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1075
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1076
+ return __awaiter(this, void 0, void 0, function* () {
1077
+ var _a, _b, _c;
1078
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequestDto, options);
1079
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1080
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1081
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1082
+ });
1083
+ },
1084
+ /**
1085
+ * Create branch on git repository
1086
+ * @summary Create branch
1087
+ * @param {string} workspaceId
1088
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1089
+ * @param {*} [options] Override http request option.
1090
+ * @throws {RequiredError}
1091
+ */
1092
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1110
1093
  return __awaiter(this, void 0, void 0, function* () {
1111
1094
  var _a, _b, _c;
1112
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options);
1095
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequestDto, options);
1113
1096
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1114
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1097
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1115
1098
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1116
1099
  });
1117
1100
  },
@@ -1123,29 +1106,46 @@ export const ToolboxApiFp = function (configuration) {
1123
1106
  * @param {*} [options] Override http request option.
1124
1107
  * @throws {RequiredError}
1125
1108
  */
1126
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1109
+ gitGetHistory(workspaceId, path, options) {
1127
1110
  return __awaiter(this, void 0, void 0, function* () {
1128
1111
  var _a, _b, _c;
1129
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCommitHistory(workspaceId, path, options);
1112
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetHistory(workspaceId, path, options);
1130
1113
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1131
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitCommitHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1114
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1132
1115
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1133
1116
  });
1134
1117
  },
1135
1118
  /**
1136
- * Create branch on git repository
1137
- * @summary Create branch
1119
+ * Get status from git repository
1120
+ * @summary Get git status
1138
1121
  * @param {string} workspaceId
1139
- * @param {GitBranchRequestDto} gitBranchRequestDto
1122
+ * @param {string} path
1123
+ * @param {*} [options] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ gitGetStatus(workspaceId, path, options) {
1127
+ return __awaiter(this, void 0, void 0, function* () {
1128
+ var _a, _b, _c;
1129
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetStatus(workspaceId, path, options);
1130
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1131
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1132
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1133
+ });
1134
+ },
1135
+ /**
1136
+ * Get branch list from git repository
1137
+ * @summary Get branch list
1138
+ * @param {string} workspaceId
1139
+ * @param {string} path
1140
1140
  * @param {*} [options] Override http request option.
1141
1141
  * @throws {RequiredError}
1142
1142
  */
1143
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1143
+ gitListBranches(workspaceId, path, options) {
1144
1144
  return __awaiter(this, void 0, void 0, function* () {
1145
1145
  var _a, _b, _c;
1146
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options);
1146
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitListBranches(workspaceId, path, options);
1147
1147
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1148
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1148
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1149
1149
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1150
1150
  });
1151
1151
  },
@@ -1157,12 +1157,12 @@ export const ToolboxApiFp = function (configuration) {
1157
1157
  * @param {*} [options] Override http request option.
1158
1158
  * @throws {RequiredError}
1159
1159
  */
1160
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1160
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1161
1161
  return __awaiter(this, void 0, void 0, function* () {
1162
1162
  var _a, _b, _c;
1163
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options);
1163
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequestDto, options);
1164
1164
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1165
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1165
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1166
1166
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1167
1167
  });
1168
1168
  },
@@ -1174,29 +1174,29 @@ export const ToolboxApiFp = function (configuration) {
1174
1174
  * @param {*} [options] Override http request option.
1175
1175
  * @throws {RequiredError}
1176
1176
  */
1177
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1177
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1178
1178
  return __awaiter(this, void 0, void 0, function* () {
1179
1179
  var _a, _b, _c;
1180
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options);
1180
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequestDto, options);
1181
1181
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1182
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1182
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1183
1183
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1184
1184
  });
1185
1185
  },
1186
1186
  /**
1187
- * Get status from git repository
1188
- * @summary Get git status
1187
+ *
1188
+ * @summary List files
1189
1189
  * @param {string} workspaceId
1190
- * @param {string} path
1190
+ * @param {string} [path]
1191
1191
  * @param {*} [options] Override http request option.
1192
1192
  * @throws {RequiredError}
1193
1193
  */
1194
- toolboxControllerGitStatus(workspaceId, path, options) {
1194
+ listFiles(workspaceId, path, options) {
1195
1195
  return __awaiter(this, void 0, void 0, function* () {
1196
1196
  var _a, _b, _c;
1197
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitStatus(workspaceId, path, options);
1197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, path, options);
1198
1198
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1199
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerGitStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1199
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1200
1200
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1201
1201
  });
1202
1202
  },
@@ -1209,12 +1209,12 @@ export const ToolboxApiFp = function (configuration) {
1209
1209
  * @param {*} [options] Override http request option.
1210
1210
  * @throws {RequiredError}
1211
1211
  */
1212
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1212
+ moveFile(workspaceId, source, destination, options) {
1213
1213
  return __awaiter(this, void 0, void 0, function* () {
1214
1214
  var _a, _b, _c;
1215
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerMoveFile(workspaceId, source, destination, options);
1215
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFile(workspaceId, source, destination, options);
1216
1216
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1217
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerMoveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1217
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1218
1218
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1219
1219
  });
1220
1220
  },
@@ -1226,12 +1226,12 @@ export const ToolboxApiFp = function (configuration) {
1226
1226
  * @param {*} [options] Override http request option.
1227
1227
  * @throws {RequiredError}
1228
1228
  */
1229
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1229
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1230
1230
  return __awaiter(this, void 0, void 0, function* () {
1231
1231
  var _a, _b, _c;
1232
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options);
1232
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequestDto, options);
1233
1233
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1234
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerReplaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1234
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1235
1235
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1236
1236
  });
1237
1237
  },
@@ -1244,12 +1244,12 @@ export const ToolboxApiFp = function (configuration) {
1244
1244
  * @param {*} [options] Override http request option.
1245
1245
  * @throws {RequiredError}
1246
1246
  */
1247
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1247
+ searchFiles(workspaceId, path, pattern, options) {
1248
1248
  return __awaiter(this, void 0, void 0, function* () {
1249
1249
  var _a, _b, _c;
1250
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerSearchFiles(workspaceId, path, pattern, options);
1250
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, options);
1251
1251
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1252
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerSearchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1252
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1253
1253
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1254
1254
  });
1255
1255
  },
@@ -1264,12 +1264,12 @@ export const ToolboxApiFp = function (configuration) {
1264
1264
  * @param {*} [options] Override http request option.
1265
1265
  * @throws {RequiredError}
1266
1266
  */
1267
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1267
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1268
1268
  return __awaiter(this, void 0, void 0, function* () {
1269
1269
  var _a, _b, _c;
1270
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options);
1270
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setFilePermissions(workspaceId, path, owner, group, mode, options);
1271
1271
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1272
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerSetFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1272
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1273
1273
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1274
1274
  });
1275
1275
  },
@@ -1282,12 +1282,12 @@ export const ToolboxApiFp = function (configuration) {
1282
1282
  * @param {*} [options] Override http request option.
1283
1283
  * @throws {RequiredError}
1284
1284
  */
1285
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1285
+ uploadFile(workspaceId, path, file, options) {
1286
1286
  return __awaiter(this, void 0, void 0, function* () {
1287
1287
  var _a, _b, _c;
1288
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerUploadFile(workspaceId, path, file, options);
1288
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(workspaceId, path, file, options);
1289
1289
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1290
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.toolboxControllerUploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1290
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1291
1291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1292
1292
  });
1293
1293
  },
@@ -1300,27 +1300,6 @@ export const ToolboxApiFp = function (configuration) {
1300
1300
  export const ToolboxApiFactory = function (configuration, basePath, axios) {
1301
1301
  const localVarFp = ToolboxApiFp(configuration);
1302
1302
  return {
1303
- /**
1304
- *
1305
- * @summary Get workspace project dir
1306
- * @param {string} workspaceId
1307
- * @param {*} [options] Override http request option.
1308
- * @throws {RequiredError}
1309
- */
1310
- getProjectDir(workspaceId, options) {
1311
- return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1312
- },
1313
- /**
1314
- *
1315
- * @summary List files
1316
- * @param {string} workspaceId
1317
- * @param {string} [path]
1318
- * @param {*} [options] Override http request option.
1319
- * @throws {RequiredError}
1320
- */
1321
- listFiles(workspaceId, path, options) {
1322
- return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1323
- },
1324
1303
  /**
1325
1304
  * Create folder inside workspace
1326
1305
  * @summary Create folder
@@ -1330,8 +1309,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1330
1309
  * @param {*} [options] Override http request option.
1331
1310
  * @throws {RequiredError}
1332
1311
  */
1333
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
1334
- return localVarFp.toolboxControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1312
+ createFolder(workspaceId, path, mode, options) {
1313
+ return localVarFp.createFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1335
1314
  },
1336
1315
  /**
1337
1316
  * Delete file inside workspace
@@ -1341,8 +1320,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1341
1320
  * @param {*} [options] Override http request option.
1342
1321
  * @throws {RequiredError}
1343
1322
  */
1344
- toolboxControllerDeleteFile(workspaceId, path, options) {
1345
- return localVarFp.toolboxControllerDeleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1323
+ deleteFile(workspaceId, path, options) {
1324
+ return localVarFp.deleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1346
1325
  },
1347
1326
  /**
1348
1327
  * Download file from workspace
@@ -1352,8 +1331,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1352
1331
  * @param {*} [options] Override http request option.
1353
1332
  * @throws {RequiredError}
1354
1333
  */
1355
- toolboxControllerDownloadFile(workspaceId, path, options) {
1356
- return localVarFp.toolboxControllerDownloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
1334
+ downloadFile(workspaceId, path, options) {
1335
+ return localVarFp.downloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
1357
1336
  },
1358
1337
  /**
1359
1338
  * Execute command synchronously inside workspace
@@ -1363,8 +1342,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1363
1342
  * @param {*} [options] Override http request option.
1364
1343
  * @throws {RequiredError}
1365
1344
  */
1366
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
1367
- return localVarFp.toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
1345
+ executeCommand(workspaceId, executeRequestDto, options) {
1346
+ return localVarFp.executeCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
1368
1347
  },
1369
1348
  /**
1370
1349
  * Search for text/pattern inside workspace files
@@ -1375,8 +1354,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1375
1354
  * @param {*} [options] Override http request option.
1376
1355
  * @throws {RequiredError}
1377
1356
  */
1378
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
1379
- return localVarFp.toolboxControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1357
+ findInFiles(workspaceId, path, pattern, options) {
1358
+ return localVarFp.findInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1380
1359
  },
1381
1360
  /**
1382
1361
  * Get file info inside workspace
@@ -1386,30 +1365,29 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1386
1365
  * @param {*} [options] Override http request option.
1387
1366
  * @throws {RequiredError}
1388
1367
  */
1389
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1390
- return localVarFp.toolboxControllerGetFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
1368
+ getFileInfo(workspaceId, path, options) {
1369
+ return localVarFp.getFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
1391
1370
  },
1392
1371
  /**
1393
- * Add files to git commit
1394
- * @summary Add files
1372
+ *
1373
+ * @summary Get workspace project dir
1395
1374
  * @param {string} workspaceId
1396
- * @param {GitAddRequestDto} gitAddRequestDto
1397
1375
  * @param {*} [options] Override http request option.
1398
1376
  * @throws {RequiredError}
1399
1377
  */
1400
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1401
- return localVarFp.toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
1378
+ getProjectDir(workspaceId, options) {
1379
+ return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1402
1380
  },
1403
1381
  /**
1404
- * Get branch list from git repository
1405
- * @summary Get branch list
1382
+ * Add files to git commit
1383
+ * @summary Add files
1406
1384
  * @param {string} workspaceId
1407
- * @param {string} path
1385
+ * @param {GitAddRequestDto} gitAddRequestDto
1408
1386
  * @param {*} [options] Override http request option.
1409
1387
  * @throws {RequiredError}
1410
1388
  */
1411
- toolboxControllerGitBranchList(workspaceId, path, options) {
1412
- return localVarFp.toolboxControllerGitBranchList(workspaceId, path, options).then((request) => request(axios, basePath));
1389
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1390
+ return localVarFp.gitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
1413
1391
  },
1414
1392
  /**
1415
1393
  * Clone git repository
@@ -1419,8 +1397,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1419
1397
  * @param {*} [options] Override http request option.
1420
1398
  * @throws {RequiredError}
1421
1399
  */
1422
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1423
- return localVarFp.toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
1400
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1401
+ return localVarFp.gitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
1424
1402
  },
1425
1403
  /**
1426
1404
  * Commit changes to git repository
@@ -1430,8 +1408,19 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1430
1408
  * @param {*} [options] Override http request option.
1431
1409
  * @throws {RequiredError}
1432
1410
  */
1433
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1434
- return localVarFp.toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
1411
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1412
+ return localVarFp.gitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
1413
+ },
1414
+ /**
1415
+ * Create branch on git repository
1416
+ * @summary Create branch
1417
+ * @param {string} workspaceId
1418
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1419
+ * @param {*} [options] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ */
1422
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1423
+ return localVarFp.gitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
1435
1424
  },
1436
1425
  /**
1437
1426
  * Get commit history from git repository
@@ -1441,19 +1430,30 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1441
1430
  * @param {*} [options] Override http request option.
1442
1431
  * @throws {RequiredError}
1443
1432
  */
1444
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1445
- return localVarFp.toolboxControllerGitCommitHistory(workspaceId, path, options).then((request) => request(axios, basePath));
1433
+ gitGetHistory(workspaceId, path, options) {
1434
+ return localVarFp.gitGetHistory(workspaceId, path, options).then((request) => request(axios, basePath));
1446
1435
  },
1447
1436
  /**
1448
- * Create branch on git repository
1449
- * @summary Create branch
1437
+ * Get status from git repository
1438
+ * @summary Get git status
1450
1439
  * @param {string} workspaceId
1451
- * @param {GitBranchRequestDto} gitBranchRequestDto
1440
+ * @param {string} path
1441
+ * @param {*} [options] Override http request option.
1442
+ * @throws {RequiredError}
1443
+ */
1444
+ gitGetStatus(workspaceId, path, options) {
1445
+ return localVarFp.gitGetStatus(workspaceId, path, options).then((request) => request(axios, basePath));
1446
+ },
1447
+ /**
1448
+ * Get branch list from git repository
1449
+ * @summary Get branch list
1450
+ * @param {string} workspaceId
1451
+ * @param {string} path
1452
1452
  * @param {*} [options] Override http request option.
1453
1453
  * @throws {RequiredError}
1454
1454
  */
1455
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1456
- return localVarFp.toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
1455
+ gitListBranches(workspaceId, path, options) {
1456
+ return localVarFp.gitListBranches(workspaceId, path, options).then((request) => request(axios, basePath));
1457
1457
  },
1458
1458
  /**
1459
1459
  * Pull changes from remote
@@ -1463,8 +1463,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1463
1463
  * @param {*} [options] Override http request option.
1464
1464
  * @throws {RequiredError}
1465
1465
  */
1466
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1467
- return localVarFp.toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1466
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1467
+ return localVarFp.gitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1468
1468
  },
1469
1469
  /**
1470
1470
  * Push changes to remote
@@ -1474,19 +1474,19 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1474
1474
  * @param {*} [options] Override http request option.
1475
1475
  * @throws {RequiredError}
1476
1476
  */
1477
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1478
- return localVarFp.toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1477
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1478
+ return localVarFp.gitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1479
1479
  },
1480
1480
  /**
1481
- * Get status from git repository
1482
- * @summary Get git status
1481
+ *
1482
+ * @summary List files
1483
1483
  * @param {string} workspaceId
1484
- * @param {string} path
1484
+ * @param {string} [path]
1485
1485
  * @param {*} [options] Override http request option.
1486
1486
  * @throws {RequiredError}
1487
1487
  */
1488
- toolboxControllerGitStatus(workspaceId, path, options) {
1489
- return localVarFp.toolboxControllerGitStatus(workspaceId, path, options).then((request) => request(axios, basePath));
1488
+ listFiles(workspaceId, path, options) {
1489
+ return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1490
1490
  },
1491
1491
  /**
1492
1492
  * Move file inside workspace
@@ -1497,8 +1497,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1497
1497
  * @param {*} [options] Override http request option.
1498
1498
  * @throws {RequiredError}
1499
1499
  */
1500
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1501
- return localVarFp.toolboxControllerMoveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
1500
+ moveFile(workspaceId, source, destination, options) {
1501
+ return localVarFp.moveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
1502
1502
  },
1503
1503
  /**
1504
1504
  * Replace text/pattern in multiple files inside workspace
@@ -1508,8 +1508,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1508
1508
  * @param {*} [options] Override http request option.
1509
1509
  * @throws {RequiredError}
1510
1510
  */
1511
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1512
- return localVarFp.toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
1511
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1512
+ return localVarFp.replaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
1513
1513
  },
1514
1514
  /**
1515
1515
  * Search for files inside workspace
@@ -1520,8 +1520,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1520
1520
  * @param {*} [options] Override http request option.
1521
1521
  * @throws {RequiredError}
1522
1522
  */
1523
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1524
- return localVarFp.toolboxControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1523
+ searchFiles(workspaceId, path, pattern, options) {
1524
+ return localVarFp.searchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1525
1525
  },
1526
1526
  /**
1527
1527
  * Set file owner/group/permissions inside workspace
@@ -1534,8 +1534,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1534
1534
  * @param {*} [options] Override http request option.
1535
1535
  * @throws {RequiredError}
1536
1536
  */
1537
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1538
- return localVarFp.toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
1537
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1538
+ return localVarFp.setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
1539
1539
  },
1540
1540
  /**
1541
1541
  * Upload file inside workspace
@@ -1546,8 +1546,8 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1546
1546
  * @param {*} [options] Override http request option.
1547
1547
  * @throws {RequiredError}
1548
1548
  */
1549
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1550
- return localVarFp.toolboxControllerUploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
1549
+ uploadFile(workspaceId, path, file, options) {
1550
+ return localVarFp.uploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
1551
1551
  },
1552
1552
  };
1553
1553
  };
@@ -1558,29 +1558,6 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1558
1558
  * @extends {BaseAPI}
1559
1559
  */
1560
1560
  export class ToolboxApi extends BaseAPI {
1561
- /**
1562
- *
1563
- * @summary Get workspace project dir
1564
- * @param {string} workspaceId
1565
- * @param {*} [options] Override http request option.
1566
- * @throws {RequiredError}
1567
- * @memberof ToolboxApi
1568
- */
1569
- getProjectDir(workspaceId, options) {
1570
- return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1571
- }
1572
- /**
1573
- *
1574
- * @summary List files
1575
- * @param {string} workspaceId
1576
- * @param {string} [path]
1577
- * @param {*} [options] Override http request option.
1578
- * @throws {RequiredError}
1579
- * @memberof ToolboxApi
1580
- */
1581
- listFiles(workspaceId, path, options) {
1582
- return ToolboxApiFp(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1583
- }
1584
1561
  /**
1585
1562
  * Create folder inside workspace
1586
1563
  * @summary Create folder
@@ -1591,8 +1568,8 @@ export class ToolboxApi extends BaseAPI {
1591
1568
  * @throws {RequiredError}
1592
1569
  * @memberof ToolboxApi
1593
1570
  */
1594
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
1595
- return ToolboxApiFp(this.configuration).toolboxControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1571
+ createFolder(workspaceId, path, mode, options) {
1572
+ return ToolboxApiFp(this.configuration).createFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1596
1573
  }
1597
1574
  /**
1598
1575
  * Delete file inside workspace
@@ -1603,8 +1580,8 @@ export class ToolboxApi extends BaseAPI {
1603
1580
  * @throws {RequiredError}
1604
1581
  * @memberof ToolboxApi
1605
1582
  */
1606
- toolboxControllerDeleteFile(workspaceId, path, options) {
1607
- return ToolboxApiFp(this.configuration).toolboxControllerDeleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1583
+ deleteFile(workspaceId, path, options) {
1584
+ return ToolboxApiFp(this.configuration).deleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1608
1585
  }
1609
1586
  /**
1610
1587
  * Download file from workspace
@@ -1615,8 +1592,8 @@ export class ToolboxApi extends BaseAPI {
1615
1592
  * @throws {RequiredError}
1616
1593
  * @memberof ToolboxApi
1617
1594
  */
1618
- toolboxControllerDownloadFile(workspaceId, path, options) {
1619
- return ToolboxApiFp(this.configuration).toolboxControllerDownloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1595
+ downloadFile(workspaceId, path, options) {
1596
+ return ToolboxApiFp(this.configuration).downloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1620
1597
  }
1621
1598
  /**
1622
1599
  * Execute command synchronously inside workspace
@@ -1627,8 +1604,8 @@ export class ToolboxApi extends BaseAPI {
1627
1604
  * @throws {RequiredError}
1628
1605
  * @memberof ToolboxApi
1629
1606
  */
1630
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
1631
- return ToolboxApiFp(this.configuration).toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
1607
+ executeCommand(workspaceId, executeRequestDto, options) {
1608
+ return ToolboxApiFp(this.configuration).executeCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
1632
1609
  }
1633
1610
  /**
1634
1611
  * Search for text/pattern inside workspace files
@@ -1640,8 +1617,8 @@ export class ToolboxApi extends BaseAPI {
1640
1617
  * @throws {RequiredError}
1641
1618
  * @memberof ToolboxApi
1642
1619
  */
1643
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
1644
- return ToolboxApiFp(this.configuration).toolboxControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1620
+ findInFiles(workspaceId, path, pattern, options) {
1621
+ return ToolboxApiFp(this.configuration).findInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1645
1622
  }
1646
1623
  /**
1647
1624
  * Get file info inside workspace
@@ -1652,32 +1629,31 @@ export class ToolboxApi extends BaseAPI {
1652
1629
  * @throws {RequiredError}
1653
1630
  * @memberof ToolboxApi
1654
1631
  */
1655
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1656
- return ToolboxApiFp(this.configuration).toolboxControllerGetFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1632
+ getFileInfo(workspaceId, path, options) {
1633
+ return ToolboxApiFp(this.configuration).getFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1657
1634
  }
1658
1635
  /**
1659
- * Add files to git commit
1660
- * @summary Add files
1636
+ *
1637
+ * @summary Get workspace project dir
1661
1638
  * @param {string} workspaceId
1662
- * @param {GitAddRequestDto} gitAddRequestDto
1663
1639
  * @param {*} [options] Override http request option.
1664
1640
  * @throws {RequiredError}
1665
1641
  * @memberof ToolboxApi
1666
1642
  */
1667
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1668
- return ToolboxApiFp(this.configuration).toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
1643
+ getProjectDir(workspaceId, options) {
1644
+ return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1669
1645
  }
1670
1646
  /**
1671
- * Get branch list from git repository
1672
- * @summary Get branch list
1647
+ * Add files to git commit
1648
+ * @summary Add files
1673
1649
  * @param {string} workspaceId
1674
- * @param {string} path
1650
+ * @param {GitAddRequestDto} gitAddRequestDto
1675
1651
  * @param {*} [options] Override http request option.
1676
1652
  * @throws {RequiredError}
1677
1653
  * @memberof ToolboxApi
1678
1654
  */
1679
- toolboxControllerGitBranchList(workspaceId, path, options) {
1680
- return ToolboxApiFp(this.configuration).toolboxControllerGitBranchList(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1655
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1656
+ return ToolboxApiFp(this.configuration).gitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
1681
1657
  }
1682
1658
  /**
1683
1659
  * Clone git repository
@@ -1688,8 +1664,8 @@ export class ToolboxApi extends BaseAPI {
1688
1664
  * @throws {RequiredError}
1689
1665
  * @memberof ToolboxApi
1690
1666
  */
1691
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1692
- return ToolboxApiFp(this.configuration).toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
1667
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1668
+ return ToolboxApiFp(this.configuration).gitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
1693
1669
  }
1694
1670
  /**
1695
1671
  * Commit changes to git repository
@@ -1700,8 +1676,20 @@ export class ToolboxApi extends BaseAPI {
1700
1676
  * @throws {RequiredError}
1701
1677
  * @memberof ToolboxApi
1702
1678
  */
1703
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1704
- return ToolboxApiFp(this.configuration).toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
1679
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1680
+ return ToolboxApiFp(this.configuration).gitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
1681
+ }
1682
+ /**
1683
+ * Create branch on git repository
1684
+ * @summary Create branch
1685
+ * @param {string} workspaceId
1686
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1687
+ * @param {*} [options] Override http request option.
1688
+ * @throws {RequiredError}
1689
+ * @memberof ToolboxApi
1690
+ */
1691
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1692
+ return ToolboxApiFp(this.configuration).gitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
1705
1693
  }
1706
1694
  /**
1707
1695
  * Get commit history from git repository
@@ -1712,20 +1700,32 @@ export class ToolboxApi extends BaseAPI {
1712
1700
  * @throws {RequiredError}
1713
1701
  * @memberof ToolboxApi
1714
1702
  */
1715
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1716
- return ToolboxApiFp(this.configuration).toolboxControllerGitCommitHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1703
+ gitGetHistory(workspaceId, path, options) {
1704
+ return ToolboxApiFp(this.configuration).gitGetHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1717
1705
  }
1718
1706
  /**
1719
- * Create branch on git repository
1720
- * @summary Create branch
1707
+ * Get status from git repository
1708
+ * @summary Get git status
1721
1709
  * @param {string} workspaceId
1722
- * @param {GitBranchRequestDto} gitBranchRequestDto
1710
+ * @param {string} path
1711
+ * @param {*} [options] Override http request option.
1712
+ * @throws {RequiredError}
1713
+ * @memberof ToolboxApi
1714
+ */
1715
+ gitGetStatus(workspaceId, path, options) {
1716
+ return ToolboxApiFp(this.configuration).gitGetStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1717
+ }
1718
+ /**
1719
+ * Get branch list from git repository
1720
+ * @summary Get branch list
1721
+ * @param {string} workspaceId
1722
+ * @param {string} path
1723
1723
  * @param {*} [options] Override http request option.
1724
1724
  * @throws {RequiredError}
1725
1725
  * @memberof ToolboxApi
1726
1726
  */
1727
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1728
- return ToolboxApiFp(this.configuration).toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
1727
+ gitListBranches(workspaceId, path, options) {
1728
+ return ToolboxApiFp(this.configuration).gitListBranches(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1729
1729
  }
1730
1730
  /**
1731
1731
  * Pull changes from remote
@@ -1736,8 +1736,8 @@ export class ToolboxApi extends BaseAPI {
1736
1736
  * @throws {RequiredError}
1737
1737
  * @memberof ToolboxApi
1738
1738
  */
1739
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1740
- return ToolboxApiFp(this.configuration).toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1739
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1740
+ return ToolboxApiFp(this.configuration).gitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1741
1741
  }
1742
1742
  /**
1743
1743
  * Push changes to remote
@@ -1748,20 +1748,20 @@ export class ToolboxApi extends BaseAPI {
1748
1748
  * @throws {RequiredError}
1749
1749
  * @memberof ToolboxApi
1750
1750
  */
1751
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1752
- return ToolboxApiFp(this.configuration).toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1751
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1752
+ return ToolboxApiFp(this.configuration).gitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1753
1753
  }
1754
1754
  /**
1755
- * Get status from git repository
1756
- * @summary Get git status
1755
+ *
1756
+ * @summary List files
1757
1757
  * @param {string} workspaceId
1758
- * @param {string} path
1758
+ * @param {string} [path]
1759
1759
  * @param {*} [options] Override http request option.
1760
1760
  * @throws {RequiredError}
1761
1761
  * @memberof ToolboxApi
1762
1762
  */
1763
- toolboxControllerGitStatus(workspaceId, path, options) {
1764
- return ToolboxApiFp(this.configuration).toolboxControllerGitStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1763
+ listFiles(workspaceId, path, options) {
1764
+ return ToolboxApiFp(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1765
1765
  }
1766
1766
  /**
1767
1767
  * Move file inside workspace
@@ -1773,8 +1773,8 @@ export class ToolboxApi extends BaseAPI {
1773
1773
  * @throws {RequiredError}
1774
1774
  * @memberof ToolboxApi
1775
1775
  */
1776
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1777
- return ToolboxApiFp(this.configuration).toolboxControllerMoveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
1776
+ moveFile(workspaceId, source, destination, options) {
1777
+ return ToolboxApiFp(this.configuration).moveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
1778
1778
  }
1779
1779
  /**
1780
1780
  * Replace text/pattern in multiple files inside workspace
@@ -1785,8 +1785,8 @@ export class ToolboxApi extends BaseAPI {
1785
1785
  * @throws {RequiredError}
1786
1786
  * @memberof ToolboxApi
1787
1787
  */
1788
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1789
- return ToolboxApiFp(this.configuration).toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
1788
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1789
+ return ToolboxApiFp(this.configuration).replaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
1790
1790
  }
1791
1791
  /**
1792
1792
  * Search for files inside workspace
@@ -1798,8 +1798,8 @@ export class ToolboxApi extends BaseAPI {
1798
1798
  * @throws {RequiredError}
1799
1799
  * @memberof ToolboxApi
1800
1800
  */
1801
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1802
- return ToolboxApiFp(this.configuration).toolboxControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1801
+ searchFiles(workspaceId, path, pattern, options) {
1802
+ return ToolboxApiFp(this.configuration).searchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1803
1803
  }
1804
1804
  /**
1805
1805
  * Set file owner/group/permissions inside workspace
@@ -1813,8 +1813,8 @@ export class ToolboxApi extends BaseAPI {
1813
1813
  * @throws {RequiredError}
1814
1814
  * @memberof ToolboxApi
1815
1815
  */
1816
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1817
- return ToolboxApiFp(this.configuration).toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
1816
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1817
+ return ToolboxApiFp(this.configuration).setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
1818
1818
  }
1819
1819
  /**
1820
1820
  * Upload file inside workspace
@@ -1826,7 +1826,7 @@ export class ToolboxApi extends BaseAPI {
1826
1826
  * @throws {RequiredError}
1827
1827
  * @memberof ToolboxApi
1828
1828
  */
1829
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1830
- return ToolboxApiFp(this.configuration).toolboxControllerUploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
1829
+ uploadFile(workspaceId, path, file, options) {
1830
+ return ToolboxApiFp(this.configuration).uploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
1831
1831
  }
1832
1832
  }