@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.
@@ -35,74 +35,6 @@ const base_1 = require("../base");
35
35
  */
36
36
  const ToolboxApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
- /**
39
- *
40
- * @summary Get workspace project dir
41
- * @param {string} workspaceId
42
- * @param {*} [options] Override http request option.
43
- * @throws {RequiredError}
44
- */
45
- getProjectDir: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
46
- // verify required parameter 'workspaceId' is not null or undefined
47
- (0, common_1.assertParamExists)('getProjectDir', 'workspaceId', workspaceId);
48
- const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
49
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
50
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
- let baseOptions;
53
- if (configuration) {
54
- baseOptions = configuration.baseOptions;
55
- }
56
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
57
- const localVarHeaderParameter = {};
58
- const localVarQueryParameter = {};
59
- // authentication oauth2 required
60
- // oauth required
61
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
62
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
- return {
66
- url: (0, common_1.toPathString)(localVarUrlObj),
67
- options: localVarRequestOptions,
68
- };
69
- }),
70
- /**
71
- *
72
- * @summary List files
73
- * @param {string} workspaceId
74
- * @param {string} [path]
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- listFiles: (workspaceId_2, path_1, ...args_2) => __awaiter(this, [workspaceId_2, path_1, ...args_2], void 0, function* (workspaceId, path, options = {}) {
79
- // verify required parameter 'workspaceId' is not null or undefined
80
- (0, common_1.assertParamExists)('listFiles', 'workspaceId', workspaceId);
81
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
82
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
83
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
84
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
85
- let baseOptions;
86
- if (configuration) {
87
- baseOptions = configuration.baseOptions;
88
- }
89
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
90
- const localVarHeaderParameter = {};
91
- const localVarQueryParameter = {};
92
- // authentication oauth2 required
93
- // oauth required
94
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
95
- if (path !== undefined) {
96
- localVarQueryParameter['path'] = path;
97
- }
98
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
99
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
101
- return {
102
- url: (0, common_1.toPathString)(localVarUrlObj),
103
- options: localVarRequestOptions,
104
- };
105
- }),
106
38
  /**
107
39
  * Create folder inside workspace
108
40
  * @summary Create folder
@@ -112,13 +44,13 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
112
44
  * @param {*} [options] Override http request option.
113
45
  * @throws {RequiredError}
114
46
  */
115
- 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 = {}) {
47
+ 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 = {}) {
116
48
  // verify required parameter 'workspaceId' is not null or undefined
117
- (0, common_1.assertParamExists)('toolboxControllerCreateFolder', 'workspaceId', workspaceId);
49
+ (0, common_1.assertParamExists)('createFolder', 'workspaceId', workspaceId);
118
50
  // verify required parameter 'path' is not null or undefined
119
- (0, common_1.assertParamExists)('toolboxControllerCreateFolder', 'path', path);
51
+ (0, common_1.assertParamExists)('createFolder', 'path', path);
120
52
  // verify required parameter 'mode' is not null or undefined
121
- (0, common_1.assertParamExists)('toolboxControllerCreateFolder', 'mode', mode);
53
+ (0, common_1.assertParamExists)('createFolder', 'mode', mode);
122
54
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`
123
55
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
124
56
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -155,11 +87,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
155
87
  * @param {*} [options] Override http request option.
156
88
  * @throws {RequiredError}
157
89
  */
158
- toolboxControllerDeleteFile: (workspaceId_4, path_3, ...args_4) => __awaiter(this, [workspaceId_4, path_3, ...args_4], void 0, function* (workspaceId, path, options = {}) {
90
+ deleteFile: (workspaceId_2, path_2, ...args_2) => __awaiter(this, [workspaceId_2, path_2, ...args_2], void 0, function* (workspaceId, path, options = {}) {
159
91
  // verify required parameter 'workspaceId' is not null or undefined
160
- (0, common_1.assertParamExists)('toolboxControllerDeleteFile', 'workspaceId', workspaceId);
92
+ (0, common_1.assertParamExists)('deleteFile', 'workspaceId', workspaceId);
161
93
  // verify required parameter 'path' is not null or undefined
162
- (0, common_1.assertParamExists)('toolboxControllerDeleteFile', 'path', path);
94
+ (0, common_1.assertParamExists)('deleteFile', 'path', path);
163
95
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
164
96
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
165
97
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -193,11 +125,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
193
125
  * @param {*} [options] Override http request option.
194
126
  * @throws {RequiredError}
195
127
  */
196
- toolboxControllerDownloadFile: (workspaceId_5, path_4, ...args_5) => __awaiter(this, [workspaceId_5, path_4, ...args_5], void 0, function* (workspaceId, path, options = {}) {
128
+ downloadFile: (workspaceId_3, path_3, ...args_3) => __awaiter(this, [workspaceId_3, path_3, ...args_3], void 0, function* (workspaceId, path, options = {}) {
197
129
  // verify required parameter 'workspaceId' is not null or undefined
198
- (0, common_1.assertParamExists)('toolboxControllerDownloadFile', 'workspaceId', workspaceId);
130
+ (0, common_1.assertParamExists)('downloadFile', 'workspaceId', workspaceId);
199
131
  // verify required parameter 'path' is not null or undefined
200
- (0, common_1.assertParamExists)('toolboxControllerDownloadFile', 'path', path);
132
+ (0, common_1.assertParamExists)('downloadFile', 'path', path);
201
133
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`
202
134
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
203
135
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -231,11 +163,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
231
163
  * @param {*} [options] Override http request option.
232
164
  * @throws {RequiredError}
233
165
  */
234
- toolboxControllerExecuteCommand: (workspaceId_6, executeRequestDto_1, ...args_6) => __awaiter(this, [workspaceId_6, executeRequestDto_1, ...args_6], void 0, function* (workspaceId, executeRequestDto, options = {}) {
166
+ executeCommand: (workspaceId_4, executeRequestDto_1, ...args_4) => __awaiter(this, [workspaceId_4, executeRequestDto_1, ...args_4], void 0, function* (workspaceId, executeRequestDto, options = {}) {
235
167
  // verify required parameter 'workspaceId' is not null or undefined
236
- (0, common_1.assertParamExists)('toolboxControllerExecuteCommand', 'workspaceId', workspaceId);
168
+ (0, common_1.assertParamExists)('executeCommand', 'workspaceId', workspaceId);
237
169
  // verify required parameter 'executeRequestDto' is not null or undefined
238
- (0, common_1.assertParamExists)('toolboxControllerExecuteCommand', 'executeRequestDto', executeRequestDto);
170
+ (0, common_1.assertParamExists)('executeCommand', 'executeRequestDto', executeRequestDto);
239
171
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`
240
172
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
241
173
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -269,13 +201,13 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
269
201
  * @param {*} [options] Override http request option.
270
202
  * @throws {RequiredError}
271
203
  */
272
- 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 = {}) {
204
+ 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 = {}) {
273
205
  // verify required parameter 'workspaceId' is not null or undefined
274
- (0, common_1.assertParamExists)('toolboxControllerFindInFiles', 'workspaceId', workspaceId);
206
+ (0, common_1.assertParamExists)('findInFiles', 'workspaceId', workspaceId);
275
207
  // verify required parameter 'path' is not null or undefined
276
- (0, common_1.assertParamExists)('toolboxControllerFindInFiles', 'path', path);
208
+ (0, common_1.assertParamExists)('findInFiles', 'path', path);
277
209
  // verify required parameter 'pattern' is not null or undefined
278
- (0, common_1.assertParamExists)('toolboxControllerFindInFiles', 'pattern', pattern);
210
+ (0, common_1.assertParamExists)('findInFiles', 'pattern', pattern);
279
211
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`
280
212
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
281
213
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -312,11 +244,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
312
244
  * @param {*} [options] Override http request option.
313
245
  * @throws {RequiredError}
314
246
  */
315
- toolboxControllerGetFileInfo: (workspaceId_8, path_6, ...args_8) => __awaiter(this, [workspaceId_8, path_6, ...args_8], void 0, function* (workspaceId, path, options = {}) {
247
+ getFileInfo: (workspaceId_6, path_5, ...args_6) => __awaiter(this, [workspaceId_6, path_5, ...args_6], void 0, function* (workspaceId, path, options = {}) {
316
248
  // verify required parameter 'workspaceId' is not null or undefined
317
- (0, common_1.assertParamExists)('toolboxControllerGetFileInfo', 'workspaceId', workspaceId);
249
+ (0, common_1.assertParamExists)('getFileInfo', 'workspaceId', workspaceId);
318
250
  // verify required parameter 'path' is not null or undefined
319
- (0, common_1.assertParamExists)('toolboxControllerGetFileInfo', 'path', path);
251
+ (0, common_1.assertParamExists)('getFileInfo', 'path', path);
320
252
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`
321
253
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
322
254
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -343,19 +275,16 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
343
275
  };
344
276
  }),
345
277
  /**
346
- * Add files to git commit
347
- * @summary Add files
278
+ *
279
+ * @summary Get workspace project dir
348
280
  * @param {string} workspaceId
349
- * @param {GitAddRequestDto} gitAddRequestDto
350
281
  * @param {*} [options] Override http request option.
351
282
  * @throws {RequiredError}
352
283
  */
353
- toolboxControllerGitAddFiles: (workspaceId_9, gitAddRequestDto_1, ...args_9) => __awaiter(this, [workspaceId_9, gitAddRequestDto_1, ...args_9], void 0, function* (workspaceId, gitAddRequestDto, options = {}) {
284
+ getProjectDir: (workspaceId_7, ...args_7) => __awaiter(this, [workspaceId_7, ...args_7], void 0, function* (workspaceId, options = {}) {
354
285
  // verify required parameter 'workspaceId' is not null or undefined
355
- (0, common_1.assertParamExists)('toolboxControllerGitAddFiles', 'workspaceId', workspaceId);
356
- // verify required parameter 'gitAddRequestDto' is not null or undefined
357
- (0, common_1.assertParamExists)('toolboxControllerGitAddFiles', 'gitAddRequestDto', gitAddRequestDto);
358
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
286
+ (0, common_1.assertParamExists)('getProjectDir', 'workspaceId', workspaceId);
287
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
359
288
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
360
289
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
361
290
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -363,36 +292,34 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
363
292
  if (configuration) {
364
293
  baseOptions = configuration.baseOptions;
365
294
  }
366
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
295
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
367
296
  const localVarHeaderParameter = {};
368
297
  const localVarQueryParameter = {};
369
298
  // authentication oauth2 required
370
299
  // oauth required
371
300
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
372
- localVarHeaderParameter['Content-Type'] = 'application/json';
373
301
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
374
302
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
375
303
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
376
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitAddRequestDto, localVarRequestOptions, configuration);
377
304
  return {
378
305
  url: (0, common_1.toPathString)(localVarUrlObj),
379
306
  options: localVarRequestOptions,
380
307
  };
381
308
  }),
382
309
  /**
383
- * Get branch list from git repository
384
- * @summary Get branch list
310
+ * Add files to git commit
311
+ * @summary Add files
385
312
  * @param {string} workspaceId
386
- * @param {string} path
313
+ * @param {GitAddRequestDto} gitAddRequestDto
387
314
  * @param {*} [options] Override http request option.
388
315
  * @throws {RequiredError}
389
316
  */
390
- toolboxControllerGitBranchList: (workspaceId_10, path_7, ...args_10) => __awaiter(this, [workspaceId_10, path_7, ...args_10], void 0, function* (workspaceId, path, options = {}) {
317
+ gitAddFiles: (workspaceId_8, gitAddRequestDto_1, ...args_8) => __awaiter(this, [workspaceId_8, gitAddRequestDto_1, ...args_8], void 0, function* (workspaceId, gitAddRequestDto, options = {}) {
391
318
  // verify required parameter 'workspaceId' is not null or undefined
392
- (0, common_1.assertParamExists)('toolboxControllerGitBranchList', 'workspaceId', workspaceId);
393
- // verify required parameter 'path' is not null or undefined
394
- (0, common_1.assertParamExists)('toolboxControllerGitBranchList', 'path', path);
395
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
319
+ (0, common_1.assertParamExists)('gitAddFiles', 'workspaceId', workspaceId);
320
+ // verify required parameter 'gitAddRequestDto' is not null or undefined
321
+ (0, common_1.assertParamExists)('gitAddFiles', 'gitAddRequestDto', gitAddRequestDto);
322
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
396
323
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
397
324
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
398
325
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -400,18 +327,17 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
400
327
  if (configuration) {
401
328
  baseOptions = configuration.baseOptions;
402
329
  }
403
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
330
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
404
331
  const localVarHeaderParameter = {};
405
332
  const localVarQueryParameter = {};
406
333
  // authentication oauth2 required
407
334
  // oauth required
408
335
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
409
- if (path !== undefined) {
410
- localVarQueryParameter['path'] = path;
411
- }
336
+ localVarHeaderParameter['Content-Type'] = 'application/json';
412
337
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
413
338
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
414
339
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
340
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitAddRequestDto, localVarRequestOptions, configuration);
415
341
  return {
416
342
  url: (0, common_1.toPathString)(localVarUrlObj),
417
343
  options: localVarRequestOptions,
@@ -425,11 +351,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
425
351
  * @param {*} [options] Override http request option.
426
352
  * @throws {RequiredError}
427
353
  */
428
- toolboxControllerGitCloneRepository: (workspaceId_11, gitCloneRequestDto_1, ...args_11) => __awaiter(this, [workspaceId_11, gitCloneRequestDto_1, ...args_11], void 0, function* (workspaceId, gitCloneRequestDto, options = {}) {
354
+ gitCloneRepository: (workspaceId_9, gitCloneRequestDto_1, ...args_9) => __awaiter(this, [workspaceId_9, gitCloneRequestDto_1, ...args_9], void 0, function* (workspaceId, gitCloneRequestDto, options = {}) {
429
355
  // verify required parameter 'workspaceId' is not null or undefined
430
- (0, common_1.assertParamExists)('toolboxControllerGitCloneRepository', 'workspaceId', workspaceId);
356
+ (0, common_1.assertParamExists)('gitCloneRepository', 'workspaceId', workspaceId);
431
357
  // verify required parameter 'gitCloneRequestDto' is not null or undefined
432
- (0, common_1.assertParamExists)('toolboxControllerGitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto);
358
+ (0, common_1.assertParamExists)('gitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto);
433
359
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`
434
360
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
435
361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -462,11 +388,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
462
388
  * @param {*} [options] Override http request option.
463
389
  * @throws {RequiredError}
464
390
  */
465
- toolboxControllerGitCommitChanges: (workspaceId_12, gitCommitRequestDto_1, ...args_12) => __awaiter(this, [workspaceId_12, gitCommitRequestDto_1, ...args_12], void 0, function* (workspaceId, gitCommitRequestDto, options = {}) {
391
+ gitCommitChanges: (workspaceId_10, gitCommitRequestDto_1, ...args_10) => __awaiter(this, [workspaceId_10, gitCommitRequestDto_1, ...args_10], void 0, function* (workspaceId, gitCommitRequestDto, options = {}) {
466
392
  // verify required parameter 'workspaceId' is not null or undefined
467
- (0, common_1.assertParamExists)('toolboxControllerGitCommitChanges', 'workspaceId', workspaceId);
393
+ (0, common_1.assertParamExists)('gitCommitChanges', 'workspaceId', workspaceId);
468
394
  // verify required parameter 'gitCommitRequestDto' is not null or undefined
469
- (0, common_1.assertParamExists)('toolboxControllerGitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto);
395
+ (0, common_1.assertParamExists)('gitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto);
470
396
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`
471
397
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
472
398
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -491,6 +417,43 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
491
417
  options: localVarRequestOptions,
492
418
  };
493
419
  }),
420
+ /**
421
+ * Create branch on git repository
422
+ * @summary Create branch
423
+ * @param {string} workspaceId
424
+ * @param {GitBranchRequestDto} gitBranchRequestDto
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ gitCreateBranch: (workspaceId_11, gitBranchRequestDto_1, ...args_11) => __awaiter(this, [workspaceId_11, gitBranchRequestDto_1, ...args_11], void 0, function* (workspaceId, gitBranchRequestDto, options = {}) {
429
+ // verify required parameter 'workspaceId' is not null or undefined
430
+ (0, common_1.assertParamExists)('gitCreateBranch', 'workspaceId', workspaceId);
431
+ // verify required parameter 'gitBranchRequestDto' is not null or undefined
432
+ (0, common_1.assertParamExists)('gitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto);
433
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
434
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
435
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
436
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
437
+ let baseOptions;
438
+ if (configuration) {
439
+ baseOptions = configuration.baseOptions;
440
+ }
441
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
442
+ const localVarHeaderParameter = {};
443
+ const localVarQueryParameter = {};
444
+ // authentication oauth2 required
445
+ // oauth required
446
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
447
+ localVarHeaderParameter['Content-Type'] = 'application/json';
448
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
449
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
450
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
451
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitBranchRequestDto, localVarRequestOptions, configuration);
452
+ return {
453
+ url: (0, common_1.toPathString)(localVarUrlObj),
454
+ options: localVarRequestOptions,
455
+ };
456
+ }),
494
457
  /**
495
458
  * Get commit history from git repository
496
459
  * @summary Get commit history
@@ -499,11 +462,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
499
462
  * @param {*} [options] Override http request option.
500
463
  * @throws {RequiredError}
501
464
  */
502
- toolboxControllerGitCommitHistory: (workspaceId_13, path_8, ...args_13) => __awaiter(this, [workspaceId_13, path_8, ...args_13], void 0, function* (workspaceId, path, options = {}) {
465
+ gitGetHistory: (workspaceId_12, path_6, ...args_12) => __awaiter(this, [workspaceId_12, path_6, ...args_12], void 0, function* (workspaceId, path, options = {}) {
503
466
  // verify required parameter 'workspaceId' is not null or undefined
504
- (0, common_1.assertParamExists)('toolboxControllerGitCommitHistory', 'workspaceId', workspaceId);
467
+ (0, common_1.assertParamExists)('gitGetHistory', 'workspaceId', workspaceId);
505
468
  // verify required parameter 'path' is not null or undefined
506
- (0, common_1.assertParamExists)('toolboxControllerGitCommitHistory', 'path', path);
469
+ (0, common_1.assertParamExists)('gitGetHistory', 'path', path);
507
470
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`
508
471
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
509
472
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -530,18 +493,56 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
530
493
  };
531
494
  }),
532
495
  /**
533
- * Create branch on git repository
534
- * @summary Create branch
496
+ * Get status from git repository
497
+ * @summary Get git status
535
498
  * @param {string} workspaceId
536
- * @param {GitBranchRequestDto} gitBranchRequestDto
499
+ * @param {string} path
537
500
  * @param {*} [options] Override http request option.
538
501
  * @throws {RequiredError}
539
502
  */
540
- toolboxControllerGitCreateBranch: (workspaceId_14, gitBranchRequestDto_1, ...args_14) => __awaiter(this, [workspaceId_14, gitBranchRequestDto_1, ...args_14], void 0, function* (workspaceId, gitBranchRequestDto, options = {}) {
503
+ gitGetStatus: (workspaceId_13, path_7, ...args_13) => __awaiter(this, [workspaceId_13, path_7, ...args_13], void 0, function* (workspaceId, path, options = {}) {
541
504
  // verify required parameter 'workspaceId' is not null or undefined
542
- (0, common_1.assertParamExists)('toolboxControllerGitCreateBranch', 'workspaceId', workspaceId);
543
- // verify required parameter 'gitBranchRequestDto' is not null or undefined
544
- (0, common_1.assertParamExists)('toolboxControllerGitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto);
505
+ (0, common_1.assertParamExists)('gitGetStatus', 'workspaceId', workspaceId);
506
+ // verify required parameter 'path' is not null or undefined
507
+ (0, common_1.assertParamExists)('gitGetStatus', 'path', path);
508
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
509
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
510
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
511
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
512
+ let baseOptions;
513
+ if (configuration) {
514
+ baseOptions = configuration.baseOptions;
515
+ }
516
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
517
+ const localVarHeaderParameter = {};
518
+ const localVarQueryParameter = {};
519
+ // authentication oauth2 required
520
+ // oauth required
521
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
522
+ if (path !== undefined) {
523
+ localVarQueryParameter['path'] = path;
524
+ }
525
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
526
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
527
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
528
+ return {
529
+ url: (0, common_1.toPathString)(localVarUrlObj),
530
+ options: localVarRequestOptions,
531
+ };
532
+ }),
533
+ /**
534
+ * Get branch list from git repository
535
+ * @summary Get branch list
536
+ * @param {string} workspaceId
537
+ * @param {string} path
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ gitListBranches: (workspaceId_14, path_8, ...args_14) => __awaiter(this, [workspaceId_14, path_8, ...args_14], void 0, function* (workspaceId, path, options = {}) {
542
+ // verify required parameter 'workspaceId' is not null or undefined
543
+ (0, common_1.assertParamExists)('gitListBranches', 'workspaceId', workspaceId);
544
+ // verify required parameter 'path' is not null or undefined
545
+ (0, common_1.assertParamExists)('gitListBranches', 'path', path);
545
546
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
546
547
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
547
548
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -550,17 +551,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
550
551
  if (configuration) {
551
552
  baseOptions = configuration.baseOptions;
552
553
  }
553
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
554
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
554
555
  const localVarHeaderParameter = {};
555
556
  const localVarQueryParameter = {};
556
557
  // authentication oauth2 required
557
558
  // oauth required
558
559
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
559
- localVarHeaderParameter['Content-Type'] = 'application/json';
560
+ if (path !== undefined) {
561
+ localVarQueryParameter['path'] = path;
562
+ }
560
563
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
561
564
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
562
565
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
563
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitBranchRequestDto, localVarRequestOptions, configuration);
564
566
  return {
565
567
  url: (0, common_1.toPathString)(localVarUrlObj),
566
568
  options: localVarRequestOptions,
@@ -574,11 +576,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
574
576
  * @param {*} [options] Override http request option.
575
577
  * @throws {RequiredError}
576
578
  */
577
- toolboxControllerGitPullChanges: (workspaceId_15, gitRepoRequestDto_1, ...args_15) => __awaiter(this, [workspaceId_15, gitRepoRequestDto_1, ...args_15], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
579
+ gitPullChanges: (workspaceId_15, gitRepoRequestDto_1, ...args_15) => __awaiter(this, [workspaceId_15, gitRepoRequestDto_1, ...args_15], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
578
580
  // verify required parameter 'workspaceId' is not null or undefined
579
- (0, common_1.assertParamExists)('toolboxControllerGitPullChanges', 'workspaceId', workspaceId);
581
+ (0, common_1.assertParamExists)('gitPullChanges', 'workspaceId', workspaceId);
580
582
  // verify required parameter 'gitRepoRequestDto' is not null or undefined
581
- (0, common_1.assertParamExists)('toolboxControllerGitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto);
583
+ (0, common_1.assertParamExists)('gitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto);
582
584
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`
583
585
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
584
586
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -611,11 +613,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
611
613
  * @param {*} [options] Override http request option.
612
614
  * @throws {RequiredError}
613
615
  */
614
- toolboxControllerGitPushChanges: (workspaceId_16, gitRepoRequestDto_2, ...args_16) => __awaiter(this, [workspaceId_16, gitRepoRequestDto_2, ...args_16], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
616
+ gitPushChanges: (workspaceId_16, gitRepoRequestDto_2, ...args_16) => __awaiter(this, [workspaceId_16, gitRepoRequestDto_2, ...args_16], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
615
617
  // verify required parameter 'workspaceId' is not null or undefined
616
- (0, common_1.assertParamExists)('toolboxControllerGitPushChanges', 'workspaceId', workspaceId);
618
+ (0, common_1.assertParamExists)('gitPushChanges', 'workspaceId', workspaceId);
617
619
  // verify required parameter 'gitRepoRequestDto' is not null or undefined
618
- (0, common_1.assertParamExists)('toolboxControllerGitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto);
620
+ (0, common_1.assertParamExists)('gitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto);
619
621
  const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`
620
622
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
621
623
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -641,19 +643,17 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
641
643
  };
642
644
  }),
643
645
  /**
644
- * Get status from git repository
645
- * @summary Get git status
646
+ *
647
+ * @summary List files
646
648
  * @param {string} workspaceId
647
- * @param {string} path
649
+ * @param {string} [path]
648
650
  * @param {*} [options] Override http request option.
649
651
  * @throws {RequiredError}
650
652
  */
651
- toolboxControllerGitStatus: (workspaceId_17, path_9, ...args_17) => __awaiter(this, [workspaceId_17, path_9, ...args_17], void 0, function* (workspaceId, path, options = {}) {
653
+ listFiles: (workspaceId_17, path_9, ...args_17) => __awaiter(this, [workspaceId_17, path_9, ...args_17], void 0, function* (workspaceId, path, options = {}) {
652
654
  // verify required parameter 'workspaceId' is not null or undefined
653
- (0, common_1.assertParamExists)('toolboxControllerGitStatus', 'workspaceId', workspaceId);
654
- // verify required parameter 'path' is not null or undefined
655
- (0, common_1.assertParamExists)('toolboxControllerGitStatus', 'path', path);
656
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
655
+ (0, common_1.assertParamExists)('listFiles', 'workspaceId', workspaceId);
656
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
657
657
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
658
658
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
659
659
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -687,13 +687,13 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
689
689
  */
690
- 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 = {}) {
690
+ 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 = {}) {
691
691
  // verify required parameter 'workspaceId' is not null or undefined
692
- (0, common_1.assertParamExists)('toolboxControllerMoveFile', 'workspaceId', workspaceId);
692
+ (0, common_1.assertParamExists)('moveFile', 'workspaceId', workspaceId);
693
693
  // verify required parameter 'source' is not null or undefined
694
- (0, common_1.assertParamExists)('toolboxControllerMoveFile', 'source', source);
694
+ (0, common_1.assertParamExists)('moveFile', 'source', source);
695
695
  // verify required parameter 'destination' is not null or undefined
696
- (0, common_1.assertParamExists)('toolboxControllerMoveFile', 'destination', destination);
696
+ (0, common_1.assertParamExists)('moveFile', 'destination', destination);
697
697
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`
698
698
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
699
699
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -730,11 +730,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
730
730
  * @param {*} [options] Override http request option.
731
731
  * @throws {RequiredError}
732
732
  */
733
- toolboxControllerReplaceInFiles: (workspaceId_19, replaceRequestDto_1, ...args_19) => __awaiter(this, [workspaceId_19, replaceRequestDto_1, ...args_19], void 0, function* (workspaceId, replaceRequestDto, options = {}) {
733
+ replaceInFiles: (workspaceId_19, replaceRequestDto_1, ...args_19) => __awaiter(this, [workspaceId_19, replaceRequestDto_1, ...args_19], void 0, function* (workspaceId, replaceRequestDto, options = {}) {
734
734
  // verify required parameter 'workspaceId' is not null or undefined
735
- (0, common_1.assertParamExists)('toolboxControllerReplaceInFiles', 'workspaceId', workspaceId);
735
+ (0, common_1.assertParamExists)('replaceInFiles', 'workspaceId', workspaceId);
736
736
  // verify required parameter 'replaceRequestDto' is not null or undefined
737
- (0, common_1.assertParamExists)('toolboxControllerReplaceInFiles', 'replaceRequestDto', replaceRequestDto);
737
+ (0, common_1.assertParamExists)('replaceInFiles', 'replaceRequestDto', replaceRequestDto);
738
738
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`
739
739
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
740
740
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -768,13 +768,13 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
768
768
  * @param {*} [options] Override http request option.
769
769
  * @throws {RequiredError}
770
770
  */
771
- 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 = {}) {
771
+ 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 = {}) {
772
772
  // verify required parameter 'workspaceId' is not null or undefined
773
- (0, common_1.assertParamExists)('toolboxControllerSearchFiles', 'workspaceId', workspaceId);
773
+ (0, common_1.assertParamExists)('searchFiles', 'workspaceId', workspaceId);
774
774
  // verify required parameter 'path' is not null or undefined
775
- (0, common_1.assertParamExists)('toolboxControllerSearchFiles', 'path', path);
775
+ (0, common_1.assertParamExists)('searchFiles', 'path', path);
776
776
  // verify required parameter 'pattern' is not null or undefined
777
- (0, common_1.assertParamExists)('toolboxControllerSearchFiles', 'pattern', pattern);
777
+ (0, common_1.assertParamExists)('searchFiles', 'pattern', pattern);
778
778
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`
779
779
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
780
780
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -814,17 +814,17 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
814
814
  * @param {*} [options] Override http request option.
815
815
  * @throws {RequiredError}
816
816
  */
817
- 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 = {}) {
817
+ 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 = {}) {
818
818
  // verify required parameter 'workspaceId' is not null or undefined
819
- (0, common_1.assertParamExists)('toolboxControllerSetFilePermissions', 'workspaceId', workspaceId);
819
+ (0, common_1.assertParamExists)('setFilePermissions', 'workspaceId', workspaceId);
820
820
  // verify required parameter 'path' is not null or undefined
821
- (0, common_1.assertParamExists)('toolboxControllerSetFilePermissions', 'path', path);
821
+ (0, common_1.assertParamExists)('setFilePermissions', 'path', path);
822
822
  // verify required parameter 'owner' is not null or undefined
823
- (0, common_1.assertParamExists)('toolboxControllerSetFilePermissions', 'owner', owner);
823
+ (0, common_1.assertParamExists)('setFilePermissions', 'owner', owner);
824
824
  // verify required parameter 'group' is not null or undefined
825
- (0, common_1.assertParamExists)('toolboxControllerSetFilePermissions', 'group', group);
825
+ (0, common_1.assertParamExists)('setFilePermissions', 'group', group);
826
826
  // verify required parameter 'mode' is not null or undefined
827
- (0, common_1.assertParamExists)('toolboxControllerSetFilePermissions', 'mode', mode);
827
+ (0, common_1.assertParamExists)('setFilePermissions', 'mode', mode);
828
828
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`
829
829
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
830
830
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -868,11 +868,11 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
868
868
  * @param {*} [options] Override http request option.
869
869
  * @throws {RequiredError}
870
870
  */
871
- 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 = {}) {
871
+ 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 = {}) {
872
872
  // verify required parameter 'workspaceId' is not null or undefined
873
- (0, common_1.assertParamExists)('toolboxControllerUploadFile', 'workspaceId', workspaceId);
873
+ (0, common_1.assertParamExists)('uploadFile', 'workspaceId', workspaceId);
874
874
  // verify required parameter 'path' is not null or undefined
875
- (0, common_1.assertParamExists)('toolboxControllerUploadFile', 'path', path);
875
+ (0, common_1.assertParamExists)('uploadFile', 'path', path);
876
876
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`
877
877
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
878
878
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -914,39 +914,6 @@ exports.ToolboxApiAxiosParamCreator = ToolboxApiAxiosParamCreator;
914
914
  const ToolboxApiFp = function (configuration) {
915
915
  const localVarAxiosParamCreator = (0, exports.ToolboxApiAxiosParamCreator)(configuration);
916
916
  return {
917
- /**
918
- *
919
- * @summary Get workspace project dir
920
- * @param {string} workspaceId
921
- * @param {*} [options] Override http request option.
922
- * @throws {RequiredError}
923
- */
924
- getProjectDir(workspaceId, options) {
925
- return __awaiter(this, void 0, void 0, function* () {
926
- var _a, _b, _c;
927
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, options);
928
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
929
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
930
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
931
- });
932
- },
933
- /**
934
- *
935
- * @summary List files
936
- * @param {string} workspaceId
937
- * @param {string} [path]
938
- * @param {*} [options] Override http request option.
939
- * @throws {RequiredError}
940
- */
941
- listFiles(workspaceId, path, options) {
942
- return __awaiter(this, void 0, void 0, function* () {
943
- var _a, _b, _c;
944
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, path, options);
945
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
946
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
947
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
948
- });
949
- },
950
917
  /**
951
918
  * Create folder inside workspace
952
919
  * @summary Create folder
@@ -956,12 +923,12 @@ const ToolboxApiFp = function (configuration) {
956
923
  * @param {*} [options] Override http request option.
957
924
  * @throws {RequiredError}
958
925
  */
959
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
926
+ createFolder(workspaceId, path, mode, options) {
960
927
  return __awaiter(this, void 0, void 0, function* () {
961
928
  var _a, _b, _c;
962
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerCreateFolder(workspaceId, path, mode, options);
929
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createFolder(workspaceId, path, mode, options);
963
930
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
964
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerCreateFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
931
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
965
932
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
966
933
  });
967
934
  },
@@ -973,12 +940,12 @@ const ToolboxApiFp = function (configuration) {
973
940
  * @param {*} [options] Override http request option.
974
941
  * @throws {RequiredError}
975
942
  */
976
- toolboxControllerDeleteFile(workspaceId, path, options) {
943
+ deleteFile(workspaceId, path, options) {
977
944
  return __awaiter(this, void 0, void 0, function* () {
978
945
  var _a, _b, _c;
979
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerDeleteFile(workspaceId, path, options);
946
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(workspaceId, path, options);
980
947
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
981
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerDeleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
948
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
982
949
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
983
950
  });
984
951
  },
@@ -990,12 +957,12 @@ const ToolboxApiFp = function (configuration) {
990
957
  * @param {*} [options] Override http request option.
991
958
  * @throws {RequiredError}
992
959
  */
993
- toolboxControllerDownloadFile(workspaceId, path, options) {
960
+ downloadFile(workspaceId, path, options) {
994
961
  return __awaiter(this, void 0, void 0, function* () {
995
962
  var _a, _b, _c;
996
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerDownloadFile(workspaceId, path, options);
963
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(workspaceId, path, options);
997
964
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
998
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerDownloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
965
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
999
966
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1000
967
  });
1001
968
  },
@@ -1007,12 +974,12 @@ const ToolboxApiFp = function (configuration) {
1007
974
  * @param {*} [options] Override http request option.
1008
975
  * @throws {RequiredError}
1009
976
  */
1010
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
977
+ executeCommand(workspaceId, executeRequestDto, options) {
1011
978
  return __awaiter(this, void 0, void 0, function* () {
1012
979
  var _a, _b, _c;
1013
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options);
980
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequestDto, options);
1014
981
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1015
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerExecuteCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
982
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1016
983
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1017
984
  });
1018
985
  },
@@ -1025,12 +992,12 @@ const ToolboxApiFp = function (configuration) {
1025
992
  * @param {*} [options] Override http request option.
1026
993
  * @throws {RequiredError}
1027
994
  */
1028
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
995
+ findInFiles(workspaceId, path, pattern, options) {
1029
996
  return __awaiter(this, void 0, void 0, function* () {
1030
997
  var _a, _b, _c;
1031
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerFindInFiles(workspaceId, path, pattern, options);
998
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, options);
1032
999
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1033
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerFindInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1000
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1034
1001
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1035
1002
  });
1036
1003
  },
@@ -1042,46 +1009,45 @@ const ToolboxApiFp = function (configuration) {
1042
1009
  * @param {*} [options] Override http request option.
1043
1010
  * @throws {RequiredError}
1044
1011
  */
1045
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1012
+ getFileInfo(workspaceId, path, options) {
1046
1013
  return __awaiter(this, void 0, void 0, function* () {
1047
1014
  var _a, _b, _c;
1048
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGetFileInfo(workspaceId, path, options);
1015
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileInfo(workspaceId, path, options);
1049
1016
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1050
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGetFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1017
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1051
1018
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1052
1019
  });
1053
1020
  },
1054
1021
  /**
1055
- * Add files to git commit
1056
- * @summary Add files
1022
+ *
1023
+ * @summary Get workspace project dir
1057
1024
  * @param {string} workspaceId
1058
- * @param {GitAddRequestDto} gitAddRequestDto
1059
1025
  * @param {*} [options] Override http request option.
1060
1026
  * @throws {RequiredError}
1061
1027
  */
1062
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1028
+ getProjectDir(workspaceId, options) {
1063
1029
  return __awaiter(this, void 0, void 0, function* () {
1064
1030
  var _a, _b, _c;
1065
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options);
1031
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, options);
1066
1032
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1067
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1033
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1068
1034
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1069
1035
  });
1070
1036
  },
1071
1037
  /**
1072
- * Get branch list from git repository
1073
- * @summary Get branch list
1038
+ * Add files to git commit
1039
+ * @summary Add files
1074
1040
  * @param {string} workspaceId
1075
- * @param {string} path
1041
+ * @param {GitAddRequestDto} gitAddRequestDto
1076
1042
  * @param {*} [options] Override http request option.
1077
1043
  * @throws {RequiredError}
1078
1044
  */
1079
- toolboxControllerGitBranchList(workspaceId, path, options) {
1045
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1080
1046
  return __awaiter(this, void 0, void 0, function* () {
1081
1047
  var _a, _b, _c;
1082
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitBranchList(workspaceId, path, options);
1048
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequestDto, options);
1083
1049
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1084
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitBranchList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1050
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1085
1051
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1086
1052
  });
1087
1053
  },
@@ -1093,12 +1059,12 @@ const ToolboxApiFp = function (configuration) {
1093
1059
  * @param {*} [options] Override http request option.
1094
1060
  * @throws {RequiredError}
1095
1061
  */
1096
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1062
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1097
1063
  return __awaiter(this, void 0, void 0, function* () {
1098
1064
  var _a, _b, _c;
1099
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options);
1065
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequestDto, options);
1100
1066
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1101
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1067
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1102
1068
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1103
1069
  });
1104
1070
  },
@@ -1110,12 +1076,29 @@ const ToolboxApiFp = function (configuration) {
1110
1076
  * @param {*} [options] Override http request option.
1111
1077
  * @throws {RequiredError}
1112
1078
  */
1113
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1079
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1080
+ return __awaiter(this, void 0, void 0, function* () {
1081
+ var _a, _b, _c;
1082
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequestDto, options);
1083
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1084
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1085
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1086
+ });
1087
+ },
1088
+ /**
1089
+ * Create branch on git repository
1090
+ * @summary Create branch
1091
+ * @param {string} workspaceId
1092
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1114
1097
  return __awaiter(this, void 0, void 0, function* () {
1115
1098
  var _a, _b, _c;
1116
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options);
1099
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequestDto, options);
1117
1100
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1118
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1101
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1119
1102
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1120
1103
  });
1121
1104
  },
@@ -1127,29 +1110,46 @@ const ToolboxApiFp = function (configuration) {
1127
1110
  * @param {*} [options] Override http request option.
1128
1111
  * @throws {RequiredError}
1129
1112
  */
1130
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1113
+ gitGetHistory(workspaceId, path, options) {
1131
1114
  return __awaiter(this, void 0, void 0, function* () {
1132
1115
  var _a, _b, _c;
1133
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCommitHistory(workspaceId, path, options);
1116
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetHistory(workspaceId, path, options);
1134
1117
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1135
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitCommitHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1118
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1136
1119
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1137
1120
  });
1138
1121
  },
1139
1122
  /**
1140
- * Create branch on git repository
1141
- * @summary Create branch
1123
+ * Get status from git repository
1124
+ * @summary Get git status
1142
1125
  * @param {string} workspaceId
1143
- * @param {GitBranchRequestDto} gitBranchRequestDto
1126
+ * @param {string} path
1127
+ * @param {*} [options] Override http request option.
1128
+ * @throws {RequiredError}
1129
+ */
1130
+ gitGetStatus(workspaceId, path, options) {
1131
+ return __awaiter(this, void 0, void 0, function* () {
1132
+ var _a, _b, _c;
1133
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetStatus(workspaceId, path, options);
1134
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1135
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1136
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1137
+ });
1138
+ },
1139
+ /**
1140
+ * Get branch list from git repository
1141
+ * @summary Get branch list
1142
+ * @param {string} workspaceId
1143
+ * @param {string} path
1144
1144
  * @param {*} [options] Override http request option.
1145
1145
  * @throws {RequiredError}
1146
1146
  */
1147
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1147
+ gitListBranches(workspaceId, path, options) {
1148
1148
  return __awaiter(this, void 0, void 0, function* () {
1149
1149
  var _a, _b, _c;
1150
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options);
1150
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitListBranches(workspaceId, path, options);
1151
1151
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1152
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1152
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1153
1153
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1154
1154
  });
1155
1155
  },
@@ -1161,12 +1161,12 @@ const ToolboxApiFp = function (configuration) {
1161
1161
  * @param {*} [options] Override http request option.
1162
1162
  * @throws {RequiredError}
1163
1163
  */
1164
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1164
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1165
1165
  return __awaiter(this, void 0, void 0, function* () {
1166
1166
  var _a, _b, _c;
1167
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options);
1167
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequestDto, options);
1168
1168
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1169
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1169
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1170
1170
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1171
1171
  });
1172
1172
  },
@@ -1178,29 +1178,29 @@ const ToolboxApiFp = function (configuration) {
1178
1178
  * @param {*} [options] Override http request option.
1179
1179
  * @throws {RequiredError}
1180
1180
  */
1181
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1181
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1182
1182
  return __awaiter(this, void 0, void 0, function* () {
1183
1183
  var _a, _b, _c;
1184
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options);
1184
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequestDto, options);
1185
1185
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1186
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1186
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1187
1187
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1188
1188
  });
1189
1189
  },
1190
1190
  /**
1191
- * Get status from git repository
1192
- * @summary Get git status
1191
+ *
1192
+ * @summary List files
1193
1193
  * @param {string} workspaceId
1194
- * @param {string} path
1194
+ * @param {string} [path]
1195
1195
  * @param {*} [options] Override http request option.
1196
1196
  * @throws {RequiredError}
1197
1197
  */
1198
- toolboxControllerGitStatus(workspaceId, path, options) {
1198
+ listFiles(workspaceId, path, options) {
1199
1199
  return __awaiter(this, void 0, void 0, function* () {
1200
1200
  var _a, _b, _c;
1201
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerGitStatus(workspaceId, path, options);
1201
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, path, options);
1202
1202
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1203
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerGitStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1203
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1204
1204
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1205
1205
  });
1206
1206
  },
@@ -1213,12 +1213,12 @@ const ToolboxApiFp = function (configuration) {
1213
1213
  * @param {*} [options] Override http request option.
1214
1214
  * @throws {RequiredError}
1215
1215
  */
1216
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1216
+ moveFile(workspaceId, source, destination, options) {
1217
1217
  return __awaiter(this, void 0, void 0, function* () {
1218
1218
  var _a, _b, _c;
1219
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerMoveFile(workspaceId, source, destination, options);
1219
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFile(workspaceId, source, destination, options);
1220
1220
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1221
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerMoveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1221
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1222
1222
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1223
1223
  });
1224
1224
  },
@@ -1230,12 +1230,12 @@ const ToolboxApiFp = function (configuration) {
1230
1230
  * @param {*} [options] Override http request option.
1231
1231
  * @throws {RequiredError}
1232
1232
  */
1233
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1233
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1234
1234
  return __awaiter(this, void 0, void 0, function* () {
1235
1235
  var _a, _b, _c;
1236
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options);
1236
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequestDto, options);
1237
1237
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1238
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerReplaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1238
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1239
1239
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1240
1240
  });
1241
1241
  },
@@ -1248,12 +1248,12 @@ const ToolboxApiFp = function (configuration) {
1248
1248
  * @param {*} [options] Override http request option.
1249
1249
  * @throws {RequiredError}
1250
1250
  */
1251
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1251
+ searchFiles(workspaceId, path, pattern, options) {
1252
1252
  return __awaiter(this, void 0, void 0, function* () {
1253
1253
  var _a, _b, _c;
1254
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerSearchFiles(workspaceId, path, pattern, options);
1254
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, options);
1255
1255
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1256
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerSearchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1256
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1257
1257
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1258
1258
  });
1259
1259
  },
@@ -1268,12 +1268,12 @@ const ToolboxApiFp = function (configuration) {
1268
1268
  * @param {*} [options] Override http request option.
1269
1269
  * @throws {RequiredError}
1270
1270
  */
1271
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1271
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1272
1272
  return __awaiter(this, void 0, void 0, function* () {
1273
1273
  var _a, _b, _c;
1274
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options);
1274
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setFilePermissions(workspaceId, path, owner, group, mode, options);
1275
1275
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1276
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerSetFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1276
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1277
1277
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1278
1278
  });
1279
1279
  },
@@ -1286,12 +1286,12 @@ const ToolboxApiFp = function (configuration) {
1286
1286
  * @param {*} [options] Override http request option.
1287
1287
  * @throws {RequiredError}
1288
1288
  */
1289
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1289
+ uploadFile(workspaceId, path, file, options) {
1290
1290
  return __awaiter(this, void 0, void 0, function* () {
1291
1291
  var _a, _b, _c;
1292
- const localVarAxiosArgs = yield localVarAxiosParamCreator.toolboxControllerUploadFile(workspaceId, path, file, options);
1292
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(workspaceId, path, file, options);
1293
1293
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1294
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.toolboxControllerUploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1294
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1295
1295
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1296
1296
  });
1297
1297
  },
@@ -1305,27 +1305,6 @@ exports.ToolboxApiFp = ToolboxApiFp;
1305
1305
  const ToolboxApiFactory = function (configuration, basePath, axios) {
1306
1306
  const localVarFp = (0, exports.ToolboxApiFp)(configuration);
1307
1307
  return {
1308
- /**
1309
- *
1310
- * @summary Get workspace project dir
1311
- * @param {string} workspaceId
1312
- * @param {*} [options] Override http request option.
1313
- * @throws {RequiredError}
1314
- */
1315
- getProjectDir(workspaceId, options) {
1316
- return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1317
- },
1318
- /**
1319
- *
1320
- * @summary List files
1321
- * @param {string} workspaceId
1322
- * @param {string} [path]
1323
- * @param {*} [options] Override http request option.
1324
- * @throws {RequiredError}
1325
- */
1326
- listFiles(workspaceId, path, options) {
1327
- return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1328
- },
1329
1308
  /**
1330
1309
  * Create folder inside workspace
1331
1310
  * @summary Create folder
@@ -1335,8 +1314,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1335
1314
  * @param {*} [options] Override http request option.
1336
1315
  * @throws {RequiredError}
1337
1316
  */
1338
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
1339
- return localVarFp.toolboxControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1317
+ createFolder(workspaceId, path, mode, options) {
1318
+ return localVarFp.createFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1340
1319
  },
1341
1320
  /**
1342
1321
  * Delete file inside workspace
@@ -1346,8 +1325,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1346
1325
  * @param {*} [options] Override http request option.
1347
1326
  * @throws {RequiredError}
1348
1327
  */
1349
- toolboxControllerDeleteFile(workspaceId, path, options) {
1350
- return localVarFp.toolboxControllerDeleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1328
+ deleteFile(workspaceId, path, options) {
1329
+ return localVarFp.deleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1351
1330
  },
1352
1331
  /**
1353
1332
  * Download file from workspace
@@ -1357,8 +1336,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1357
1336
  * @param {*} [options] Override http request option.
1358
1337
  * @throws {RequiredError}
1359
1338
  */
1360
- toolboxControllerDownloadFile(workspaceId, path, options) {
1361
- return localVarFp.toolboxControllerDownloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
1339
+ downloadFile(workspaceId, path, options) {
1340
+ return localVarFp.downloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
1362
1341
  },
1363
1342
  /**
1364
1343
  * Execute command synchronously inside workspace
@@ -1368,8 +1347,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1368
1347
  * @param {*} [options] Override http request option.
1369
1348
  * @throws {RequiredError}
1370
1349
  */
1371
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
1372
- return localVarFp.toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
1350
+ executeCommand(workspaceId, executeRequestDto, options) {
1351
+ return localVarFp.executeCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
1373
1352
  },
1374
1353
  /**
1375
1354
  * Search for text/pattern inside workspace files
@@ -1380,8 +1359,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1380
1359
  * @param {*} [options] Override http request option.
1381
1360
  * @throws {RequiredError}
1382
1361
  */
1383
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
1384
- return localVarFp.toolboxControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1362
+ findInFiles(workspaceId, path, pattern, options) {
1363
+ return localVarFp.findInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1385
1364
  },
1386
1365
  /**
1387
1366
  * Get file info inside workspace
@@ -1391,30 +1370,29 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1391
1370
  * @param {*} [options] Override http request option.
1392
1371
  * @throws {RequiredError}
1393
1372
  */
1394
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1395
- return localVarFp.toolboxControllerGetFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
1373
+ getFileInfo(workspaceId, path, options) {
1374
+ return localVarFp.getFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
1396
1375
  },
1397
1376
  /**
1398
- * Add files to git commit
1399
- * @summary Add files
1377
+ *
1378
+ * @summary Get workspace project dir
1400
1379
  * @param {string} workspaceId
1401
- * @param {GitAddRequestDto} gitAddRequestDto
1402
1380
  * @param {*} [options] Override http request option.
1403
1381
  * @throws {RequiredError}
1404
1382
  */
1405
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1406
- return localVarFp.toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
1383
+ getProjectDir(workspaceId, options) {
1384
+ return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1407
1385
  },
1408
1386
  /**
1409
- * Get branch list from git repository
1410
- * @summary Get branch list
1387
+ * Add files to git commit
1388
+ * @summary Add files
1411
1389
  * @param {string} workspaceId
1412
- * @param {string} path
1390
+ * @param {GitAddRequestDto} gitAddRequestDto
1413
1391
  * @param {*} [options] Override http request option.
1414
1392
  * @throws {RequiredError}
1415
1393
  */
1416
- toolboxControllerGitBranchList(workspaceId, path, options) {
1417
- return localVarFp.toolboxControllerGitBranchList(workspaceId, path, options).then((request) => request(axios, basePath));
1394
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1395
+ return localVarFp.gitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
1418
1396
  },
1419
1397
  /**
1420
1398
  * Clone git repository
@@ -1424,8 +1402,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1424
1402
  * @param {*} [options] Override http request option.
1425
1403
  * @throws {RequiredError}
1426
1404
  */
1427
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1428
- return localVarFp.toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
1405
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1406
+ return localVarFp.gitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
1429
1407
  },
1430
1408
  /**
1431
1409
  * Commit changes to git repository
@@ -1435,8 +1413,19 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1435
1413
  * @param {*} [options] Override http request option.
1436
1414
  * @throws {RequiredError}
1437
1415
  */
1438
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1439
- return localVarFp.toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
1416
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1417
+ return localVarFp.gitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
1418
+ },
1419
+ /**
1420
+ * Create branch on git repository
1421
+ * @summary Create branch
1422
+ * @param {string} workspaceId
1423
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1424
+ * @param {*} [options] Override http request option.
1425
+ * @throws {RequiredError}
1426
+ */
1427
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1428
+ return localVarFp.gitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
1440
1429
  },
1441
1430
  /**
1442
1431
  * Get commit history from git repository
@@ -1446,19 +1435,30 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1446
1435
  * @param {*} [options] Override http request option.
1447
1436
  * @throws {RequiredError}
1448
1437
  */
1449
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1450
- return localVarFp.toolboxControllerGitCommitHistory(workspaceId, path, options).then((request) => request(axios, basePath));
1438
+ gitGetHistory(workspaceId, path, options) {
1439
+ return localVarFp.gitGetHistory(workspaceId, path, options).then((request) => request(axios, basePath));
1451
1440
  },
1452
1441
  /**
1453
- * Create branch on git repository
1454
- * @summary Create branch
1442
+ * Get status from git repository
1443
+ * @summary Get git status
1455
1444
  * @param {string} workspaceId
1456
- * @param {GitBranchRequestDto} gitBranchRequestDto
1445
+ * @param {string} path
1446
+ * @param {*} [options] Override http request option.
1447
+ * @throws {RequiredError}
1448
+ */
1449
+ gitGetStatus(workspaceId, path, options) {
1450
+ return localVarFp.gitGetStatus(workspaceId, path, options).then((request) => request(axios, basePath));
1451
+ },
1452
+ /**
1453
+ * Get branch list from git repository
1454
+ * @summary Get branch list
1455
+ * @param {string} workspaceId
1456
+ * @param {string} path
1457
1457
  * @param {*} [options] Override http request option.
1458
1458
  * @throws {RequiredError}
1459
1459
  */
1460
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1461
- return localVarFp.toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
1460
+ gitListBranches(workspaceId, path, options) {
1461
+ return localVarFp.gitListBranches(workspaceId, path, options).then((request) => request(axios, basePath));
1462
1462
  },
1463
1463
  /**
1464
1464
  * Pull changes from remote
@@ -1468,8 +1468,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1468
1468
  * @param {*} [options] Override http request option.
1469
1469
  * @throws {RequiredError}
1470
1470
  */
1471
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1472
- return localVarFp.toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1471
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1472
+ return localVarFp.gitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1473
1473
  },
1474
1474
  /**
1475
1475
  * Push changes to remote
@@ -1479,19 +1479,19 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1479
1479
  * @param {*} [options] Override http request option.
1480
1480
  * @throws {RequiredError}
1481
1481
  */
1482
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1483
- return localVarFp.toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1482
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1483
+ return localVarFp.gitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
1484
1484
  },
1485
1485
  /**
1486
- * Get status from git repository
1487
- * @summary Get git status
1486
+ *
1487
+ * @summary List files
1488
1488
  * @param {string} workspaceId
1489
- * @param {string} path
1489
+ * @param {string} [path]
1490
1490
  * @param {*} [options] Override http request option.
1491
1491
  * @throws {RequiredError}
1492
1492
  */
1493
- toolboxControllerGitStatus(workspaceId, path, options) {
1494
- return localVarFp.toolboxControllerGitStatus(workspaceId, path, options).then((request) => request(axios, basePath));
1493
+ listFiles(workspaceId, path, options) {
1494
+ return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1495
1495
  },
1496
1496
  /**
1497
1497
  * Move file inside workspace
@@ -1502,8 +1502,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1502
1502
  * @param {*} [options] Override http request option.
1503
1503
  * @throws {RequiredError}
1504
1504
  */
1505
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1506
- return localVarFp.toolboxControllerMoveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
1505
+ moveFile(workspaceId, source, destination, options) {
1506
+ return localVarFp.moveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
1507
1507
  },
1508
1508
  /**
1509
1509
  * Replace text/pattern in multiple files inside workspace
@@ -1513,8 +1513,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1513
1513
  * @param {*} [options] Override http request option.
1514
1514
  * @throws {RequiredError}
1515
1515
  */
1516
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1517
- return localVarFp.toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
1516
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1517
+ return localVarFp.replaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
1518
1518
  },
1519
1519
  /**
1520
1520
  * Search for files inside workspace
@@ -1525,8 +1525,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1525
1525
  * @param {*} [options] Override http request option.
1526
1526
  * @throws {RequiredError}
1527
1527
  */
1528
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1529
- return localVarFp.toolboxControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1528
+ searchFiles(workspaceId, path, pattern, options) {
1529
+ return localVarFp.searchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
1530
1530
  },
1531
1531
  /**
1532
1532
  * Set file owner/group/permissions inside workspace
@@ -1539,8 +1539,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1539
1539
  * @param {*} [options] Override http request option.
1540
1540
  * @throws {RequiredError}
1541
1541
  */
1542
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1543
- return localVarFp.toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
1542
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1543
+ return localVarFp.setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
1544
1544
  },
1545
1545
  /**
1546
1546
  * Upload file inside workspace
@@ -1551,8 +1551,8 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1551
1551
  * @param {*} [options] Override http request option.
1552
1552
  * @throws {RequiredError}
1553
1553
  */
1554
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1555
- return localVarFp.toolboxControllerUploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
1554
+ uploadFile(workspaceId, path, file, options) {
1555
+ return localVarFp.uploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
1556
1556
  },
1557
1557
  };
1558
1558
  };
@@ -1564,29 +1564,6 @@ exports.ToolboxApiFactory = ToolboxApiFactory;
1564
1564
  * @extends {BaseAPI}
1565
1565
  */
1566
1566
  class ToolboxApi extends base_1.BaseAPI {
1567
- /**
1568
- *
1569
- * @summary Get workspace project dir
1570
- * @param {string} workspaceId
1571
- * @param {*} [options] Override http request option.
1572
- * @throws {RequiredError}
1573
- * @memberof ToolboxApi
1574
- */
1575
- getProjectDir(workspaceId, options) {
1576
- return (0, exports.ToolboxApiFp)(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1577
- }
1578
- /**
1579
- *
1580
- * @summary List files
1581
- * @param {string} workspaceId
1582
- * @param {string} [path]
1583
- * @param {*} [options] Override http request option.
1584
- * @throws {RequiredError}
1585
- * @memberof ToolboxApi
1586
- */
1587
- listFiles(workspaceId, path, options) {
1588
- return (0, exports.ToolboxApiFp)(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1589
- }
1590
1567
  /**
1591
1568
  * Create folder inside workspace
1592
1569
  * @summary Create folder
@@ -1597,8 +1574,8 @@ class ToolboxApi extends base_1.BaseAPI {
1597
1574
  * @throws {RequiredError}
1598
1575
  * @memberof ToolboxApi
1599
1576
  */
1600
- toolboxControllerCreateFolder(workspaceId, path, mode, options) {
1601
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1577
+ createFolder(workspaceId, path, mode, options) {
1578
+ return (0, exports.ToolboxApiFp)(this.configuration).createFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1602
1579
  }
1603
1580
  /**
1604
1581
  * Delete file inside workspace
@@ -1609,8 +1586,8 @@ class ToolboxApi extends base_1.BaseAPI {
1609
1586
  * @throws {RequiredError}
1610
1587
  * @memberof ToolboxApi
1611
1588
  */
1612
- toolboxControllerDeleteFile(workspaceId, path, options) {
1613
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerDeleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1589
+ deleteFile(workspaceId, path, options) {
1590
+ return (0, exports.ToolboxApiFp)(this.configuration).deleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1614
1591
  }
1615
1592
  /**
1616
1593
  * Download file from workspace
@@ -1621,8 +1598,8 @@ class ToolboxApi extends base_1.BaseAPI {
1621
1598
  * @throws {RequiredError}
1622
1599
  * @memberof ToolboxApi
1623
1600
  */
1624
- toolboxControllerDownloadFile(workspaceId, path, options) {
1625
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerDownloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1601
+ downloadFile(workspaceId, path, options) {
1602
+ return (0, exports.ToolboxApiFp)(this.configuration).downloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1626
1603
  }
1627
1604
  /**
1628
1605
  * Execute command synchronously inside workspace
@@ -1633,8 +1610,8 @@ class ToolboxApi extends base_1.BaseAPI {
1633
1610
  * @throws {RequiredError}
1634
1611
  * @memberof ToolboxApi
1635
1612
  */
1636
- toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options) {
1637
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
1613
+ executeCommand(workspaceId, executeRequestDto, options) {
1614
+ return (0, exports.ToolboxApiFp)(this.configuration).executeCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
1638
1615
  }
1639
1616
  /**
1640
1617
  * Search for text/pattern inside workspace files
@@ -1646,8 +1623,8 @@ class ToolboxApi extends base_1.BaseAPI {
1646
1623
  * @throws {RequiredError}
1647
1624
  * @memberof ToolboxApi
1648
1625
  */
1649
- toolboxControllerFindInFiles(workspaceId, path, pattern, options) {
1650
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1626
+ findInFiles(workspaceId, path, pattern, options) {
1627
+ return (0, exports.ToolboxApiFp)(this.configuration).findInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1651
1628
  }
1652
1629
  /**
1653
1630
  * Get file info inside workspace
@@ -1658,32 +1635,31 @@ class ToolboxApi extends base_1.BaseAPI {
1658
1635
  * @throws {RequiredError}
1659
1636
  * @memberof ToolboxApi
1660
1637
  */
1661
- toolboxControllerGetFileInfo(workspaceId, path, options) {
1662
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGetFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1638
+ getFileInfo(workspaceId, path, options) {
1639
+ return (0, exports.ToolboxApiFp)(this.configuration).getFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1663
1640
  }
1664
1641
  /**
1665
- * Add files to git commit
1666
- * @summary Add files
1642
+ *
1643
+ * @summary Get workspace project dir
1667
1644
  * @param {string} workspaceId
1668
- * @param {GitAddRequestDto} gitAddRequestDto
1669
1645
  * @param {*} [options] Override http request option.
1670
1646
  * @throws {RequiredError}
1671
1647
  * @memberof ToolboxApi
1672
1648
  */
1673
- toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
1674
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
1649
+ getProjectDir(workspaceId, options) {
1650
+ return (0, exports.ToolboxApiFp)(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1675
1651
  }
1676
1652
  /**
1677
- * Get branch list from git repository
1678
- * @summary Get branch list
1653
+ * Add files to git commit
1654
+ * @summary Add files
1679
1655
  * @param {string} workspaceId
1680
- * @param {string} path
1656
+ * @param {GitAddRequestDto} gitAddRequestDto
1681
1657
  * @param {*} [options] Override http request option.
1682
1658
  * @throws {RequiredError}
1683
1659
  * @memberof ToolboxApi
1684
1660
  */
1685
- toolboxControllerGitBranchList(workspaceId, path, options) {
1686
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitBranchList(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1661
+ gitAddFiles(workspaceId, gitAddRequestDto, options) {
1662
+ return (0, exports.ToolboxApiFp)(this.configuration).gitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
1687
1663
  }
1688
1664
  /**
1689
1665
  * Clone git repository
@@ -1694,8 +1670,8 @@ class ToolboxApi extends base_1.BaseAPI {
1694
1670
  * @throws {RequiredError}
1695
1671
  * @memberof ToolboxApi
1696
1672
  */
1697
- toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1698
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
1673
+ gitCloneRepository(workspaceId, gitCloneRequestDto, options) {
1674
+ return (0, exports.ToolboxApiFp)(this.configuration).gitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
1699
1675
  }
1700
1676
  /**
1701
1677
  * Commit changes to git repository
@@ -1706,8 +1682,20 @@ class ToolboxApi extends base_1.BaseAPI {
1706
1682
  * @throws {RequiredError}
1707
1683
  * @memberof ToolboxApi
1708
1684
  */
1709
- toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1710
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
1685
+ gitCommitChanges(workspaceId, gitCommitRequestDto, options) {
1686
+ return (0, exports.ToolboxApiFp)(this.configuration).gitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
1687
+ }
1688
+ /**
1689
+ * Create branch on git repository
1690
+ * @summary Create branch
1691
+ * @param {string} workspaceId
1692
+ * @param {GitBranchRequestDto} gitBranchRequestDto
1693
+ * @param {*} [options] Override http request option.
1694
+ * @throws {RequiredError}
1695
+ * @memberof ToolboxApi
1696
+ */
1697
+ gitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1698
+ return (0, exports.ToolboxApiFp)(this.configuration).gitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
1711
1699
  }
1712
1700
  /**
1713
1701
  * Get commit history from git repository
@@ -1718,20 +1706,32 @@ class ToolboxApi extends base_1.BaseAPI {
1718
1706
  * @throws {RequiredError}
1719
1707
  * @memberof ToolboxApi
1720
1708
  */
1721
- toolboxControllerGitCommitHistory(workspaceId, path, options) {
1722
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitCommitHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1709
+ gitGetHistory(workspaceId, path, options) {
1710
+ return (0, exports.ToolboxApiFp)(this.configuration).gitGetHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1723
1711
  }
1724
1712
  /**
1725
- * Create branch on git repository
1726
- * @summary Create branch
1713
+ * Get status from git repository
1714
+ * @summary Get git status
1727
1715
  * @param {string} workspaceId
1728
- * @param {GitBranchRequestDto} gitBranchRequestDto
1716
+ * @param {string} path
1717
+ * @param {*} [options] Override http request option.
1718
+ * @throws {RequiredError}
1719
+ * @memberof ToolboxApi
1720
+ */
1721
+ gitGetStatus(workspaceId, path, options) {
1722
+ return (0, exports.ToolboxApiFp)(this.configuration).gitGetStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1723
+ }
1724
+ /**
1725
+ * Get branch list from git repository
1726
+ * @summary Get branch list
1727
+ * @param {string} workspaceId
1728
+ * @param {string} path
1729
1729
  * @param {*} [options] Override http request option.
1730
1730
  * @throws {RequiredError}
1731
1731
  * @memberof ToolboxApi
1732
1732
  */
1733
- toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
1734
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
1733
+ gitListBranches(workspaceId, path, options) {
1734
+ return (0, exports.ToolboxApiFp)(this.configuration).gitListBranches(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1735
1735
  }
1736
1736
  /**
1737
1737
  * Pull changes from remote
@@ -1742,8 +1742,8 @@ class ToolboxApi extends base_1.BaseAPI {
1742
1742
  * @throws {RequiredError}
1743
1743
  * @memberof ToolboxApi
1744
1744
  */
1745
- toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
1746
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1745
+ gitPullChanges(workspaceId, gitRepoRequestDto, options) {
1746
+ return (0, exports.ToolboxApiFp)(this.configuration).gitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1747
1747
  }
1748
1748
  /**
1749
1749
  * Push changes to remote
@@ -1754,20 +1754,20 @@ class ToolboxApi extends base_1.BaseAPI {
1754
1754
  * @throws {RequiredError}
1755
1755
  * @memberof ToolboxApi
1756
1756
  */
1757
- toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
1758
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1757
+ gitPushChanges(workspaceId, gitRepoRequestDto, options) {
1758
+ return (0, exports.ToolboxApiFp)(this.configuration).gitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
1759
1759
  }
1760
1760
  /**
1761
- * Get status from git repository
1762
- * @summary Get git status
1761
+ *
1762
+ * @summary List files
1763
1763
  * @param {string} workspaceId
1764
- * @param {string} path
1764
+ * @param {string} [path]
1765
1765
  * @param {*} [options] Override http request option.
1766
1766
  * @throws {RequiredError}
1767
1767
  * @memberof ToolboxApi
1768
1768
  */
1769
- toolboxControllerGitStatus(workspaceId, path, options) {
1770
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerGitStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1769
+ listFiles(workspaceId, path, options) {
1770
+ return (0, exports.ToolboxApiFp)(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1771
1771
  }
1772
1772
  /**
1773
1773
  * Move file inside workspace
@@ -1779,8 +1779,8 @@ class ToolboxApi extends base_1.BaseAPI {
1779
1779
  * @throws {RequiredError}
1780
1780
  * @memberof ToolboxApi
1781
1781
  */
1782
- toolboxControllerMoveFile(workspaceId, source, destination, options) {
1783
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerMoveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
1782
+ moveFile(workspaceId, source, destination, options) {
1783
+ return (0, exports.ToolboxApiFp)(this.configuration).moveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
1784
1784
  }
1785
1785
  /**
1786
1786
  * Replace text/pattern in multiple files inside workspace
@@ -1791,8 +1791,8 @@ class ToolboxApi extends base_1.BaseAPI {
1791
1791
  * @throws {RequiredError}
1792
1792
  * @memberof ToolboxApi
1793
1793
  */
1794
- toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
1795
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
1794
+ replaceInFiles(workspaceId, replaceRequestDto, options) {
1795
+ return (0, exports.ToolboxApiFp)(this.configuration).replaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
1796
1796
  }
1797
1797
  /**
1798
1798
  * Search for files inside workspace
@@ -1804,8 +1804,8 @@ class ToolboxApi extends base_1.BaseAPI {
1804
1804
  * @throws {RequiredError}
1805
1805
  * @memberof ToolboxApi
1806
1806
  */
1807
- toolboxControllerSearchFiles(workspaceId, path, pattern, options) {
1808
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1807
+ searchFiles(workspaceId, path, pattern, options) {
1808
+ return (0, exports.ToolboxApiFp)(this.configuration).searchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
1809
1809
  }
1810
1810
  /**
1811
1811
  * Set file owner/group/permissions inside workspace
@@ -1819,8 +1819,8 @@ class ToolboxApi extends base_1.BaseAPI {
1819
1819
  * @throws {RequiredError}
1820
1820
  * @memberof ToolboxApi
1821
1821
  */
1822
- toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
1823
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
1822
+ setFilePermissions(workspaceId, path, owner, group, mode, options) {
1823
+ return (0, exports.ToolboxApiFp)(this.configuration).setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
1824
1824
  }
1825
1825
  /**
1826
1826
  * Upload file inside workspace
@@ -1832,8 +1832,8 @@ class ToolboxApi extends base_1.BaseAPI {
1832
1832
  * @throws {RequiredError}
1833
1833
  * @memberof ToolboxApi
1834
1834
  */
1835
- toolboxControllerUploadFile(workspaceId, path, file, options) {
1836
- return (0, exports.ToolboxApiFp)(this.configuration).toolboxControllerUploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
1835
+ uploadFile(workspaceId, path, file, options) {
1836
+ return (0, exports.ToolboxApiFp)(this.configuration).uploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
1837
1837
  }
1838
1838
  }
1839
1839
  exports.ToolboxApi = ToolboxApi;