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