@daytonaio/api-client 0.17.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.
- package/.openapi-generator/FILES +0 -1
- package/api/workspace-api.ts +9 -13
- package/dist/api/api-keys-api.js +57 -40
- package/dist/api/docker-registry-api.js +93 -70
- package/dist/api/images-api.js +69 -50
- package/dist/api/nodes-api.js +45 -30
- package/dist/api/organizations-api.js +309 -250
- package/dist/api/preview-api.js +41 -26
- package/dist/api/toolbox-api.js +441 -360
- package/dist/api/users-api.js +53 -36
- package/dist/api/workspace-api.d.ts +8 -9
- package/dist/api/workspace-api.js +170 -137
- package/dist/common.js +34 -19
- package/dist/esm/api/api-keys-api.js +57 -40
- package/dist/esm/api/docker-registry-api.js +93 -70
- package/dist/esm/api/images-api.js +69 -50
- package/dist/esm/api/nodes-api.js +45 -30
- package/dist/esm/api/organizations-api.js +309 -250
- package/dist/esm/api/preview-api.js +41 -26
- package/dist/esm/api/toolbox-api.js +441 -360
- package/dist/esm/api/users-api.js +53 -36
- package/dist/esm/api/workspace-api.d.ts +8 -9
- package/dist/esm/api/workspace-api.js +170 -137
- package/dist/esm/common.js +34 -19
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/models/index.ts +0 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/esm/models/list-workspaces-labels-parameter.d.ts +0 -26
- package/dist/esm/models/list-workspaces-labels-parameter.js +0 -14
- package/dist/models/list-workspaces-labels-parameter.d.ts +0 -26
- package/dist/models/list-workspaces-labels-parameter.js +0 -15
- package/models/list-workspaces-labels-parameter.ts +0 -27
|
@@ -11,6 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
14
23
|
import globalAxios from 'axios';
|
|
15
24
|
// Some imports not used depending on template conditions
|
|
16
25
|
// @ts-ignore
|
|
@@ -33,7 +42,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
33
42
|
* @param {*} [options] Override http request option.
|
|
34
43
|
* @throws {RequiredError}
|
|
35
44
|
*/
|
|
36
|
-
createFolder:
|
|
45
|
+
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 = {}) {
|
|
37
46
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
38
47
|
assertParamExists('createFolder', 'workspaceId', workspaceId);
|
|
39
48
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -52,10 +61,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
52
61
|
const localVarQueryParameter = {};
|
|
53
62
|
// authentication bearer required
|
|
54
63
|
// http bearer authentication required
|
|
55
|
-
|
|
64
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
56
65
|
// authentication oauth2 required
|
|
57
66
|
// oauth required
|
|
58
|
-
|
|
67
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
59
68
|
if (path !== undefined) {
|
|
60
69
|
localVarQueryParameter['path'] = path;
|
|
61
70
|
}
|
|
@@ -72,7 +81,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
72
81
|
url: toPathString(localVarUrlObj),
|
|
73
82
|
options: localVarRequestOptions,
|
|
74
83
|
};
|
|
75
|
-
},
|
|
84
|
+
}),
|
|
76
85
|
/**
|
|
77
86
|
* Create a new session in the workspace
|
|
78
87
|
* @summary Create session
|
|
@@ -82,7 +91,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
82
91
|
* @param {*} [options] Override http request option.
|
|
83
92
|
* @throws {RequiredError}
|
|
84
93
|
*/
|
|
85
|
-
createSession:
|
|
94
|
+
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
95
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
87
96
|
assertParamExists('createSession', 'workspaceId', workspaceId);
|
|
88
97
|
// verify required parameter 'createSessionRequest' is not null or undefined
|
|
@@ -99,10 +108,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
99
108
|
const localVarQueryParameter = {};
|
|
100
109
|
// authentication bearer required
|
|
101
110
|
// http bearer authentication required
|
|
102
|
-
|
|
111
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
103
112
|
// authentication oauth2 required
|
|
104
113
|
// oauth required
|
|
105
|
-
|
|
114
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
106
115
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107
116
|
if (xDaytonaOrganizationID != null) {
|
|
108
117
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -115,7 +124,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
115
124
|
url: toPathString(localVarUrlObj),
|
|
116
125
|
options: localVarRequestOptions,
|
|
117
126
|
};
|
|
118
|
-
},
|
|
127
|
+
}),
|
|
119
128
|
/**
|
|
120
129
|
* Delete file inside workspace
|
|
121
130
|
* @summary Delete file
|
|
@@ -125,7 +134,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
125
134
|
* @param {*} [options] Override http request option.
|
|
126
135
|
* @throws {RequiredError}
|
|
127
136
|
*/
|
|
128
|
-
deleteFile:
|
|
137
|
+
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 = {}) {
|
|
129
138
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
130
139
|
assertParamExists('deleteFile', 'workspaceId', workspaceId);
|
|
131
140
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -142,10 +151,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
142
151
|
const localVarQueryParameter = {};
|
|
143
152
|
// authentication bearer required
|
|
144
153
|
// http bearer authentication required
|
|
145
|
-
|
|
154
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
146
155
|
// authentication oauth2 required
|
|
147
156
|
// oauth required
|
|
148
|
-
|
|
157
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
149
158
|
if (path !== undefined) {
|
|
150
159
|
localVarQueryParameter['path'] = path;
|
|
151
160
|
}
|
|
@@ -159,7 +168,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
159
168
|
url: toPathString(localVarUrlObj),
|
|
160
169
|
options: localVarRequestOptions,
|
|
161
170
|
};
|
|
162
|
-
},
|
|
171
|
+
}),
|
|
163
172
|
/**
|
|
164
173
|
* Delete a specific session
|
|
165
174
|
* @summary Delete session
|
|
@@ -169,7 +178,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
169
178
|
* @param {*} [options] Override http request option.
|
|
170
179
|
* @throws {RequiredError}
|
|
171
180
|
*/
|
|
172
|
-
deleteSession:
|
|
181
|
+
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 = {}) {
|
|
173
182
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
174
183
|
assertParamExists('deleteSession', 'workspaceId', workspaceId);
|
|
175
184
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -188,10 +197,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
188
197
|
const localVarQueryParameter = {};
|
|
189
198
|
// authentication bearer required
|
|
190
199
|
// http bearer authentication required
|
|
191
|
-
|
|
200
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
192
201
|
// authentication oauth2 required
|
|
193
202
|
// oauth required
|
|
194
|
-
|
|
203
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
195
204
|
if (xDaytonaOrganizationID != null) {
|
|
196
205
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
197
206
|
}
|
|
@@ -202,7 +211,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
202
211
|
url: toPathString(localVarUrlObj),
|
|
203
212
|
options: localVarRequestOptions,
|
|
204
213
|
};
|
|
205
|
-
},
|
|
214
|
+
}),
|
|
206
215
|
/**
|
|
207
216
|
* Download file from workspace
|
|
208
217
|
* @summary Download file
|
|
@@ -212,7 +221,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
212
221
|
* @param {*} [options] Override http request option.
|
|
213
222
|
* @throws {RequiredError}
|
|
214
223
|
*/
|
|
215
|
-
downloadFile:
|
|
224
|
+
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 = {}) {
|
|
216
225
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
217
226
|
assertParamExists('downloadFile', 'workspaceId', workspaceId);
|
|
218
227
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -229,10 +238,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
229
238
|
const localVarQueryParameter = {};
|
|
230
239
|
// authentication bearer required
|
|
231
240
|
// http bearer authentication required
|
|
232
|
-
|
|
241
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
233
242
|
// authentication oauth2 required
|
|
234
243
|
// oauth required
|
|
235
|
-
|
|
244
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
236
245
|
if (path !== undefined) {
|
|
237
246
|
localVarQueryParameter['path'] = path;
|
|
238
247
|
}
|
|
@@ -246,7 +255,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
246
255
|
url: toPathString(localVarUrlObj),
|
|
247
256
|
options: localVarRequestOptions,
|
|
248
257
|
};
|
|
249
|
-
},
|
|
258
|
+
}),
|
|
250
259
|
/**
|
|
251
260
|
* Execute command synchronously inside workspace
|
|
252
261
|
* @summary Execute command
|
|
@@ -256,7 +265,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
256
265
|
* @param {*} [options] Override http request option.
|
|
257
266
|
* @throws {RequiredError}
|
|
258
267
|
*/
|
|
259
|
-
executeCommand:
|
|
268
|
+
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 = {}) {
|
|
260
269
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
261
270
|
assertParamExists('executeCommand', 'workspaceId', workspaceId);
|
|
262
271
|
// verify required parameter 'executeRequest' is not null or undefined
|
|
@@ -273,10 +282,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
273
282
|
const localVarQueryParameter = {};
|
|
274
283
|
// authentication bearer required
|
|
275
284
|
// http bearer authentication required
|
|
276
|
-
|
|
285
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
277
286
|
// authentication oauth2 required
|
|
278
287
|
// oauth required
|
|
279
|
-
|
|
288
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
280
289
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
281
290
|
if (xDaytonaOrganizationID != null) {
|
|
282
291
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -289,7 +298,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
289
298
|
url: toPathString(localVarUrlObj),
|
|
290
299
|
options: localVarRequestOptions,
|
|
291
300
|
};
|
|
292
|
-
},
|
|
301
|
+
}),
|
|
293
302
|
/**
|
|
294
303
|
* Execute a command in a specific session
|
|
295
304
|
* @summary Execute command in session
|
|
@@ -300,7 +309,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
300
309
|
* @param {*} [options] Override http request option.
|
|
301
310
|
* @throws {RequiredError}
|
|
302
311
|
*/
|
|
303
|
-
executeSessionCommand:
|
|
312
|
+
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 = {}) {
|
|
304
313
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
305
314
|
assertParamExists('executeSessionCommand', 'workspaceId', workspaceId);
|
|
306
315
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -321,10 +330,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
321
330
|
const localVarQueryParameter = {};
|
|
322
331
|
// authentication bearer required
|
|
323
332
|
// http bearer authentication required
|
|
324
|
-
|
|
333
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
325
334
|
// authentication oauth2 required
|
|
326
335
|
// oauth required
|
|
327
|
-
|
|
336
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
328
337
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
329
338
|
if (xDaytonaOrganizationID != null) {
|
|
330
339
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -337,7 +346,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
337
346
|
url: toPathString(localVarUrlObj),
|
|
338
347
|
options: localVarRequestOptions,
|
|
339
348
|
};
|
|
340
|
-
},
|
|
349
|
+
}),
|
|
341
350
|
/**
|
|
342
351
|
* Search for text/pattern inside workspace files
|
|
343
352
|
* @summary Search for text/pattern in files
|
|
@@ -348,7 +357,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
348
357
|
* @param {*} [options] Override http request option.
|
|
349
358
|
* @throws {RequiredError}
|
|
350
359
|
*/
|
|
351
|
-
findInFiles:
|
|
360
|
+
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 = {}) {
|
|
352
361
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
353
362
|
assertParamExists('findInFiles', 'workspaceId', workspaceId);
|
|
354
363
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -367,10 +376,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
367
376
|
const localVarQueryParameter = {};
|
|
368
377
|
// authentication bearer required
|
|
369
378
|
// http bearer authentication required
|
|
370
|
-
|
|
379
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
371
380
|
// authentication oauth2 required
|
|
372
381
|
// oauth required
|
|
373
|
-
|
|
382
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
374
383
|
if (path !== undefined) {
|
|
375
384
|
localVarQueryParameter['path'] = path;
|
|
376
385
|
}
|
|
@@ -387,7 +396,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
387
396
|
url: toPathString(localVarUrlObj),
|
|
388
397
|
options: localVarRequestOptions,
|
|
389
398
|
};
|
|
390
|
-
},
|
|
399
|
+
}),
|
|
391
400
|
/**
|
|
392
401
|
* Get file info inside workspace
|
|
393
402
|
* @summary Get file info
|
|
@@ -397,7 +406,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
397
406
|
* @param {*} [options] Override http request option.
|
|
398
407
|
* @throws {RequiredError}
|
|
399
408
|
*/
|
|
400
|
-
getFileInfo:
|
|
409
|
+
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 = {}) {
|
|
401
410
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
402
411
|
assertParamExists('getFileInfo', 'workspaceId', workspaceId);
|
|
403
412
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -414,10 +423,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
414
423
|
const localVarQueryParameter = {};
|
|
415
424
|
// authentication bearer required
|
|
416
425
|
// http bearer authentication required
|
|
417
|
-
|
|
426
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
418
427
|
// authentication oauth2 required
|
|
419
428
|
// oauth required
|
|
420
|
-
|
|
429
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
421
430
|
if (path !== undefined) {
|
|
422
431
|
localVarQueryParameter['path'] = path;
|
|
423
432
|
}
|
|
@@ -431,7 +440,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
431
440
|
url: toPathString(localVarUrlObj),
|
|
432
441
|
options: localVarRequestOptions,
|
|
433
442
|
};
|
|
434
|
-
},
|
|
443
|
+
}),
|
|
435
444
|
/**
|
|
436
445
|
*
|
|
437
446
|
* @summary Get workspace project dir
|
|
@@ -440,7 +449,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
440
449
|
* @param {*} [options] Override http request option.
|
|
441
450
|
* @throws {RequiredError}
|
|
442
451
|
*/
|
|
443
|
-
getProjectDir:
|
|
452
|
+
getProjectDir: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
|
|
444
453
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
445
454
|
assertParamExists('getProjectDir', 'workspaceId', workspaceId);
|
|
446
455
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -455,10 +464,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
455
464
|
const localVarQueryParameter = {};
|
|
456
465
|
// authentication bearer required
|
|
457
466
|
// http bearer authentication required
|
|
458
|
-
|
|
467
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
459
468
|
// authentication oauth2 required
|
|
460
469
|
// oauth required
|
|
461
|
-
|
|
470
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
462
471
|
if (xDaytonaOrganizationID != null) {
|
|
463
472
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
464
473
|
}
|
|
@@ -469,7 +478,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
469
478
|
url: toPathString(localVarUrlObj),
|
|
470
479
|
options: localVarRequestOptions,
|
|
471
480
|
};
|
|
472
|
-
},
|
|
481
|
+
}),
|
|
473
482
|
/**
|
|
474
483
|
* Get session by ID
|
|
475
484
|
* @summary Get session
|
|
@@ -479,7 +488,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
479
488
|
* @param {*} [options] Override http request option.
|
|
480
489
|
* @throws {RequiredError}
|
|
481
490
|
*/
|
|
482
|
-
getSession:
|
|
491
|
+
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 = {}) {
|
|
483
492
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
484
493
|
assertParamExists('getSession', 'workspaceId', workspaceId);
|
|
485
494
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -498,10 +507,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
498
507
|
const localVarQueryParameter = {};
|
|
499
508
|
// authentication bearer required
|
|
500
509
|
// http bearer authentication required
|
|
501
|
-
|
|
510
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
502
511
|
// authentication oauth2 required
|
|
503
512
|
// oauth required
|
|
504
|
-
|
|
513
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
505
514
|
if (xDaytonaOrganizationID != null) {
|
|
506
515
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
507
516
|
}
|
|
@@ -512,7 +521,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
512
521
|
url: toPathString(localVarUrlObj),
|
|
513
522
|
options: localVarRequestOptions,
|
|
514
523
|
};
|
|
515
|
-
},
|
|
524
|
+
}),
|
|
516
525
|
/**
|
|
517
526
|
* Get session command by ID
|
|
518
527
|
* @summary Get session command
|
|
@@ -523,7 +532,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
523
532
|
* @param {*} [options] Override http request option.
|
|
524
533
|
* @throws {RequiredError}
|
|
525
534
|
*/
|
|
526
|
-
getSessionCommand:
|
|
535
|
+
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 = {}) {
|
|
527
536
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
528
537
|
assertParamExists('getSessionCommand', 'workspaceId', workspaceId);
|
|
529
538
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -545,10 +554,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
545
554
|
const localVarQueryParameter = {};
|
|
546
555
|
// authentication bearer required
|
|
547
556
|
// http bearer authentication required
|
|
548
|
-
|
|
557
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
549
558
|
// authentication oauth2 required
|
|
550
559
|
// oauth required
|
|
551
|
-
|
|
560
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
552
561
|
if (xDaytonaOrganizationID != null) {
|
|
553
562
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
554
563
|
}
|
|
@@ -559,7 +568,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
559
568
|
url: toPathString(localVarUrlObj),
|
|
560
569
|
options: localVarRequestOptions,
|
|
561
570
|
};
|
|
562
|
-
},
|
|
571
|
+
}),
|
|
563
572
|
/**
|
|
564
573
|
* Get logs for a specific command in a session
|
|
565
574
|
* @summary Get command logs
|
|
@@ -571,7 +580,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
571
580
|
* @param {*} [options] Override http request option.
|
|
572
581
|
* @throws {RequiredError}
|
|
573
582
|
*/
|
|
574
|
-
getSessionCommandLogs:
|
|
583
|
+
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 = {}) {
|
|
575
584
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
576
585
|
assertParamExists('getSessionCommandLogs', 'workspaceId', workspaceId);
|
|
577
586
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -593,10 +602,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
593
602
|
const localVarQueryParameter = {};
|
|
594
603
|
// authentication bearer required
|
|
595
604
|
// http bearer authentication required
|
|
596
|
-
|
|
605
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
597
606
|
// authentication oauth2 required
|
|
598
607
|
// oauth required
|
|
599
|
-
|
|
608
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
600
609
|
if (follow !== undefined) {
|
|
601
610
|
localVarQueryParameter['follow'] = follow;
|
|
602
611
|
}
|
|
@@ -610,7 +619,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
610
619
|
url: toPathString(localVarUrlObj),
|
|
611
620
|
options: localVarRequestOptions,
|
|
612
621
|
};
|
|
613
|
-
},
|
|
622
|
+
}),
|
|
614
623
|
/**
|
|
615
624
|
* Add files to git commit
|
|
616
625
|
* @summary Add files
|
|
@@ -620,7 +629,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
620
629
|
* @param {*} [options] Override http request option.
|
|
621
630
|
* @throws {RequiredError}
|
|
622
631
|
*/
|
|
623
|
-
gitAddFiles:
|
|
632
|
+
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 = {}) {
|
|
624
633
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
625
634
|
assertParamExists('gitAddFiles', 'workspaceId', workspaceId);
|
|
626
635
|
// verify required parameter 'gitAddRequest' is not null or undefined
|
|
@@ -637,10 +646,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
637
646
|
const localVarQueryParameter = {};
|
|
638
647
|
// authentication bearer required
|
|
639
648
|
// http bearer authentication required
|
|
640
|
-
|
|
649
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
641
650
|
// authentication oauth2 required
|
|
642
651
|
// oauth required
|
|
643
|
-
|
|
652
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
644
653
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
645
654
|
if (xDaytonaOrganizationID != null) {
|
|
646
655
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -653,7 +662,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
653
662
|
url: toPathString(localVarUrlObj),
|
|
654
663
|
options: localVarRequestOptions,
|
|
655
664
|
};
|
|
656
|
-
},
|
|
665
|
+
}),
|
|
657
666
|
/**
|
|
658
667
|
* Clone git repository
|
|
659
668
|
* @summary Clone repository
|
|
@@ -663,7 +672,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
663
672
|
* @param {*} [options] Override http request option.
|
|
664
673
|
* @throws {RequiredError}
|
|
665
674
|
*/
|
|
666
|
-
gitCloneRepository:
|
|
675
|
+
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 = {}) {
|
|
667
676
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
668
677
|
assertParamExists('gitCloneRepository', 'workspaceId', workspaceId);
|
|
669
678
|
// verify required parameter 'gitCloneRequest' is not null or undefined
|
|
@@ -680,10 +689,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
680
689
|
const localVarQueryParameter = {};
|
|
681
690
|
// authentication bearer required
|
|
682
691
|
// http bearer authentication required
|
|
683
|
-
|
|
692
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
684
693
|
// authentication oauth2 required
|
|
685
694
|
// oauth required
|
|
686
|
-
|
|
695
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
687
696
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
688
697
|
if (xDaytonaOrganizationID != null) {
|
|
689
698
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -696,7 +705,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
696
705
|
url: toPathString(localVarUrlObj),
|
|
697
706
|
options: localVarRequestOptions,
|
|
698
707
|
};
|
|
699
|
-
},
|
|
708
|
+
}),
|
|
700
709
|
/**
|
|
701
710
|
* Commit changes to git repository
|
|
702
711
|
* @summary Commit changes
|
|
@@ -706,7 +715,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
706
715
|
* @param {*} [options] Override http request option.
|
|
707
716
|
* @throws {RequiredError}
|
|
708
717
|
*/
|
|
709
|
-
gitCommitChanges:
|
|
718
|
+
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 = {}) {
|
|
710
719
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
711
720
|
assertParamExists('gitCommitChanges', 'workspaceId', workspaceId);
|
|
712
721
|
// verify required parameter 'gitCommitRequest' is not null or undefined
|
|
@@ -723,10 +732,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
723
732
|
const localVarQueryParameter = {};
|
|
724
733
|
// authentication bearer required
|
|
725
734
|
// http bearer authentication required
|
|
726
|
-
|
|
735
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
727
736
|
// authentication oauth2 required
|
|
728
737
|
// oauth required
|
|
729
|
-
|
|
738
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
730
739
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
731
740
|
if (xDaytonaOrganizationID != null) {
|
|
732
741
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -739,7 +748,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
739
748
|
url: toPathString(localVarUrlObj),
|
|
740
749
|
options: localVarRequestOptions,
|
|
741
750
|
};
|
|
742
|
-
},
|
|
751
|
+
}),
|
|
743
752
|
/**
|
|
744
753
|
* Create branch on git repository
|
|
745
754
|
* @summary Create branch
|
|
@@ -749,7 +758,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
749
758
|
* @param {*} [options] Override http request option.
|
|
750
759
|
* @throws {RequiredError}
|
|
751
760
|
*/
|
|
752
|
-
gitCreateBranch:
|
|
761
|
+
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 = {}) {
|
|
753
762
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
754
763
|
assertParamExists('gitCreateBranch', 'workspaceId', workspaceId);
|
|
755
764
|
// verify required parameter 'gitBranchRequest' is not null or undefined
|
|
@@ -766,10 +775,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
766
775
|
const localVarQueryParameter = {};
|
|
767
776
|
// authentication bearer required
|
|
768
777
|
// http bearer authentication required
|
|
769
|
-
|
|
778
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
770
779
|
// authentication oauth2 required
|
|
771
780
|
// oauth required
|
|
772
|
-
|
|
781
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
773
782
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
774
783
|
if (xDaytonaOrganizationID != null) {
|
|
775
784
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -782,7 +791,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
782
791
|
url: toPathString(localVarUrlObj),
|
|
783
792
|
options: localVarRequestOptions,
|
|
784
793
|
};
|
|
785
|
-
},
|
|
794
|
+
}),
|
|
786
795
|
/**
|
|
787
796
|
* Get commit history from git repository
|
|
788
797
|
* @summary Get commit history
|
|
@@ -792,7 +801,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
792
801
|
* @param {*} [options] Override http request option.
|
|
793
802
|
* @throws {RequiredError}
|
|
794
803
|
*/
|
|
795
|
-
gitGetHistory:
|
|
804
|
+
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 = {}) {
|
|
796
805
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
797
806
|
assertParamExists('gitGetHistory', 'workspaceId', workspaceId);
|
|
798
807
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -809,10 +818,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
809
818
|
const localVarQueryParameter = {};
|
|
810
819
|
// authentication bearer required
|
|
811
820
|
// http bearer authentication required
|
|
812
|
-
|
|
821
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
813
822
|
// authentication oauth2 required
|
|
814
823
|
// oauth required
|
|
815
|
-
|
|
824
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
816
825
|
if (path !== undefined) {
|
|
817
826
|
localVarQueryParameter['path'] = path;
|
|
818
827
|
}
|
|
@@ -826,7 +835,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
826
835
|
url: toPathString(localVarUrlObj),
|
|
827
836
|
options: localVarRequestOptions,
|
|
828
837
|
};
|
|
829
|
-
},
|
|
838
|
+
}),
|
|
830
839
|
/**
|
|
831
840
|
* Get status from git repository
|
|
832
841
|
* @summary Get git status
|
|
@@ -836,7 +845,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
836
845
|
* @param {*} [options] Override http request option.
|
|
837
846
|
* @throws {RequiredError}
|
|
838
847
|
*/
|
|
839
|
-
gitGetStatus:
|
|
848
|
+
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 = {}) {
|
|
840
849
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
841
850
|
assertParamExists('gitGetStatus', 'workspaceId', workspaceId);
|
|
842
851
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -853,10 +862,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
853
862
|
const localVarQueryParameter = {};
|
|
854
863
|
// authentication bearer required
|
|
855
864
|
// http bearer authentication required
|
|
856
|
-
|
|
865
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
857
866
|
// authentication oauth2 required
|
|
858
867
|
// oauth required
|
|
859
|
-
|
|
868
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
860
869
|
if (path !== undefined) {
|
|
861
870
|
localVarQueryParameter['path'] = path;
|
|
862
871
|
}
|
|
@@ -870,7 +879,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
870
879
|
url: toPathString(localVarUrlObj),
|
|
871
880
|
options: localVarRequestOptions,
|
|
872
881
|
};
|
|
873
|
-
},
|
|
882
|
+
}),
|
|
874
883
|
/**
|
|
875
884
|
* Get branch list from git repository
|
|
876
885
|
* @summary Get branch list
|
|
@@ -880,7 +889,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
880
889
|
* @param {*} [options] Override http request option.
|
|
881
890
|
* @throws {RequiredError}
|
|
882
891
|
*/
|
|
883
|
-
gitListBranches:
|
|
892
|
+
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 = {}) {
|
|
884
893
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
885
894
|
assertParamExists('gitListBranches', 'workspaceId', workspaceId);
|
|
886
895
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -897,10 +906,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
897
906
|
const localVarQueryParameter = {};
|
|
898
907
|
// authentication bearer required
|
|
899
908
|
// http bearer authentication required
|
|
900
|
-
|
|
909
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
901
910
|
// authentication oauth2 required
|
|
902
911
|
// oauth required
|
|
903
|
-
|
|
912
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
904
913
|
if (path !== undefined) {
|
|
905
914
|
localVarQueryParameter['path'] = path;
|
|
906
915
|
}
|
|
@@ -914,7 +923,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
914
923
|
url: toPathString(localVarUrlObj),
|
|
915
924
|
options: localVarRequestOptions,
|
|
916
925
|
};
|
|
917
|
-
},
|
|
926
|
+
}),
|
|
918
927
|
/**
|
|
919
928
|
* Pull changes from remote
|
|
920
929
|
* @summary Pull changes
|
|
@@ -924,7 +933,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
924
933
|
* @param {*} [options] Override http request option.
|
|
925
934
|
* @throws {RequiredError}
|
|
926
935
|
*/
|
|
927
|
-
gitPullChanges:
|
|
936
|
+
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 = {}) {
|
|
928
937
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
929
938
|
assertParamExists('gitPullChanges', 'workspaceId', workspaceId);
|
|
930
939
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
@@ -941,10 +950,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
941
950
|
const localVarQueryParameter = {};
|
|
942
951
|
// authentication bearer required
|
|
943
952
|
// http bearer authentication required
|
|
944
|
-
|
|
953
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
945
954
|
// authentication oauth2 required
|
|
946
955
|
// oauth required
|
|
947
|
-
|
|
956
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
948
957
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
949
958
|
if (xDaytonaOrganizationID != null) {
|
|
950
959
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -957,7 +966,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
957
966
|
url: toPathString(localVarUrlObj),
|
|
958
967
|
options: localVarRequestOptions,
|
|
959
968
|
};
|
|
960
|
-
},
|
|
969
|
+
}),
|
|
961
970
|
/**
|
|
962
971
|
* Push changes to remote
|
|
963
972
|
* @summary Push changes
|
|
@@ -967,7 +976,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
967
976
|
* @param {*} [options] Override http request option.
|
|
968
977
|
* @throws {RequiredError}
|
|
969
978
|
*/
|
|
970
|
-
gitPushChanges:
|
|
979
|
+
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 = {}) {
|
|
971
980
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
972
981
|
assertParamExists('gitPushChanges', 'workspaceId', workspaceId);
|
|
973
982
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
@@ -984,10 +993,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
984
993
|
const localVarQueryParameter = {};
|
|
985
994
|
// authentication bearer required
|
|
986
995
|
// http bearer authentication required
|
|
987
|
-
|
|
996
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
988
997
|
// authentication oauth2 required
|
|
989
998
|
// oauth required
|
|
990
|
-
|
|
999
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
991
1000
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
992
1001
|
if (xDaytonaOrganizationID != null) {
|
|
993
1002
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1000,7 +1009,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1000
1009
|
url: toPathString(localVarUrlObj),
|
|
1001
1010
|
options: localVarRequestOptions,
|
|
1002
1011
|
};
|
|
1003
|
-
},
|
|
1012
|
+
}),
|
|
1004
1013
|
/**
|
|
1005
1014
|
*
|
|
1006
1015
|
* @summary List files
|
|
@@ -1010,7 +1019,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1010
1019
|
* @param {*} [options] Override http request option.
|
|
1011
1020
|
* @throws {RequiredError}
|
|
1012
1021
|
*/
|
|
1013
|
-
listFiles:
|
|
1022
|
+
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 = {}) {
|
|
1014
1023
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1015
1024
|
assertParamExists('listFiles', 'workspaceId', workspaceId);
|
|
1016
1025
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -1025,10 +1034,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1025
1034
|
const localVarQueryParameter = {};
|
|
1026
1035
|
// authentication bearer required
|
|
1027
1036
|
// http bearer authentication required
|
|
1028
|
-
|
|
1037
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1029
1038
|
// authentication oauth2 required
|
|
1030
1039
|
// oauth required
|
|
1031
|
-
|
|
1040
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1032
1041
|
if (path !== undefined) {
|
|
1033
1042
|
localVarQueryParameter['path'] = path;
|
|
1034
1043
|
}
|
|
@@ -1042,7 +1051,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1042
1051
|
url: toPathString(localVarUrlObj),
|
|
1043
1052
|
options: localVarRequestOptions,
|
|
1044
1053
|
};
|
|
1045
|
-
},
|
|
1054
|
+
}),
|
|
1046
1055
|
/**
|
|
1047
1056
|
* List all active sessions in the workspace
|
|
1048
1057
|
* @summary List sessions
|
|
@@ -1051,7 +1060,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1051
1060
|
* @param {*} [options] Override http request option.
|
|
1052
1061
|
* @throws {RequiredError}
|
|
1053
1062
|
*/
|
|
1054
|
-
listSessions:
|
|
1063
|
+
listSessions: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
|
|
1055
1064
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1056
1065
|
assertParamExists('listSessions', 'workspaceId', workspaceId);
|
|
1057
1066
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -1066,10 +1075,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1066
1075
|
const localVarQueryParameter = {};
|
|
1067
1076
|
// authentication bearer required
|
|
1068
1077
|
// http bearer authentication required
|
|
1069
|
-
|
|
1078
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1070
1079
|
// authentication oauth2 required
|
|
1071
1080
|
// oauth required
|
|
1072
|
-
|
|
1081
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1073
1082
|
if (xDaytonaOrganizationID != null) {
|
|
1074
1083
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1075
1084
|
}
|
|
@@ -1080,7 +1089,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1080
1089
|
url: toPathString(localVarUrlObj),
|
|
1081
1090
|
options: localVarRequestOptions,
|
|
1082
1091
|
};
|
|
1083
|
-
},
|
|
1092
|
+
}),
|
|
1084
1093
|
/**
|
|
1085
1094
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1086
1095
|
* @summary Get Lsp Completions
|
|
@@ -1090,7 +1099,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1090
1099
|
* @param {*} [options] Override http request option.
|
|
1091
1100
|
* @throws {RequiredError}
|
|
1092
1101
|
*/
|
|
1093
|
-
lspCompletions:
|
|
1102
|
+
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 = {}) {
|
|
1094
1103
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1095
1104
|
assertParamExists('lspCompletions', 'workspaceId', workspaceId);
|
|
1096
1105
|
// verify required parameter 'lspCompletionParams' is not null or undefined
|
|
@@ -1107,10 +1116,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1107
1116
|
const localVarQueryParameter = {};
|
|
1108
1117
|
// authentication bearer required
|
|
1109
1118
|
// http bearer authentication required
|
|
1110
|
-
|
|
1119
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1111
1120
|
// authentication oauth2 required
|
|
1112
1121
|
// oauth required
|
|
1113
|
-
|
|
1122
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1114
1123
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1115
1124
|
if (xDaytonaOrganizationID != null) {
|
|
1116
1125
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1123,7 +1132,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1123
1132
|
url: toPathString(localVarUrlObj),
|
|
1124
1133
|
options: localVarRequestOptions,
|
|
1125
1134
|
};
|
|
1126
|
-
},
|
|
1135
|
+
}),
|
|
1127
1136
|
/**
|
|
1128
1137
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1129
1138
|
* @summary Call Lsp DidClose
|
|
@@ -1133,7 +1142,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1133
1142
|
* @param {*} [options] Override http request option.
|
|
1134
1143
|
* @throws {RequiredError}
|
|
1135
1144
|
*/
|
|
1136
|
-
lspDidClose:
|
|
1145
|
+
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 = {}) {
|
|
1137
1146
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1138
1147
|
assertParamExists('lspDidClose', 'workspaceId', workspaceId);
|
|
1139
1148
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
@@ -1150,10 +1159,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1150
1159
|
const localVarQueryParameter = {};
|
|
1151
1160
|
// authentication bearer required
|
|
1152
1161
|
// http bearer authentication required
|
|
1153
|
-
|
|
1162
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1154
1163
|
// authentication oauth2 required
|
|
1155
1164
|
// oauth required
|
|
1156
|
-
|
|
1165
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1157
1166
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1158
1167
|
if (xDaytonaOrganizationID != null) {
|
|
1159
1168
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1166,7 +1175,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1166
1175
|
url: toPathString(localVarUrlObj),
|
|
1167
1176
|
options: localVarRequestOptions,
|
|
1168
1177
|
};
|
|
1169
|
-
},
|
|
1178
|
+
}),
|
|
1170
1179
|
/**
|
|
1171
1180
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1172
1181
|
* @summary Call Lsp DidOpen
|
|
@@ -1176,7 +1185,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1176
1185
|
* @param {*} [options] Override http request option.
|
|
1177
1186
|
* @throws {RequiredError}
|
|
1178
1187
|
*/
|
|
1179
|
-
lspDidOpen:
|
|
1188
|
+
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 = {}) {
|
|
1180
1189
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1181
1190
|
assertParamExists('lspDidOpen', 'workspaceId', workspaceId);
|
|
1182
1191
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
@@ -1193,10 +1202,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1193
1202
|
const localVarQueryParameter = {};
|
|
1194
1203
|
// authentication bearer required
|
|
1195
1204
|
// http bearer authentication required
|
|
1196
|
-
|
|
1205
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1197
1206
|
// authentication oauth2 required
|
|
1198
1207
|
// oauth required
|
|
1199
|
-
|
|
1208
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1200
1209
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1201
1210
|
if (xDaytonaOrganizationID != null) {
|
|
1202
1211
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1209,7 +1218,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1209
1218
|
url: toPathString(localVarUrlObj),
|
|
1210
1219
|
options: localVarRequestOptions,
|
|
1211
1220
|
};
|
|
1212
|
-
},
|
|
1221
|
+
}),
|
|
1213
1222
|
/**
|
|
1214
1223
|
* The document symbol request is sent from the client to the server.
|
|
1215
1224
|
* @summary Call Lsp DocumentSymbols
|
|
@@ -1221,7 +1230,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1221
1230
|
* @param {*} [options] Override http request option.
|
|
1222
1231
|
* @throws {RequiredError}
|
|
1223
1232
|
*/
|
|
1224
|
-
lspDocumentSymbols:
|
|
1233
|
+
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 = {}) {
|
|
1225
1234
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1226
1235
|
assertParamExists('lspDocumentSymbols', 'workspaceId', workspaceId);
|
|
1227
1236
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1242,10 +1251,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1242
1251
|
const localVarQueryParameter = {};
|
|
1243
1252
|
// authentication bearer required
|
|
1244
1253
|
// http bearer authentication required
|
|
1245
|
-
|
|
1254
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1246
1255
|
// authentication oauth2 required
|
|
1247
1256
|
// oauth required
|
|
1248
|
-
|
|
1257
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1249
1258
|
if (languageId !== undefined) {
|
|
1250
1259
|
localVarQueryParameter['languageId'] = languageId;
|
|
1251
1260
|
}
|
|
@@ -1265,7 +1274,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1265
1274
|
url: toPathString(localVarUrlObj),
|
|
1266
1275
|
options: localVarRequestOptions,
|
|
1267
1276
|
};
|
|
1268
|
-
},
|
|
1277
|
+
}),
|
|
1269
1278
|
/**
|
|
1270
1279
|
* Start Lsp server process inside workspace project
|
|
1271
1280
|
* @summary Start Lsp server
|
|
@@ -1275,7 +1284,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1275
1284
|
* @param {*} [options] Override http request option.
|
|
1276
1285
|
* @throws {RequiredError}
|
|
1277
1286
|
*/
|
|
1278
|
-
lspStart:
|
|
1287
|
+
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 = {}) {
|
|
1279
1288
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1280
1289
|
assertParamExists('lspStart', 'workspaceId', workspaceId);
|
|
1281
1290
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
@@ -1292,10 +1301,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1292
1301
|
const localVarQueryParameter = {};
|
|
1293
1302
|
// authentication bearer required
|
|
1294
1303
|
// http bearer authentication required
|
|
1295
|
-
|
|
1304
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1296
1305
|
// authentication oauth2 required
|
|
1297
1306
|
// oauth required
|
|
1298
|
-
|
|
1307
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1299
1308
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1300
1309
|
if (xDaytonaOrganizationID != null) {
|
|
1301
1310
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1308,7 +1317,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1308
1317
|
url: toPathString(localVarUrlObj),
|
|
1309
1318
|
options: localVarRequestOptions,
|
|
1310
1319
|
};
|
|
1311
|
-
},
|
|
1320
|
+
}),
|
|
1312
1321
|
/**
|
|
1313
1322
|
* Stop Lsp server process inside workspace project
|
|
1314
1323
|
* @summary Stop Lsp server
|
|
@@ -1318,7 +1327,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1318
1327
|
* @param {*} [options] Override http request option.
|
|
1319
1328
|
* @throws {RequiredError}
|
|
1320
1329
|
*/
|
|
1321
|
-
lspStop:
|
|
1330
|
+
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 = {}) {
|
|
1322
1331
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1323
1332
|
assertParamExists('lspStop', 'workspaceId', workspaceId);
|
|
1324
1333
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
@@ -1335,10 +1344,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1335
1344
|
const localVarQueryParameter = {};
|
|
1336
1345
|
// authentication bearer required
|
|
1337
1346
|
// http bearer authentication required
|
|
1338
|
-
|
|
1347
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1339
1348
|
// authentication oauth2 required
|
|
1340
1349
|
// oauth required
|
|
1341
|
-
|
|
1350
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1342
1351
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1343
1352
|
if (xDaytonaOrganizationID != null) {
|
|
1344
1353
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1351,7 +1360,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1351
1360
|
url: toPathString(localVarUrlObj),
|
|
1352
1361
|
options: localVarRequestOptions,
|
|
1353
1362
|
};
|
|
1354
|
-
},
|
|
1363
|
+
}),
|
|
1355
1364
|
/**
|
|
1356
1365
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1357
1366
|
* @summary Call Lsp WorkspaceSymbols
|
|
@@ -1363,7 +1372,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1363
1372
|
* @param {*} [options] Override http request option.
|
|
1364
1373
|
* @throws {RequiredError}
|
|
1365
1374
|
*/
|
|
1366
|
-
lspWorkspaceSymbols:
|
|
1375
|
+
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 = {}) {
|
|
1367
1376
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1368
1377
|
assertParamExists('lspWorkspaceSymbols', 'workspaceId', workspaceId);
|
|
1369
1378
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1384,10 +1393,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1384
1393
|
const localVarQueryParameter = {};
|
|
1385
1394
|
// authentication bearer required
|
|
1386
1395
|
// http bearer authentication required
|
|
1387
|
-
|
|
1396
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1388
1397
|
// authentication oauth2 required
|
|
1389
1398
|
// oauth required
|
|
1390
|
-
|
|
1399
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1391
1400
|
if (languageId !== undefined) {
|
|
1392
1401
|
localVarQueryParameter['languageId'] = languageId;
|
|
1393
1402
|
}
|
|
@@ -1407,7 +1416,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1416
|
url: toPathString(localVarUrlObj),
|
|
1408
1417
|
options: localVarRequestOptions,
|
|
1409
1418
|
};
|
|
1410
|
-
},
|
|
1419
|
+
}),
|
|
1411
1420
|
/**
|
|
1412
1421
|
* Move file inside workspace
|
|
1413
1422
|
* @summary Move file
|
|
@@ -1418,7 +1427,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1418
1427
|
* @param {*} [options] Override http request option.
|
|
1419
1428
|
* @throws {RequiredError}
|
|
1420
1429
|
*/
|
|
1421
|
-
moveFile:
|
|
1430
|
+
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 = {}) {
|
|
1422
1431
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1423
1432
|
assertParamExists('moveFile', 'workspaceId', workspaceId);
|
|
1424
1433
|
// verify required parameter 'source' is not null or undefined
|
|
@@ -1437,10 +1446,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1446
|
const localVarQueryParameter = {};
|
|
1438
1447
|
// authentication bearer required
|
|
1439
1448
|
// http bearer authentication required
|
|
1440
|
-
|
|
1449
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1441
1450
|
// authentication oauth2 required
|
|
1442
1451
|
// oauth required
|
|
1443
|
-
|
|
1452
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1444
1453
|
if (source !== undefined) {
|
|
1445
1454
|
localVarQueryParameter['source'] = source;
|
|
1446
1455
|
}
|
|
@@ -1457,7 +1466,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1457
1466
|
url: toPathString(localVarUrlObj),
|
|
1458
1467
|
options: localVarRequestOptions,
|
|
1459
1468
|
};
|
|
1460
|
-
},
|
|
1469
|
+
}),
|
|
1461
1470
|
/**
|
|
1462
1471
|
* Replace text/pattern in multiple files inside workspace
|
|
1463
1472
|
* @summary Replace in files
|
|
@@ -1467,7 +1476,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1467
1476
|
* @param {*} [options] Override http request option.
|
|
1468
1477
|
* @throws {RequiredError}
|
|
1469
1478
|
*/
|
|
1470
|
-
replaceInFiles:
|
|
1479
|
+
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 = {}) {
|
|
1471
1480
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1472
1481
|
assertParamExists('replaceInFiles', 'workspaceId', workspaceId);
|
|
1473
1482
|
// verify required parameter 'replaceRequest' is not null or undefined
|
|
@@ -1484,10 +1493,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1484
1493
|
const localVarQueryParameter = {};
|
|
1485
1494
|
// authentication bearer required
|
|
1486
1495
|
// http bearer authentication required
|
|
1487
|
-
|
|
1496
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1488
1497
|
// authentication oauth2 required
|
|
1489
1498
|
// oauth required
|
|
1490
|
-
|
|
1499
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1491
1500
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1492
1501
|
if (xDaytonaOrganizationID != null) {
|
|
1493
1502
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -1500,7 +1509,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1500
1509
|
url: toPathString(localVarUrlObj),
|
|
1501
1510
|
options: localVarRequestOptions,
|
|
1502
1511
|
};
|
|
1503
|
-
},
|
|
1512
|
+
}),
|
|
1504
1513
|
/**
|
|
1505
1514
|
* Search for files inside workspace
|
|
1506
1515
|
* @summary Search files
|
|
@@ -1511,7 +1520,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1511
1520
|
* @param {*} [options] Override http request option.
|
|
1512
1521
|
* @throws {RequiredError}
|
|
1513
1522
|
*/
|
|
1514
|
-
searchFiles:
|
|
1523
|
+
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 = {}) {
|
|
1515
1524
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1516
1525
|
assertParamExists('searchFiles', 'workspaceId', workspaceId);
|
|
1517
1526
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1530,10 +1539,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1530
1539
|
const localVarQueryParameter = {};
|
|
1531
1540
|
// authentication bearer required
|
|
1532
1541
|
// http bearer authentication required
|
|
1533
|
-
|
|
1542
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1534
1543
|
// authentication oauth2 required
|
|
1535
1544
|
// oauth required
|
|
1536
|
-
|
|
1545
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1537
1546
|
if (path !== undefined) {
|
|
1538
1547
|
localVarQueryParameter['path'] = path;
|
|
1539
1548
|
}
|
|
@@ -1550,7 +1559,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1550
1559
|
url: toPathString(localVarUrlObj),
|
|
1551
1560
|
options: localVarRequestOptions,
|
|
1552
1561
|
};
|
|
1553
|
-
},
|
|
1562
|
+
}),
|
|
1554
1563
|
/**
|
|
1555
1564
|
* Set file owner/group/permissions inside workspace
|
|
1556
1565
|
* @summary Set file permissions
|
|
@@ -1563,7 +1572,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1563
1572
|
* @param {*} [options] Override http request option.
|
|
1564
1573
|
* @throws {RequiredError}
|
|
1565
1574
|
*/
|
|
1566
|
-
setFilePermissions:
|
|
1575
|
+
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 = {}) {
|
|
1567
1576
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1568
1577
|
assertParamExists('setFilePermissions', 'workspaceId', workspaceId);
|
|
1569
1578
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1580,10 +1589,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1589
|
const localVarQueryParameter = {};
|
|
1581
1590
|
// authentication bearer required
|
|
1582
1591
|
// http bearer authentication required
|
|
1583
|
-
|
|
1592
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1584
1593
|
// authentication oauth2 required
|
|
1585
1594
|
// oauth required
|
|
1586
|
-
|
|
1595
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1587
1596
|
if (path !== undefined) {
|
|
1588
1597
|
localVarQueryParameter['path'] = path;
|
|
1589
1598
|
}
|
|
@@ -1606,7 +1615,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1606
1615
|
url: toPathString(localVarUrlObj),
|
|
1607
1616
|
options: localVarRequestOptions,
|
|
1608
1617
|
};
|
|
1609
|
-
},
|
|
1618
|
+
}),
|
|
1610
1619
|
/**
|
|
1611
1620
|
* Upload file inside workspace
|
|
1612
1621
|
* @summary Upload file
|
|
@@ -1617,7 +1626,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1617
1626
|
* @param {*} [options] Override http request option.
|
|
1618
1627
|
* @throws {RequiredError}
|
|
1619
1628
|
*/
|
|
1620
|
-
uploadFile:
|
|
1629
|
+
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 = {}) {
|
|
1621
1630
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1622
1631
|
assertParamExists('uploadFile', 'workspaceId', workspaceId);
|
|
1623
1632
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1635,10 +1644,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1635
1644
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1636
1645
|
// authentication bearer required
|
|
1637
1646
|
// http bearer authentication required
|
|
1638
|
-
|
|
1647
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1639
1648
|
// authentication oauth2 required
|
|
1640
1649
|
// oauth required
|
|
1641
|
-
|
|
1650
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1642
1651
|
if (path !== undefined) {
|
|
1643
1652
|
localVarQueryParameter['path'] = path;
|
|
1644
1653
|
}
|
|
@@ -1657,7 +1666,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1657
1666
|
url: toPathString(localVarUrlObj),
|
|
1658
1667
|
options: localVarRequestOptions,
|
|
1659
1668
|
};
|
|
1660
|
-
},
|
|
1669
|
+
}),
|
|
1661
1670
|
};
|
|
1662
1671
|
};
|
|
1663
1672
|
/**
|
|
@@ -1677,12 +1686,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1677
1686
|
* @param {*} [options] Override http request option.
|
|
1678
1687
|
* @throws {RequiredError}
|
|
1679
1688
|
*/
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1689
|
+
createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
|
|
1690
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1691
|
+
var _a, _b, _c;
|
|
1692
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createFolder(workspaceId, path, mode, 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 = operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1696
|
+
});
|
|
1686
1697
|
},
|
|
1687
1698
|
/**
|
|
1688
1699
|
* Create a new session in the workspace
|
|
@@ -1693,12 +1704,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1693
1704
|
* @param {*} [options] Override http request option.
|
|
1694
1705
|
* @throws {RequiredError}
|
|
1695
1706
|
*/
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1707
|
+
createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
1708
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1709
|
+
var _a, _b, _c;
|
|
1710
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
|
|
1711
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1712
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1713
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1714
|
+
});
|
|
1702
1715
|
},
|
|
1703
1716
|
/**
|
|
1704
1717
|
* Delete file inside workspace
|
|
@@ -1709,12 +1722,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1709
1722
|
* @param {*} [options] Override http request option.
|
|
1710
1723
|
* @throws {RequiredError}
|
|
1711
1724
|
*/
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1725
|
+
deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1726
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1727
|
+
var _a, _b, _c;
|
|
1728
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1729
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1730
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1732
|
+
});
|
|
1718
1733
|
},
|
|
1719
1734
|
/**
|
|
1720
1735
|
* Delete a specific session
|
|
@@ -1725,12 +1740,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1725
1740
|
* @param {*} [options] Override http request option.
|
|
1726
1741
|
* @throws {RequiredError}
|
|
1727
1742
|
*/
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1743
|
+
deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1745
|
+
var _a, _b, _c;
|
|
1746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1747
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1748
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1749
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1750
|
+
});
|
|
1734
1751
|
},
|
|
1735
1752
|
/**
|
|
1736
1753
|
* Download file from workspace
|
|
@@ -1741,12 +1758,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1741
1758
|
* @param {*} [options] Override http request option.
|
|
1742
1759
|
* @throws {RequiredError}
|
|
1743
1760
|
*/
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1761
|
+
downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1762
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1763
|
+
var _a, _b, _c;
|
|
1764
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1765
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1766
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1767
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1768
|
+
});
|
|
1750
1769
|
},
|
|
1751
1770
|
/**
|
|
1752
1771
|
* Execute command synchronously inside workspace
|
|
@@ -1757,12 +1776,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1757
1776
|
* @param {*} [options] Override http request option.
|
|
1758
1777
|
* @throws {RequiredError}
|
|
1759
1778
|
*/
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1779
|
+
executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
|
|
1780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1781
|
+
var _a, _b, _c;
|
|
1782
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
|
|
1783
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1784
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1785
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1786
|
+
});
|
|
1766
1787
|
},
|
|
1767
1788
|
/**
|
|
1768
1789
|
* Execute a command in a specific session
|
|
@@ -1774,12 +1795,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1774
1795
|
* @param {*} [options] Override http request option.
|
|
1775
1796
|
* @throws {RequiredError}
|
|
1776
1797
|
*/
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1798
|
+
executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
1799
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1800
|
+
var _a, _b, _c;
|
|
1801
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
|
|
1802
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1803
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1804
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1805
|
+
});
|
|
1783
1806
|
},
|
|
1784
1807
|
/**
|
|
1785
1808
|
* Search for text/pattern inside workspace files
|
|
@@ -1791,12 +1814,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1791
1814
|
* @param {*} [options] Override http request option.
|
|
1792
1815
|
* @throws {RequiredError}
|
|
1793
1816
|
*/
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1817
|
+
findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
1818
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1819
|
+
var _a, _b, _c;
|
|
1820
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
1821
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1822
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1823
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1824
|
+
});
|
|
1800
1825
|
},
|
|
1801
1826
|
/**
|
|
1802
1827
|
* Get file info inside workspace
|
|
@@ -1807,12 +1832,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1807
1832
|
* @param {*} [options] Override http request option.
|
|
1808
1833
|
* @throws {RequiredError}
|
|
1809
1834
|
*/
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1835
|
+
getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1836
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1837
|
+
var _a, _b, _c;
|
|
1838
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileInfo(workspaceId, path, 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 = operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1841
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1842
|
+
});
|
|
1816
1843
|
},
|
|
1817
1844
|
/**
|
|
1818
1845
|
*
|
|
@@ -1822,12 +1849,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1822
1849
|
* @param {*} [options] Override http request option.
|
|
1823
1850
|
* @throws {RequiredError}
|
|
1824
1851
|
*/
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1852
|
+
getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
|
|
1853
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1854
|
+
var _a, _b, _c;
|
|
1855
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
|
|
1856
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1857
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1858
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1859
|
+
});
|
|
1831
1860
|
},
|
|
1832
1861
|
/**
|
|
1833
1862
|
* Get session by ID
|
|
@@ -1838,12 +1867,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1838
1867
|
* @param {*} [options] Override http request option.
|
|
1839
1868
|
* @throws {RequiredError}
|
|
1840
1869
|
*/
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1870
|
+
getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1871
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1872
|
+
var _a, _b, _c;
|
|
1873
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1874
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1875
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1876
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1877
|
+
});
|
|
1847
1878
|
},
|
|
1848
1879
|
/**
|
|
1849
1880
|
* Get session command by ID
|
|
@@ -1855,12 +1886,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1855
1886
|
* @param {*} [options] Override http request option.
|
|
1856
1887
|
* @throws {RequiredError}
|
|
1857
1888
|
*/
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1889
|
+
getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
1890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1891
|
+
var _a, _b, _c;
|
|
1892
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
|
|
1893
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1894
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1895
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1896
|
+
});
|
|
1864
1897
|
},
|
|
1865
1898
|
/**
|
|
1866
1899
|
* Get logs for a specific command in a session
|
|
@@ -1873,12 +1906,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1873
1906
|
* @param {*} [options] Override http request option.
|
|
1874
1907
|
* @throws {RequiredError}
|
|
1875
1908
|
*/
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1909
|
+
getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
1910
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1911
|
+
var _a, _b, _c;
|
|
1912
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
|
|
1913
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1914
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1915
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1916
|
+
});
|
|
1882
1917
|
},
|
|
1883
1918
|
/**
|
|
1884
1919
|
* Add files to git commit
|
|
@@ -1889,12 +1924,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1889
1924
|
* @param {*} [options] Override http request option.
|
|
1890
1925
|
* @throws {RequiredError}
|
|
1891
1926
|
*/
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1927
|
+
gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
1928
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1929
|
+
var _a, _b, _c;
|
|
1930
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
|
|
1931
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1932
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1933
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1934
|
+
});
|
|
1898
1935
|
},
|
|
1899
1936
|
/**
|
|
1900
1937
|
* Clone git repository
|
|
@@ -1905,12 +1942,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1905
1942
|
* @param {*} [options] Override http request option.
|
|
1906
1943
|
* @throws {RequiredError}
|
|
1907
1944
|
*/
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1945
|
+
gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
1946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1947
|
+
var _a, _b, _c;
|
|
1948
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
|
|
1949
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1950
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1951
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1952
|
+
});
|
|
1914
1953
|
},
|
|
1915
1954
|
/**
|
|
1916
1955
|
* Commit changes to git repository
|
|
@@ -1921,12 +1960,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1921
1960
|
* @param {*} [options] Override http request option.
|
|
1922
1961
|
* @throws {RequiredError}
|
|
1923
1962
|
*/
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1963
|
+
gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
1964
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1965
|
+
var _a, _b, _c;
|
|
1966
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
|
|
1967
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1968
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1970
|
+
});
|
|
1930
1971
|
},
|
|
1931
1972
|
/**
|
|
1932
1973
|
* Create branch on git repository
|
|
@@ -1937,12 +1978,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1937
1978
|
* @param {*} [options] Override http request option.
|
|
1938
1979
|
* @throws {RequiredError}
|
|
1939
1980
|
*/
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1981
|
+
gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
1982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1983
|
+
var _a, _b, _c;
|
|
1984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
|
|
1985
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1986
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1987
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1988
|
+
});
|
|
1946
1989
|
},
|
|
1947
1990
|
/**
|
|
1948
1991
|
* Get commit history from git repository
|
|
@@ -1953,12 +1996,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1953
1996
|
* @param {*} [options] Override http request option.
|
|
1954
1997
|
* @throws {RequiredError}
|
|
1955
1998
|
*/
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1999
|
+
gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2000
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2001
|
+
var _a, _b, _c;
|
|
2002
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2003
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2004
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2006
|
+
});
|
|
1962
2007
|
},
|
|
1963
2008
|
/**
|
|
1964
2009
|
* Get status from git repository
|
|
@@ -1969,12 +2014,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1969
2014
|
* @param {*} [options] Override http request option.
|
|
1970
2015
|
* @throws {RequiredError}
|
|
1971
2016
|
*/
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
2017
|
+
gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2019
|
+
var _a, _b, _c;
|
|
2020
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2021
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2022
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2023
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2024
|
+
});
|
|
1978
2025
|
},
|
|
1979
2026
|
/**
|
|
1980
2027
|
* Get branch list from git repository
|
|
@@ -1985,12 +2032,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1985
2032
|
* @param {*} [options] Override http request option.
|
|
1986
2033
|
* @throws {RequiredError}
|
|
1987
2034
|
*/
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
2035
|
+
gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2036
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2037
|
+
var _a, _b, _c;
|
|
2038
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2039
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2040
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2041
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2042
|
+
});
|
|
1994
2043
|
},
|
|
1995
2044
|
/**
|
|
1996
2045
|
* Pull changes from remote
|
|
@@ -2001,12 +2050,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2001
2050
|
* @param {*} [options] Override http request option.
|
|
2002
2051
|
* @throws {RequiredError}
|
|
2003
2052
|
*/
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2053
|
+
gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2054
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2055
|
+
var _a, _b, _c;
|
|
2056
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2057
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2058
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2059
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2060
|
+
});
|
|
2010
2061
|
},
|
|
2011
2062
|
/**
|
|
2012
2063
|
* Push changes to remote
|
|
@@ -2017,12 +2068,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2017
2068
|
* @param {*} [options] Override http request option.
|
|
2018
2069
|
* @throws {RequiredError}
|
|
2019
2070
|
*/
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2071
|
+
gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2073
|
+
var _a, _b, _c;
|
|
2074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2075
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2076
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2078
|
+
});
|
|
2026
2079
|
},
|
|
2027
2080
|
/**
|
|
2028
2081
|
*
|
|
@@ -2033,12 +2086,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2033
2086
|
* @param {*} [options] Override http request option.
|
|
2034
2087
|
* @throws {RequiredError}
|
|
2035
2088
|
*/
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2089
|
+
listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
|
|
2090
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2091
|
+
var _a, _b, _c;
|
|
2092
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
|
|
2093
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2094
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2096
|
+
});
|
|
2042
2097
|
},
|
|
2043
2098
|
/**
|
|
2044
2099
|
* List all active sessions in the workspace
|
|
@@ -2048,12 +2103,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2048
2103
|
* @param {*} [options] Override http request option.
|
|
2049
2104
|
* @throws {RequiredError}
|
|
2050
2105
|
*/
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2106
|
+
listSessions(workspaceId, xDaytonaOrganizationID, options) {
|
|
2107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2108
|
+
var _a, _b, _c;
|
|
2109
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
|
|
2110
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2111
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2112
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2113
|
+
});
|
|
2057
2114
|
},
|
|
2058
2115
|
/**
|
|
2059
2116
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
@@ -2064,12 +2121,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2064
2121
|
* @param {*} [options] Override http request option.
|
|
2065
2122
|
* @throws {RequiredError}
|
|
2066
2123
|
*/
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2124
|
+
lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2126
|
+
var _a, _b, _c;
|
|
2127
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
|
|
2128
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2129
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2130
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2131
|
+
});
|
|
2073
2132
|
},
|
|
2074
2133
|
/**
|
|
2075
2134
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
@@ -2080,12 +2139,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2080
2139
|
* @param {*} [options] Override http request option.
|
|
2081
2140
|
* @throws {RequiredError}
|
|
2082
2141
|
*/
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2142
|
+
lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2144
|
+
var _a, _b, _c;
|
|
2145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2147
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2149
|
+
});
|
|
2089
2150
|
},
|
|
2090
2151
|
/**
|
|
2091
2152
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
@@ -2096,12 +2157,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2096
2157
|
* @param {*} [options] Override http request option.
|
|
2097
2158
|
* @throws {RequiredError}
|
|
2098
2159
|
*/
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2160
|
+
lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2162
|
+
var _a, _b, _c;
|
|
2163
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2164
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2165
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2166
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2167
|
+
});
|
|
2105
2168
|
},
|
|
2106
2169
|
/**
|
|
2107
2170
|
* The document symbol request is sent from the client to the server.
|
|
@@ -2114,12 +2177,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2114
2177
|
* @param {*} [options] Override http request option.
|
|
2115
2178
|
* @throws {RequiredError}
|
|
2116
2179
|
*/
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2180
|
+
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2182
|
+
var _a, _b, _c;
|
|
2183
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
|
|
2184
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2185
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2187
|
+
});
|
|
2123
2188
|
},
|
|
2124
2189
|
/**
|
|
2125
2190
|
* Start Lsp server process inside workspace project
|
|
@@ -2130,12 +2195,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2130
2195
|
* @param {*} [options] Override http request option.
|
|
2131
2196
|
* @throws {RequiredError}
|
|
2132
2197
|
*/
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2198
|
+
lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2200
|
+
var _a, _b, _c;
|
|
2201
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2202
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2203
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2204
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2205
|
+
});
|
|
2139
2206
|
},
|
|
2140
2207
|
/**
|
|
2141
2208
|
* Stop Lsp server process inside workspace project
|
|
@@ -2146,12 +2213,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2146
2213
|
* @param {*} [options] Override http request option.
|
|
2147
2214
|
* @throws {RequiredError}
|
|
2148
2215
|
*/
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2216
|
+
lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2217
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2218
|
+
var _a, _b, _c;
|
|
2219
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2221
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2223
|
+
});
|
|
2155
2224
|
},
|
|
2156
2225
|
/**
|
|
2157
2226
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
@@ -2164,12 +2233,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2164
2233
|
* @param {*} [options] Override http request option.
|
|
2165
2234
|
* @throws {RequiredError}
|
|
2166
2235
|
*/
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2236
|
+
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2238
|
+
var _a, _b, _c;
|
|
2239
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
|
|
2240
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2241
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2242
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2243
|
+
});
|
|
2173
2244
|
},
|
|
2174
2245
|
/**
|
|
2175
2246
|
* Move file inside workspace
|
|
@@ -2181,12 +2252,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2181
2252
|
* @param {*} [options] Override http request option.
|
|
2182
2253
|
* @throws {RequiredError}
|
|
2183
2254
|
*/
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2255
|
+
moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
|
|
2256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2257
|
+
var _a, _b, _c;
|
|
2258
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
|
|
2259
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2260
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2261
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2262
|
+
});
|
|
2190
2263
|
},
|
|
2191
2264
|
/**
|
|
2192
2265
|
* Replace text/pattern in multiple files inside workspace
|
|
@@ -2197,12 +2270,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2197
2270
|
* @param {*} [options] Override http request option.
|
|
2198
2271
|
* @throws {RequiredError}
|
|
2199
2272
|
*/
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2273
|
+
replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2275
|
+
var _a, _b, _c;
|
|
2276
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
|
|
2277
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2278
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2279
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2280
|
+
});
|
|
2206
2281
|
},
|
|
2207
2282
|
/**
|
|
2208
2283
|
* Search for files inside workspace
|
|
@@ -2214,12 +2289,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2214
2289
|
* @param {*} [options] Override http request option.
|
|
2215
2290
|
* @throws {RequiredError}
|
|
2216
2291
|
*/
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2292
|
+
searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2294
|
+
var _a, _b, _c;
|
|
2295
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
2296
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2297
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2298
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2299
|
+
});
|
|
2223
2300
|
},
|
|
2224
2301
|
/**
|
|
2225
2302
|
* Set file owner/group/permissions inside workspace
|
|
@@ -2233,12 +2310,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2233
2310
|
* @param {*} [options] Override http request option.
|
|
2234
2311
|
* @throws {RequiredError}
|
|
2235
2312
|
*/
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2313
|
+
setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2314
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2315
|
+
var _a, _b, _c;
|
|
2316
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
|
|
2317
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2318
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2320
|
+
});
|
|
2242
2321
|
},
|
|
2243
2322
|
/**
|
|
2244
2323
|
* Upload file inside workspace
|
|
@@ -2250,12 +2329,14 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2250
2329
|
* @param {*} [options] Override http request option.
|
|
2251
2330
|
* @throws {RequiredError}
|
|
2252
2331
|
*/
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2332
|
+
uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
|
|
2333
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2334
|
+
var _a, _b, _c;
|
|
2335
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
|
|
2336
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2337
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2339
|
+
});
|
|
2259
2340
|
},
|
|
2260
2341
|
};
|
|
2261
2342
|
};
|