@daytonaio/api-client 0.16.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/api/api-keys-api.ts +16 -0
  3. package/api/docker-registry-api.ts +28 -0
  4. package/api/images-api.ts +20 -0
  5. package/api/nodes-api.ts +12 -0
  6. package/api/organizations-api.ts +301 -0
  7. package/api/preview-api.ts +4 -0
  8. package/api/toolbox-api.ts +144 -0
  9. package/api/workspace-api.ts +61 -11
  10. package/dist/api/api-keys-api.js +65 -36
  11. package/dist/api/docker-registry-api.js +107 -63
  12. package/dist/api/images-api.js +79 -45
  13. package/dist/api/nodes-api.js +51 -27
  14. package/dist/api/organizations-api.d.ts +71 -0
  15. package/dist/api/organizations-api.js +485 -207
  16. package/dist/api/preview-api.js +43 -25
  17. package/dist/api/toolbox-api.js +513 -324
  18. package/dist/api/users-api.js +53 -36
  19. package/dist/api/workspace-api.d.ts +8 -8
  20. package/dist/api/workspace-api.js +196 -124
  21. package/dist/common.js +34 -19
  22. package/dist/esm/api/api-keys-api.js +66 -37
  23. package/dist/esm/api/docker-registry-api.js +108 -64
  24. package/dist/esm/api/images-api.js +80 -46
  25. package/dist/esm/api/nodes-api.js +52 -28
  26. package/dist/esm/api/organizations-api.d.ts +71 -0
  27. package/dist/esm/api/organizations-api.js +486 -208
  28. package/dist/esm/api/preview-api.js +44 -26
  29. package/dist/esm/api/toolbox-api.js +514 -325
  30. package/dist/esm/api/users-api.js +53 -36
  31. package/dist/esm/api/workspace-api.d.ts +8 -8
  32. package/dist/esm/api/workspace-api.js +197 -125
  33. package/dist/esm/common.js +34 -19
  34. package/dist/esm/models/create-image.d.ts +2 -2
  35. package/dist/esm/models/create-organization.d.ts +0 -66
  36. package/dist/esm/models/create-workspace.d.ts +0 -12
  37. package/dist/esm/models/image-dto.d.ts +2 -2
  38. package/dist/esm/models/index.d.ts +1 -0
  39. package/dist/esm/models/index.js +1 -0
  40. package/dist/esm/models/organization-suspension.d.ts +30 -0
  41. package/dist/esm/models/organization-suspension.js +14 -0
  42. package/dist/esm/models/organization.d.ts +24 -0
  43. package/dist/esm/models/workspace-info.d.ts +2 -1
  44. package/dist/esm/models/workspace-state.d.ts +1 -1
  45. package/dist/esm/models/workspace-state.js +1 -1
  46. package/dist/esm/models/workspace.d.ts +7 -0
  47. package/dist/models/create-image.d.ts +2 -2
  48. package/dist/models/create-organization.d.ts +0 -66
  49. package/dist/models/create-workspace.d.ts +0 -12
  50. package/dist/models/image-dto.d.ts +2 -2
  51. package/dist/models/index.d.ts +1 -0
  52. package/dist/models/index.js +1 -0
  53. package/dist/models/organization-suspension.d.ts +30 -0
  54. package/dist/models/organization-suspension.js +15 -0
  55. package/dist/models/organization.d.ts +24 -0
  56. package/dist/models/workspace-info.d.ts +2 -1
  57. package/dist/models/workspace-state.d.ts +1 -1
  58. package/dist/models/workspace-state.js +1 -1
  59. package/dist/models/workspace.d.ts +7 -0
  60. package/models/create-image.ts +2 -2
  61. package/models/create-organization.ts +0 -66
  62. package/models/create-workspace.ts +0 -12
  63. package/models/image-dto.ts +2 -2
  64. package/models/index.ts +1 -0
  65. package/models/organization-suspension.ts +33 -0
  66. package/models/organization.ts +24 -0
  67. package/models/workspace-info.ts +2 -1
  68. package/models/workspace-state.ts +1 -1
  69. package/models/workspace.ts +7 -0
  70. package/package.json +1 -1
  71. package/tsconfig.json +1 -1
@@ -12,6 +12,15 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
15
24
  Object.defineProperty(exports, "__esModule", { value: true });
16
25
  exports.ToolboxApi = exports.ToolboxApiFactory = exports.ToolboxApiFp = exports.ToolboxApiAxiosParamCreator = void 0;
17
26
  const axios_1 = require("axios");
@@ -36,7 +45,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
36
45
  * @param {*} [options] Override http request option.
37
46
  * @throws {RequiredError}
38
47
  */
39
- createFolder: async (workspaceId, path, mode, xDaytonaOrganizationID, options = {}) => {
48
+ createFolder: (workspaceId_1, path_1, mode_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, mode_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, mode, xDaytonaOrganizationID, options = {}) {
40
49
  // verify required parameter 'workspaceId' is not null or undefined
41
50
  (0, common_1.assertParamExists)('createFolder', 'workspaceId', workspaceId);
42
51
  // verify required parameter 'path' is not null or undefined
@@ -53,9 +62,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
53
62
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
54
63
  const localVarHeaderParameter = {};
55
64
  const localVarQueryParameter = {};
65
+ // authentication bearer required
66
+ // http bearer authentication required
67
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
56
68
  // authentication oauth2 required
57
69
  // oauth required
58
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
70
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
59
71
  if (path !== undefined) {
60
72
  localVarQueryParameter['path'] = path;
61
73
  }
@@ -72,7 +84,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
72
84
  url: (0, common_1.toPathString)(localVarUrlObj),
73
85
  options: localVarRequestOptions,
74
86
  };
75
- },
87
+ }),
76
88
  /**
77
89
  * Create a new session in the workspace
78
90
  * @summary Create session
@@ -82,7 +94,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
82
94
  * @param {*} [options] Override http request option.
83
95
  * @throws {RequiredError}
84
96
  */
85
- createSession: async (workspaceId, createSessionRequest, xDaytonaOrganizationID, options = {}) => {
97
+ createSession: (workspaceId_1, createSessionRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, createSessionRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, createSessionRequest, xDaytonaOrganizationID, options = {}) {
86
98
  // verify required parameter 'workspaceId' is not null or undefined
87
99
  (0, common_1.assertParamExists)('createSession', 'workspaceId', workspaceId);
88
100
  // verify required parameter 'createSessionRequest' is not null or undefined
@@ -97,9 +109,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
97
109
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
98
110
  const localVarHeaderParameter = {};
99
111
  const localVarQueryParameter = {};
112
+ // authentication bearer required
113
+ // http bearer authentication required
114
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
100
115
  // authentication oauth2 required
101
116
  // oauth required
102
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
117
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
103
118
  localVarHeaderParameter['Content-Type'] = 'application/json';
104
119
  if (xDaytonaOrganizationID != null) {
105
120
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -112,7 +127,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
112
127
  url: (0, common_1.toPathString)(localVarUrlObj),
113
128
  options: localVarRequestOptions,
114
129
  };
115
- },
130
+ }),
116
131
  /**
117
132
  * Delete file inside workspace
118
133
  * @summary Delete file
@@ -122,7 +137,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
122
137
  * @param {*} [options] Override http request option.
123
138
  * @throws {RequiredError}
124
139
  */
125
- deleteFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
140
+ deleteFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
126
141
  // verify required parameter 'workspaceId' is not null or undefined
127
142
  (0, common_1.assertParamExists)('deleteFile', 'workspaceId', workspaceId);
128
143
  // verify required parameter 'path' is not null or undefined
@@ -137,9 +152,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
137
152
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
138
153
  const localVarHeaderParameter = {};
139
154
  const localVarQueryParameter = {};
155
+ // authentication bearer required
156
+ // http bearer authentication required
157
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
140
158
  // authentication oauth2 required
141
159
  // oauth required
142
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
160
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
143
161
  if (path !== undefined) {
144
162
  localVarQueryParameter['path'] = path;
145
163
  }
@@ -153,7 +171,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
153
171
  url: (0, common_1.toPathString)(localVarUrlObj),
154
172
  options: localVarRequestOptions,
155
173
  };
156
- },
174
+ }),
157
175
  /**
158
176
  * Delete a specific session
159
177
  * @summary Delete session
@@ -163,7 +181,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
163
181
  * @param {*} [options] Override http request option.
164
182
  * @throws {RequiredError}
165
183
  */
166
- deleteSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
184
+ deleteSession: (workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) {
167
185
  // verify required parameter 'workspaceId' is not null or undefined
168
186
  (0, common_1.assertParamExists)('deleteSession', 'workspaceId', workspaceId);
169
187
  // verify required parameter 'sessionId' is not null or undefined
@@ -180,9 +198,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
180
198
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
181
199
  const localVarHeaderParameter = {};
182
200
  const localVarQueryParameter = {};
201
+ // authentication bearer required
202
+ // http bearer authentication required
203
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
183
204
  // authentication oauth2 required
184
205
  // oauth required
185
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
206
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
186
207
  if (xDaytonaOrganizationID != null) {
187
208
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
188
209
  }
@@ -193,7 +214,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
193
214
  url: (0, common_1.toPathString)(localVarUrlObj),
194
215
  options: localVarRequestOptions,
195
216
  };
196
- },
217
+ }),
197
218
  /**
198
219
  * Download file from workspace
199
220
  * @summary Download file
@@ -203,7 +224,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
203
224
  * @param {*} [options] Override http request option.
204
225
  * @throws {RequiredError}
205
226
  */
206
- downloadFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
227
+ downloadFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
207
228
  // verify required parameter 'workspaceId' is not null or undefined
208
229
  (0, common_1.assertParamExists)('downloadFile', 'workspaceId', workspaceId);
209
230
  // verify required parameter 'path' is not null or undefined
@@ -218,9 +239,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
218
239
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
219
240
  const localVarHeaderParameter = {};
220
241
  const localVarQueryParameter = {};
242
+ // authentication bearer required
243
+ // http bearer authentication required
244
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
221
245
  // authentication oauth2 required
222
246
  // oauth required
223
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
247
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
224
248
  if (path !== undefined) {
225
249
  localVarQueryParameter['path'] = path;
226
250
  }
@@ -234,7 +258,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
234
258
  url: (0, common_1.toPathString)(localVarUrlObj),
235
259
  options: localVarRequestOptions,
236
260
  };
237
- },
261
+ }),
238
262
  /**
239
263
  * Execute command synchronously inside workspace
240
264
  * @summary Execute command
@@ -244,7 +268,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
244
268
  * @param {*} [options] Override http request option.
245
269
  * @throws {RequiredError}
246
270
  */
247
- executeCommand: async (workspaceId, executeRequest, xDaytonaOrganizationID, options = {}) => {
271
+ executeCommand: (workspaceId_1, executeRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, executeRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, executeRequest, xDaytonaOrganizationID, options = {}) {
248
272
  // verify required parameter 'workspaceId' is not null or undefined
249
273
  (0, common_1.assertParamExists)('executeCommand', 'workspaceId', workspaceId);
250
274
  // verify required parameter 'executeRequest' is not null or undefined
@@ -259,9 +283,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
259
283
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
260
284
  const localVarHeaderParameter = {};
261
285
  const localVarQueryParameter = {};
286
+ // authentication bearer required
287
+ // http bearer authentication required
288
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
262
289
  // authentication oauth2 required
263
290
  // oauth required
264
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
291
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
265
292
  localVarHeaderParameter['Content-Type'] = 'application/json';
266
293
  if (xDaytonaOrganizationID != null) {
267
294
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -274,7 +301,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
274
301
  url: (0, common_1.toPathString)(localVarUrlObj),
275
302
  options: localVarRequestOptions,
276
303
  };
277
- },
304
+ }),
278
305
  /**
279
306
  * Execute a command in a specific session
280
307
  * @summary Execute command in session
@@ -285,7 +312,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
285
312
  * @param {*} [options] Override http request option.
286
313
  * @throws {RequiredError}
287
314
  */
288
- executeSessionCommand: async (workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) => {
315
+ executeSessionCommand: (workspaceId_1, sessionId_1, sessionExecuteRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, sessionExecuteRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) {
289
316
  // verify required parameter 'workspaceId' is not null or undefined
290
317
  (0, common_1.assertParamExists)('executeSessionCommand', 'workspaceId', workspaceId);
291
318
  // verify required parameter 'sessionId' is not null or undefined
@@ -304,9 +331,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
304
331
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
305
332
  const localVarHeaderParameter = {};
306
333
  const localVarQueryParameter = {};
334
+ // authentication bearer required
335
+ // http bearer authentication required
336
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
307
337
  // authentication oauth2 required
308
338
  // oauth required
309
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
339
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
310
340
  localVarHeaderParameter['Content-Type'] = 'application/json';
311
341
  if (xDaytonaOrganizationID != null) {
312
342
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -319,7 +349,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
319
349
  url: (0, common_1.toPathString)(localVarUrlObj),
320
350
  options: localVarRequestOptions,
321
351
  };
322
- },
352
+ }),
323
353
  /**
324
354
  * Search for text/pattern inside workspace files
325
355
  * @summary Search for text/pattern in files
@@ -330,7 +360,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
330
360
  * @param {*} [options] Override http request option.
331
361
  * @throws {RequiredError}
332
362
  */
333
- findInFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
363
+ findInFiles: (workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) {
334
364
  // verify required parameter 'workspaceId' is not null or undefined
335
365
  (0, common_1.assertParamExists)('findInFiles', 'workspaceId', workspaceId);
336
366
  // verify required parameter 'path' is not null or undefined
@@ -347,9 +377,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
347
377
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
348
378
  const localVarHeaderParameter = {};
349
379
  const localVarQueryParameter = {};
380
+ // authentication bearer required
381
+ // http bearer authentication required
382
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
350
383
  // authentication oauth2 required
351
384
  // oauth required
352
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
385
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
353
386
  if (path !== undefined) {
354
387
  localVarQueryParameter['path'] = path;
355
388
  }
@@ -366,7 +399,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
366
399
  url: (0, common_1.toPathString)(localVarUrlObj),
367
400
  options: localVarRequestOptions,
368
401
  };
369
- },
402
+ }),
370
403
  /**
371
404
  * Get file info inside workspace
372
405
  * @summary Get file info
@@ -376,7 +409,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
376
409
  * @param {*} [options] Override http request option.
377
410
  * @throws {RequiredError}
378
411
  */
379
- getFileInfo: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
412
+ getFileInfo: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
380
413
  // verify required parameter 'workspaceId' is not null or undefined
381
414
  (0, common_1.assertParamExists)('getFileInfo', 'workspaceId', workspaceId);
382
415
  // verify required parameter 'path' is not null or undefined
@@ -391,9 +424,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
391
424
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
392
425
  const localVarHeaderParameter = {};
393
426
  const localVarQueryParameter = {};
427
+ // authentication bearer required
428
+ // http bearer authentication required
429
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
394
430
  // authentication oauth2 required
395
431
  // oauth required
396
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
432
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
397
433
  if (path !== undefined) {
398
434
  localVarQueryParameter['path'] = path;
399
435
  }
@@ -407,7 +443,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
407
443
  url: (0, common_1.toPathString)(localVarUrlObj),
408
444
  options: localVarRequestOptions,
409
445
  };
410
- },
446
+ }),
411
447
  /**
412
448
  *
413
449
  * @summary Get workspace project dir
@@ -416,7 +452,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
416
452
  * @param {*} [options] Override http request option.
417
453
  * @throws {RequiredError}
418
454
  */
419
- getProjectDir: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
455
+ getProjectDir: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
420
456
  // verify required parameter 'workspaceId' is not null or undefined
421
457
  (0, common_1.assertParamExists)('getProjectDir', 'workspaceId', workspaceId);
422
458
  const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
@@ -429,9 +465,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
429
465
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
430
466
  const localVarHeaderParameter = {};
431
467
  const localVarQueryParameter = {};
468
+ // authentication bearer required
469
+ // http bearer authentication required
470
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
432
471
  // authentication oauth2 required
433
472
  // oauth required
434
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
473
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
435
474
  if (xDaytonaOrganizationID != null) {
436
475
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
437
476
  }
@@ -442,7 +481,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
442
481
  url: (0, common_1.toPathString)(localVarUrlObj),
443
482
  options: localVarRequestOptions,
444
483
  };
445
- },
484
+ }),
446
485
  /**
447
486
  * Get session by ID
448
487
  * @summary Get session
@@ -452,7 +491,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
452
491
  * @param {*} [options] Override http request option.
453
492
  * @throws {RequiredError}
454
493
  */
455
- getSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
494
+ getSession: (workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) {
456
495
  // verify required parameter 'workspaceId' is not null or undefined
457
496
  (0, common_1.assertParamExists)('getSession', 'workspaceId', workspaceId);
458
497
  // verify required parameter 'sessionId' is not null or undefined
@@ -469,9 +508,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
469
508
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
470
509
  const localVarHeaderParameter = {};
471
510
  const localVarQueryParameter = {};
511
+ // authentication bearer required
512
+ // http bearer authentication required
513
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
472
514
  // authentication oauth2 required
473
515
  // oauth required
474
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
516
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
475
517
  if (xDaytonaOrganizationID != null) {
476
518
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
477
519
  }
@@ -482,7 +524,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
482
524
  url: (0, common_1.toPathString)(localVarUrlObj),
483
525
  options: localVarRequestOptions,
484
526
  };
485
- },
527
+ }),
486
528
  /**
487
529
  * Get session command by ID
488
530
  * @summary Get session command
@@ -493,7 +535,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
493
535
  * @param {*} [options] Override http request option.
494
536
  * @throws {RequiredError}
495
537
  */
496
- getSessionCommand: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, options = {}) => {
538
+ getSessionCommand: (workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, commandId, xDaytonaOrganizationID, options = {}) {
497
539
  // verify required parameter 'workspaceId' is not null or undefined
498
540
  (0, common_1.assertParamExists)('getSessionCommand', 'workspaceId', workspaceId);
499
541
  // verify required parameter 'sessionId' is not null or undefined
@@ -513,9 +555,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
513
555
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
514
556
  const localVarHeaderParameter = {};
515
557
  const localVarQueryParameter = {};
558
+ // authentication bearer required
559
+ // http bearer authentication required
560
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
516
561
  // authentication oauth2 required
517
562
  // oauth required
518
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
563
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
519
564
  if (xDaytonaOrganizationID != null) {
520
565
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
521
566
  }
@@ -526,7 +571,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
526
571
  url: (0, common_1.toPathString)(localVarUrlObj),
527
572
  options: localVarRequestOptions,
528
573
  };
529
- },
574
+ }),
530
575
  /**
531
576
  * Get logs for a specific command in a session
532
577
  * @summary Get command logs
@@ -538,7 +583,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
538
583
  * @param {*} [options] Override http request option.
539
584
  * @throws {RequiredError}
540
585
  */
541
- getSessionCommandLogs: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) => {
586
+ getSessionCommandLogs: (workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, follow_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, follow_1, ...args_1], void 0, function* (workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) {
542
587
  // verify required parameter 'workspaceId' is not null or undefined
543
588
  (0, common_1.assertParamExists)('getSessionCommandLogs', 'workspaceId', workspaceId);
544
589
  // verify required parameter 'sessionId' is not null or undefined
@@ -558,9 +603,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
558
603
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
559
604
  const localVarHeaderParameter = {};
560
605
  const localVarQueryParameter = {};
606
+ // authentication bearer required
607
+ // http bearer authentication required
608
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
561
609
  // authentication oauth2 required
562
610
  // oauth required
563
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
611
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
564
612
  if (follow !== undefined) {
565
613
  localVarQueryParameter['follow'] = follow;
566
614
  }
@@ -574,7 +622,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
574
622
  url: (0, common_1.toPathString)(localVarUrlObj),
575
623
  options: localVarRequestOptions,
576
624
  };
577
- },
625
+ }),
578
626
  /**
579
627
  * Add files to git commit
580
628
  * @summary Add files
@@ -584,7 +632,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
584
632
  * @param {*} [options] Override http request option.
585
633
  * @throws {RequiredError}
586
634
  */
587
- gitAddFiles: async (workspaceId, gitAddRequest, xDaytonaOrganizationID, options = {}) => {
635
+ gitAddFiles: (workspaceId_1, gitAddRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitAddRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitAddRequest, xDaytonaOrganizationID, options = {}) {
588
636
  // verify required parameter 'workspaceId' is not null or undefined
589
637
  (0, common_1.assertParamExists)('gitAddFiles', 'workspaceId', workspaceId);
590
638
  // verify required parameter 'gitAddRequest' is not null or undefined
@@ -599,9 +647,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
599
647
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
600
648
  const localVarHeaderParameter = {};
601
649
  const localVarQueryParameter = {};
650
+ // authentication bearer required
651
+ // http bearer authentication required
652
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
602
653
  // authentication oauth2 required
603
654
  // oauth required
604
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
655
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
605
656
  localVarHeaderParameter['Content-Type'] = 'application/json';
606
657
  if (xDaytonaOrganizationID != null) {
607
658
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -614,7 +665,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
614
665
  url: (0, common_1.toPathString)(localVarUrlObj),
615
666
  options: localVarRequestOptions,
616
667
  };
617
- },
668
+ }),
618
669
  /**
619
670
  * Clone git repository
620
671
  * @summary Clone repository
@@ -624,7 +675,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
624
675
  * @param {*} [options] Override http request option.
625
676
  * @throws {RequiredError}
626
677
  */
627
- gitCloneRepository: async (workspaceId, gitCloneRequest, xDaytonaOrganizationID, options = {}) => {
678
+ gitCloneRepository: (workspaceId_1, gitCloneRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitCloneRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitCloneRequest, xDaytonaOrganizationID, options = {}) {
628
679
  // verify required parameter 'workspaceId' is not null or undefined
629
680
  (0, common_1.assertParamExists)('gitCloneRepository', 'workspaceId', workspaceId);
630
681
  // verify required parameter 'gitCloneRequest' is not null or undefined
@@ -639,9 +690,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
639
690
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
640
691
  const localVarHeaderParameter = {};
641
692
  const localVarQueryParameter = {};
693
+ // authentication bearer required
694
+ // http bearer authentication required
695
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
642
696
  // authentication oauth2 required
643
697
  // oauth required
644
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
698
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
645
699
  localVarHeaderParameter['Content-Type'] = 'application/json';
646
700
  if (xDaytonaOrganizationID != null) {
647
701
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -654,7 +708,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
654
708
  url: (0, common_1.toPathString)(localVarUrlObj),
655
709
  options: localVarRequestOptions,
656
710
  };
657
- },
711
+ }),
658
712
  /**
659
713
  * Commit changes to git repository
660
714
  * @summary Commit changes
@@ -664,7 +718,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
664
718
  * @param {*} [options] Override http request option.
665
719
  * @throws {RequiredError}
666
720
  */
667
- gitCommitChanges: async (workspaceId, gitCommitRequest, xDaytonaOrganizationID, options = {}) => {
721
+ gitCommitChanges: (workspaceId_1, gitCommitRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitCommitRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitCommitRequest, xDaytonaOrganizationID, options = {}) {
668
722
  // verify required parameter 'workspaceId' is not null or undefined
669
723
  (0, common_1.assertParamExists)('gitCommitChanges', 'workspaceId', workspaceId);
670
724
  // verify required parameter 'gitCommitRequest' is not null or undefined
@@ -679,9 +733,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
679
733
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
680
734
  const localVarHeaderParameter = {};
681
735
  const localVarQueryParameter = {};
736
+ // authentication bearer required
737
+ // http bearer authentication required
738
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
682
739
  // authentication oauth2 required
683
740
  // oauth required
684
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
741
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
685
742
  localVarHeaderParameter['Content-Type'] = 'application/json';
686
743
  if (xDaytonaOrganizationID != null) {
687
744
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -694,7 +751,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
694
751
  url: (0, common_1.toPathString)(localVarUrlObj),
695
752
  options: localVarRequestOptions,
696
753
  };
697
- },
754
+ }),
698
755
  /**
699
756
  * Create branch on git repository
700
757
  * @summary Create branch
@@ -704,7 +761,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
704
761
  * @param {*} [options] Override http request option.
705
762
  * @throws {RequiredError}
706
763
  */
707
- gitCreateBranch: async (workspaceId, gitBranchRequest, xDaytonaOrganizationID, options = {}) => {
764
+ gitCreateBranch: (workspaceId_1, gitBranchRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitBranchRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitBranchRequest, xDaytonaOrganizationID, options = {}) {
708
765
  // verify required parameter 'workspaceId' is not null or undefined
709
766
  (0, common_1.assertParamExists)('gitCreateBranch', 'workspaceId', workspaceId);
710
767
  // verify required parameter 'gitBranchRequest' is not null or undefined
@@ -719,9 +776,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
719
776
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
720
777
  const localVarHeaderParameter = {};
721
778
  const localVarQueryParameter = {};
779
+ // authentication bearer required
780
+ // http bearer authentication required
781
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
722
782
  // authentication oauth2 required
723
783
  // oauth required
724
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
784
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
725
785
  localVarHeaderParameter['Content-Type'] = 'application/json';
726
786
  if (xDaytonaOrganizationID != null) {
727
787
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -734,7 +794,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
734
794
  url: (0, common_1.toPathString)(localVarUrlObj),
735
795
  options: localVarRequestOptions,
736
796
  };
737
- },
797
+ }),
738
798
  /**
739
799
  * Get commit history from git repository
740
800
  * @summary Get commit history
@@ -744,7 +804,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
744
804
  * @param {*} [options] Override http request option.
745
805
  * @throws {RequiredError}
746
806
  */
747
- gitGetHistory: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
807
+ gitGetHistory: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
748
808
  // verify required parameter 'workspaceId' is not null or undefined
749
809
  (0, common_1.assertParamExists)('gitGetHistory', 'workspaceId', workspaceId);
750
810
  // verify required parameter 'path' is not null or undefined
@@ -759,9 +819,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
759
819
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
760
820
  const localVarHeaderParameter = {};
761
821
  const localVarQueryParameter = {};
822
+ // authentication bearer required
823
+ // http bearer authentication required
824
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
762
825
  // authentication oauth2 required
763
826
  // oauth required
764
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
827
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
765
828
  if (path !== undefined) {
766
829
  localVarQueryParameter['path'] = path;
767
830
  }
@@ -775,7 +838,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
775
838
  url: (0, common_1.toPathString)(localVarUrlObj),
776
839
  options: localVarRequestOptions,
777
840
  };
778
- },
841
+ }),
779
842
  /**
780
843
  * Get status from git repository
781
844
  * @summary Get git status
@@ -785,7 +848,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
785
848
  * @param {*} [options] Override http request option.
786
849
  * @throws {RequiredError}
787
850
  */
788
- gitGetStatus: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
851
+ gitGetStatus: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
789
852
  // verify required parameter 'workspaceId' is not null or undefined
790
853
  (0, common_1.assertParamExists)('gitGetStatus', 'workspaceId', workspaceId);
791
854
  // verify required parameter 'path' is not null or undefined
@@ -800,9 +863,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
800
863
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
801
864
  const localVarHeaderParameter = {};
802
865
  const localVarQueryParameter = {};
866
+ // authentication bearer required
867
+ // http bearer authentication required
868
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
803
869
  // authentication oauth2 required
804
870
  // oauth required
805
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
871
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
806
872
  if (path !== undefined) {
807
873
  localVarQueryParameter['path'] = path;
808
874
  }
@@ -816,7 +882,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
816
882
  url: (0, common_1.toPathString)(localVarUrlObj),
817
883
  options: localVarRequestOptions,
818
884
  };
819
- },
885
+ }),
820
886
  /**
821
887
  * Get branch list from git repository
822
888
  * @summary Get branch list
@@ -826,7 +892,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
826
892
  * @param {*} [options] Override http request option.
827
893
  * @throws {RequiredError}
828
894
  */
829
- gitListBranches: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
895
+ gitListBranches: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
830
896
  // verify required parameter 'workspaceId' is not null or undefined
831
897
  (0, common_1.assertParamExists)('gitListBranches', 'workspaceId', workspaceId);
832
898
  // verify required parameter 'path' is not null or undefined
@@ -841,9 +907,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
841
907
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
842
908
  const localVarHeaderParameter = {};
843
909
  const localVarQueryParameter = {};
910
+ // authentication bearer required
911
+ // http bearer authentication required
912
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
844
913
  // authentication oauth2 required
845
914
  // oauth required
846
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
915
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
847
916
  if (path !== undefined) {
848
917
  localVarQueryParameter['path'] = path;
849
918
  }
@@ -857,7 +926,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
857
926
  url: (0, common_1.toPathString)(localVarUrlObj),
858
927
  options: localVarRequestOptions,
859
928
  };
860
- },
929
+ }),
861
930
  /**
862
931
  * Pull changes from remote
863
932
  * @summary Pull changes
@@ -867,7 +936,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
867
936
  * @param {*} [options] Override http request option.
868
937
  * @throws {RequiredError}
869
938
  */
870
- gitPullChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
939
+ gitPullChanges: (workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) {
871
940
  // verify required parameter 'workspaceId' is not null or undefined
872
941
  (0, common_1.assertParamExists)('gitPullChanges', 'workspaceId', workspaceId);
873
942
  // verify required parameter 'gitRepoRequest' is not null or undefined
@@ -882,9 +951,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
882
951
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
883
952
  const localVarHeaderParameter = {};
884
953
  const localVarQueryParameter = {};
954
+ // authentication bearer required
955
+ // http bearer authentication required
956
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
885
957
  // authentication oauth2 required
886
958
  // oauth required
887
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
959
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
888
960
  localVarHeaderParameter['Content-Type'] = 'application/json';
889
961
  if (xDaytonaOrganizationID != null) {
890
962
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -897,7 +969,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
897
969
  url: (0, common_1.toPathString)(localVarUrlObj),
898
970
  options: localVarRequestOptions,
899
971
  };
900
- },
972
+ }),
901
973
  /**
902
974
  * Push changes to remote
903
975
  * @summary Push changes
@@ -907,7 +979,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
907
979
  * @param {*} [options] Override http request option.
908
980
  * @throws {RequiredError}
909
981
  */
910
- gitPushChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
982
+ gitPushChanges: (workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) {
911
983
  // verify required parameter 'workspaceId' is not null or undefined
912
984
  (0, common_1.assertParamExists)('gitPushChanges', 'workspaceId', workspaceId);
913
985
  // verify required parameter 'gitRepoRequest' is not null or undefined
@@ -922,9 +994,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
922
994
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
923
995
  const localVarHeaderParameter = {};
924
996
  const localVarQueryParameter = {};
997
+ // authentication bearer required
998
+ // http bearer authentication required
999
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
925
1000
  // authentication oauth2 required
926
1001
  // oauth required
927
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1002
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
928
1003
  localVarHeaderParameter['Content-Type'] = 'application/json';
929
1004
  if (xDaytonaOrganizationID != null) {
930
1005
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -937,7 +1012,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
937
1012
  url: (0, common_1.toPathString)(localVarUrlObj),
938
1013
  options: localVarRequestOptions,
939
1014
  };
940
- },
1015
+ }),
941
1016
  /**
942
1017
  *
943
1018
  * @summary List files
@@ -947,7 +1022,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
947
1022
  * @param {*} [options] Override http request option.
948
1023
  * @throws {RequiredError}
949
1024
  */
950
- listFiles: async (workspaceId, xDaytonaOrganizationID, path, options = {}) => {
1025
+ listFiles: (workspaceId_1, xDaytonaOrganizationID_1, path_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, path_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, path, options = {}) {
951
1026
  // verify required parameter 'workspaceId' is not null or undefined
952
1027
  (0, common_1.assertParamExists)('listFiles', 'workspaceId', workspaceId);
953
1028
  const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
@@ -960,9 +1035,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
960
1035
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
961
1036
  const localVarHeaderParameter = {};
962
1037
  const localVarQueryParameter = {};
1038
+ // authentication bearer required
1039
+ // http bearer authentication required
1040
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
963
1041
  // authentication oauth2 required
964
1042
  // oauth required
965
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1043
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
966
1044
  if (path !== undefined) {
967
1045
  localVarQueryParameter['path'] = path;
968
1046
  }
@@ -976,7 +1054,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
976
1054
  url: (0, common_1.toPathString)(localVarUrlObj),
977
1055
  options: localVarRequestOptions,
978
1056
  };
979
- },
1057
+ }),
980
1058
  /**
981
1059
  * List all active sessions in the workspace
982
1060
  * @summary List sessions
@@ -985,7 +1063,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
985
1063
  * @param {*} [options] Override http request option.
986
1064
  * @throws {RequiredError}
987
1065
  */
988
- listSessions: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
1066
+ listSessions: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
989
1067
  // verify required parameter 'workspaceId' is not null or undefined
990
1068
  (0, common_1.assertParamExists)('listSessions', 'workspaceId', workspaceId);
991
1069
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
@@ -998,9 +1076,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
998
1076
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
999
1077
  const localVarHeaderParameter = {};
1000
1078
  const localVarQueryParameter = {};
1079
+ // authentication bearer required
1080
+ // http bearer authentication required
1081
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1001
1082
  // authentication oauth2 required
1002
1083
  // oauth required
1003
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1084
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1004
1085
  if (xDaytonaOrganizationID != null) {
1005
1086
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1006
1087
  }
@@ -1011,7 +1092,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1011
1092
  url: (0, common_1.toPathString)(localVarUrlObj),
1012
1093
  options: localVarRequestOptions,
1013
1094
  };
1014
- },
1095
+ }),
1015
1096
  /**
1016
1097
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
1017
1098
  * @summary Get Lsp Completions
@@ -1021,7 +1102,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1021
1102
  * @param {*} [options] Override http request option.
1022
1103
  * @throws {RequiredError}
1023
1104
  */
1024
- lspCompletions: async (workspaceId, lspCompletionParams, xDaytonaOrganizationID, options = {}) => {
1105
+ lspCompletions: (workspaceId_1, lspCompletionParams_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspCompletionParams_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspCompletionParams, xDaytonaOrganizationID, options = {}) {
1025
1106
  // verify required parameter 'workspaceId' is not null or undefined
1026
1107
  (0, common_1.assertParamExists)('lspCompletions', 'workspaceId', workspaceId);
1027
1108
  // verify required parameter 'lspCompletionParams' is not null or undefined
@@ -1036,9 +1117,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1036
1117
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1037
1118
  const localVarHeaderParameter = {};
1038
1119
  const localVarQueryParameter = {};
1120
+ // authentication bearer required
1121
+ // http bearer authentication required
1122
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1039
1123
  // authentication oauth2 required
1040
1124
  // oauth required
1041
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1125
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1042
1126
  localVarHeaderParameter['Content-Type'] = 'application/json';
1043
1127
  if (xDaytonaOrganizationID != null) {
1044
1128
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1051,7 +1135,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1051
1135
  url: (0, common_1.toPathString)(localVarUrlObj),
1052
1136
  options: localVarRequestOptions,
1053
1137
  };
1054
- },
1138
+ }),
1055
1139
  /**
1056
1140
  * The document close notification is sent from the client to the server when the document got closed in the client.
1057
1141
  * @summary Call Lsp DidClose
@@ -1061,7 +1145,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1061
1145
  * @param {*} [options] Override http request option.
1062
1146
  * @throws {RequiredError}
1063
1147
  */
1064
- lspDidClose: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
1148
+ lspDidClose: (workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) {
1065
1149
  // verify required parameter 'workspaceId' is not null or undefined
1066
1150
  (0, common_1.assertParamExists)('lspDidClose', 'workspaceId', workspaceId);
1067
1151
  // verify required parameter 'lspDocumentRequest' is not null or undefined
@@ -1076,9 +1160,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1076
1160
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1077
1161
  const localVarHeaderParameter = {};
1078
1162
  const localVarQueryParameter = {};
1163
+ // authentication bearer required
1164
+ // http bearer authentication required
1165
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1079
1166
  // authentication oauth2 required
1080
1167
  // oauth required
1081
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1168
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1082
1169
  localVarHeaderParameter['Content-Type'] = 'application/json';
1083
1170
  if (xDaytonaOrganizationID != null) {
1084
1171
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1091,7 +1178,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1091
1178
  url: (0, common_1.toPathString)(localVarUrlObj),
1092
1179
  options: localVarRequestOptions,
1093
1180
  };
1094
- },
1181
+ }),
1095
1182
  /**
1096
1183
  * The document open notification is sent from the client to the server to signal newly opened text documents.
1097
1184
  * @summary Call Lsp DidOpen
@@ -1101,7 +1188,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1101
1188
  * @param {*} [options] Override http request option.
1102
1189
  * @throws {RequiredError}
1103
1190
  */
1104
- lspDidOpen: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
1191
+ lspDidOpen: (workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) {
1105
1192
  // verify required parameter 'workspaceId' is not null or undefined
1106
1193
  (0, common_1.assertParamExists)('lspDidOpen', 'workspaceId', workspaceId);
1107
1194
  // verify required parameter 'lspDocumentRequest' is not null or undefined
@@ -1116,9 +1203,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1116
1203
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1117
1204
  const localVarHeaderParameter = {};
1118
1205
  const localVarQueryParameter = {};
1206
+ // authentication bearer required
1207
+ // http bearer authentication required
1208
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1119
1209
  // authentication oauth2 required
1120
1210
  // oauth required
1121
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1211
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1122
1212
  localVarHeaderParameter['Content-Type'] = 'application/json';
1123
1213
  if (xDaytonaOrganizationID != null) {
1124
1214
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1131,7 +1221,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1131
1221
  url: (0, common_1.toPathString)(localVarUrlObj),
1132
1222
  options: localVarRequestOptions,
1133
1223
  };
1134
- },
1224
+ }),
1135
1225
  /**
1136
1226
  * The document symbol request is sent from the client to the server.
1137
1227
  * @summary Call Lsp DocumentSymbols
@@ -1143,7 +1233,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1143
1233
  * @param {*} [options] Override http request option.
1144
1234
  * @throws {RequiredError}
1145
1235
  */
1146
- lspDocumentSymbols: async (workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) => {
1236
+ lspDocumentSymbols: (workspaceId_1, languageId_1, pathToProject_1, uri_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, uri_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) {
1147
1237
  // verify required parameter 'workspaceId' is not null or undefined
1148
1238
  (0, common_1.assertParamExists)('lspDocumentSymbols', 'workspaceId', workspaceId);
1149
1239
  // verify required parameter 'languageId' is not null or undefined
@@ -1162,9 +1252,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1162
1252
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1163
1253
  const localVarHeaderParameter = {};
1164
1254
  const localVarQueryParameter = {};
1255
+ // authentication bearer required
1256
+ // http bearer authentication required
1257
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1165
1258
  // authentication oauth2 required
1166
1259
  // oauth required
1167
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1260
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1168
1261
  if (languageId !== undefined) {
1169
1262
  localVarQueryParameter['languageId'] = languageId;
1170
1263
  }
@@ -1184,7 +1277,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1184
1277
  url: (0, common_1.toPathString)(localVarUrlObj),
1185
1278
  options: localVarRequestOptions,
1186
1279
  };
1187
- },
1280
+ }),
1188
1281
  /**
1189
1282
  * Start Lsp server process inside workspace project
1190
1283
  * @summary Start Lsp server
@@ -1194,7 +1287,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1194
1287
  * @param {*} [options] Override http request option.
1195
1288
  * @throws {RequiredError}
1196
1289
  */
1197
- lspStart: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
1290
+ lspStart: (workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) {
1198
1291
  // verify required parameter 'workspaceId' is not null or undefined
1199
1292
  (0, common_1.assertParamExists)('lspStart', 'workspaceId', workspaceId);
1200
1293
  // verify required parameter 'lspServerRequest' is not null or undefined
@@ -1209,9 +1302,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1209
1302
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1210
1303
  const localVarHeaderParameter = {};
1211
1304
  const localVarQueryParameter = {};
1305
+ // authentication bearer required
1306
+ // http bearer authentication required
1307
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1212
1308
  // authentication oauth2 required
1213
1309
  // oauth required
1214
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1310
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1215
1311
  localVarHeaderParameter['Content-Type'] = 'application/json';
1216
1312
  if (xDaytonaOrganizationID != null) {
1217
1313
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1224,7 +1320,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1224
1320
  url: (0, common_1.toPathString)(localVarUrlObj),
1225
1321
  options: localVarRequestOptions,
1226
1322
  };
1227
- },
1323
+ }),
1228
1324
  /**
1229
1325
  * Stop Lsp server process inside workspace project
1230
1326
  * @summary Stop Lsp server
@@ -1234,7 +1330,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1234
1330
  * @param {*} [options] Override http request option.
1235
1331
  * @throws {RequiredError}
1236
1332
  */
1237
- lspStop: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
1333
+ lspStop: (workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) {
1238
1334
  // verify required parameter 'workspaceId' is not null or undefined
1239
1335
  (0, common_1.assertParamExists)('lspStop', 'workspaceId', workspaceId);
1240
1336
  // verify required parameter 'lspServerRequest' is not null or undefined
@@ -1249,9 +1345,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1249
1345
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1250
1346
  const localVarHeaderParameter = {};
1251
1347
  const localVarQueryParameter = {};
1348
+ // authentication bearer required
1349
+ // http bearer authentication required
1350
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1252
1351
  // authentication oauth2 required
1253
1352
  // oauth required
1254
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1353
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1255
1354
  localVarHeaderParameter['Content-Type'] = 'application/json';
1256
1355
  if (xDaytonaOrganizationID != null) {
1257
1356
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1264,7 +1363,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1264
1363
  url: (0, common_1.toPathString)(localVarUrlObj),
1265
1364
  options: localVarRequestOptions,
1266
1365
  };
1267
- },
1366
+ }),
1268
1367
  /**
1269
1368
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1270
1369
  * @summary Call Lsp WorkspaceSymbols
@@ -1276,7 +1375,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1276
1375
  * @param {*} [options] Override http request option.
1277
1376
  * @throws {RequiredError}
1278
1377
  */
1279
- lspWorkspaceSymbols: async (workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) => {
1378
+ lspWorkspaceSymbols: (workspaceId_1, languageId_1, pathToProject_1, query_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, query_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) {
1280
1379
  // verify required parameter 'workspaceId' is not null or undefined
1281
1380
  (0, common_1.assertParamExists)('lspWorkspaceSymbols', 'workspaceId', workspaceId);
1282
1381
  // verify required parameter 'languageId' is not null or undefined
@@ -1295,9 +1394,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1295
1394
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1296
1395
  const localVarHeaderParameter = {};
1297
1396
  const localVarQueryParameter = {};
1397
+ // authentication bearer required
1398
+ // http bearer authentication required
1399
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1298
1400
  // authentication oauth2 required
1299
1401
  // oauth required
1300
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1402
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1301
1403
  if (languageId !== undefined) {
1302
1404
  localVarQueryParameter['languageId'] = languageId;
1303
1405
  }
@@ -1317,7 +1419,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1317
1419
  url: (0, common_1.toPathString)(localVarUrlObj),
1318
1420
  options: localVarRequestOptions,
1319
1421
  };
1320
- },
1422
+ }),
1321
1423
  /**
1322
1424
  * Move file inside workspace
1323
1425
  * @summary Move file
@@ -1328,7 +1430,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1328
1430
  * @param {*} [options] Override http request option.
1329
1431
  * @throws {RequiredError}
1330
1432
  */
1331
- moveFile: async (workspaceId, source, destination, xDaytonaOrganizationID, options = {}) => {
1433
+ moveFile: (workspaceId_1, source_1, destination_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, source_1, destination_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, source, destination, xDaytonaOrganizationID, options = {}) {
1332
1434
  // verify required parameter 'workspaceId' is not null or undefined
1333
1435
  (0, common_1.assertParamExists)('moveFile', 'workspaceId', workspaceId);
1334
1436
  // verify required parameter 'source' is not null or undefined
@@ -1345,9 +1447,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1345
1447
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1346
1448
  const localVarHeaderParameter = {};
1347
1449
  const localVarQueryParameter = {};
1450
+ // authentication bearer required
1451
+ // http bearer authentication required
1452
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1348
1453
  // authentication oauth2 required
1349
1454
  // oauth required
1350
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1455
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1351
1456
  if (source !== undefined) {
1352
1457
  localVarQueryParameter['source'] = source;
1353
1458
  }
@@ -1364,7 +1469,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1364
1469
  url: (0, common_1.toPathString)(localVarUrlObj),
1365
1470
  options: localVarRequestOptions,
1366
1471
  };
1367
- },
1472
+ }),
1368
1473
  /**
1369
1474
  * Replace text/pattern in multiple files inside workspace
1370
1475
  * @summary Replace in files
@@ -1374,7 +1479,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1374
1479
  * @param {*} [options] Override http request option.
1375
1480
  * @throws {RequiredError}
1376
1481
  */
1377
- replaceInFiles: async (workspaceId, replaceRequest, xDaytonaOrganizationID, options = {}) => {
1482
+ replaceInFiles: (workspaceId_1, replaceRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, replaceRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, replaceRequest, xDaytonaOrganizationID, options = {}) {
1378
1483
  // verify required parameter 'workspaceId' is not null or undefined
1379
1484
  (0, common_1.assertParamExists)('replaceInFiles', 'workspaceId', workspaceId);
1380
1485
  // verify required parameter 'replaceRequest' is not null or undefined
@@ -1389,9 +1494,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1389
1494
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1390
1495
  const localVarHeaderParameter = {};
1391
1496
  const localVarQueryParameter = {};
1497
+ // authentication bearer required
1498
+ // http bearer authentication required
1499
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1392
1500
  // authentication oauth2 required
1393
1501
  // oauth required
1394
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1502
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1395
1503
  localVarHeaderParameter['Content-Type'] = 'application/json';
1396
1504
  if (xDaytonaOrganizationID != null) {
1397
1505
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -1404,7 +1512,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1404
1512
  url: (0, common_1.toPathString)(localVarUrlObj),
1405
1513
  options: localVarRequestOptions,
1406
1514
  };
1407
- },
1515
+ }),
1408
1516
  /**
1409
1517
  * Search for files inside workspace
1410
1518
  * @summary Search files
@@ -1415,7 +1523,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1415
1523
  * @param {*} [options] Override http request option.
1416
1524
  * @throws {RequiredError}
1417
1525
  */
1418
- searchFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
1526
+ searchFiles: (workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) {
1419
1527
  // verify required parameter 'workspaceId' is not null or undefined
1420
1528
  (0, common_1.assertParamExists)('searchFiles', 'workspaceId', workspaceId);
1421
1529
  // verify required parameter 'path' is not null or undefined
@@ -1432,9 +1540,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1432
1540
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1433
1541
  const localVarHeaderParameter = {};
1434
1542
  const localVarQueryParameter = {};
1543
+ // authentication bearer required
1544
+ // http bearer authentication required
1545
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1435
1546
  // authentication oauth2 required
1436
1547
  // oauth required
1437
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1548
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1438
1549
  if (path !== undefined) {
1439
1550
  localVarQueryParameter['path'] = path;
1440
1551
  }
@@ -1451,7 +1562,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1451
1562
  url: (0, common_1.toPathString)(localVarUrlObj),
1452
1563
  options: localVarRequestOptions,
1453
1564
  };
1454
- },
1565
+ }),
1455
1566
  /**
1456
1567
  * Set file owner/group/permissions inside workspace
1457
1568
  * @summary Set file permissions
@@ -1464,7 +1575,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1464
1575
  * @param {*} [options] Override http request option.
1465
1576
  * @throws {RequiredError}
1466
1577
  */
1467
- setFilePermissions: async (workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) => {
1578
+ setFilePermissions: (workspaceId_1, path_1, xDaytonaOrganizationID_1, owner_1, group_1, mode_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, owner_1, group_1, mode_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) {
1468
1579
  // verify required parameter 'workspaceId' is not null or undefined
1469
1580
  (0, common_1.assertParamExists)('setFilePermissions', 'workspaceId', workspaceId);
1470
1581
  // verify required parameter 'path' is not null or undefined
@@ -1479,9 +1590,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1479
1590
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1480
1591
  const localVarHeaderParameter = {};
1481
1592
  const localVarQueryParameter = {};
1593
+ // authentication bearer required
1594
+ // http bearer authentication required
1595
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1482
1596
  // authentication oauth2 required
1483
1597
  // oauth required
1484
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1598
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1485
1599
  if (path !== undefined) {
1486
1600
  localVarQueryParameter['path'] = path;
1487
1601
  }
@@ -1504,7 +1618,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1504
1618
  url: (0, common_1.toPathString)(localVarUrlObj),
1505
1619
  options: localVarRequestOptions,
1506
1620
  };
1507
- },
1621
+ }),
1508
1622
  /**
1509
1623
  * Upload file inside workspace
1510
1624
  * @summary Upload file
@@ -1515,7 +1629,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1515
1629
  * @param {*} [options] Override http request option.
1516
1630
  * @throws {RequiredError}
1517
1631
  */
1518
- uploadFile: async (workspaceId, path, xDaytonaOrganizationID, file, options = {}) => {
1632
+ uploadFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, file_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, file_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, file, options = {}) {
1519
1633
  // verify required parameter 'workspaceId' is not null or undefined
1520
1634
  (0, common_1.assertParamExists)('uploadFile', 'workspaceId', workspaceId);
1521
1635
  // verify required parameter 'path' is not null or undefined
@@ -1531,9 +1645,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1531
1645
  const localVarHeaderParameter = {};
1532
1646
  const localVarQueryParameter = {};
1533
1647
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
1648
+ // authentication bearer required
1649
+ // http bearer authentication required
1650
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1534
1651
  // authentication oauth2 required
1535
1652
  // oauth required
1536
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1653
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1537
1654
  if (path !== undefined) {
1538
1655
  localVarQueryParameter['path'] = path;
1539
1656
  }
@@ -1552,7 +1669,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
1552
1669
  url: (0, common_1.toPathString)(localVarUrlObj),
1553
1670
  options: localVarRequestOptions,
1554
1671
  };
1555
- },
1672
+ }),
1556
1673
  };
1557
1674
  };
1558
1675
  exports.ToolboxApiAxiosParamCreator = ToolboxApiAxiosParamCreator;
@@ -1573,12 +1690,14 @@ const ToolboxApiFp = function (configuration) {
1573
1690
  * @param {*} [options] Override http request option.
1574
1691
  * @throws {RequiredError}
1575
1692
  */
1576
- async createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
1577
- var _a, _b, _c;
1578
- const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
1579
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1580
- 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;
1581
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1693
+ createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
1694
+ return __awaiter(this, void 0, void 0, function* () {
1695
+ var _a, _b, _c;
1696
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
1697
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1698
+ 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;
1699
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1700
+ });
1582
1701
  },
1583
1702
  /**
1584
1703
  * Create a new session in the workspace
@@ -1589,12 +1708,14 @@ const ToolboxApiFp = function (configuration) {
1589
1708
  * @param {*} [options] Override http request option.
1590
1709
  * @throws {RequiredError}
1591
1710
  */
1592
- async createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
1593
- var _a, _b, _c;
1594
- const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
1595
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1596
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1597
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1711
+ createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
1712
+ return __awaiter(this, void 0, void 0, function* () {
1713
+ var _a, _b, _c;
1714
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
1715
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1716
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1717
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1718
+ });
1598
1719
  },
1599
1720
  /**
1600
1721
  * Delete file inside workspace
@@ -1605,12 +1726,14 @@ const ToolboxApiFp = function (configuration) {
1605
1726
  * @param {*} [options] Override http request option.
1606
1727
  * @throws {RequiredError}
1607
1728
  */
1608
- async deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
1609
- var _a, _b, _c;
1610
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
1611
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1612
- 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;
1613
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1729
+ deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
1730
+ return __awaiter(this, void 0, void 0, function* () {
1731
+ var _a, _b, _c;
1732
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
1733
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1734
+ 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;
1735
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1736
+ });
1614
1737
  },
1615
1738
  /**
1616
1739
  * Delete a specific session
@@ -1621,12 +1744,14 @@ const ToolboxApiFp = function (configuration) {
1621
1744
  * @param {*} [options] Override http request option.
1622
1745
  * @throws {RequiredError}
1623
1746
  */
1624
- async deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1625
- var _a, _b, _c;
1626
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1627
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1628
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1629
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1747
+ deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1748
+ return __awaiter(this, void 0, void 0, function* () {
1749
+ var _a, _b, _c;
1750
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1751
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1752
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1753
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1754
+ });
1630
1755
  },
1631
1756
  /**
1632
1757
  * Download file from workspace
@@ -1637,12 +1762,14 @@ const ToolboxApiFp = function (configuration) {
1637
1762
  * @param {*} [options] Override http request option.
1638
1763
  * @throws {RequiredError}
1639
1764
  */
1640
- async downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
1641
- var _a, _b, _c;
1642
- const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
1643
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1644
- 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;
1645
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1765
+ downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
1766
+ return __awaiter(this, void 0, void 0, function* () {
1767
+ var _a, _b, _c;
1768
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
1769
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1770
+ 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;
1771
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1772
+ });
1646
1773
  },
1647
1774
  /**
1648
1775
  * Execute command synchronously inside workspace
@@ -1653,12 +1780,14 @@ const ToolboxApiFp = function (configuration) {
1653
1780
  * @param {*} [options] Override http request option.
1654
1781
  * @throws {RequiredError}
1655
1782
  */
1656
- async executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
1657
- var _a, _b, _c;
1658
- const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
1659
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1660
- 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;
1661
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1783
+ executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
1784
+ return __awaiter(this, void 0, void 0, function* () {
1785
+ var _a, _b, _c;
1786
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
1787
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1788
+ 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;
1789
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1790
+ });
1662
1791
  },
1663
1792
  /**
1664
1793
  * Execute a command in a specific session
@@ -1670,12 +1799,14 @@ const ToolboxApiFp = function (configuration) {
1670
1799
  * @param {*} [options] Override http request option.
1671
1800
  * @throws {RequiredError}
1672
1801
  */
1673
- async executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
1674
- var _a, _b, _c;
1675
- const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
1676
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1677
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1678
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1802
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
1803
+ return __awaiter(this, void 0, void 0, function* () {
1804
+ var _a, _b, _c;
1805
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
1806
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1807
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1808
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1809
+ });
1679
1810
  },
1680
1811
  /**
1681
1812
  * Search for text/pattern inside workspace files
@@ -1687,12 +1818,14 @@ const ToolboxApiFp = function (configuration) {
1687
1818
  * @param {*} [options] Override http request option.
1688
1819
  * @throws {RequiredError}
1689
1820
  */
1690
- async findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
1691
- var _a, _b, _c;
1692
- const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
1693
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1694
- 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;
1695
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1821
+ findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
1822
+ return __awaiter(this, void 0, void 0, function* () {
1823
+ var _a, _b, _c;
1824
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
1825
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1826
+ 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;
1827
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1828
+ });
1696
1829
  },
1697
1830
  /**
1698
1831
  * Get file info inside workspace
@@ -1703,12 +1836,14 @@ const ToolboxApiFp = function (configuration) {
1703
1836
  * @param {*} [options] Override http request option.
1704
1837
  * @throws {RequiredError}
1705
1838
  */
1706
- async getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
1707
- var _a, _b, _c;
1708
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
1709
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1710
- 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;
1711
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1839
+ getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
1840
+ return __awaiter(this, void 0, void 0, function* () {
1841
+ var _a, _b, _c;
1842
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
1843
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1844
+ 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;
1845
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1846
+ });
1712
1847
  },
1713
1848
  /**
1714
1849
  *
@@ -1718,12 +1853,14 @@ const ToolboxApiFp = function (configuration) {
1718
1853
  * @param {*} [options] Override http request option.
1719
1854
  * @throws {RequiredError}
1720
1855
  */
1721
- async getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
1722
- var _a, _b, _c;
1723
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
1724
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1725
- 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;
1726
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1856
+ getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
1857
+ return __awaiter(this, void 0, void 0, function* () {
1858
+ var _a, _b, _c;
1859
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
1860
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1861
+ 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;
1862
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1863
+ });
1727
1864
  },
1728
1865
  /**
1729
1866
  * Get session by ID
@@ -1734,12 +1871,14 @@ const ToolboxApiFp = function (configuration) {
1734
1871
  * @param {*} [options] Override http request option.
1735
1872
  * @throws {RequiredError}
1736
1873
  */
1737
- async getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1738
- var _a, _b, _c;
1739
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1740
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1741
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1742
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1874
+ getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1875
+ return __awaiter(this, void 0, void 0, function* () {
1876
+ var _a, _b, _c;
1877
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1878
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1879
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1880
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1881
+ });
1743
1882
  },
1744
1883
  /**
1745
1884
  * Get session command by ID
@@ -1751,12 +1890,14 @@ const ToolboxApiFp = function (configuration) {
1751
1890
  * @param {*} [options] Override http request option.
1752
1891
  * @throws {RequiredError}
1753
1892
  */
1754
- async getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
1755
- var _a, _b, _c;
1756
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
1757
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1758
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1759
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1893
+ getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
1894
+ return __awaiter(this, void 0, void 0, function* () {
1895
+ var _a, _b, _c;
1896
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
1897
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1898
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1899
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1900
+ });
1760
1901
  },
1761
1902
  /**
1762
1903
  * Get logs for a specific command in a session
@@ -1769,12 +1910,14 @@ const ToolboxApiFp = function (configuration) {
1769
1910
  * @param {*} [options] Override http request option.
1770
1911
  * @throws {RequiredError}
1771
1912
  */
1772
- async getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
1773
- var _a, _b, _c;
1774
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
1775
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1776
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1777
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1913
+ getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
1914
+ return __awaiter(this, void 0, void 0, function* () {
1915
+ var _a, _b, _c;
1916
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
1917
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1918
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1919
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1920
+ });
1778
1921
  },
1779
1922
  /**
1780
1923
  * Add files to git commit
@@ -1785,12 +1928,14 @@ const ToolboxApiFp = function (configuration) {
1785
1928
  * @param {*} [options] Override http request option.
1786
1929
  * @throws {RequiredError}
1787
1930
  */
1788
- async gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
1789
- var _a, _b, _c;
1790
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
1791
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1792
- 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;
1793
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1931
+ gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
1932
+ return __awaiter(this, void 0, void 0, function* () {
1933
+ var _a, _b, _c;
1934
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
1935
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1936
+ 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;
1937
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1938
+ });
1794
1939
  },
1795
1940
  /**
1796
1941
  * Clone git repository
@@ -1801,12 +1946,14 @@ const ToolboxApiFp = function (configuration) {
1801
1946
  * @param {*} [options] Override http request option.
1802
1947
  * @throws {RequiredError}
1803
1948
  */
1804
- async gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
1805
- var _a, _b, _c;
1806
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
1807
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1808
- 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;
1809
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1949
+ gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
1950
+ return __awaiter(this, void 0, void 0, function* () {
1951
+ var _a, _b, _c;
1952
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
1953
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1954
+ 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;
1955
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1956
+ });
1810
1957
  },
1811
1958
  /**
1812
1959
  * Commit changes to git repository
@@ -1817,12 +1964,14 @@ const ToolboxApiFp = function (configuration) {
1817
1964
  * @param {*} [options] Override http request option.
1818
1965
  * @throws {RequiredError}
1819
1966
  */
1820
- async gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
1821
- var _a, _b, _c;
1822
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
1823
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1824
- 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;
1825
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1967
+ gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
1968
+ return __awaiter(this, void 0, void 0, function* () {
1969
+ var _a, _b, _c;
1970
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
1971
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1972
+ 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;
1973
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1974
+ });
1826
1975
  },
1827
1976
  /**
1828
1977
  * Create branch on git repository
@@ -1833,12 +1982,14 @@ const ToolboxApiFp = function (configuration) {
1833
1982
  * @param {*} [options] Override http request option.
1834
1983
  * @throws {RequiredError}
1835
1984
  */
1836
- async gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
1837
- var _a, _b, _c;
1838
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
1839
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1840
- 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;
1841
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1985
+ gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
1986
+ return __awaiter(this, void 0, void 0, function* () {
1987
+ var _a, _b, _c;
1988
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
1989
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1990
+ 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;
1991
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1992
+ });
1842
1993
  },
1843
1994
  /**
1844
1995
  * Get commit history from git repository
@@ -1849,12 +2000,14 @@ const ToolboxApiFp = function (configuration) {
1849
2000
  * @param {*} [options] Override http request option.
1850
2001
  * @throws {RequiredError}
1851
2002
  */
1852
- async gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
1853
- var _a, _b, _c;
1854
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
1855
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1856
- 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;
1857
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2003
+ gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
2004
+ return __awaiter(this, void 0, void 0, function* () {
2005
+ var _a, _b, _c;
2006
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
2007
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2008
+ 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;
2009
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2010
+ });
1858
2011
  },
1859
2012
  /**
1860
2013
  * Get status from git repository
@@ -1865,12 +2018,14 @@ const ToolboxApiFp = function (configuration) {
1865
2018
  * @param {*} [options] Override http request option.
1866
2019
  * @throws {RequiredError}
1867
2020
  */
1868
- async gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
1869
- var _a, _b, _c;
1870
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
1871
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1872
- 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;
1873
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2021
+ gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
2022
+ return __awaiter(this, void 0, void 0, function* () {
2023
+ var _a, _b, _c;
2024
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
2025
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2026
+ 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;
2027
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2028
+ });
1874
2029
  },
1875
2030
  /**
1876
2031
  * Get branch list from git repository
@@ -1881,12 +2036,14 @@ const ToolboxApiFp = function (configuration) {
1881
2036
  * @param {*} [options] Override http request option.
1882
2037
  * @throws {RequiredError}
1883
2038
  */
1884
- async gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
1885
- var _a, _b, _c;
1886
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
1887
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1888
- 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;
1889
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2039
+ gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
2040
+ return __awaiter(this, void 0, void 0, function* () {
2041
+ var _a, _b, _c;
2042
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
2043
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2044
+ 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;
2045
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2046
+ });
1890
2047
  },
1891
2048
  /**
1892
2049
  * Pull changes from remote
@@ -1897,12 +2054,14 @@ const ToolboxApiFp = function (configuration) {
1897
2054
  * @param {*} [options] Override http request option.
1898
2055
  * @throws {RequiredError}
1899
2056
  */
1900
- async gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1901
- var _a, _b, _c;
1902
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1903
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1904
- 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;
1905
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2057
+ gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
2058
+ return __awaiter(this, void 0, void 0, function* () {
2059
+ var _a, _b, _c;
2060
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
2061
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2062
+ 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;
2063
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2064
+ });
1906
2065
  },
1907
2066
  /**
1908
2067
  * Push changes to remote
@@ -1913,12 +2072,14 @@ const ToolboxApiFp = function (configuration) {
1913
2072
  * @param {*} [options] Override http request option.
1914
2073
  * @throws {RequiredError}
1915
2074
  */
1916
- async gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1917
- var _a, _b, _c;
1918
- const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1919
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1920
- 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;
1921
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2075
+ gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
2076
+ return __awaiter(this, void 0, void 0, function* () {
2077
+ var _a, _b, _c;
2078
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
2079
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2080
+ 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;
2081
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2082
+ });
1922
2083
  },
1923
2084
  /**
1924
2085
  *
@@ -1929,12 +2090,14 @@ const ToolboxApiFp = function (configuration) {
1929
2090
  * @param {*} [options] Override http request option.
1930
2091
  * @throws {RequiredError}
1931
2092
  */
1932
- async listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
1933
- var _a, _b, _c;
1934
- const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
1935
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1936
- 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;
1937
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2093
+ listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
2094
+ return __awaiter(this, void 0, void 0, function* () {
2095
+ var _a, _b, _c;
2096
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
2097
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2098
+ 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;
2099
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2100
+ });
1938
2101
  },
1939
2102
  /**
1940
2103
  * List all active sessions in the workspace
@@ -1944,12 +2107,14 @@ const ToolboxApiFp = function (configuration) {
1944
2107
  * @param {*} [options] Override http request option.
1945
2108
  * @throws {RequiredError}
1946
2109
  */
1947
- async listSessions(workspaceId, xDaytonaOrganizationID, options) {
1948
- var _a, _b, _c;
1949
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
1950
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1951
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1952
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2110
+ listSessions(workspaceId, xDaytonaOrganizationID, options) {
2111
+ return __awaiter(this, void 0, void 0, function* () {
2112
+ var _a, _b, _c;
2113
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
2114
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2115
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2116
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2117
+ });
1953
2118
  },
1954
2119
  /**
1955
2120
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
@@ -1960,12 +2125,14 @@ const ToolboxApiFp = function (configuration) {
1960
2125
  * @param {*} [options] Override http request option.
1961
2126
  * @throws {RequiredError}
1962
2127
  */
1963
- async lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
1964
- var _a, _b, _c;
1965
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
1966
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1967
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1968
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2128
+ lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
2129
+ return __awaiter(this, void 0, void 0, function* () {
2130
+ var _a, _b, _c;
2131
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
2132
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2133
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2134
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2135
+ });
1969
2136
  },
1970
2137
  /**
1971
2138
  * The document close notification is sent from the client to the server when the document got closed in the client.
@@ -1976,12 +2143,14 @@ const ToolboxApiFp = function (configuration) {
1976
2143
  * @param {*} [options] Override http request option.
1977
2144
  * @throws {RequiredError}
1978
2145
  */
1979
- async lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
1980
- var _a, _b, _c;
1981
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
1982
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1983
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1984
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2146
+ lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2147
+ return __awaiter(this, void 0, void 0, function* () {
2148
+ var _a, _b, _c;
2149
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
2150
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2151
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2152
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2153
+ });
1985
2154
  },
1986
2155
  /**
1987
2156
  * The document open notification is sent from the client to the server to signal newly opened text documents.
@@ -1992,12 +2161,14 @@ const ToolboxApiFp = function (configuration) {
1992
2161
  * @param {*} [options] Override http request option.
1993
2162
  * @throws {RequiredError}
1994
2163
  */
1995
- async lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
1996
- var _a, _b, _c;
1997
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
1998
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1999
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2000
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2164
+ lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2165
+ return __awaiter(this, void 0, void 0, function* () {
2166
+ var _a, _b, _c;
2167
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
2168
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2169
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2170
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2171
+ });
2001
2172
  },
2002
2173
  /**
2003
2174
  * The document symbol request is sent from the client to the server.
@@ -2010,12 +2181,14 @@ const ToolboxApiFp = function (configuration) {
2010
2181
  * @param {*} [options] Override http request option.
2011
2182
  * @throws {RequiredError}
2012
2183
  */
2013
- async lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
2014
- var _a, _b, _c;
2015
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
2016
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2017
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2018
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2184
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
2185
+ return __awaiter(this, void 0, void 0, function* () {
2186
+ var _a, _b, _c;
2187
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
2188
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2189
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2190
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2191
+ });
2019
2192
  },
2020
2193
  /**
2021
2194
  * Start Lsp server process inside workspace project
@@ -2026,12 +2199,14 @@ const ToolboxApiFp = function (configuration) {
2026
2199
  * @param {*} [options] Override http request option.
2027
2200
  * @throws {RequiredError}
2028
2201
  */
2029
- async lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2030
- var _a, _b, _c;
2031
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2032
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2033
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2034
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2202
+ lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2203
+ return __awaiter(this, void 0, void 0, function* () {
2204
+ var _a, _b, _c;
2205
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2206
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2207
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2208
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2209
+ });
2035
2210
  },
2036
2211
  /**
2037
2212
  * Stop Lsp server process inside workspace project
@@ -2042,12 +2217,14 @@ const ToolboxApiFp = function (configuration) {
2042
2217
  * @param {*} [options] Override http request option.
2043
2218
  * @throws {RequiredError}
2044
2219
  */
2045
- async lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2046
- var _a, _b, _c;
2047
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2048
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2049
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2050
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2220
+ lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2221
+ return __awaiter(this, void 0, void 0, function* () {
2222
+ var _a, _b, _c;
2223
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2224
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2225
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2226
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2227
+ });
2051
2228
  },
2052
2229
  /**
2053
2230
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
@@ -2060,12 +2237,14 @@ const ToolboxApiFp = function (configuration) {
2060
2237
  * @param {*} [options] Override http request option.
2061
2238
  * @throws {RequiredError}
2062
2239
  */
2063
- async lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
2064
- var _a, _b, _c;
2065
- const localVarAxiosArgs = await localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
2066
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2067
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2068
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2240
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
2241
+ return __awaiter(this, void 0, void 0, function* () {
2242
+ var _a, _b, _c;
2243
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
2244
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2245
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2246
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2247
+ });
2069
2248
  },
2070
2249
  /**
2071
2250
  * Move file inside workspace
@@ -2077,12 +2256,14 @@ const ToolboxApiFp = function (configuration) {
2077
2256
  * @param {*} [options] Override http request option.
2078
2257
  * @throws {RequiredError}
2079
2258
  */
2080
- async moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
2081
- var _a, _b, _c;
2082
- const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
2083
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2084
- 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;
2085
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2259
+ moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
2260
+ return __awaiter(this, void 0, void 0, function* () {
2261
+ var _a, _b, _c;
2262
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
2263
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2264
+ 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;
2265
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2266
+ });
2086
2267
  },
2087
2268
  /**
2088
2269
  * Replace text/pattern in multiple files inside workspace
@@ -2093,12 +2274,14 @@ const ToolboxApiFp = function (configuration) {
2093
2274
  * @param {*} [options] Override http request option.
2094
2275
  * @throws {RequiredError}
2095
2276
  */
2096
- async replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
2097
- var _a, _b, _c;
2098
- const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
2099
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2100
- 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;
2101
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2277
+ replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
2278
+ return __awaiter(this, void 0, void 0, function* () {
2279
+ var _a, _b, _c;
2280
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
2281
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2282
+ 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;
2283
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2284
+ });
2102
2285
  },
2103
2286
  /**
2104
2287
  * Search for files inside workspace
@@ -2110,12 +2293,14 @@ const ToolboxApiFp = function (configuration) {
2110
2293
  * @param {*} [options] Override http request option.
2111
2294
  * @throws {RequiredError}
2112
2295
  */
2113
- async searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2114
- var _a, _b, _c;
2115
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
2116
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2117
- 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;
2118
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2296
+ searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2297
+ return __awaiter(this, void 0, void 0, function* () {
2298
+ var _a, _b, _c;
2299
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
2300
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2301
+ 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;
2302
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2303
+ });
2119
2304
  },
2120
2305
  /**
2121
2306
  * Set file owner/group/permissions inside workspace
@@ -2129,12 +2314,14 @@ const ToolboxApiFp = function (configuration) {
2129
2314
  * @param {*} [options] Override http request option.
2130
2315
  * @throws {RequiredError}
2131
2316
  */
2132
- async setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
2133
- var _a, _b, _c;
2134
- const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
2135
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2136
- 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;
2137
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2317
+ setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
2318
+ return __awaiter(this, void 0, void 0, function* () {
2319
+ var _a, _b, _c;
2320
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
2321
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2322
+ 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;
2323
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2324
+ });
2138
2325
  },
2139
2326
  /**
2140
2327
  * Upload file inside workspace
@@ -2146,12 +2333,14 @@ const ToolboxApiFp = function (configuration) {
2146
2333
  * @param {*} [options] Override http request option.
2147
2334
  * @throws {RequiredError}
2148
2335
  */
2149
- async uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
2150
- var _a, _b, _c;
2151
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
2152
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2153
- 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;
2154
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2336
+ uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
2337
+ return __awaiter(this, void 0, void 0, function* () {
2338
+ var _a, _b, _c;
2339
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
2340
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2341
+ 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;
2342
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2343
+ });
2155
2344
  },
2156
2345
  };
2157
2346
  };