@daytonaio/api-client 0.20.1 → 0.21.0-alpha.0
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/package.json +1 -1
- package/src/api/docker-registry-api.d.ts +4 -4
- package/src/api/docker-registry-api.js +4 -4
- package/src/api/preview-api.d.ts +40 -40
- package/src/api/preview-api.js +65 -65
- package/src/api/preview-api.js.map +1 -1
- package/src/api/runners-api.d.ts +136 -0
- package/src/api/{nodes-api.js → runners-api.js} +70 -70
- package/src/api/runners-api.js.map +1 -0
- package/src/api/sandbox-api.d.ts +598 -0
- package/src/api/sandbox-api.js +1212 -0
- package/src/api/sandbox-api.js.map +1 -0
- package/src/api/snapshots-api.d.ts +320 -0
- package/src/api/{images-api.js → snapshots-api.js} +162 -241
- package/src/api/snapshots-api.js.map +1 -0
- package/src/api/toolbox-api.d.ts +412 -412
- package/src/api/toolbox-api.js +676 -676
- package/src/api/toolbox-api.js.map +1 -1
- package/src/api/users-api.d.ts +67 -0
- package/src/api/users-api.js +138 -0
- package/src/api/users-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +174 -118
- package/src/api/workspace-api.js +251 -194
- package/src/api/workspace-api.js.map +1 -1
- package/src/api.d.ts +3 -2
- package/src/api.js +3 -2
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +2 -2
- package/src/models/api-key-list.js +2 -2
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +2 -2
- package/src/models/api-key-response.js +2 -2
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-snapshot.d.ts +55 -0
- package/src/models/{workspace-info.js → build-snapshot.js} +1 -1
- package/src/models/build-snapshot.js.map +1 -0
- package/src/models/create-api-key.d.ts +2 -2
- package/src/models/create-api-key.js +2 -2
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/{build-image.d.ts → create-linked-account.d.ts} +9 -10
- package/src/models/{paginated-images-dto.js → create-linked-account.js} +1 -1
- package/src/models/create-linked-account.js.map +1 -0
- package/src/models/create-organization-quota.d.ts +5 -5
- package/src/models/create-organization-role.d.ts +2 -2
- package/src/models/create-organization-role.js +2 -2
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/{create-node.d.ts → create-runner.d.ts} +19 -19
- package/src/models/{create-node.js → create-runner.js} +4 -4
- package/src/models/create-runner.js.map +1 -0
- package/src/models/create-sandbox.d.ts +126 -0
- package/src/models/create-sandbox.js +27 -0
- package/src/models/create-sandbox.js.map +1 -0
- package/src/models/create-snapshot.d.ts +73 -0
- package/src/models/create-snapshot.js +16 -0
- package/src/models/create-snapshot.js.map +1 -0
- package/src/models/create-workspace.d.ts +4 -4
- package/src/models/index.d.ts +13 -12
- package/src/models/index.js +13 -12
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +2 -2
- package/src/models/organization-role.js +2 -2
- package/src/models/organization-role.js.map +1 -1
- package/src/models/{paginated-images-dto.d.ts → paginated-snapshots-dto.d.ts} +9 -9
- package/src/models/paginated-snapshots-dto.js +16 -0
- package/src/models/paginated-snapshots-dto.js.map +1 -0
- package/src/models/{workspace-info.d.ts → sandbox-info.d.ts} +6 -6
- package/src/models/{image-dto.js → sandbox-info.js} +1 -1
- package/src/models/sandbox-info.js.map +1 -0
- package/src/models/{workspace-labels.d.ts → sandbox-labels.d.ts} +3 -3
- package/src/models/{create-image.js → sandbox-labels.js} +1 -1
- package/src/models/sandbox-labels.js.map +1 -0
- package/src/models/{workspace-state.d.ts → sandbox-state.d.ts} +5 -5
- package/src/models/{workspace-state.js → sandbox-state.js} +6 -6
- package/src/models/sandbox-state.js.map +1 -0
- package/src/models/{workspace-volume.d.ts → sandbox-volume.d.ts} +4 -4
- package/src/models/sandbox-volume.js +16 -0
- package/src/models/sandbox-volume.js.map +1 -0
- package/src/models/sandbox.d.ts +160 -0
- package/src/models/{workspace.js → sandbox.js} +3 -3
- package/src/models/sandbox.js.map +1 -0
- package/src/models/{set-image-general-status.d.ts → set-snapshot-general-status-dto.d.ts} +4 -4
- package/src/models/set-snapshot-general-status-dto.js +16 -0
- package/src/models/set-snapshot-general-status-dto.js.map +1 -0
- package/src/models/{image-dto.d.ts → snapshot-dto.d.ts} +47 -17
- package/src/models/{build-image.js → snapshot-dto.js} +1 -1
- package/src/models/snapshot-dto.js.map +1 -0
- package/src/models/{image-state.d.ts → snapshot-state.d.ts} +3 -3
- package/src/models/{image-state.js → snapshot-state.js} +4 -4
- package/src/models/snapshot-state.js.map +1 -0
- package/src/models/toggle-state.d.ts +1 -1
- package/src/models/update-organization-quota.d.ts +5 -5
- package/src/models/update-organization-role.d.ts +2 -2
- package/src/models/update-organization-role.js +2 -2
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/volume-dto.d.ts +1 -1
- package/src/api/images-api.d.ts +0 -358
- package/src/api/images-api.js.map +0 -1
- package/src/api/nodes-api.d.ts +0 -136
- package/src/api/nodes-api.js.map +0 -1
- package/src/models/build-image.js.map +0 -1
- package/src/models/create-image.d.ts +0 -36
- package/src/models/create-image.js.map +0 -1
- package/src/models/create-node.js.map +0 -1
- package/src/models/image-dto.js.map +0 -1
- package/src/models/image-state.js.map +0 -1
- package/src/models/paginated-images-dto.js.map +0 -1
- package/src/models/set-image-general-status.js +0 -16
- package/src/models/set-image-general-status.js.map +0 -1
- package/src/models/workspace-info.js.map +0 -1
- package/src/models/workspace-labels.js +0 -16
- package/src/models/workspace-labels.js.map +0 -1
- package/src/models/workspace-state.js.map +0 -1
- package/src/models/workspace-volume.js +0 -16
- package/src/models/workspace-volume.js.map +0 -1
- package/src/models/workspace.d.ts +0 -160
- package/src/models/workspace.js.map +0 -1
package/src/api/toolbox-api.js
CHANGED
|
@@ -27,23 +27,23 @@ const base_1 = require("../base");
|
|
|
27
27
|
const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
28
28
|
return {
|
|
29
29
|
/**
|
|
30
|
-
* Create folder inside
|
|
30
|
+
* Create folder inside sandbox
|
|
31
31
|
* @summary Create folder
|
|
32
|
-
* @param {string}
|
|
32
|
+
* @param {string} sandboxId
|
|
33
33
|
* @param {string} path
|
|
34
34
|
* @param {string} mode
|
|
35
35
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
createFolder: async (
|
|
40
|
-
// verify required parameter '
|
|
41
|
-
(0, common_1.assertParamExists)('createFolder', '
|
|
39
|
+
createFolder: async (sandboxId, path, mode, xDaytonaOrganizationID, options = {}) => {
|
|
40
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
41
|
+
(0, common_1.assertParamExists)('createFolder', 'sandboxId', sandboxId);
|
|
42
42
|
// verify required parameter 'path' is not null or undefined
|
|
43
43
|
(0, common_1.assertParamExists)('createFolder', 'path', path);
|
|
44
44
|
// verify required parameter 'mode' is not null or undefined
|
|
45
45
|
(0, common_1.assertParamExists)('createFolder', 'mode', mode);
|
|
46
|
-
const localVarPath = `/toolbox/{
|
|
46
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/folder`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
49
49
|
let baseOptions;
|
|
@@ -75,20 +75,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
};
|
|
76
76
|
},
|
|
77
77
|
/**
|
|
78
|
-
* Create a new session in the
|
|
78
|
+
* Create a new session in the sandbox
|
|
79
79
|
* @summary Create session
|
|
80
|
-
* @param {string}
|
|
80
|
+
* @param {string} sandboxId
|
|
81
81
|
* @param {CreateSessionRequest} createSessionRequest
|
|
82
82
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
createSession: async (
|
|
87
|
-
// verify required parameter '
|
|
88
|
-
(0, common_1.assertParamExists)('createSession', '
|
|
86
|
+
createSession: async (sandboxId, createSessionRequest, xDaytonaOrganizationID, options = {}) => {
|
|
87
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
88
|
+
(0, common_1.assertParamExists)('createSession', 'sandboxId', sandboxId);
|
|
89
89
|
// verify required parameter 'createSessionRequest' is not null or undefined
|
|
90
90
|
(0, common_1.assertParamExists)('createSession', 'createSessionRequest', createSessionRequest);
|
|
91
|
-
const localVarPath = `/toolbox/{
|
|
91
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
92
92
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93
93
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
94
94
|
let baseOptions;
|
|
@@ -116,20 +116,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
116
116
|
};
|
|
117
117
|
},
|
|
118
118
|
/**
|
|
119
|
-
* Delete file inside
|
|
119
|
+
* Delete file inside sandbox
|
|
120
120
|
* @summary Delete file
|
|
121
|
-
* @param {string}
|
|
121
|
+
* @param {string} sandboxId
|
|
122
122
|
* @param {string} path
|
|
123
123
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
deleteFile: async (
|
|
128
|
-
// verify required parameter '
|
|
129
|
-
(0, common_1.assertParamExists)('deleteFile', '
|
|
127
|
+
deleteFile: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
128
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
129
|
+
(0, common_1.assertParamExists)('deleteFile', 'sandboxId', sandboxId);
|
|
130
130
|
// verify required parameter 'path' is not null or undefined
|
|
131
131
|
(0, common_1.assertParamExists)('deleteFile', 'path', path);
|
|
132
|
-
const localVarPath = `/toolbox/{
|
|
132
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
133
133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
134
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
135
|
let baseOptions;
|
|
@@ -160,19 +160,19 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
160
160
|
/**
|
|
161
161
|
* Delete a specific session
|
|
162
162
|
* @summary Delete session
|
|
163
|
-
* @param {string}
|
|
163
|
+
* @param {string} sandboxId
|
|
164
164
|
* @param {string} sessionId
|
|
165
165
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
deleteSession: async (
|
|
170
|
-
// verify required parameter '
|
|
171
|
-
(0, common_1.assertParamExists)('deleteSession', '
|
|
169
|
+
deleteSession: async (sandboxId, sessionId, xDaytonaOrganizationID, options = {}) => {
|
|
170
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
171
|
+
(0, common_1.assertParamExists)('deleteSession', 'sandboxId', sandboxId);
|
|
172
172
|
// verify required parameter 'sessionId' is not null or undefined
|
|
173
173
|
(0, common_1.assertParamExists)('deleteSession', 'sessionId', sessionId);
|
|
174
|
-
const localVarPath = `/toolbox/{
|
|
175
|
-
.replace(`{${'
|
|
174
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session/{sessionId}`
|
|
175
|
+
.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)))
|
|
176
176
|
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
177
177
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
178
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -199,20 +199,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
199
199
|
};
|
|
200
200
|
},
|
|
201
201
|
/**
|
|
202
|
-
* Download file from
|
|
202
|
+
* Download file from sandbox
|
|
203
203
|
* @summary Download file
|
|
204
|
-
* @param {string}
|
|
204
|
+
* @param {string} sandboxId
|
|
205
205
|
* @param {string} path
|
|
206
206
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
207
207
|
* @param {*} [options] Override http request option.
|
|
208
208
|
* @throws {RequiredError}
|
|
209
209
|
*/
|
|
210
|
-
downloadFile: async (
|
|
211
|
-
// verify required parameter '
|
|
212
|
-
(0, common_1.assertParamExists)('downloadFile', '
|
|
210
|
+
downloadFile: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
211
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('downloadFile', 'sandboxId', sandboxId);
|
|
213
213
|
// verify required parameter 'path' is not null or undefined
|
|
214
214
|
(0, common_1.assertParamExists)('downloadFile', 'path', path);
|
|
215
|
-
const localVarPath = `/toolbox/{
|
|
215
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/download`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
216
216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
217
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
218
218
|
let baseOptions;
|
|
@@ -241,20 +241,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
};
|
|
242
242
|
},
|
|
243
243
|
/**
|
|
244
|
-
* Execute command synchronously inside
|
|
244
|
+
* Execute command synchronously inside sandbox
|
|
245
245
|
* @summary Execute command
|
|
246
|
-
* @param {string}
|
|
246
|
+
* @param {string} sandboxId
|
|
247
247
|
* @param {ExecuteRequest} executeRequest
|
|
248
248
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
249
249
|
* @param {*} [options] Override http request option.
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
*/
|
|
252
|
-
executeCommand: async (
|
|
253
|
-
// verify required parameter '
|
|
254
|
-
(0, common_1.assertParamExists)('executeCommand', '
|
|
252
|
+
executeCommand: async (sandboxId, executeRequest, xDaytonaOrganizationID, options = {}) => {
|
|
253
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
254
|
+
(0, common_1.assertParamExists)('executeCommand', 'sandboxId', sandboxId);
|
|
255
255
|
// verify required parameter 'executeRequest' is not null or undefined
|
|
256
256
|
(0, common_1.assertParamExists)('executeCommand', 'executeRequest', executeRequest);
|
|
257
|
-
const localVarPath = `/toolbox/{
|
|
257
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/execute`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
258
258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
259
259
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
260
260
|
let baseOptions;
|
|
@@ -284,22 +284,22 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
284
284
|
/**
|
|
285
285
|
* Execute a command in a specific session
|
|
286
286
|
* @summary Execute command in session
|
|
287
|
-
* @param {string}
|
|
287
|
+
* @param {string} sandboxId
|
|
288
288
|
* @param {string} sessionId
|
|
289
289
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
290
290
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
291
291
|
* @param {*} [options] Override http request option.
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
*/
|
|
294
|
-
executeSessionCommand: async (
|
|
295
|
-
// verify required parameter '
|
|
296
|
-
(0, common_1.assertParamExists)('executeSessionCommand', '
|
|
294
|
+
executeSessionCommand: async (sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) => {
|
|
295
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
296
|
+
(0, common_1.assertParamExists)('executeSessionCommand', 'sandboxId', sandboxId);
|
|
297
297
|
// verify required parameter 'sessionId' is not null or undefined
|
|
298
298
|
(0, common_1.assertParamExists)('executeSessionCommand', 'sessionId', sessionId);
|
|
299
299
|
// verify required parameter 'sessionExecuteRequest' is not null or undefined
|
|
300
300
|
(0, common_1.assertParamExists)('executeSessionCommand', 'sessionExecuteRequest', sessionExecuteRequest);
|
|
301
|
-
const localVarPath = `/toolbox/{
|
|
302
|
-
.replace(`{${'
|
|
301
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/exec`
|
|
302
|
+
.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)))
|
|
303
303
|
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
304
304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
305
305
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -328,23 +328,23 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
328
328
|
};
|
|
329
329
|
},
|
|
330
330
|
/**
|
|
331
|
-
* Search for text/pattern inside
|
|
331
|
+
* Search for text/pattern inside sandbox files
|
|
332
332
|
* @summary Search for text/pattern in files
|
|
333
|
-
* @param {string}
|
|
333
|
+
* @param {string} sandboxId
|
|
334
334
|
* @param {string} path
|
|
335
335
|
* @param {string} pattern
|
|
336
336
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
337
337
|
* @param {*} [options] Override http request option.
|
|
338
338
|
* @throws {RequiredError}
|
|
339
339
|
*/
|
|
340
|
-
findInFiles: async (
|
|
341
|
-
// verify required parameter '
|
|
342
|
-
(0, common_1.assertParamExists)('findInFiles', '
|
|
340
|
+
findInFiles: async (sandboxId, path, pattern, xDaytonaOrganizationID, options = {}) => {
|
|
341
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('findInFiles', 'sandboxId', sandboxId);
|
|
343
343
|
// verify required parameter 'path' is not null or undefined
|
|
344
344
|
(0, common_1.assertParamExists)('findInFiles', 'path', path);
|
|
345
345
|
// verify required parameter 'pattern' is not null or undefined
|
|
346
346
|
(0, common_1.assertParamExists)('findInFiles', 'pattern', pattern);
|
|
347
|
-
const localVarPath = `/toolbox/{
|
|
347
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/find`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
348
348
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
349
349
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
350
350
|
let baseOptions;
|
|
@@ -376,20 +376,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
376
376
|
};
|
|
377
377
|
},
|
|
378
378
|
/**
|
|
379
|
-
* Get file info inside
|
|
379
|
+
* Get file info inside sandbox
|
|
380
380
|
* @summary Get file info
|
|
381
|
-
* @param {string}
|
|
381
|
+
* @param {string} sandboxId
|
|
382
382
|
* @param {string} path
|
|
383
383
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
385
385
|
* @throws {RequiredError}
|
|
386
386
|
*/
|
|
387
|
-
getFileInfo: async (
|
|
388
|
-
// verify required parameter '
|
|
389
|
-
(0, common_1.assertParamExists)('getFileInfo', '
|
|
387
|
+
getFileInfo: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
388
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
389
|
+
(0, common_1.assertParamExists)('getFileInfo', 'sandboxId', sandboxId);
|
|
390
390
|
// verify required parameter 'path' is not null or undefined
|
|
391
391
|
(0, common_1.assertParamExists)('getFileInfo', 'path', path);
|
|
392
|
-
const localVarPath = `/toolbox/{
|
|
392
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/info`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
393
393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
394
394
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
395
395
|
let baseOptions;
|
|
@@ -419,16 +419,16 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
419
419
|
},
|
|
420
420
|
/**
|
|
421
421
|
*
|
|
422
|
-
* @summary Get
|
|
423
|
-
* @param {string}
|
|
422
|
+
* @summary Get sandbox project dir
|
|
423
|
+
* @param {string} sandboxId
|
|
424
424
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
426
426
|
* @throws {RequiredError}
|
|
427
427
|
*/
|
|
428
|
-
getProjectDir: async (
|
|
429
|
-
// verify required parameter '
|
|
430
|
-
(0, common_1.assertParamExists)('getProjectDir', '
|
|
431
|
-
const localVarPath = `/toolbox/{
|
|
428
|
+
getProjectDir: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
|
|
429
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
430
|
+
(0, common_1.assertParamExists)('getProjectDir', 'sandboxId', sandboxId);
|
|
431
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/project-dir`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
432
432
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
433
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
434
434
|
let baseOptions;
|
|
@@ -456,19 +456,19 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
456
456
|
/**
|
|
457
457
|
* Get session by ID
|
|
458
458
|
* @summary Get session
|
|
459
|
-
* @param {string}
|
|
459
|
+
* @param {string} sandboxId
|
|
460
460
|
* @param {string} sessionId
|
|
461
461
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
462
462
|
* @param {*} [options] Override http request option.
|
|
463
463
|
* @throws {RequiredError}
|
|
464
464
|
*/
|
|
465
|
-
getSession: async (
|
|
466
|
-
// verify required parameter '
|
|
467
|
-
(0, common_1.assertParamExists)('getSession', '
|
|
465
|
+
getSession: async (sandboxId, sessionId, xDaytonaOrganizationID, options = {}) => {
|
|
466
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
467
|
+
(0, common_1.assertParamExists)('getSession', 'sandboxId', sandboxId);
|
|
468
468
|
// verify required parameter 'sessionId' is not null or undefined
|
|
469
469
|
(0, common_1.assertParamExists)('getSession', 'sessionId', sessionId);
|
|
470
|
-
const localVarPath = `/toolbox/{
|
|
471
|
-
.replace(`{${'
|
|
470
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session/{sessionId}`
|
|
471
|
+
.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)))
|
|
472
472
|
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
473
473
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
474
474
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -497,22 +497,22 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
497
497
|
/**
|
|
498
498
|
* Get session command by ID
|
|
499
499
|
* @summary Get session command
|
|
500
|
-
* @param {string}
|
|
500
|
+
* @param {string} sandboxId
|
|
501
501
|
* @param {string} sessionId
|
|
502
502
|
* @param {string} commandId
|
|
503
503
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
504
504
|
* @param {*} [options] Override http request option.
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
*/
|
|
507
|
-
getSessionCommand: async (
|
|
508
|
-
// verify required parameter '
|
|
509
|
-
(0, common_1.assertParamExists)('getSessionCommand', '
|
|
507
|
+
getSessionCommand: async (sandboxId, sessionId, commandId, xDaytonaOrganizationID, options = {}) => {
|
|
508
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
509
|
+
(0, common_1.assertParamExists)('getSessionCommand', 'sandboxId', sandboxId);
|
|
510
510
|
// verify required parameter 'sessionId' is not null or undefined
|
|
511
511
|
(0, common_1.assertParamExists)('getSessionCommand', 'sessionId', sessionId);
|
|
512
512
|
// verify required parameter 'commandId' is not null or undefined
|
|
513
513
|
(0, common_1.assertParamExists)('getSessionCommand', 'commandId', commandId);
|
|
514
|
-
const localVarPath = `/toolbox/{
|
|
515
|
-
.replace(`{${'
|
|
514
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}`
|
|
515
|
+
.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)))
|
|
516
516
|
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
|
|
517
517
|
.replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
|
|
518
518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -542,7 +542,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
542
542
|
/**
|
|
543
543
|
* Get logs for a specific command in a session
|
|
544
544
|
* @summary Get command logs
|
|
545
|
-
* @param {string}
|
|
545
|
+
* @param {string} sandboxId
|
|
546
546
|
* @param {string} sessionId
|
|
547
547
|
* @param {string} commandId
|
|
548
548
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -550,15 +550,15 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
550
550
|
* @param {*} [options] Override http request option.
|
|
551
551
|
* @throws {RequiredError}
|
|
552
552
|
*/
|
|
553
|
-
getSessionCommandLogs: async (
|
|
554
|
-
// verify required parameter '
|
|
555
|
-
(0, common_1.assertParamExists)('getSessionCommandLogs', '
|
|
553
|
+
getSessionCommandLogs: async (sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) => {
|
|
554
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
555
|
+
(0, common_1.assertParamExists)('getSessionCommandLogs', 'sandboxId', sandboxId);
|
|
556
556
|
// verify required parameter 'sessionId' is not null or undefined
|
|
557
557
|
(0, common_1.assertParamExists)('getSessionCommandLogs', 'sessionId', sessionId);
|
|
558
558
|
// verify required parameter 'commandId' is not null or undefined
|
|
559
559
|
(0, common_1.assertParamExists)('getSessionCommandLogs', 'commandId', commandId);
|
|
560
|
-
const localVarPath = `/toolbox/{
|
|
561
|
-
.replace(`{${'
|
|
560
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}/logs`
|
|
561
|
+
.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)))
|
|
562
562
|
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
|
|
563
563
|
.replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
|
|
564
564
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -591,18 +591,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
591
591
|
/**
|
|
592
592
|
* Add files to git commit
|
|
593
593
|
* @summary Add files
|
|
594
|
-
* @param {string}
|
|
594
|
+
* @param {string} sandboxId
|
|
595
595
|
* @param {GitAddRequest} gitAddRequest
|
|
596
596
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
597
597
|
* @param {*} [options] Override http request option.
|
|
598
598
|
* @throws {RequiredError}
|
|
599
599
|
*/
|
|
600
|
-
gitAddFiles: async (
|
|
601
|
-
// verify required parameter '
|
|
602
|
-
(0, common_1.assertParamExists)('gitAddFiles', '
|
|
600
|
+
gitAddFiles: async (sandboxId, gitAddRequest, xDaytonaOrganizationID, options = {}) => {
|
|
601
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
602
|
+
(0, common_1.assertParamExists)('gitAddFiles', 'sandboxId', sandboxId);
|
|
603
603
|
// verify required parameter 'gitAddRequest' is not null or undefined
|
|
604
604
|
(0, common_1.assertParamExists)('gitAddFiles', 'gitAddRequest', gitAddRequest);
|
|
605
|
-
const localVarPath = `/toolbox/{
|
|
605
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/add`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
606
606
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
607
607
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
608
608
|
let baseOptions;
|
|
@@ -632,18 +632,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
632
632
|
/**
|
|
633
633
|
* Checkout branch or commit in git repository
|
|
634
634
|
* @summary Checkout branch
|
|
635
|
-
* @param {string}
|
|
635
|
+
* @param {string} sandboxId
|
|
636
636
|
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
637
637
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
638
638
|
* @param {*} [options] Override http request option.
|
|
639
639
|
* @throws {RequiredError}
|
|
640
640
|
*/
|
|
641
|
-
gitCheckoutBranch: async (
|
|
642
|
-
// verify required parameter '
|
|
643
|
-
(0, common_1.assertParamExists)('gitCheckoutBranch', '
|
|
641
|
+
gitCheckoutBranch: async (sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options = {}) => {
|
|
642
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
643
|
+
(0, common_1.assertParamExists)('gitCheckoutBranch', 'sandboxId', sandboxId);
|
|
644
644
|
// verify required parameter 'gitCheckoutRequest' is not null or undefined
|
|
645
645
|
(0, common_1.assertParamExists)('gitCheckoutBranch', 'gitCheckoutRequest', gitCheckoutRequest);
|
|
646
|
-
const localVarPath = `/toolbox/{
|
|
646
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/checkout`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
647
647
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
648
648
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
649
649
|
let baseOptions;
|
|
@@ -673,18 +673,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
673
673
|
/**
|
|
674
674
|
* Clone git repository
|
|
675
675
|
* @summary Clone repository
|
|
676
|
-
* @param {string}
|
|
676
|
+
* @param {string} sandboxId
|
|
677
677
|
* @param {GitCloneRequest} gitCloneRequest
|
|
678
678
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
679
679
|
* @param {*} [options] Override http request option.
|
|
680
680
|
* @throws {RequiredError}
|
|
681
681
|
*/
|
|
682
|
-
gitCloneRepository: async (
|
|
683
|
-
// verify required parameter '
|
|
684
|
-
(0, common_1.assertParamExists)('gitCloneRepository', '
|
|
682
|
+
gitCloneRepository: async (sandboxId, gitCloneRequest, xDaytonaOrganizationID, options = {}) => {
|
|
683
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
684
|
+
(0, common_1.assertParamExists)('gitCloneRepository', 'sandboxId', sandboxId);
|
|
685
685
|
// verify required parameter 'gitCloneRequest' is not null or undefined
|
|
686
686
|
(0, common_1.assertParamExists)('gitCloneRepository', 'gitCloneRequest', gitCloneRequest);
|
|
687
|
-
const localVarPath = `/toolbox/{
|
|
687
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/clone`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
688
688
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
689
689
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
690
690
|
let baseOptions;
|
|
@@ -714,18 +714,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
714
714
|
/**
|
|
715
715
|
* Commit changes to git repository
|
|
716
716
|
* @summary Commit changes
|
|
717
|
-
* @param {string}
|
|
717
|
+
* @param {string} sandboxId
|
|
718
718
|
* @param {GitCommitRequest} gitCommitRequest
|
|
719
719
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
720
720
|
* @param {*} [options] Override http request option.
|
|
721
721
|
* @throws {RequiredError}
|
|
722
722
|
*/
|
|
723
|
-
gitCommitChanges: async (
|
|
724
|
-
// verify required parameter '
|
|
725
|
-
(0, common_1.assertParamExists)('gitCommitChanges', '
|
|
723
|
+
gitCommitChanges: async (sandboxId, gitCommitRequest, xDaytonaOrganizationID, options = {}) => {
|
|
724
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
725
|
+
(0, common_1.assertParamExists)('gitCommitChanges', 'sandboxId', sandboxId);
|
|
726
726
|
// verify required parameter 'gitCommitRequest' is not null or undefined
|
|
727
727
|
(0, common_1.assertParamExists)('gitCommitChanges', 'gitCommitRequest', gitCommitRequest);
|
|
728
|
-
const localVarPath = `/toolbox/{
|
|
728
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/commit`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
729
729
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
730
730
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
731
731
|
let baseOptions;
|
|
@@ -755,18 +755,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
755
755
|
/**
|
|
756
756
|
* Create branch on git repository
|
|
757
757
|
* @summary Create branch
|
|
758
|
-
* @param {string}
|
|
758
|
+
* @param {string} sandboxId
|
|
759
759
|
* @param {GitBranchRequest} gitBranchRequest
|
|
760
760
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
761
761
|
* @param {*} [options] Override http request option.
|
|
762
762
|
* @throws {RequiredError}
|
|
763
763
|
*/
|
|
764
|
-
gitCreateBranch: async (
|
|
765
|
-
// verify required parameter '
|
|
766
|
-
(0, common_1.assertParamExists)('gitCreateBranch', '
|
|
764
|
+
gitCreateBranch: async (sandboxId, gitBranchRequest, xDaytonaOrganizationID, options = {}) => {
|
|
765
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
766
|
+
(0, common_1.assertParamExists)('gitCreateBranch', 'sandboxId', sandboxId);
|
|
767
767
|
// verify required parameter 'gitBranchRequest' is not null or undefined
|
|
768
768
|
(0, common_1.assertParamExists)('gitCreateBranch', 'gitBranchRequest', gitBranchRequest);
|
|
769
|
-
const localVarPath = `/toolbox/{
|
|
769
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/branches`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
770
770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
771
771
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
772
772
|
let baseOptions;
|
|
@@ -796,18 +796,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
796
796
|
/**
|
|
797
797
|
* Delete branch on git repository
|
|
798
798
|
* @summary Delete branch
|
|
799
|
-
* @param {string}
|
|
799
|
+
* @param {string} sandboxId
|
|
800
800
|
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
801
801
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
802
802
|
* @param {*} [options] Override http request option.
|
|
803
803
|
* @throws {RequiredError}
|
|
804
804
|
*/
|
|
805
|
-
gitDeleteBranch: async (
|
|
806
|
-
// verify required parameter '
|
|
807
|
-
(0, common_1.assertParamExists)('gitDeleteBranch', '
|
|
805
|
+
gitDeleteBranch: async (sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options = {}) => {
|
|
806
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
807
|
+
(0, common_1.assertParamExists)('gitDeleteBranch', 'sandboxId', sandboxId);
|
|
808
808
|
// verify required parameter 'gitDeleteBranchRequest' is not null or undefined
|
|
809
809
|
(0, common_1.assertParamExists)('gitDeleteBranch', 'gitDeleteBranchRequest', gitDeleteBranchRequest);
|
|
810
|
-
const localVarPath = `/toolbox/{
|
|
810
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/branches`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
811
811
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
812
812
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
813
813
|
let baseOptions;
|
|
@@ -837,18 +837,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
837
837
|
/**
|
|
838
838
|
* Get commit history from git repository
|
|
839
839
|
* @summary Get commit history
|
|
840
|
-
* @param {string}
|
|
840
|
+
* @param {string} sandboxId
|
|
841
841
|
* @param {string} path
|
|
842
842
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
843
843
|
* @param {*} [options] Override http request option.
|
|
844
844
|
* @throws {RequiredError}
|
|
845
845
|
*/
|
|
846
|
-
gitGetHistory: async (
|
|
847
|
-
// verify required parameter '
|
|
848
|
-
(0, common_1.assertParamExists)('gitGetHistory', '
|
|
846
|
+
gitGetHistory: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
847
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
848
|
+
(0, common_1.assertParamExists)('gitGetHistory', 'sandboxId', sandboxId);
|
|
849
849
|
// verify required parameter 'path' is not null or undefined
|
|
850
850
|
(0, common_1.assertParamExists)('gitGetHistory', 'path', path);
|
|
851
|
-
const localVarPath = `/toolbox/{
|
|
851
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/history`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
852
852
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
853
853
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
854
854
|
let baseOptions;
|
|
@@ -879,18 +879,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
879
879
|
/**
|
|
880
880
|
* Get status from git repository
|
|
881
881
|
* @summary Get git status
|
|
882
|
-
* @param {string}
|
|
882
|
+
* @param {string} sandboxId
|
|
883
883
|
* @param {string} path
|
|
884
884
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
885
885
|
* @param {*} [options] Override http request option.
|
|
886
886
|
* @throws {RequiredError}
|
|
887
887
|
*/
|
|
888
|
-
gitGetStatus: async (
|
|
889
|
-
// verify required parameter '
|
|
890
|
-
(0, common_1.assertParamExists)('gitGetStatus', '
|
|
888
|
+
gitGetStatus: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
889
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
890
|
+
(0, common_1.assertParamExists)('gitGetStatus', 'sandboxId', sandboxId);
|
|
891
891
|
// verify required parameter 'path' is not null or undefined
|
|
892
892
|
(0, common_1.assertParamExists)('gitGetStatus', 'path', path);
|
|
893
|
-
const localVarPath = `/toolbox/{
|
|
893
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/status`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
894
894
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
895
895
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
896
896
|
let baseOptions;
|
|
@@ -921,18 +921,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
921
921
|
/**
|
|
922
922
|
* Get branch list from git repository
|
|
923
923
|
* @summary Get branch list
|
|
924
|
-
* @param {string}
|
|
924
|
+
* @param {string} sandboxId
|
|
925
925
|
* @param {string} path
|
|
926
926
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
927
927
|
* @param {*} [options] Override http request option.
|
|
928
928
|
* @throws {RequiredError}
|
|
929
929
|
*/
|
|
930
|
-
gitListBranches: async (
|
|
931
|
-
// verify required parameter '
|
|
932
|
-
(0, common_1.assertParamExists)('gitListBranches', '
|
|
930
|
+
gitListBranches: async (sandboxId, path, xDaytonaOrganizationID, options = {}) => {
|
|
931
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
932
|
+
(0, common_1.assertParamExists)('gitListBranches', 'sandboxId', sandboxId);
|
|
933
933
|
// verify required parameter 'path' is not null or undefined
|
|
934
934
|
(0, common_1.assertParamExists)('gitListBranches', 'path', path);
|
|
935
|
-
const localVarPath = `/toolbox/{
|
|
935
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/branches`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
936
936
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
937
937
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
938
938
|
let baseOptions;
|
|
@@ -963,18 +963,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
963
963
|
/**
|
|
964
964
|
* Pull changes from remote
|
|
965
965
|
* @summary Pull changes
|
|
966
|
-
* @param {string}
|
|
966
|
+
* @param {string} sandboxId
|
|
967
967
|
* @param {GitRepoRequest} gitRepoRequest
|
|
968
968
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
969
969
|
* @param {*} [options] Override http request option.
|
|
970
970
|
* @throws {RequiredError}
|
|
971
971
|
*/
|
|
972
|
-
gitPullChanges: async (
|
|
973
|
-
// verify required parameter '
|
|
974
|
-
(0, common_1.assertParamExists)('gitPullChanges', '
|
|
972
|
+
gitPullChanges: async (sandboxId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
|
|
973
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
974
|
+
(0, common_1.assertParamExists)('gitPullChanges', 'sandboxId', sandboxId);
|
|
975
975
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
976
976
|
(0, common_1.assertParamExists)('gitPullChanges', 'gitRepoRequest', gitRepoRequest);
|
|
977
|
-
const localVarPath = `/toolbox/{
|
|
977
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/pull`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
978
978
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
979
979
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
980
980
|
let baseOptions;
|
|
@@ -1004,18 +1004,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Push changes to remote
|
|
1006
1006
|
* @summary Push changes
|
|
1007
|
-
* @param {string}
|
|
1007
|
+
* @param {string} sandboxId
|
|
1008
1008
|
* @param {GitRepoRequest} gitRepoRequest
|
|
1009
1009
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1010
1010
|
* @param {*} [options] Override http request option.
|
|
1011
1011
|
* @throws {RequiredError}
|
|
1012
1012
|
*/
|
|
1013
|
-
gitPushChanges: async (
|
|
1014
|
-
// verify required parameter '
|
|
1015
|
-
(0, common_1.assertParamExists)('gitPushChanges', '
|
|
1013
|
+
gitPushChanges: async (sandboxId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1014
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1015
|
+
(0, common_1.assertParamExists)('gitPushChanges', 'sandboxId', sandboxId);
|
|
1016
1016
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
1017
1017
|
(0, common_1.assertParamExists)('gitPushChanges', 'gitRepoRequest', gitRepoRequest);
|
|
1018
|
-
const localVarPath = `/toolbox/{
|
|
1018
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/git/push`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1019
1019
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1020
1020
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1021
1021
|
let baseOptions;
|
|
@@ -1045,16 +1045,16 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1045
1045
|
/**
|
|
1046
1046
|
*
|
|
1047
1047
|
* @summary List files
|
|
1048
|
-
* @param {string}
|
|
1048
|
+
* @param {string} sandboxId
|
|
1049
1049
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1050
1050
|
* @param {string} [path]
|
|
1051
1051
|
* @param {*} [options] Override http request option.
|
|
1052
1052
|
* @throws {RequiredError}
|
|
1053
1053
|
*/
|
|
1054
|
-
listFiles: async (
|
|
1055
|
-
// verify required parameter '
|
|
1056
|
-
(0, common_1.assertParamExists)('listFiles', '
|
|
1057
|
-
const localVarPath = `/toolbox/{
|
|
1054
|
+
listFiles: async (sandboxId, xDaytonaOrganizationID, path, options = {}) => {
|
|
1055
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1056
|
+
(0, common_1.assertParamExists)('listFiles', 'sandboxId', sandboxId);
|
|
1057
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1058
1058
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1059
1059
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1060
1060
|
let baseOptions;
|
|
@@ -1083,17 +1083,17 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1083
|
};
|
|
1084
1084
|
},
|
|
1085
1085
|
/**
|
|
1086
|
-
* List all active sessions in the
|
|
1086
|
+
* List all active sessions in the sandbox
|
|
1087
1087
|
* @summary List sessions
|
|
1088
|
-
* @param {string}
|
|
1088
|
+
* @param {string} sandboxId
|
|
1089
1089
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1090
1090
|
* @param {*} [options] Override http request option.
|
|
1091
1091
|
* @throws {RequiredError}
|
|
1092
1092
|
*/
|
|
1093
|
-
listSessions: async (
|
|
1094
|
-
// verify required parameter '
|
|
1095
|
-
(0, common_1.assertParamExists)('listSessions', '
|
|
1096
|
-
const localVarPath = `/toolbox/{
|
|
1093
|
+
listSessions: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
|
|
1094
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1095
|
+
(0, common_1.assertParamExists)('listSessions', 'sandboxId', sandboxId);
|
|
1096
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/process/session`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1097
1097
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1098
1098
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1099
1099
|
let baseOptions;
|
|
@@ -1121,18 +1121,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1123
1123
|
* @summary Get Lsp Completions
|
|
1124
|
-
* @param {string}
|
|
1124
|
+
* @param {string} sandboxId
|
|
1125
1125
|
* @param {LspCompletionParams} lspCompletionParams
|
|
1126
1126
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1127
1127
|
* @param {*} [options] Override http request option.
|
|
1128
1128
|
* @throws {RequiredError}
|
|
1129
1129
|
*/
|
|
1130
|
-
lspCompletions: async (
|
|
1131
|
-
// verify required parameter '
|
|
1132
|
-
(0, common_1.assertParamExists)('lspCompletions', '
|
|
1130
|
+
lspCompletions: async (sandboxId, lspCompletionParams, xDaytonaOrganizationID, options = {}) => {
|
|
1131
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1132
|
+
(0, common_1.assertParamExists)('lspCompletions', 'sandboxId', sandboxId);
|
|
1133
1133
|
// verify required parameter 'lspCompletionParams' is not null or undefined
|
|
1134
1134
|
(0, common_1.assertParamExists)('lspCompletions', 'lspCompletionParams', lspCompletionParams);
|
|
1135
|
-
const localVarPath = `/toolbox/{
|
|
1135
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/completions`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1136
1136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1137
1137
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1138
1138
|
let baseOptions;
|
|
@@ -1162,18 +1162,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1162
1162
|
/**
|
|
1163
1163
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1164
1164
|
* @summary Call Lsp DidClose
|
|
1165
|
-
* @param {string}
|
|
1165
|
+
* @param {string} sandboxId
|
|
1166
1166
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1167
1167
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1168
1168
|
* @param {*} [options] Override http request option.
|
|
1169
1169
|
* @throws {RequiredError}
|
|
1170
1170
|
*/
|
|
1171
|
-
lspDidClose: async (
|
|
1172
|
-
// verify required parameter '
|
|
1173
|
-
(0, common_1.assertParamExists)('lspDidClose', '
|
|
1171
|
+
lspDidClose: async (sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1172
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1173
|
+
(0, common_1.assertParamExists)('lspDidClose', 'sandboxId', sandboxId);
|
|
1174
1174
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
1175
1175
|
(0, common_1.assertParamExists)('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
|
|
1176
|
-
const localVarPath = `/toolbox/{
|
|
1176
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/did-close`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1177
1177
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1178
1178
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1179
1179
|
let baseOptions;
|
|
@@ -1203,18 +1203,18 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1205
1205
|
* @summary Call Lsp DidOpen
|
|
1206
|
-
* @param {string}
|
|
1206
|
+
* @param {string} sandboxId
|
|
1207
1207
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1208
1208
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1209
1209
|
* @param {*} [options] Override http request option.
|
|
1210
1210
|
* @throws {RequiredError}
|
|
1211
1211
|
*/
|
|
1212
|
-
lspDidOpen: async (
|
|
1213
|
-
// verify required parameter '
|
|
1214
|
-
(0, common_1.assertParamExists)('lspDidOpen', '
|
|
1212
|
+
lspDidOpen: async (sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1213
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1214
|
+
(0, common_1.assertParamExists)('lspDidOpen', 'sandboxId', sandboxId);
|
|
1215
1215
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
1216
1216
|
(0, common_1.assertParamExists)('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
|
|
1217
|
-
const localVarPath = `/toolbox/{
|
|
1217
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/did-open`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1218
1218
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1219
1219
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1220
1220
|
let baseOptions;
|
|
@@ -1244,7 +1244,7 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1244
1244
|
/**
|
|
1245
1245
|
* The document symbol request is sent from the client to the server.
|
|
1246
1246
|
* @summary Call Lsp DocumentSymbols
|
|
1247
|
-
* @param {string}
|
|
1247
|
+
* @param {string} sandboxId
|
|
1248
1248
|
* @param {string} languageId
|
|
1249
1249
|
* @param {string} pathToProject
|
|
1250
1250
|
* @param {string} uri
|
|
@@ -1252,16 +1252,16 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1252
1252
|
* @param {*} [options] Override http request option.
|
|
1253
1253
|
* @throws {RequiredError}
|
|
1254
1254
|
*/
|
|
1255
|
-
lspDocumentSymbols: async (
|
|
1256
|
-
// verify required parameter '
|
|
1257
|
-
(0, common_1.assertParamExists)('lspDocumentSymbols', '
|
|
1255
|
+
lspDocumentSymbols: async (sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) => {
|
|
1256
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1257
|
+
(0, common_1.assertParamExists)('lspDocumentSymbols', 'sandboxId', sandboxId);
|
|
1258
1258
|
// verify required parameter 'languageId' is not null or undefined
|
|
1259
1259
|
(0, common_1.assertParamExists)('lspDocumentSymbols', 'languageId', languageId);
|
|
1260
1260
|
// verify required parameter 'pathToProject' is not null or undefined
|
|
1261
1261
|
(0, common_1.assertParamExists)('lspDocumentSymbols', 'pathToProject', pathToProject);
|
|
1262
1262
|
// verify required parameter 'uri' is not null or undefined
|
|
1263
1263
|
(0, common_1.assertParamExists)('lspDocumentSymbols', 'uri', uri);
|
|
1264
|
-
const localVarPath = `/toolbox/{
|
|
1264
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/document-symbols`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1265
1265
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1266
1266
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1267
1267
|
let baseOptions;
|
|
@@ -1296,61 +1296,74 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
},
|
|
1298
1298
|
/**
|
|
1299
|
-
*
|
|
1300
|
-
* @summary
|
|
1301
|
-
* @param {string}
|
|
1302
|
-
* @param {
|
|
1299
|
+
* The sandbox symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1300
|
+
* @summary Call Lsp SandboxSymbols
|
|
1301
|
+
* @param {string} sandboxId
|
|
1302
|
+
* @param {string} languageId
|
|
1303
|
+
* @param {string} pathToProject
|
|
1304
|
+
* @param {string} query
|
|
1303
1305
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1304
1306
|
* @param {*} [options] Override http request option.
|
|
1305
1307
|
* @throws {RequiredError}
|
|
1306
1308
|
*/
|
|
1307
|
-
|
|
1308
|
-
// verify required parameter '
|
|
1309
|
-
(0, common_1.assertParamExists)('
|
|
1310
|
-
// verify required parameter '
|
|
1311
|
-
(0, common_1.assertParamExists)('
|
|
1312
|
-
|
|
1309
|
+
lspSandboxSymbols: async (sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) => {
|
|
1310
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1311
|
+
(0, common_1.assertParamExists)('lspSandboxSymbols', 'sandboxId', sandboxId);
|
|
1312
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
1313
|
+
(0, common_1.assertParamExists)('lspSandboxSymbols', 'languageId', languageId);
|
|
1314
|
+
// verify required parameter 'pathToProject' is not null or undefined
|
|
1315
|
+
(0, common_1.assertParamExists)('lspSandboxSymbols', 'pathToProject', pathToProject);
|
|
1316
|
+
// verify required parameter 'query' is not null or undefined
|
|
1317
|
+
(0, common_1.assertParamExists)('lspSandboxSymbols', 'query', query);
|
|
1318
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/sandbox-symbols`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1313
1319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1314
1320
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1315
1321
|
let baseOptions;
|
|
1316
1322
|
if (configuration) {
|
|
1317
1323
|
baseOptions = configuration.baseOptions;
|
|
1318
1324
|
}
|
|
1319
|
-
const localVarRequestOptions = { method: '
|
|
1325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1320
1326
|
const localVarHeaderParameter = {};
|
|
1321
1327
|
const localVarQueryParameter = {};
|
|
1322
1328
|
// authentication bearer required
|
|
1323
1329
|
// http bearer authentication required
|
|
1324
1330
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1325
1331
|
// authentication oauth2 required
|
|
1326
|
-
|
|
1332
|
+
if (languageId !== undefined) {
|
|
1333
|
+
localVarQueryParameter['languageId'] = languageId;
|
|
1334
|
+
}
|
|
1335
|
+
if (pathToProject !== undefined) {
|
|
1336
|
+
localVarQueryParameter['pathToProject'] = pathToProject;
|
|
1337
|
+
}
|
|
1338
|
+
if (query !== undefined) {
|
|
1339
|
+
localVarQueryParameter['query'] = query;
|
|
1340
|
+
}
|
|
1327
1341
|
if (xDaytonaOrganizationID != null) {
|
|
1328
1342
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1329
1343
|
}
|
|
1330
1344
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1331
1345
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1332
1346
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1333
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
|
|
1334
1347
|
return {
|
|
1335
1348
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1336
1349
|
options: localVarRequestOptions,
|
|
1337
1350
|
};
|
|
1338
1351
|
},
|
|
1339
1352
|
/**
|
|
1340
|
-
*
|
|
1341
|
-
* @summary
|
|
1342
|
-
* @param {string}
|
|
1353
|
+
* Start Lsp server process inside sandbox project
|
|
1354
|
+
* @summary Start Lsp server
|
|
1355
|
+
* @param {string} sandboxId
|
|
1343
1356
|
* @param {LspServerRequest} lspServerRequest
|
|
1344
1357
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1345
1358
|
* @param {*} [options] Override http request option.
|
|
1346
1359
|
* @throws {RequiredError}
|
|
1347
1360
|
*/
|
|
1348
|
-
|
|
1349
|
-
// verify required parameter '
|
|
1350
|
-
(0, common_1.assertParamExists)('
|
|
1361
|
+
lspStart: async (sandboxId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1362
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1363
|
+
(0, common_1.assertParamExists)('lspStart', 'sandboxId', sandboxId);
|
|
1351
1364
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1352
|
-
(0, common_1.assertParamExists)('
|
|
1353
|
-
const localVarPath = `/toolbox/{
|
|
1365
|
+
(0, common_1.assertParamExists)('lspStart', 'lspServerRequest', lspServerRequest);
|
|
1366
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/start`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1354
1367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1355
1368
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1356
1369
|
let baseOptions;
|
|
@@ -1378,77 +1391,64 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1391
|
};
|
|
1379
1392
|
},
|
|
1380
1393
|
/**
|
|
1381
|
-
*
|
|
1382
|
-
* @summary
|
|
1383
|
-
* @param {string}
|
|
1384
|
-
* @param {
|
|
1385
|
-
* @param {string} pathToProject
|
|
1386
|
-
* @param {string} query
|
|
1394
|
+
* Stop Lsp server process inside sandbox project
|
|
1395
|
+
* @summary Stop Lsp server
|
|
1396
|
+
* @param {string} sandboxId
|
|
1397
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1387
1398
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1388
1399
|
* @param {*} [options] Override http request option.
|
|
1389
1400
|
* @throws {RequiredError}
|
|
1390
1401
|
*/
|
|
1391
|
-
|
|
1392
|
-
// verify required parameter '
|
|
1393
|
-
(0, common_1.assertParamExists)('
|
|
1394
|
-
// verify required parameter '
|
|
1395
|
-
(0, common_1.assertParamExists)('
|
|
1396
|
-
|
|
1397
|
-
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'pathToProject', pathToProject);
|
|
1398
|
-
// verify required parameter 'query' is not null or undefined
|
|
1399
|
-
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'query', query);
|
|
1400
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1402
|
+
lspStop: async (sandboxId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1403
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1404
|
+
(0, common_1.assertParamExists)('lspStop', 'sandboxId', sandboxId);
|
|
1405
|
+
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1406
|
+
(0, common_1.assertParamExists)('lspStop', 'lspServerRequest', lspServerRequest);
|
|
1407
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/lsp/stop`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1401
1408
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1402
1409
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1403
1410
|
let baseOptions;
|
|
1404
1411
|
if (configuration) {
|
|
1405
1412
|
baseOptions = configuration.baseOptions;
|
|
1406
1413
|
}
|
|
1407
|
-
const localVarRequestOptions = { method: '
|
|
1414
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1408
1415
|
const localVarHeaderParameter = {};
|
|
1409
1416
|
const localVarQueryParameter = {};
|
|
1410
1417
|
// authentication bearer required
|
|
1411
1418
|
// http bearer authentication required
|
|
1412
1419
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1413
1420
|
// authentication oauth2 required
|
|
1414
|
-
|
|
1415
|
-
localVarQueryParameter['languageId'] = languageId;
|
|
1416
|
-
}
|
|
1417
|
-
if (pathToProject !== undefined) {
|
|
1418
|
-
localVarQueryParameter['pathToProject'] = pathToProject;
|
|
1419
|
-
}
|
|
1420
|
-
if (query !== undefined) {
|
|
1421
|
-
localVarQueryParameter['query'] = query;
|
|
1422
|
-
}
|
|
1421
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1423
1422
|
if (xDaytonaOrganizationID != null) {
|
|
1424
1423
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1425
1424
|
}
|
|
1426
1425
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1427
1426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1428
1427
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1428
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
|
|
1429
1429
|
return {
|
|
1430
1430
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1431
1431
|
options: localVarRequestOptions,
|
|
1432
1432
|
};
|
|
1433
1433
|
},
|
|
1434
1434
|
/**
|
|
1435
|
-
* Move file inside
|
|
1435
|
+
* Move file inside sandbox
|
|
1436
1436
|
* @summary Move file
|
|
1437
|
-
* @param {string}
|
|
1437
|
+
* @param {string} sandboxId
|
|
1438
1438
|
* @param {string} source
|
|
1439
1439
|
* @param {string} destination
|
|
1440
1440
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1441
1441
|
* @param {*} [options] Override http request option.
|
|
1442
1442
|
* @throws {RequiredError}
|
|
1443
1443
|
*/
|
|
1444
|
-
moveFile: async (
|
|
1445
|
-
// verify required parameter '
|
|
1446
|
-
(0, common_1.assertParamExists)('moveFile', '
|
|
1444
|
+
moveFile: async (sandboxId, source, destination, xDaytonaOrganizationID, options = {}) => {
|
|
1445
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1446
|
+
(0, common_1.assertParamExists)('moveFile', 'sandboxId', sandboxId);
|
|
1447
1447
|
// verify required parameter 'source' is not null or undefined
|
|
1448
1448
|
(0, common_1.assertParamExists)('moveFile', 'source', source);
|
|
1449
1449
|
// verify required parameter 'destination' is not null or undefined
|
|
1450
1450
|
(0, common_1.assertParamExists)('moveFile', 'destination', destination);
|
|
1451
|
-
const localVarPath = `/toolbox/{
|
|
1451
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/move`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1452
1452
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1453
1453
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1454
1454
|
let baseOptions;
|
|
@@ -1480,20 +1480,20 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
},
|
|
1482
1482
|
/**
|
|
1483
|
-
* Replace text/pattern in multiple files inside
|
|
1483
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
1484
1484
|
* @summary Replace in files
|
|
1485
|
-
* @param {string}
|
|
1485
|
+
* @param {string} sandboxId
|
|
1486
1486
|
* @param {ReplaceRequest} replaceRequest
|
|
1487
1487
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1488
1488
|
* @param {*} [options] Override http request option.
|
|
1489
1489
|
* @throws {RequiredError}
|
|
1490
1490
|
*/
|
|
1491
|
-
replaceInFiles: async (
|
|
1492
|
-
// verify required parameter '
|
|
1493
|
-
(0, common_1.assertParamExists)('replaceInFiles', '
|
|
1491
|
+
replaceInFiles: async (sandboxId, replaceRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1492
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1493
|
+
(0, common_1.assertParamExists)('replaceInFiles', 'sandboxId', sandboxId);
|
|
1494
1494
|
// verify required parameter 'replaceRequest' is not null or undefined
|
|
1495
1495
|
(0, common_1.assertParamExists)('replaceInFiles', 'replaceRequest', replaceRequest);
|
|
1496
|
-
const localVarPath = `/toolbox/{
|
|
1496
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/replace`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1497
1497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1498
1498
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1499
1499
|
let baseOptions;
|
|
@@ -1521,23 +1521,23 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1521
1521
|
};
|
|
1522
1522
|
},
|
|
1523
1523
|
/**
|
|
1524
|
-
* Search for files inside
|
|
1524
|
+
* Search for files inside sandbox
|
|
1525
1525
|
* @summary Search files
|
|
1526
|
-
* @param {string}
|
|
1526
|
+
* @param {string} sandboxId
|
|
1527
1527
|
* @param {string} path
|
|
1528
1528
|
* @param {string} pattern
|
|
1529
1529
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1530
1530
|
* @param {*} [options] Override http request option.
|
|
1531
1531
|
* @throws {RequiredError}
|
|
1532
1532
|
*/
|
|
1533
|
-
searchFiles: async (
|
|
1534
|
-
// verify required parameter '
|
|
1535
|
-
(0, common_1.assertParamExists)('searchFiles', '
|
|
1533
|
+
searchFiles: async (sandboxId, path, pattern, xDaytonaOrganizationID, options = {}) => {
|
|
1534
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1535
|
+
(0, common_1.assertParamExists)('searchFiles', 'sandboxId', sandboxId);
|
|
1536
1536
|
// verify required parameter 'path' is not null or undefined
|
|
1537
1537
|
(0, common_1.assertParamExists)('searchFiles', 'path', path);
|
|
1538
1538
|
// verify required parameter 'pattern' is not null or undefined
|
|
1539
1539
|
(0, common_1.assertParamExists)('searchFiles', 'pattern', pattern);
|
|
1540
|
-
const localVarPath = `/toolbox/{
|
|
1540
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/search`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1541
1541
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1542
1542
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1543
1543
|
let baseOptions;
|
|
@@ -1569,9 +1569,9 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1569
1569
|
};
|
|
1570
1570
|
},
|
|
1571
1571
|
/**
|
|
1572
|
-
* Set file owner/group/permissions inside
|
|
1572
|
+
* Set file owner/group/permissions inside sandbox
|
|
1573
1573
|
* @summary Set file permissions
|
|
1574
|
-
* @param {string}
|
|
1574
|
+
* @param {string} sandboxId
|
|
1575
1575
|
* @param {string} path
|
|
1576
1576
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1577
1577
|
* @param {string} [owner]
|
|
@@ -1580,12 +1580,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1580
|
* @param {*} [options] Override http request option.
|
|
1581
1581
|
* @throws {RequiredError}
|
|
1582
1582
|
*/
|
|
1583
|
-
setFilePermissions: async (
|
|
1584
|
-
// verify required parameter '
|
|
1585
|
-
(0, common_1.assertParamExists)('setFilePermissions', '
|
|
1583
|
+
setFilePermissions: async (sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) => {
|
|
1584
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1585
|
+
(0, common_1.assertParamExists)('setFilePermissions', 'sandboxId', sandboxId);
|
|
1586
1586
|
// verify required parameter 'path' is not null or undefined
|
|
1587
1587
|
(0, common_1.assertParamExists)('setFilePermissions', 'path', path);
|
|
1588
|
-
const localVarPath = `/toolbox/{
|
|
1588
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/permissions`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1589
1589
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1590
1590
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1591
1591
|
let baseOptions;
|
|
@@ -1623,9 +1623,9 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1623
1623
|
};
|
|
1624
1624
|
},
|
|
1625
1625
|
/**
|
|
1626
|
-
* Upload file inside
|
|
1626
|
+
* Upload file inside sandbox
|
|
1627
1627
|
* @summary Upload file
|
|
1628
|
-
* @param {string}
|
|
1628
|
+
* @param {string} sandboxId
|
|
1629
1629
|
* @param {string} path
|
|
1630
1630
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1631
1631
|
* @param {File} [file]
|
|
@@ -1633,12 +1633,12 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1633
1633
|
* @deprecated
|
|
1634
1634
|
* @throws {RequiredError}
|
|
1635
1635
|
*/
|
|
1636
|
-
uploadFile: async (
|
|
1637
|
-
// verify required parameter '
|
|
1638
|
-
(0, common_1.assertParamExists)('uploadFile', '
|
|
1636
|
+
uploadFile: async (sandboxId, path, xDaytonaOrganizationID, file, options = {}) => {
|
|
1637
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1638
|
+
(0, common_1.assertParamExists)('uploadFile', 'sandboxId', sandboxId);
|
|
1639
1639
|
// verify required parameter 'path' is not null or undefined
|
|
1640
1640
|
(0, common_1.assertParamExists)('uploadFile', 'path', path);
|
|
1641
|
-
const localVarPath = `/toolbox/{
|
|
1641
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/upload`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1642
1642
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1643
1643
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1644
1644
|
let baseOptions;
|
|
@@ -1673,17 +1673,17 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1673
1673
|
};
|
|
1674
1674
|
},
|
|
1675
1675
|
/**
|
|
1676
|
-
* Upload multiple files inside
|
|
1676
|
+
* Upload multiple files inside sandbox
|
|
1677
1677
|
* @summary Upload multiple files
|
|
1678
|
-
* @param {string}
|
|
1678
|
+
* @param {string} sandboxId
|
|
1679
1679
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1680
1680
|
* @param {*} [options] Override http request option.
|
|
1681
1681
|
* @throws {RequiredError}
|
|
1682
1682
|
*/
|
|
1683
|
-
uploadFiles: async (
|
|
1684
|
-
// verify required parameter '
|
|
1685
|
-
(0, common_1.assertParamExists)('uploadFiles', '
|
|
1686
|
-
const localVarPath = `/toolbox/{
|
|
1683
|
+
uploadFiles: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
|
|
1684
|
+
// verify required parameter 'sandboxId' is not null or undefined
|
|
1685
|
+
(0, common_1.assertParamExists)('uploadFiles', 'sandboxId', sandboxId);
|
|
1686
|
+
const localVarPath = `/toolbox/{sandboxId}/toolbox/files/bulk-upload`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
|
|
1687
1687
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1688
1688
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1689
1689
|
let baseOptions;
|
|
@@ -1719,47 +1719,47 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1719
1719
|
const localVarAxiosParamCreator = (0, exports.ToolboxApiAxiosParamCreator)(configuration);
|
|
1720
1720
|
return {
|
|
1721
1721
|
/**
|
|
1722
|
-
* Create folder inside
|
|
1722
|
+
* Create folder inside sandbox
|
|
1723
1723
|
* @summary Create folder
|
|
1724
|
-
* @param {string}
|
|
1724
|
+
* @param {string} sandboxId
|
|
1725
1725
|
* @param {string} path
|
|
1726
1726
|
* @param {string} mode
|
|
1727
1727
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1728
1728
|
* @param {*} [options] Override http request option.
|
|
1729
1729
|
* @throws {RequiredError}
|
|
1730
1730
|
*/
|
|
1731
|
-
async createFolder(
|
|
1732
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(
|
|
1731
|
+
async createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options) {
|
|
1732
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options);
|
|
1733
1733
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1734
1734
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.createFolder']?.[localVarOperationServerIndex]?.url;
|
|
1735
1735
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1736
1736
|
},
|
|
1737
1737
|
/**
|
|
1738
|
-
* Create a new session in the
|
|
1738
|
+
* Create a new session in the sandbox
|
|
1739
1739
|
* @summary Create session
|
|
1740
|
-
* @param {string}
|
|
1740
|
+
* @param {string} sandboxId
|
|
1741
1741
|
* @param {CreateSessionRequest} createSessionRequest
|
|
1742
1742
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1743
1743
|
* @param {*} [options] Override http request option.
|
|
1744
1744
|
* @throws {RequiredError}
|
|
1745
1745
|
*/
|
|
1746
|
-
async createSession(
|
|
1747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(
|
|
1746
|
+
async createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
1747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options);
|
|
1748
1748
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1749
1749
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.createSession']?.[localVarOperationServerIndex]?.url;
|
|
1750
1750
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1751
1751
|
},
|
|
1752
1752
|
/**
|
|
1753
|
-
* Delete file inside
|
|
1753
|
+
* Delete file inside sandbox
|
|
1754
1754
|
* @summary Delete file
|
|
1755
|
-
* @param {string}
|
|
1755
|
+
* @param {string} sandboxId
|
|
1756
1756
|
* @param {string} path
|
|
1757
1757
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1758
1758
|
* @param {*} [options] Override http request option.
|
|
1759
1759
|
* @throws {RequiredError}
|
|
1760
1760
|
*/
|
|
1761
|
-
async deleteFile(
|
|
1762
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(
|
|
1761
|
+
async deleteFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
1762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(sandboxId, path, xDaytonaOrganizationID, options);
|
|
1763
1763
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1764
1764
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.deleteFile']?.[localVarOperationServerIndex]?.url;
|
|
1765
1765
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1767,44 +1767,44 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Delete a specific session
|
|
1769
1769
|
* @summary Delete session
|
|
1770
|
-
* @param {string}
|
|
1770
|
+
* @param {string} sandboxId
|
|
1771
1771
|
* @param {string} sessionId
|
|
1772
1772
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1773
1773
|
* @param {*} [options] Override http request option.
|
|
1774
1774
|
* @throws {RequiredError}
|
|
1775
1775
|
*/
|
|
1776
|
-
async deleteSession(
|
|
1777
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(
|
|
1776
|
+
async deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
1777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options);
|
|
1778
1778
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1779
1779
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.deleteSession']?.[localVarOperationServerIndex]?.url;
|
|
1780
1780
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1781
1781
|
},
|
|
1782
1782
|
/**
|
|
1783
|
-
* Download file from
|
|
1783
|
+
* Download file from sandbox
|
|
1784
1784
|
* @summary Download file
|
|
1785
|
-
* @param {string}
|
|
1785
|
+
* @param {string} sandboxId
|
|
1786
1786
|
* @param {string} path
|
|
1787
1787
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1788
1788
|
* @param {*} [options] Override http request option.
|
|
1789
1789
|
* @throws {RequiredError}
|
|
1790
1790
|
*/
|
|
1791
|
-
async downloadFile(
|
|
1792
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(
|
|
1791
|
+
async downloadFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
1792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(sandboxId, path, xDaytonaOrganizationID, options);
|
|
1793
1793
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1794
1794
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
1795
1795
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1796
1796
|
},
|
|
1797
1797
|
/**
|
|
1798
|
-
* Execute command synchronously inside
|
|
1798
|
+
* Execute command synchronously inside sandbox
|
|
1799
1799
|
* @summary Execute command
|
|
1800
|
-
* @param {string}
|
|
1800
|
+
* @param {string} sandboxId
|
|
1801
1801
|
* @param {ExecuteRequest} executeRequest
|
|
1802
1802
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1803
1803
|
* @param {*} [options] Override http request option.
|
|
1804
1804
|
* @throws {RequiredError}
|
|
1805
1805
|
*/
|
|
1806
|
-
async executeCommand(
|
|
1807
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(
|
|
1806
|
+
async executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options) {
|
|
1807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options);
|
|
1808
1808
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1809
1809
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.executeCommand']?.[localVarOperationServerIndex]?.url;
|
|
1810
1810
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1812,60 +1812,60 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Execute a command in a specific session
|
|
1814
1814
|
* @summary Execute command in session
|
|
1815
|
-
* @param {string}
|
|
1815
|
+
* @param {string} sandboxId
|
|
1816
1816
|
* @param {string} sessionId
|
|
1817
1817
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
1818
1818
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1819
1819
|
* @param {*} [options] Override http request option.
|
|
1820
1820
|
* @throws {RequiredError}
|
|
1821
1821
|
*/
|
|
1822
|
-
async executeSessionCommand(
|
|
1823
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(
|
|
1822
|
+
async executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
1823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
|
|
1824
1824
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1825
1825
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.executeSessionCommand']?.[localVarOperationServerIndex]?.url;
|
|
1826
1826
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1827
1827
|
},
|
|
1828
1828
|
/**
|
|
1829
|
-
* Search for text/pattern inside
|
|
1829
|
+
* Search for text/pattern inside sandbox files
|
|
1830
1830
|
* @summary Search for text/pattern in files
|
|
1831
|
-
* @param {string}
|
|
1831
|
+
* @param {string} sandboxId
|
|
1832
1832
|
* @param {string} path
|
|
1833
1833
|
* @param {string} pattern
|
|
1834
1834
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1835
1835
|
* @param {*} [options] Override http request option.
|
|
1836
1836
|
* @throws {RequiredError}
|
|
1837
1837
|
*/
|
|
1838
|
-
async findInFiles(
|
|
1839
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(
|
|
1838
|
+
async findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
1839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options);
|
|
1840
1840
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1841
1841
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.findInFiles']?.[localVarOperationServerIndex]?.url;
|
|
1842
1842
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1843
1843
|
},
|
|
1844
1844
|
/**
|
|
1845
|
-
* Get file info inside
|
|
1845
|
+
* Get file info inside sandbox
|
|
1846
1846
|
* @summary Get file info
|
|
1847
|
-
* @param {string}
|
|
1847
|
+
* @param {string} sandboxId
|
|
1848
1848
|
* @param {string} path
|
|
1849
1849
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1850
1850
|
* @param {*} [options] Override http request option.
|
|
1851
1851
|
* @throws {RequiredError}
|
|
1852
1852
|
*/
|
|
1853
|
-
async getFileInfo(
|
|
1854
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(
|
|
1853
|
+
async getFileInfo(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
1854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(sandboxId, path, xDaytonaOrganizationID, options);
|
|
1855
1855
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1856
1856
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.getFileInfo']?.[localVarOperationServerIndex]?.url;
|
|
1857
1857
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1858
1858
|
},
|
|
1859
1859
|
/**
|
|
1860
1860
|
*
|
|
1861
|
-
* @summary Get
|
|
1862
|
-
* @param {string}
|
|
1861
|
+
* @summary Get sandbox project dir
|
|
1862
|
+
* @param {string} sandboxId
|
|
1863
1863
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1864
1864
|
* @param {*} [options] Override http request option.
|
|
1865
1865
|
* @throws {RequiredError}
|
|
1866
1866
|
*/
|
|
1867
|
-
async getProjectDir(
|
|
1868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(
|
|
1867
|
+
async getProjectDir(sandboxId, xDaytonaOrganizationID, options) {
|
|
1868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(sandboxId, xDaytonaOrganizationID, options);
|
|
1869
1869
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1870
1870
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.getProjectDir']?.[localVarOperationServerIndex]?.url;
|
|
1871
1871
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1873,14 +1873,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1873
1873
|
/**
|
|
1874
1874
|
* Get session by ID
|
|
1875
1875
|
* @summary Get session
|
|
1876
|
-
* @param {string}
|
|
1876
|
+
* @param {string} sandboxId
|
|
1877
1877
|
* @param {string} sessionId
|
|
1878
1878
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1879
1879
|
* @param {*} [options] Override http request option.
|
|
1880
1880
|
* @throws {RequiredError}
|
|
1881
1881
|
*/
|
|
1882
|
-
async getSession(
|
|
1883
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(
|
|
1882
|
+
async getSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
1883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(sandboxId, sessionId, xDaytonaOrganizationID, options);
|
|
1884
1884
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1885
1885
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.getSession']?.[localVarOperationServerIndex]?.url;
|
|
1886
1886
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1888,15 +1888,15 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Get session command by ID
|
|
1890
1890
|
* @summary Get session command
|
|
1891
|
-
* @param {string}
|
|
1891
|
+
* @param {string} sandboxId
|
|
1892
1892
|
* @param {string} sessionId
|
|
1893
1893
|
* @param {string} commandId
|
|
1894
1894
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1895
1895
|
* @param {*} [options] Override http request option.
|
|
1896
1896
|
* @throws {RequiredError}
|
|
1897
1897
|
*/
|
|
1898
|
-
async getSessionCommand(
|
|
1899
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(
|
|
1898
|
+
async getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
1899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options);
|
|
1900
1900
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1901
1901
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.getSessionCommand']?.[localVarOperationServerIndex]?.url;
|
|
1902
1902
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1904,7 +1904,7 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Get logs for a specific command in a session
|
|
1906
1906
|
* @summary Get command logs
|
|
1907
|
-
* @param {string}
|
|
1907
|
+
* @param {string} sandboxId
|
|
1908
1908
|
* @param {string} sessionId
|
|
1909
1909
|
* @param {string} commandId
|
|
1910
1910
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -1912,8 +1912,8 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1912
1912
|
* @param {*} [options] Override http request option.
|
|
1913
1913
|
* @throws {RequiredError}
|
|
1914
1914
|
*/
|
|
1915
|
-
async getSessionCommandLogs(
|
|
1916
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(
|
|
1915
|
+
async getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
1916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
|
|
1917
1917
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1918
1918
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.getSessionCommandLogs']?.[localVarOperationServerIndex]?.url;
|
|
1919
1919
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1921,14 +1921,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1921
1921
|
/**
|
|
1922
1922
|
* Add files to git commit
|
|
1923
1923
|
* @summary Add files
|
|
1924
|
-
* @param {string}
|
|
1924
|
+
* @param {string} sandboxId
|
|
1925
1925
|
* @param {GitAddRequest} gitAddRequest
|
|
1926
1926
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1927
1927
|
* @param {*} [options] Override http request option.
|
|
1928
1928
|
* @throws {RequiredError}
|
|
1929
1929
|
*/
|
|
1930
|
-
async gitAddFiles(
|
|
1931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(
|
|
1930
|
+
async gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
1931
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options);
|
|
1932
1932
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1933
1933
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitAddFiles']?.[localVarOperationServerIndex]?.url;
|
|
1934
1934
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1936,14 +1936,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Checkout branch or commit in git repository
|
|
1938
1938
|
* @summary Checkout branch
|
|
1939
|
-
* @param {string}
|
|
1939
|
+
* @param {string} sandboxId
|
|
1940
1940
|
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
1941
1941
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1942
1942
|
* @param {*} [options] Override http request option.
|
|
1943
1943
|
* @throws {RequiredError}
|
|
1944
1944
|
*/
|
|
1945
|
-
async gitCheckoutBranch(
|
|
1946
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCheckoutBranch(
|
|
1945
|
+
async gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options) {
|
|
1946
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options);
|
|
1947
1947
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1948
1948
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitCheckoutBranch']?.[localVarOperationServerIndex]?.url;
|
|
1949
1949
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1951,14 +1951,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1951
1951
|
/**
|
|
1952
1952
|
* Clone git repository
|
|
1953
1953
|
* @summary Clone repository
|
|
1954
|
-
* @param {string}
|
|
1954
|
+
* @param {string} sandboxId
|
|
1955
1955
|
* @param {GitCloneRequest} gitCloneRequest
|
|
1956
1956
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1957
1957
|
* @param {*} [options] Override http request option.
|
|
1958
1958
|
* @throws {RequiredError}
|
|
1959
1959
|
*/
|
|
1960
|
-
async gitCloneRepository(
|
|
1961
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(
|
|
1960
|
+
async gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
1961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options);
|
|
1962
1962
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1963
1963
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitCloneRepository']?.[localVarOperationServerIndex]?.url;
|
|
1964
1964
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1966,14 +1966,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Commit changes to git repository
|
|
1968
1968
|
* @summary Commit changes
|
|
1969
|
-
* @param {string}
|
|
1969
|
+
* @param {string} sandboxId
|
|
1970
1970
|
* @param {GitCommitRequest} gitCommitRequest
|
|
1971
1971
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1972
1972
|
* @param {*} [options] Override http request option.
|
|
1973
1973
|
* @throws {RequiredError}
|
|
1974
1974
|
*/
|
|
1975
|
-
async gitCommitChanges(
|
|
1976
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(
|
|
1975
|
+
async gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
1976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options);
|
|
1977
1977
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1978
1978
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitCommitChanges']?.[localVarOperationServerIndex]?.url;
|
|
1979
1979
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1981,14 +1981,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Create branch on git repository
|
|
1983
1983
|
* @summary Create branch
|
|
1984
|
-
* @param {string}
|
|
1984
|
+
* @param {string} sandboxId
|
|
1985
1985
|
* @param {GitBranchRequest} gitBranchRequest
|
|
1986
1986
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1987
1987
|
* @param {*} [options] Override http request option.
|
|
1988
1988
|
* @throws {RequiredError}
|
|
1989
1989
|
*/
|
|
1990
|
-
async gitCreateBranch(
|
|
1991
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(
|
|
1990
|
+
async gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
1991
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options);
|
|
1992
1992
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1993
1993
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitCreateBranch']?.[localVarOperationServerIndex]?.url;
|
|
1994
1994
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1996,14 +1996,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Delete branch on git repository
|
|
1998
1998
|
* @summary Delete branch
|
|
1999
|
-
* @param {string}
|
|
1999
|
+
* @param {string} sandboxId
|
|
2000
2000
|
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
2001
2001
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2002
2002
|
* @param {*} [options] Override http request option.
|
|
2003
2003
|
* @throws {RequiredError}
|
|
2004
2004
|
*/
|
|
2005
|
-
async gitDeleteBranch(
|
|
2006
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitDeleteBranch(
|
|
2005
|
+
async gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options) {
|
|
2006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options);
|
|
2007
2007
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2008
2008
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitDeleteBranch']?.[localVarOperationServerIndex]?.url;
|
|
2009
2009
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2011,14 +2011,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Get commit history from git repository
|
|
2013
2013
|
* @summary Get commit history
|
|
2014
|
-
* @param {string}
|
|
2014
|
+
* @param {string} sandboxId
|
|
2015
2015
|
* @param {string} path
|
|
2016
2016
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2017
2017
|
* @param {*} [options] Override http request option.
|
|
2018
2018
|
* @throws {RequiredError}
|
|
2019
2019
|
*/
|
|
2020
|
-
async gitGetHistory(
|
|
2021
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(
|
|
2020
|
+
async gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options);
|
|
2022
2022
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2023
2023
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitGetHistory']?.[localVarOperationServerIndex]?.url;
|
|
2024
2024
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2026,14 +2026,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Get status from git repository
|
|
2028
2028
|
* @summary Get git status
|
|
2029
|
-
* @param {string}
|
|
2029
|
+
* @param {string} sandboxId
|
|
2030
2030
|
* @param {string} path
|
|
2031
2031
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2032
2032
|
* @param {*} [options] Override http request option.
|
|
2033
2033
|
* @throws {RequiredError}
|
|
2034
2034
|
*/
|
|
2035
|
-
async gitGetStatus(
|
|
2036
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(
|
|
2035
|
+
async gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options);
|
|
2037
2037
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2038
2038
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitGetStatus']?.[localVarOperationServerIndex]?.url;
|
|
2039
2039
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2041,14 +2041,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Get branch list from git repository
|
|
2043
2043
|
* @summary Get branch list
|
|
2044
|
-
* @param {string}
|
|
2044
|
+
* @param {string} sandboxId
|
|
2045
2045
|
* @param {string} path
|
|
2046
2046
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2047
2047
|
* @param {*} [options] Override http request option.
|
|
2048
2048
|
* @throws {RequiredError}
|
|
2049
2049
|
*/
|
|
2050
|
-
async gitListBranches(
|
|
2051
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(
|
|
2050
|
+
async gitListBranches(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2051
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(sandboxId, path, xDaytonaOrganizationID, options);
|
|
2052
2052
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2053
2053
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitListBranches']?.[localVarOperationServerIndex]?.url;
|
|
2054
2054
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2056,14 +2056,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2056
2056
|
/**
|
|
2057
2057
|
* Pull changes from remote
|
|
2058
2058
|
* @summary Pull changes
|
|
2059
|
-
* @param {string}
|
|
2059
|
+
* @param {string} sandboxId
|
|
2060
2060
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2061
2061
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2062
2062
|
* @param {*} [options] Override http request option.
|
|
2063
2063
|
* @throws {RequiredError}
|
|
2064
2064
|
*/
|
|
2065
|
-
async gitPullChanges(
|
|
2066
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(
|
|
2065
|
+
async gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2067
2067
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2068
2068
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitPullChanges']?.[localVarOperationServerIndex]?.url;
|
|
2069
2069
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2071,14 +2071,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2071
2071
|
/**
|
|
2072
2072
|
* Push changes to remote
|
|
2073
2073
|
* @summary Push changes
|
|
2074
|
-
* @param {string}
|
|
2074
|
+
* @param {string} sandboxId
|
|
2075
2075
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2076
2076
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2077
2077
|
* @param {*} [options] Override http request option.
|
|
2078
2078
|
* @throws {RequiredError}
|
|
2079
2079
|
*/
|
|
2080
|
-
async gitPushChanges(
|
|
2081
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(
|
|
2080
|
+
async gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2082
2082
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2083
2083
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.gitPushChanges']?.[localVarOperationServerIndex]?.url;
|
|
2084
2084
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2086,28 +2086,28 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2086
2086
|
/**
|
|
2087
2087
|
*
|
|
2088
2088
|
* @summary List files
|
|
2089
|
-
* @param {string}
|
|
2089
|
+
* @param {string} sandboxId
|
|
2090
2090
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2091
2091
|
* @param {string} [path]
|
|
2092
2092
|
* @param {*} [options] Override http request option.
|
|
2093
2093
|
* @throws {RequiredError}
|
|
2094
2094
|
*/
|
|
2095
|
-
async listFiles(
|
|
2096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(
|
|
2095
|
+
async listFiles(sandboxId, xDaytonaOrganizationID, path, options) {
|
|
2096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(sandboxId, xDaytonaOrganizationID, path, options);
|
|
2097
2097
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2098
2098
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.listFiles']?.[localVarOperationServerIndex]?.url;
|
|
2099
2099
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2100
2100
|
},
|
|
2101
2101
|
/**
|
|
2102
|
-
* List all active sessions in the
|
|
2102
|
+
* List all active sessions in the sandbox
|
|
2103
2103
|
* @summary List sessions
|
|
2104
|
-
* @param {string}
|
|
2104
|
+
* @param {string} sandboxId
|
|
2105
2105
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2106
2106
|
* @param {*} [options] Override http request option.
|
|
2107
2107
|
* @throws {RequiredError}
|
|
2108
2108
|
*/
|
|
2109
|
-
async listSessions(
|
|
2110
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(
|
|
2109
|
+
async listSessions(sandboxId, xDaytonaOrganizationID, options) {
|
|
2110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(sandboxId, xDaytonaOrganizationID, options);
|
|
2111
2111
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2112
2112
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.listSessions']?.[localVarOperationServerIndex]?.url;
|
|
2113
2113
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2115,14 +2115,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2115
2115
|
/**
|
|
2116
2116
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
2117
2117
|
* @summary Get Lsp Completions
|
|
2118
|
-
* @param {string}
|
|
2118
|
+
* @param {string} sandboxId
|
|
2119
2119
|
* @param {LspCompletionParams} lspCompletionParams
|
|
2120
2120
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2121
2121
|
* @param {*} [options] Override http request option.
|
|
2122
2122
|
* @throws {RequiredError}
|
|
2123
2123
|
*/
|
|
2124
|
-
async lspCompletions(
|
|
2125
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(
|
|
2124
|
+
async lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options);
|
|
2126
2126
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2127
2127
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspCompletions']?.[localVarOperationServerIndex]?.url;
|
|
2128
2128
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2130,14 +2130,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2130
2130
|
/**
|
|
2131
2131
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
2132
2132
|
* @summary Call Lsp DidClose
|
|
2133
|
-
* @param {string}
|
|
2133
|
+
* @param {string} sandboxId
|
|
2134
2134
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2135
2135
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2136
2136
|
* @param {*} [options] Override http request option.
|
|
2137
2137
|
* @throws {RequiredError}
|
|
2138
2138
|
*/
|
|
2139
|
-
async lspDidClose(
|
|
2140
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(
|
|
2139
|
+
async lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2140
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2141
2141
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2142
2142
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspDidClose']?.[localVarOperationServerIndex]?.url;
|
|
2143
2143
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2145,14 +2145,14 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2145
2145
|
/**
|
|
2146
2146
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
2147
2147
|
* @summary Call Lsp DidOpen
|
|
2148
|
-
* @param {string}
|
|
2148
|
+
* @param {string} sandboxId
|
|
2149
2149
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2150
2150
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2151
2151
|
* @param {*} [options] Override http request option.
|
|
2152
2152
|
* @throws {RequiredError}
|
|
2153
2153
|
*/
|
|
2154
|
-
async lspDidOpen(
|
|
2155
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(
|
|
2154
|
+
async lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2156
2156
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2157
2157
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspDidOpen']?.[localVarOperationServerIndex]?.url;
|
|
2158
2158
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2160,7 +2160,7 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2160
2160
|
/**
|
|
2161
2161
|
* The document symbol request is sent from the client to the server.
|
|
2162
2162
|
* @summary Call Lsp DocumentSymbols
|
|
2163
|
-
* @param {string}
|
|
2163
|
+
* @param {string} sandboxId
|
|
2164
2164
|
* @param {string} languageId
|
|
2165
2165
|
* @param {string} pathToProject
|
|
2166
2166
|
* @param {string} uri
|
|
@@ -2168,110 +2168,110 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2168
2168
|
* @param {*} [options] Override http request option.
|
|
2169
2169
|
* @throws {RequiredError}
|
|
2170
2170
|
*/
|
|
2171
|
-
async lspDocumentSymbols(
|
|
2172
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(
|
|
2171
|
+
async lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
|
|
2173
2173
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2174
2174
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspDocumentSymbols']?.[localVarOperationServerIndex]?.url;
|
|
2175
2175
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2176
2176
|
},
|
|
2177
2177
|
/**
|
|
2178
|
-
*
|
|
2179
|
-
* @summary
|
|
2180
|
-
* @param {string}
|
|
2181
|
-
* @param {
|
|
2178
|
+
* The sandbox symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
2179
|
+
* @summary Call Lsp SandboxSymbols
|
|
2180
|
+
* @param {string} sandboxId
|
|
2181
|
+
* @param {string} languageId
|
|
2182
|
+
* @param {string} pathToProject
|
|
2183
|
+
* @param {string} query
|
|
2182
2184
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2183
2185
|
* @param {*} [options] Override http request option.
|
|
2184
2186
|
* @throws {RequiredError}
|
|
2185
2187
|
*/
|
|
2186
|
-
async
|
|
2187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2188
|
+
async lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
|
|
2188
2190
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2189
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.
|
|
2191
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspSandboxSymbols']?.[localVarOperationServerIndex]?.url;
|
|
2190
2192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2191
2193
|
},
|
|
2192
2194
|
/**
|
|
2193
|
-
*
|
|
2194
|
-
* @summary
|
|
2195
|
-
* @param {string}
|
|
2195
|
+
* Start Lsp server process inside sandbox project
|
|
2196
|
+
* @summary Start Lsp server
|
|
2197
|
+
* @param {string} sandboxId
|
|
2196
2198
|
* @param {LspServerRequest} lspServerRequest
|
|
2197
2199
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2198
2200
|
* @param {*} [options] Override http request option.
|
|
2199
2201
|
* @throws {RequiredError}
|
|
2200
2202
|
*/
|
|
2201
|
-
async
|
|
2202
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2203
|
+
async lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2204
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2203
2205
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2204
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.
|
|
2206
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspStart']?.[localVarOperationServerIndex]?.url;
|
|
2205
2207
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2206
2208
|
},
|
|
2207
2209
|
/**
|
|
2208
|
-
*
|
|
2209
|
-
* @summary
|
|
2210
|
-
* @param {string}
|
|
2211
|
-
* @param {
|
|
2212
|
-
* @param {string} pathToProject
|
|
2213
|
-
* @param {string} query
|
|
2210
|
+
* Stop Lsp server process inside sandbox project
|
|
2211
|
+
* @summary Stop Lsp server
|
|
2212
|
+
* @param {string} sandboxId
|
|
2213
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2214
2214
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2215
2215
|
* @param {*} [options] Override http request option.
|
|
2216
2216
|
* @throws {RequiredError}
|
|
2217
2217
|
*/
|
|
2218
|
-
async
|
|
2219
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2218
|
+
async lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2220
2220
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2221
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.
|
|
2221
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.lspStop']?.[localVarOperationServerIndex]?.url;
|
|
2222
2222
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2223
2223
|
},
|
|
2224
2224
|
/**
|
|
2225
|
-
* Move file inside
|
|
2225
|
+
* Move file inside sandbox
|
|
2226
2226
|
* @summary Move file
|
|
2227
|
-
* @param {string}
|
|
2227
|
+
* @param {string} sandboxId
|
|
2228
2228
|
* @param {string} source
|
|
2229
2229
|
* @param {string} destination
|
|
2230
2230
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2231
2231
|
* @param {*} [options] Override http request option.
|
|
2232
2232
|
* @throws {RequiredError}
|
|
2233
2233
|
*/
|
|
2234
|
-
async moveFile(
|
|
2235
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(
|
|
2234
|
+
async moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options) {
|
|
2235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options);
|
|
2236
2236
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2237
2237
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.moveFile']?.[localVarOperationServerIndex]?.url;
|
|
2238
2238
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2239
2239
|
},
|
|
2240
2240
|
/**
|
|
2241
|
-
* Replace text/pattern in multiple files inside
|
|
2241
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
2242
2242
|
* @summary Replace in files
|
|
2243
|
-
* @param {string}
|
|
2243
|
+
* @param {string} sandboxId
|
|
2244
2244
|
* @param {ReplaceRequest} replaceRequest
|
|
2245
2245
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2246
2246
|
* @param {*} [options] Override http request option.
|
|
2247
2247
|
* @throws {RequiredError}
|
|
2248
2248
|
*/
|
|
2249
|
-
async replaceInFiles(
|
|
2250
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(
|
|
2249
|
+
async replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options);
|
|
2251
2251
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2252
2252
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.replaceInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2253
2253
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2254
2254
|
},
|
|
2255
2255
|
/**
|
|
2256
|
-
* Search for files inside
|
|
2256
|
+
* Search for files inside sandbox
|
|
2257
2257
|
* @summary Search files
|
|
2258
|
-
* @param {string}
|
|
2258
|
+
* @param {string} sandboxId
|
|
2259
2259
|
* @param {string} path
|
|
2260
2260
|
* @param {string} pattern
|
|
2261
2261
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2262
2262
|
* @param {*} [options] Override http request option.
|
|
2263
2263
|
* @throws {RequiredError}
|
|
2264
2264
|
*/
|
|
2265
|
-
async searchFiles(
|
|
2266
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(
|
|
2265
|
+
async searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options);
|
|
2267
2267
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2268
2268
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.searchFiles']?.[localVarOperationServerIndex]?.url;
|
|
2269
2269
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2270
2270
|
},
|
|
2271
2271
|
/**
|
|
2272
|
-
* Set file owner/group/permissions inside
|
|
2272
|
+
* Set file owner/group/permissions inside sandbox
|
|
2273
2273
|
* @summary Set file permissions
|
|
2274
|
-
* @param {string}
|
|
2274
|
+
* @param {string} sandboxId
|
|
2275
2275
|
* @param {string} path
|
|
2276
2276
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2277
2277
|
* @param {string} [owner]
|
|
@@ -2280,16 +2280,16 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2280
2280
|
* @param {*} [options] Override http request option.
|
|
2281
2281
|
* @throws {RequiredError}
|
|
2282
2282
|
*/
|
|
2283
|
-
async setFilePermissions(
|
|
2284
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(
|
|
2283
|
+
async setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options);
|
|
2285
2285
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2286
2286
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.setFilePermissions']?.[localVarOperationServerIndex]?.url;
|
|
2287
2287
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2288
2288
|
},
|
|
2289
2289
|
/**
|
|
2290
|
-
* Upload file inside
|
|
2290
|
+
* Upload file inside sandbox
|
|
2291
2291
|
* @summary Upload file
|
|
2292
|
-
* @param {string}
|
|
2292
|
+
* @param {string} sandboxId
|
|
2293
2293
|
* @param {string} path
|
|
2294
2294
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2295
2295
|
* @param {File} [file]
|
|
@@ -2297,22 +2297,22 @@ const ToolboxApiFp = function (configuration) {
|
|
|
2297
2297
|
* @deprecated
|
|
2298
2298
|
* @throws {RequiredError}
|
|
2299
2299
|
*/
|
|
2300
|
-
async uploadFile(
|
|
2301
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(
|
|
2300
|
+
async uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options) {
|
|
2301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options);
|
|
2302
2302
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2303
2303
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.uploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2304
2304
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2305
2305
|
},
|
|
2306
2306
|
/**
|
|
2307
|
-
* Upload multiple files inside
|
|
2307
|
+
* Upload multiple files inside sandbox
|
|
2308
2308
|
* @summary Upload multiple files
|
|
2309
|
-
* @param {string}
|
|
2309
|
+
* @param {string} sandboxId
|
|
2310
2310
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2311
2311
|
* @param {*} [options] Override http request option.
|
|
2312
2312
|
* @throws {RequiredError}
|
|
2313
2313
|
*/
|
|
2314
|
-
async uploadFiles(
|
|
2315
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFiles(
|
|
2314
|
+
async uploadFiles(sandboxId, xDaytonaOrganizationID, options) {
|
|
2315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFiles(sandboxId, xDaytonaOrganizationID, options);
|
|
2316
2316
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2317
2317
|
const localVarOperationServerBasePath = base_1.operationServerMap['ToolboxApi.uploadFiles']?.[localVarOperationServerIndex]?.url;
|
|
2318
2318
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2328,180 +2328,180 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2328
2328
|
const localVarFp = (0, exports.ToolboxApiFp)(configuration);
|
|
2329
2329
|
return {
|
|
2330
2330
|
/**
|
|
2331
|
-
* Create folder inside
|
|
2331
|
+
* Create folder inside sandbox
|
|
2332
2332
|
* @summary Create folder
|
|
2333
|
-
* @param {string}
|
|
2333
|
+
* @param {string} sandboxId
|
|
2334
2334
|
* @param {string} path
|
|
2335
2335
|
* @param {string} mode
|
|
2336
2336
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2337
2337
|
* @param {*} [options] Override http request option.
|
|
2338
2338
|
* @throws {RequiredError}
|
|
2339
2339
|
*/
|
|
2340
|
-
createFolder(
|
|
2340
|
+
createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options) {
|
|
2341
2341
|
return localVarFp
|
|
2342
|
-
.createFolder(
|
|
2342
|
+
.createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options)
|
|
2343
2343
|
.then((request) => request(axios, basePath));
|
|
2344
2344
|
},
|
|
2345
2345
|
/**
|
|
2346
|
-
* Create a new session in the
|
|
2346
|
+
* Create a new session in the sandbox
|
|
2347
2347
|
* @summary Create session
|
|
2348
|
-
* @param {string}
|
|
2348
|
+
* @param {string} sandboxId
|
|
2349
2349
|
* @param {CreateSessionRequest} createSessionRequest
|
|
2350
2350
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2351
2351
|
* @param {*} [options] Override http request option.
|
|
2352
2352
|
* @throws {RequiredError}
|
|
2353
2353
|
*/
|
|
2354
|
-
createSession(
|
|
2354
|
+
createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
2355
2355
|
return localVarFp
|
|
2356
|
-
.createSession(
|
|
2356
|
+
.createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options)
|
|
2357
2357
|
.then((request) => request(axios, basePath));
|
|
2358
2358
|
},
|
|
2359
2359
|
/**
|
|
2360
|
-
* Delete file inside
|
|
2360
|
+
* Delete file inside sandbox
|
|
2361
2361
|
* @summary Delete file
|
|
2362
|
-
* @param {string}
|
|
2362
|
+
* @param {string} sandboxId
|
|
2363
2363
|
* @param {string} path
|
|
2364
2364
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2365
2365
|
* @param {*} [options] Override http request option.
|
|
2366
2366
|
* @throws {RequiredError}
|
|
2367
2367
|
*/
|
|
2368
|
-
deleteFile(
|
|
2368
|
+
deleteFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2369
2369
|
return localVarFp
|
|
2370
|
-
.deleteFile(
|
|
2370
|
+
.deleteFile(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2371
2371
|
.then((request) => request(axios, basePath));
|
|
2372
2372
|
},
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Delete a specific session
|
|
2375
2375
|
* @summary Delete session
|
|
2376
|
-
* @param {string}
|
|
2376
|
+
* @param {string} sandboxId
|
|
2377
2377
|
* @param {string} sessionId
|
|
2378
2378
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2379
2379
|
* @param {*} [options] Override http request option.
|
|
2380
2380
|
* @throws {RequiredError}
|
|
2381
2381
|
*/
|
|
2382
|
-
deleteSession(
|
|
2382
|
+
deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
2383
2383
|
return localVarFp
|
|
2384
|
-
.deleteSession(
|
|
2384
|
+
.deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options)
|
|
2385
2385
|
.then((request) => request(axios, basePath));
|
|
2386
2386
|
},
|
|
2387
2387
|
/**
|
|
2388
|
-
* Download file from
|
|
2388
|
+
* Download file from sandbox
|
|
2389
2389
|
* @summary Download file
|
|
2390
|
-
* @param {string}
|
|
2390
|
+
* @param {string} sandboxId
|
|
2391
2391
|
* @param {string} path
|
|
2392
2392
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2393
2393
|
* @param {*} [options] Override http request option.
|
|
2394
2394
|
* @throws {RequiredError}
|
|
2395
2395
|
*/
|
|
2396
|
-
downloadFile(
|
|
2396
|
+
downloadFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2397
2397
|
return localVarFp
|
|
2398
|
-
.downloadFile(
|
|
2398
|
+
.downloadFile(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2399
2399
|
.then((request) => request(axios, basePath));
|
|
2400
2400
|
},
|
|
2401
2401
|
/**
|
|
2402
|
-
* Execute command synchronously inside
|
|
2402
|
+
* Execute command synchronously inside sandbox
|
|
2403
2403
|
* @summary Execute command
|
|
2404
|
-
* @param {string}
|
|
2404
|
+
* @param {string} sandboxId
|
|
2405
2405
|
* @param {ExecuteRequest} executeRequest
|
|
2406
2406
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2407
2407
|
* @param {*} [options] Override http request option.
|
|
2408
2408
|
* @throws {RequiredError}
|
|
2409
2409
|
*/
|
|
2410
|
-
executeCommand(
|
|
2410
|
+
executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options) {
|
|
2411
2411
|
return localVarFp
|
|
2412
|
-
.executeCommand(
|
|
2412
|
+
.executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options)
|
|
2413
2413
|
.then((request) => request(axios, basePath));
|
|
2414
2414
|
},
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Execute a command in a specific session
|
|
2417
2417
|
* @summary Execute command in session
|
|
2418
|
-
* @param {string}
|
|
2418
|
+
* @param {string} sandboxId
|
|
2419
2419
|
* @param {string} sessionId
|
|
2420
2420
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
2421
2421
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2422
2422
|
* @param {*} [options] Override http request option.
|
|
2423
2423
|
* @throws {RequiredError}
|
|
2424
2424
|
*/
|
|
2425
|
-
executeSessionCommand(
|
|
2425
|
+
executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
2426
2426
|
return localVarFp
|
|
2427
|
-
.executeSessionCommand(
|
|
2427
|
+
.executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
|
|
2428
2428
|
.then((request) => request(axios, basePath));
|
|
2429
2429
|
},
|
|
2430
2430
|
/**
|
|
2431
|
-
* Search for text/pattern inside
|
|
2431
|
+
* Search for text/pattern inside sandbox files
|
|
2432
2432
|
* @summary Search for text/pattern in files
|
|
2433
|
-
* @param {string}
|
|
2433
|
+
* @param {string} sandboxId
|
|
2434
2434
|
* @param {string} path
|
|
2435
2435
|
* @param {string} pattern
|
|
2436
2436
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2437
2437
|
* @param {*} [options] Override http request option.
|
|
2438
2438
|
* @throws {RequiredError}
|
|
2439
2439
|
*/
|
|
2440
|
-
findInFiles(
|
|
2440
|
+
findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2441
2441
|
return localVarFp
|
|
2442
|
-
.findInFiles(
|
|
2442
|
+
.findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options)
|
|
2443
2443
|
.then((request) => request(axios, basePath));
|
|
2444
2444
|
},
|
|
2445
2445
|
/**
|
|
2446
|
-
* Get file info inside
|
|
2446
|
+
* Get file info inside sandbox
|
|
2447
2447
|
* @summary Get file info
|
|
2448
|
-
* @param {string}
|
|
2448
|
+
* @param {string} sandboxId
|
|
2449
2449
|
* @param {string} path
|
|
2450
2450
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2451
2451
|
* @param {*} [options] Override http request option.
|
|
2452
2452
|
* @throws {RequiredError}
|
|
2453
2453
|
*/
|
|
2454
|
-
getFileInfo(
|
|
2454
|
+
getFileInfo(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2455
2455
|
return localVarFp
|
|
2456
|
-
.getFileInfo(
|
|
2456
|
+
.getFileInfo(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2457
2457
|
.then((request) => request(axios, basePath));
|
|
2458
2458
|
},
|
|
2459
2459
|
/**
|
|
2460
2460
|
*
|
|
2461
|
-
* @summary Get
|
|
2462
|
-
* @param {string}
|
|
2461
|
+
* @summary Get sandbox project dir
|
|
2462
|
+
* @param {string} sandboxId
|
|
2463
2463
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2464
2464
|
* @param {*} [options] Override http request option.
|
|
2465
2465
|
* @throws {RequiredError}
|
|
2466
2466
|
*/
|
|
2467
|
-
getProjectDir(
|
|
2467
|
+
getProjectDir(sandboxId, xDaytonaOrganizationID, options) {
|
|
2468
2468
|
return localVarFp
|
|
2469
|
-
.getProjectDir(
|
|
2469
|
+
.getProjectDir(sandboxId, xDaytonaOrganizationID, options)
|
|
2470
2470
|
.then((request) => request(axios, basePath));
|
|
2471
2471
|
},
|
|
2472
2472
|
/**
|
|
2473
2473
|
* Get session by ID
|
|
2474
2474
|
* @summary Get session
|
|
2475
|
-
* @param {string}
|
|
2475
|
+
* @param {string} sandboxId
|
|
2476
2476
|
* @param {string} sessionId
|
|
2477
2477
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2478
2478
|
* @param {*} [options] Override http request option.
|
|
2479
2479
|
* @throws {RequiredError}
|
|
2480
2480
|
*/
|
|
2481
|
-
getSession(
|
|
2481
|
+
getSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
2482
2482
|
return localVarFp
|
|
2483
|
-
.getSession(
|
|
2483
|
+
.getSession(sandboxId, sessionId, xDaytonaOrganizationID, options)
|
|
2484
2484
|
.then((request) => request(axios, basePath));
|
|
2485
2485
|
},
|
|
2486
2486
|
/**
|
|
2487
2487
|
* Get session command by ID
|
|
2488
2488
|
* @summary Get session command
|
|
2489
|
-
* @param {string}
|
|
2489
|
+
* @param {string} sandboxId
|
|
2490
2490
|
* @param {string} sessionId
|
|
2491
2491
|
* @param {string} commandId
|
|
2492
2492
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2493
2493
|
* @param {*} [options] Override http request option.
|
|
2494
2494
|
* @throws {RequiredError}
|
|
2495
2495
|
*/
|
|
2496
|
-
getSessionCommand(
|
|
2496
|
+
getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
2497
2497
|
return localVarFp
|
|
2498
|
-
.getSessionCommand(
|
|
2498
|
+
.getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options)
|
|
2499
2499
|
.then((request) => request(axios, basePath));
|
|
2500
2500
|
},
|
|
2501
2501
|
/**
|
|
2502
2502
|
* Get logs for a specific command in a session
|
|
2503
2503
|
* @summary Get command logs
|
|
2504
|
-
* @param {string}
|
|
2504
|
+
* @param {string} sandboxId
|
|
2505
2505
|
* @param {string} sessionId
|
|
2506
2506
|
* @param {string} commandId
|
|
2507
2507
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -2509,238 +2509,238 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2509
2509
|
* @param {*} [options] Override http request option.
|
|
2510
2510
|
* @throws {RequiredError}
|
|
2511
2511
|
*/
|
|
2512
|
-
getSessionCommandLogs(
|
|
2512
|
+
getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
2513
2513
|
return localVarFp
|
|
2514
|
-
.getSessionCommandLogs(
|
|
2514
|
+
.getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
|
|
2515
2515
|
.then((request) => request(axios, basePath));
|
|
2516
2516
|
},
|
|
2517
2517
|
/**
|
|
2518
2518
|
* Add files to git commit
|
|
2519
2519
|
* @summary Add files
|
|
2520
|
-
* @param {string}
|
|
2520
|
+
* @param {string} sandboxId
|
|
2521
2521
|
* @param {GitAddRequest} gitAddRequest
|
|
2522
2522
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2523
2523
|
* @param {*} [options] Override http request option.
|
|
2524
2524
|
* @throws {RequiredError}
|
|
2525
2525
|
*/
|
|
2526
|
-
gitAddFiles(
|
|
2526
|
+
gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
2527
2527
|
return localVarFp
|
|
2528
|
-
.gitAddFiles(
|
|
2528
|
+
.gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options)
|
|
2529
2529
|
.then((request) => request(axios, basePath));
|
|
2530
2530
|
},
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Checkout branch or commit in git repository
|
|
2533
2533
|
* @summary Checkout branch
|
|
2534
|
-
* @param {string}
|
|
2534
|
+
* @param {string} sandboxId
|
|
2535
2535
|
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
2536
2536
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2537
2537
|
* @param {*} [options] Override http request option.
|
|
2538
2538
|
* @throws {RequiredError}
|
|
2539
2539
|
*/
|
|
2540
|
-
gitCheckoutBranch(
|
|
2540
|
+
gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options) {
|
|
2541
2541
|
return localVarFp
|
|
2542
|
-
.gitCheckoutBranch(
|
|
2542
|
+
.gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options)
|
|
2543
2543
|
.then((request) => request(axios, basePath));
|
|
2544
2544
|
},
|
|
2545
2545
|
/**
|
|
2546
2546
|
* Clone git repository
|
|
2547
2547
|
* @summary Clone repository
|
|
2548
|
-
* @param {string}
|
|
2548
|
+
* @param {string} sandboxId
|
|
2549
2549
|
* @param {GitCloneRequest} gitCloneRequest
|
|
2550
2550
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2551
2551
|
* @param {*} [options] Override http request option.
|
|
2552
2552
|
* @throws {RequiredError}
|
|
2553
2553
|
*/
|
|
2554
|
-
gitCloneRepository(
|
|
2554
|
+
gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
2555
2555
|
return localVarFp
|
|
2556
|
-
.gitCloneRepository(
|
|
2556
|
+
.gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options)
|
|
2557
2557
|
.then((request) => request(axios, basePath));
|
|
2558
2558
|
},
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Commit changes to git repository
|
|
2561
2561
|
* @summary Commit changes
|
|
2562
|
-
* @param {string}
|
|
2562
|
+
* @param {string} sandboxId
|
|
2563
2563
|
* @param {GitCommitRequest} gitCommitRequest
|
|
2564
2564
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2565
2565
|
* @param {*} [options] Override http request option.
|
|
2566
2566
|
* @throws {RequiredError}
|
|
2567
2567
|
*/
|
|
2568
|
-
gitCommitChanges(
|
|
2568
|
+
gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
2569
2569
|
return localVarFp
|
|
2570
|
-
.gitCommitChanges(
|
|
2570
|
+
.gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options)
|
|
2571
2571
|
.then((request) => request(axios, basePath));
|
|
2572
2572
|
},
|
|
2573
2573
|
/**
|
|
2574
2574
|
* Create branch on git repository
|
|
2575
2575
|
* @summary Create branch
|
|
2576
|
-
* @param {string}
|
|
2576
|
+
* @param {string} sandboxId
|
|
2577
2577
|
* @param {GitBranchRequest} gitBranchRequest
|
|
2578
2578
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2579
2579
|
* @param {*} [options] Override http request option.
|
|
2580
2580
|
* @throws {RequiredError}
|
|
2581
2581
|
*/
|
|
2582
|
-
gitCreateBranch(
|
|
2582
|
+
gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
2583
2583
|
return localVarFp
|
|
2584
|
-
.gitCreateBranch(
|
|
2584
|
+
.gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options)
|
|
2585
2585
|
.then((request) => request(axios, basePath));
|
|
2586
2586
|
},
|
|
2587
2587
|
/**
|
|
2588
2588
|
* Delete branch on git repository
|
|
2589
2589
|
* @summary Delete branch
|
|
2590
|
-
* @param {string}
|
|
2590
|
+
* @param {string} sandboxId
|
|
2591
2591
|
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
2592
2592
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2593
2593
|
* @param {*} [options] Override http request option.
|
|
2594
2594
|
* @throws {RequiredError}
|
|
2595
2595
|
*/
|
|
2596
|
-
gitDeleteBranch(
|
|
2596
|
+
gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options) {
|
|
2597
2597
|
return localVarFp
|
|
2598
|
-
.gitDeleteBranch(
|
|
2598
|
+
.gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options)
|
|
2599
2599
|
.then((request) => request(axios, basePath));
|
|
2600
2600
|
},
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Get commit history from git repository
|
|
2603
2603
|
* @summary Get commit history
|
|
2604
|
-
* @param {string}
|
|
2604
|
+
* @param {string} sandboxId
|
|
2605
2605
|
* @param {string} path
|
|
2606
2606
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2607
2607
|
* @param {*} [options] Override http request option.
|
|
2608
2608
|
* @throws {RequiredError}
|
|
2609
2609
|
*/
|
|
2610
|
-
gitGetHistory(
|
|
2610
|
+
gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2611
2611
|
return localVarFp
|
|
2612
|
-
.gitGetHistory(
|
|
2612
|
+
.gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2613
2613
|
.then((request) => request(axios, basePath));
|
|
2614
2614
|
},
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Get status from git repository
|
|
2617
2617
|
* @summary Get git status
|
|
2618
|
-
* @param {string}
|
|
2618
|
+
* @param {string} sandboxId
|
|
2619
2619
|
* @param {string} path
|
|
2620
2620
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2621
2621
|
* @param {*} [options] Override http request option.
|
|
2622
2622
|
* @throws {RequiredError}
|
|
2623
2623
|
*/
|
|
2624
|
-
gitGetStatus(
|
|
2624
|
+
gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2625
2625
|
return localVarFp
|
|
2626
|
-
.gitGetStatus(
|
|
2626
|
+
.gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2627
2627
|
.then((request) => request(axios, basePath));
|
|
2628
2628
|
},
|
|
2629
2629
|
/**
|
|
2630
2630
|
* Get branch list from git repository
|
|
2631
2631
|
* @summary Get branch list
|
|
2632
|
-
* @param {string}
|
|
2632
|
+
* @param {string} sandboxId
|
|
2633
2633
|
* @param {string} path
|
|
2634
2634
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2635
2635
|
* @param {*} [options] Override http request option.
|
|
2636
2636
|
* @throws {RequiredError}
|
|
2637
2637
|
*/
|
|
2638
|
-
gitListBranches(
|
|
2638
|
+
gitListBranches(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2639
2639
|
return localVarFp
|
|
2640
|
-
.gitListBranches(
|
|
2640
|
+
.gitListBranches(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2641
2641
|
.then((request) => request(axios, basePath));
|
|
2642
2642
|
},
|
|
2643
2643
|
/**
|
|
2644
2644
|
* Pull changes from remote
|
|
2645
2645
|
* @summary Pull changes
|
|
2646
|
-
* @param {string}
|
|
2646
|
+
* @param {string} sandboxId
|
|
2647
2647
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2648
2648
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2649
2649
|
* @param {*} [options] Override http request option.
|
|
2650
2650
|
* @throws {RequiredError}
|
|
2651
2651
|
*/
|
|
2652
|
-
gitPullChanges(
|
|
2652
|
+
gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2653
2653
|
return localVarFp
|
|
2654
|
-
.gitPullChanges(
|
|
2654
|
+
.gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
2655
2655
|
.then((request) => request(axios, basePath));
|
|
2656
2656
|
},
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Push changes to remote
|
|
2659
2659
|
* @summary Push changes
|
|
2660
|
-
* @param {string}
|
|
2660
|
+
* @param {string} sandboxId
|
|
2661
2661
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2662
2662
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2663
2663
|
* @param {*} [options] Override http request option.
|
|
2664
2664
|
* @throws {RequiredError}
|
|
2665
2665
|
*/
|
|
2666
|
-
gitPushChanges(
|
|
2666
|
+
gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2667
2667
|
return localVarFp
|
|
2668
|
-
.gitPushChanges(
|
|
2668
|
+
.gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
2669
2669
|
.then((request) => request(axios, basePath));
|
|
2670
2670
|
},
|
|
2671
2671
|
/**
|
|
2672
2672
|
*
|
|
2673
2673
|
* @summary List files
|
|
2674
|
-
* @param {string}
|
|
2674
|
+
* @param {string} sandboxId
|
|
2675
2675
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2676
2676
|
* @param {string} [path]
|
|
2677
2677
|
* @param {*} [options] Override http request option.
|
|
2678
2678
|
* @throws {RequiredError}
|
|
2679
2679
|
*/
|
|
2680
|
-
listFiles(
|
|
2680
|
+
listFiles(sandboxId, xDaytonaOrganizationID, path, options) {
|
|
2681
2681
|
return localVarFp
|
|
2682
|
-
.listFiles(
|
|
2682
|
+
.listFiles(sandboxId, xDaytonaOrganizationID, path, options)
|
|
2683
2683
|
.then((request) => request(axios, basePath));
|
|
2684
2684
|
},
|
|
2685
2685
|
/**
|
|
2686
|
-
* List all active sessions in the
|
|
2686
|
+
* List all active sessions in the sandbox
|
|
2687
2687
|
* @summary List sessions
|
|
2688
|
-
* @param {string}
|
|
2688
|
+
* @param {string} sandboxId
|
|
2689
2689
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2690
2690
|
* @param {*} [options] Override http request option.
|
|
2691
2691
|
* @throws {RequiredError}
|
|
2692
2692
|
*/
|
|
2693
|
-
listSessions(
|
|
2693
|
+
listSessions(sandboxId, xDaytonaOrganizationID, options) {
|
|
2694
2694
|
return localVarFp
|
|
2695
|
-
.listSessions(
|
|
2695
|
+
.listSessions(sandboxId, xDaytonaOrganizationID, options)
|
|
2696
2696
|
.then((request) => request(axios, basePath));
|
|
2697
2697
|
},
|
|
2698
2698
|
/**
|
|
2699
2699
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
2700
2700
|
* @summary Get Lsp Completions
|
|
2701
|
-
* @param {string}
|
|
2701
|
+
* @param {string} sandboxId
|
|
2702
2702
|
* @param {LspCompletionParams} lspCompletionParams
|
|
2703
2703
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2704
2704
|
* @param {*} [options] Override http request option.
|
|
2705
2705
|
* @throws {RequiredError}
|
|
2706
2706
|
*/
|
|
2707
|
-
lspCompletions(
|
|
2707
|
+
lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2708
2708
|
return localVarFp
|
|
2709
|
-
.lspCompletions(
|
|
2709
|
+
.lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options)
|
|
2710
2710
|
.then((request) => request(axios, basePath));
|
|
2711
2711
|
},
|
|
2712
2712
|
/**
|
|
2713
2713
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
2714
2714
|
* @summary Call Lsp DidClose
|
|
2715
|
-
* @param {string}
|
|
2715
|
+
* @param {string} sandboxId
|
|
2716
2716
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2717
2717
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2718
2718
|
* @param {*} [options] Override http request option.
|
|
2719
2719
|
* @throws {RequiredError}
|
|
2720
2720
|
*/
|
|
2721
|
-
lspDidClose(
|
|
2721
|
+
lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2722
2722
|
return localVarFp
|
|
2723
|
-
.lspDidClose(
|
|
2723
|
+
.lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
2724
2724
|
.then((request) => request(axios, basePath));
|
|
2725
2725
|
},
|
|
2726
2726
|
/**
|
|
2727
2727
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
2728
2728
|
* @summary Call Lsp DidOpen
|
|
2729
|
-
* @param {string}
|
|
2729
|
+
* @param {string} sandboxId
|
|
2730
2730
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2731
2731
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2732
2732
|
* @param {*} [options] Override http request option.
|
|
2733
2733
|
* @throws {RequiredError}
|
|
2734
2734
|
*/
|
|
2735
|
-
lspDidOpen(
|
|
2735
|
+
lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2736
2736
|
return localVarFp
|
|
2737
|
-
.lspDidOpen(
|
|
2737
|
+
.lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
2738
2738
|
.then((request) => request(axios, basePath));
|
|
2739
2739
|
},
|
|
2740
2740
|
/**
|
|
2741
2741
|
* The document symbol request is sent from the client to the server.
|
|
2742
2742
|
* @summary Call Lsp DocumentSymbols
|
|
2743
|
-
* @param {string}
|
|
2743
|
+
* @param {string} sandboxId
|
|
2744
2744
|
* @param {string} languageId
|
|
2745
2745
|
* @param {string} pathToProject
|
|
2746
2746
|
* @param {string} uri
|
|
@@ -2748,103 +2748,103 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2748
2748
|
* @param {*} [options] Override http request option.
|
|
2749
2749
|
* @throws {RequiredError}
|
|
2750
2750
|
*/
|
|
2751
|
-
lspDocumentSymbols(
|
|
2751
|
+
lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2752
2752
|
return localVarFp
|
|
2753
|
-
.lspDocumentSymbols(
|
|
2753
|
+
.lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
|
|
2754
2754
|
.then((request) => request(axios, basePath));
|
|
2755
2755
|
},
|
|
2756
2756
|
/**
|
|
2757
|
-
*
|
|
2758
|
-
* @summary
|
|
2759
|
-
* @param {string}
|
|
2760
|
-
* @param {
|
|
2757
|
+
* The sandbox symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
2758
|
+
* @summary Call Lsp SandboxSymbols
|
|
2759
|
+
* @param {string} sandboxId
|
|
2760
|
+
* @param {string} languageId
|
|
2761
|
+
* @param {string} pathToProject
|
|
2762
|
+
* @param {string} query
|
|
2761
2763
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2762
2764
|
* @param {*} [options] Override http request option.
|
|
2763
2765
|
* @throws {RequiredError}
|
|
2764
2766
|
*/
|
|
2765
|
-
|
|
2767
|
+
lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2766
2768
|
return localVarFp
|
|
2767
|
-
.
|
|
2769
|
+
.lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
|
|
2768
2770
|
.then((request) => request(axios, basePath));
|
|
2769
2771
|
},
|
|
2770
2772
|
/**
|
|
2771
|
-
*
|
|
2772
|
-
* @summary
|
|
2773
|
-
* @param {string}
|
|
2773
|
+
* Start Lsp server process inside sandbox project
|
|
2774
|
+
* @summary Start Lsp server
|
|
2775
|
+
* @param {string} sandboxId
|
|
2774
2776
|
* @param {LspServerRequest} lspServerRequest
|
|
2775
2777
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2776
2778
|
* @param {*} [options] Override http request option.
|
|
2777
2779
|
* @throws {RequiredError}
|
|
2778
2780
|
*/
|
|
2779
|
-
|
|
2781
|
+
lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2780
2782
|
return localVarFp
|
|
2781
|
-
.
|
|
2783
|
+
.lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
2782
2784
|
.then((request) => request(axios, basePath));
|
|
2783
2785
|
},
|
|
2784
2786
|
/**
|
|
2785
|
-
*
|
|
2786
|
-
* @summary
|
|
2787
|
-
* @param {string}
|
|
2788
|
-
* @param {
|
|
2789
|
-
* @param {string} pathToProject
|
|
2790
|
-
* @param {string} query
|
|
2787
|
+
* Stop Lsp server process inside sandbox project
|
|
2788
|
+
* @summary Stop Lsp server
|
|
2789
|
+
* @param {string} sandboxId
|
|
2790
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2791
2791
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2792
2792
|
* @param {*} [options] Override http request option.
|
|
2793
2793
|
* @throws {RequiredError}
|
|
2794
2794
|
*/
|
|
2795
|
-
|
|
2795
|
+
lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2796
2796
|
return localVarFp
|
|
2797
|
-
.
|
|
2797
|
+
.lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
2798
2798
|
.then((request) => request(axios, basePath));
|
|
2799
2799
|
},
|
|
2800
2800
|
/**
|
|
2801
|
-
* Move file inside
|
|
2801
|
+
* Move file inside sandbox
|
|
2802
2802
|
* @summary Move file
|
|
2803
|
-
* @param {string}
|
|
2803
|
+
* @param {string} sandboxId
|
|
2804
2804
|
* @param {string} source
|
|
2805
2805
|
* @param {string} destination
|
|
2806
2806
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2807
2807
|
* @param {*} [options] Override http request option.
|
|
2808
2808
|
* @throws {RequiredError}
|
|
2809
2809
|
*/
|
|
2810
|
-
moveFile(
|
|
2810
|
+
moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options) {
|
|
2811
2811
|
return localVarFp
|
|
2812
|
-
.moveFile(
|
|
2812
|
+
.moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options)
|
|
2813
2813
|
.then((request) => request(axios, basePath));
|
|
2814
2814
|
},
|
|
2815
2815
|
/**
|
|
2816
|
-
* Replace text/pattern in multiple files inside
|
|
2816
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
2817
2817
|
* @summary Replace in files
|
|
2818
|
-
* @param {string}
|
|
2818
|
+
* @param {string} sandboxId
|
|
2819
2819
|
* @param {ReplaceRequest} replaceRequest
|
|
2820
2820
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2821
2821
|
* @param {*} [options] Override http request option.
|
|
2822
2822
|
* @throws {RequiredError}
|
|
2823
2823
|
*/
|
|
2824
|
-
replaceInFiles(
|
|
2824
|
+
replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2825
2825
|
return localVarFp
|
|
2826
|
-
.replaceInFiles(
|
|
2826
|
+
.replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options)
|
|
2827
2827
|
.then((request) => request(axios, basePath));
|
|
2828
2828
|
},
|
|
2829
2829
|
/**
|
|
2830
|
-
* Search for files inside
|
|
2830
|
+
* Search for files inside sandbox
|
|
2831
2831
|
* @summary Search files
|
|
2832
|
-
* @param {string}
|
|
2832
|
+
* @param {string} sandboxId
|
|
2833
2833
|
* @param {string} path
|
|
2834
2834
|
* @param {string} pattern
|
|
2835
2835
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2836
2836
|
* @param {*} [options] Override http request option.
|
|
2837
2837
|
* @throws {RequiredError}
|
|
2838
2838
|
*/
|
|
2839
|
-
searchFiles(
|
|
2839
|
+
searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2840
2840
|
return localVarFp
|
|
2841
|
-
.searchFiles(
|
|
2841
|
+
.searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options)
|
|
2842
2842
|
.then((request) => request(axios, basePath));
|
|
2843
2843
|
},
|
|
2844
2844
|
/**
|
|
2845
|
-
* Set file owner/group/permissions inside
|
|
2845
|
+
* Set file owner/group/permissions inside sandbox
|
|
2846
2846
|
* @summary Set file permissions
|
|
2847
|
-
* @param {string}
|
|
2847
|
+
* @param {string} sandboxId
|
|
2848
2848
|
* @param {string} path
|
|
2849
2849
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2850
2850
|
* @param {string} [owner]
|
|
@@ -2853,15 +2853,15 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2853
2853
|
* @param {*} [options] Override http request option.
|
|
2854
2854
|
* @throws {RequiredError}
|
|
2855
2855
|
*/
|
|
2856
|
-
setFilePermissions(
|
|
2856
|
+
setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2857
2857
|
return localVarFp
|
|
2858
|
-
.setFilePermissions(
|
|
2858
|
+
.setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options)
|
|
2859
2859
|
.then((request) => request(axios, basePath));
|
|
2860
2860
|
},
|
|
2861
2861
|
/**
|
|
2862
|
-
* Upload file inside
|
|
2862
|
+
* Upload file inside sandbox
|
|
2863
2863
|
* @summary Upload file
|
|
2864
|
-
* @param {string}
|
|
2864
|
+
* @param {string} sandboxId
|
|
2865
2865
|
* @param {string} path
|
|
2866
2866
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2867
2867
|
* @param {File} [file]
|
|
@@ -2869,22 +2869,22 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2869
2869
|
* @deprecated
|
|
2870
2870
|
* @throws {RequiredError}
|
|
2871
2871
|
*/
|
|
2872
|
-
uploadFile(
|
|
2872
|
+
uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options) {
|
|
2873
2873
|
return localVarFp
|
|
2874
|
-
.uploadFile(
|
|
2874
|
+
.uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options)
|
|
2875
2875
|
.then((request) => request(axios, basePath));
|
|
2876
2876
|
},
|
|
2877
2877
|
/**
|
|
2878
|
-
* Upload multiple files inside
|
|
2878
|
+
* Upload multiple files inside sandbox
|
|
2879
2879
|
* @summary Upload multiple files
|
|
2880
|
-
* @param {string}
|
|
2880
|
+
* @param {string} sandboxId
|
|
2881
2881
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2882
2882
|
* @param {*} [options] Override http request option.
|
|
2883
2883
|
* @throws {RequiredError}
|
|
2884
2884
|
*/
|
|
2885
|
-
uploadFiles(
|
|
2885
|
+
uploadFiles(sandboxId, xDaytonaOrganizationID, options) {
|
|
2886
2886
|
return localVarFp
|
|
2887
|
-
.uploadFiles(
|
|
2887
|
+
.uploadFiles(sandboxId, xDaytonaOrganizationID, options)
|
|
2888
2888
|
.then((request) => request(axios, basePath));
|
|
2889
2889
|
},
|
|
2890
2890
|
};
|
|
@@ -2898,9 +2898,9 @@ exports.ToolboxApiFactory = ToolboxApiFactory;
|
|
|
2898
2898
|
*/
|
|
2899
2899
|
class ToolboxApi extends base_1.BaseAPI {
|
|
2900
2900
|
/**
|
|
2901
|
-
* Create folder inside
|
|
2901
|
+
* Create folder inside sandbox
|
|
2902
2902
|
* @summary Create folder
|
|
2903
|
-
* @param {string}
|
|
2903
|
+
* @param {string} sandboxId
|
|
2904
2904
|
* @param {string} path
|
|
2905
2905
|
* @param {string} mode
|
|
2906
2906
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -2908,90 +2908,90 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
2908
2908
|
* @throws {RequiredError}
|
|
2909
2909
|
* @memberof ToolboxApi
|
|
2910
2910
|
*/
|
|
2911
|
-
createFolder(
|
|
2911
|
+
createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options) {
|
|
2912
2912
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2913
|
-
.createFolder(
|
|
2913
|
+
.createFolder(sandboxId, path, mode, xDaytonaOrganizationID, options)
|
|
2914
2914
|
.then((request) => request(this.axios, this.basePath));
|
|
2915
2915
|
}
|
|
2916
2916
|
/**
|
|
2917
|
-
* Create a new session in the
|
|
2917
|
+
* Create a new session in the sandbox
|
|
2918
2918
|
* @summary Create session
|
|
2919
|
-
* @param {string}
|
|
2919
|
+
* @param {string} sandboxId
|
|
2920
2920
|
* @param {CreateSessionRequest} createSessionRequest
|
|
2921
2921
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2922
2922
|
* @param {*} [options] Override http request option.
|
|
2923
2923
|
* @throws {RequiredError}
|
|
2924
2924
|
* @memberof ToolboxApi
|
|
2925
2925
|
*/
|
|
2926
|
-
createSession(
|
|
2926
|
+
createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
2927
2927
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2928
|
-
.createSession(
|
|
2928
|
+
.createSession(sandboxId, createSessionRequest, xDaytonaOrganizationID, options)
|
|
2929
2929
|
.then((request) => request(this.axios, this.basePath));
|
|
2930
2930
|
}
|
|
2931
2931
|
/**
|
|
2932
|
-
* Delete file inside
|
|
2932
|
+
* Delete file inside sandbox
|
|
2933
2933
|
* @summary Delete file
|
|
2934
|
-
* @param {string}
|
|
2934
|
+
* @param {string} sandboxId
|
|
2935
2935
|
* @param {string} path
|
|
2936
2936
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2937
2937
|
* @param {*} [options] Override http request option.
|
|
2938
2938
|
* @throws {RequiredError}
|
|
2939
2939
|
* @memberof ToolboxApi
|
|
2940
2940
|
*/
|
|
2941
|
-
deleteFile(
|
|
2941
|
+
deleteFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2942
2942
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2943
|
-
.deleteFile(
|
|
2943
|
+
.deleteFile(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2944
2944
|
.then((request) => request(this.axios, this.basePath));
|
|
2945
2945
|
}
|
|
2946
2946
|
/**
|
|
2947
2947
|
* Delete a specific session
|
|
2948
2948
|
* @summary Delete session
|
|
2949
|
-
* @param {string}
|
|
2949
|
+
* @param {string} sandboxId
|
|
2950
2950
|
* @param {string} sessionId
|
|
2951
2951
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2952
2952
|
* @param {*} [options] Override http request option.
|
|
2953
2953
|
* @throws {RequiredError}
|
|
2954
2954
|
* @memberof ToolboxApi
|
|
2955
2955
|
*/
|
|
2956
|
-
deleteSession(
|
|
2956
|
+
deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
2957
2957
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2958
|
-
.deleteSession(
|
|
2958
|
+
.deleteSession(sandboxId, sessionId, xDaytonaOrganizationID, options)
|
|
2959
2959
|
.then((request) => request(this.axios, this.basePath));
|
|
2960
2960
|
}
|
|
2961
2961
|
/**
|
|
2962
|
-
* Download file from
|
|
2962
|
+
* Download file from sandbox
|
|
2963
2963
|
* @summary Download file
|
|
2964
|
-
* @param {string}
|
|
2964
|
+
* @param {string} sandboxId
|
|
2965
2965
|
* @param {string} path
|
|
2966
2966
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2967
2967
|
* @param {*} [options] Override http request option.
|
|
2968
2968
|
* @throws {RequiredError}
|
|
2969
2969
|
* @memberof ToolboxApi
|
|
2970
2970
|
*/
|
|
2971
|
-
downloadFile(
|
|
2971
|
+
downloadFile(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
2972
2972
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2973
|
-
.downloadFile(
|
|
2973
|
+
.downloadFile(sandboxId, path, xDaytonaOrganizationID, options)
|
|
2974
2974
|
.then((request) => request(this.axios, this.basePath));
|
|
2975
2975
|
}
|
|
2976
2976
|
/**
|
|
2977
|
-
* Execute command synchronously inside
|
|
2977
|
+
* Execute command synchronously inside sandbox
|
|
2978
2978
|
* @summary Execute command
|
|
2979
|
-
* @param {string}
|
|
2979
|
+
* @param {string} sandboxId
|
|
2980
2980
|
* @param {ExecuteRequest} executeRequest
|
|
2981
2981
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2982
2982
|
* @param {*} [options] Override http request option.
|
|
2983
2983
|
* @throws {RequiredError}
|
|
2984
2984
|
* @memberof ToolboxApi
|
|
2985
2985
|
*/
|
|
2986
|
-
executeCommand(
|
|
2986
|
+
executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options) {
|
|
2987
2987
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
2988
|
-
.executeCommand(
|
|
2988
|
+
.executeCommand(sandboxId, executeRequest, xDaytonaOrganizationID, options)
|
|
2989
2989
|
.then((request) => request(this.axios, this.basePath));
|
|
2990
2990
|
}
|
|
2991
2991
|
/**
|
|
2992
2992
|
* Execute a command in a specific session
|
|
2993
2993
|
* @summary Execute command in session
|
|
2994
|
-
* @param {string}
|
|
2994
|
+
* @param {string} sandboxId
|
|
2995
2995
|
* @param {string} sessionId
|
|
2996
2996
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
2997
2997
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -2999,15 +2999,15 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
2999
2999
|
* @throws {RequiredError}
|
|
3000
3000
|
* @memberof ToolboxApi
|
|
3001
3001
|
*/
|
|
3002
|
-
executeSessionCommand(
|
|
3002
|
+
executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
3003
3003
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3004
|
-
.executeSessionCommand(
|
|
3004
|
+
.executeSessionCommand(sandboxId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
|
|
3005
3005
|
.then((request) => request(this.axios, this.basePath));
|
|
3006
3006
|
}
|
|
3007
3007
|
/**
|
|
3008
|
-
* Search for text/pattern inside
|
|
3008
|
+
* Search for text/pattern inside sandbox files
|
|
3009
3009
|
* @summary Search for text/pattern in files
|
|
3010
|
-
* @param {string}
|
|
3010
|
+
* @param {string} sandboxId
|
|
3011
3011
|
* @param {string} path
|
|
3012
3012
|
* @param {string} pattern
|
|
3013
3013
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -3015,59 +3015,59 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3015
3015
|
* @throws {RequiredError}
|
|
3016
3016
|
* @memberof ToolboxApi
|
|
3017
3017
|
*/
|
|
3018
|
-
findInFiles(
|
|
3018
|
+
findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
3019
3019
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3020
|
-
.findInFiles(
|
|
3020
|
+
.findInFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options)
|
|
3021
3021
|
.then((request) => request(this.axios, this.basePath));
|
|
3022
3022
|
}
|
|
3023
3023
|
/**
|
|
3024
|
-
* Get file info inside
|
|
3024
|
+
* Get file info inside sandbox
|
|
3025
3025
|
* @summary Get file info
|
|
3026
|
-
* @param {string}
|
|
3026
|
+
* @param {string} sandboxId
|
|
3027
3027
|
* @param {string} path
|
|
3028
3028
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3029
3029
|
* @param {*} [options] Override http request option.
|
|
3030
3030
|
* @throws {RequiredError}
|
|
3031
3031
|
* @memberof ToolboxApi
|
|
3032
3032
|
*/
|
|
3033
|
-
getFileInfo(
|
|
3033
|
+
getFileInfo(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
3034
3034
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3035
|
-
.getFileInfo(
|
|
3035
|
+
.getFileInfo(sandboxId, path, xDaytonaOrganizationID, options)
|
|
3036
3036
|
.then((request) => request(this.axios, this.basePath));
|
|
3037
3037
|
}
|
|
3038
3038
|
/**
|
|
3039
3039
|
*
|
|
3040
|
-
* @summary Get
|
|
3041
|
-
* @param {string}
|
|
3040
|
+
* @summary Get sandbox project dir
|
|
3041
|
+
* @param {string} sandboxId
|
|
3042
3042
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3043
3043
|
* @param {*} [options] Override http request option.
|
|
3044
3044
|
* @throws {RequiredError}
|
|
3045
3045
|
* @memberof ToolboxApi
|
|
3046
3046
|
*/
|
|
3047
|
-
getProjectDir(
|
|
3047
|
+
getProjectDir(sandboxId, xDaytonaOrganizationID, options) {
|
|
3048
3048
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3049
|
-
.getProjectDir(
|
|
3049
|
+
.getProjectDir(sandboxId, xDaytonaOrganizationID, options)
|
|
3050
3050
|
.then((request) => request(this.axios, this.basePath));
|
|
3051
3051
|
}
|
|
3052
3052
|
/**
|
|
3053
3053
|
* Get session by ID
|
|
3054
3054
|
* @summary Get session
|
|
3055
|
-
* @param {string}
|
|
3055
|
+
* @param {string} sandboxId
|
|
3056
3056
|
* @param {string} sessionId
|
|
3057
3057
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3058
3058
|
* @param {*} [options] Override http request option.
|
|
3059
3059
|
* @throws {RequiredError}
|
|
3060
3060
|
* @memberof ToolboxApi
|
|
3061
3061
|
*/
|
|
3062
|
-
getSession(
|
|
3062
|
+
getSession(sandboxId, sessionId, xDaytonaOrganizationID, options) {
|
|
3063
3063
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3064
|
-
.getSession(
|
|
3064
|
+
.getSession(sandboxId, sessionId, xDaytonaOrganizationID, options)
|
|
3065
3065
|
.then((request) => request(this.axios, this.basePath));
|
|
3066
3066
|
}
|
|
3067
3067
|
/**
|
|
3068
3068
|
* Get session command by ID
|
|
3069
3069
|
* @summary Get session command
|
|
3070
|
-
* @param {string}
|
|
3070
|
+
* @param {string} sandboxId
|
|
3071
3071
|
* @param {string} sessionId
|
|
3072
3072
|
* @param {string} commandId
|
|
3073
3073
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -3075,15 +3075,15 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3075
3075
|
* @throws {RequiredError}
|
|
3076
3076
|
* @memberof ToolboxApi
|
|
3077
3077
|
*/
|
|
3078
|
-
getSessionCommand(
|
|
3078
|
+
getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
3079
3079
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3080
|
-
.getSessionCommand(
|
|
3080
|
+
.getSessionCommand(sandboxId, sessionId, commandId, xDaytonaOrganizationID, options)
|
|
3081
3081
|
.then((request) => request(this.axios, this.basePath));
|
|
3082
3082
|
}
|
|
3083
3083
|
/**
|
|
3084
3084
|
* Get logs for a specific command in a session
|
|
3085
3085
|
* @summary Get command logs
|
|
3086
|
-
* @param {string}
|
|
3086
|
+
* @param {string} sandboxId
|
|
3087
3087
|
* @param {string} sessionId
|
|
3088
3088
|
* @param {string} commandId
|
|
3089
3089
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -3092,254 +3092,254 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3092
3092
|
* @throws {RequiredError}
|
|
3093
3093
|
* @memberof ToolboxApi
|
|
3094
3094
|
*/
|
|
3095
|
-
getSessionCommandLogs(
|
|
3095
|
+
getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
3096
3096
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3097
|
-
.getSessionCommandLogs(
|
|
3097
|
+
.getSessionCommandLogs(sandboxId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
|
|
3098
3098
|
.then((request) => request(this.axios, this.basePath));
|
|
3099
3099
|
}
|
|
3100
3100
|
/**
|
|
3101
3101
|
* Add files to git commit
|
|
3102
3102
|
* @summary Add files
|
|
3103
|
-
* @param {string}
|
|
3103
|
+
* @param {string} sandboxId
|
|
3104
3104
|
* @param {GitAddRequest} gitAddRequest
|
|
3105
3105
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3106
3106
|
* @param {*} [options] Override http request option.
|
|
3107
3107
|
* @throws {RequiredError}
|
|
3108
3108
|
* @memberof ToolboxApi
|
|
3109
3109
|
*/
|
|
3110
|
-
gitAddFiles(
|
|
3110
|
+
gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
3111
3111
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3112
|
-
.gitAddFiles(
|
|
3112
|
+
.gitAddFiles(sandboxId, gitAddRequest, xDaytonaOrganizationID, options)
|
|
3113
3113
|
.then((request) => request(this.axios, this.basePath));
|
|
3114
3114
|
}
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Checkout branch or commit in git repository
|
|
3117
3117
|
* @summary Checkout branch
|
|
3118
|
-
* @param {string}
|
|
3118
|
+
* @param {string} sandboxId
|
|
3119
3119
|
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
3120
3120
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3121
3121
|
* @param {*} [options] Override http request option.
|
|
3122
3122
|
* @throws {RequiredError}
|
|
3123
3123
|
* @memberof ToolboxApi
|
|
3124
3124
|
*/
|
|
3125
|
-
gitCheckoutBranch(
|
|
3125
|
+
gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options) {
|
|
3126
3126
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3127
|
-
.gitCheckoutBranch(
|
|
3127
|
+
.gitCheckoutBranch(sandboxId, gitCheckoutRequest, xDaytonaOrganizationID, options)
|
|
3128
3128
|
.then((request) => request(this.axios, this.basePath));
|
|
3129
3129
|
}
|
|
3130
3130
|
/**
|
|
3131
3131
|
* Clone git repository
|
|
3132
3132
|
* @summary Clone repository
|
|
3133
|
-
* @param {string}
|
|
3133
|
+
* @param {string} sandboxId
|
|
3134
3134
|
* @param {GitCloneRequest} gitCloneRequest
|
|
3135
3135
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3136
3136
|
* @param {*} [options] Override http request option.
|
|
3137
3137
|
* @throws {RequiredError}
|
|
3138
3138
|
* @memberof ToolboxApi
|
|
3139
3139
|
*/
|
|
3140
|
-
gitCloneRepository(
|
|
3140
|
+
gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
3141
3141
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3142
|
-
.gitCloneRepository(
|
|
3142
|
+
.gitCloneRepository(sandboxId, gitCloneRequest, xDaytonaOrganizationID, options)
|
|
3143
3143
|
.then((request) => request(this.axios, this.basePath));
|
|
3144
3144
|
}
|
|
3145
3145
|
/**
|
|
3146
3146
|
* Commit changes to git repository
|
|
3147
3147
|
* @summary Commit changes
|
|
3148
|
-
* @param {string}
|
|
3148
|
+
* @param {string} sandboxId
|
|
3149
3149
|
* @param {GitCommitRequest} gitCommitRequest
|
|
3150
3150
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3151
3151
|
* @param {*} [options] Override http request option.
|
|
3152
3152
|
* @throws {RequiredError}
|
|
3153
3153
|
* @memberof ToolboxApi
|
|
3154
3154
|
*/
|
|
3155
|
-
gitCommitChanges(
|
|
3155
|
+
gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
3156
3156
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3157
|
-
.gitCommitChanges(
|
|
3157
|
+
.gitCommitChanges(sandboxId, gitCommitRequest, xDaytonaOrganizationID, options)
|
|
3158
3158
|
.then((request) => request(this.axios, this.basePath));
|
|
3159
3159
|
}
|
|
3160
3160
|
/**
|
|
3161
3161
|
* Create branch on git repository
|
|
3162
3162
|
* @summary Create branch
|
|
3163
|
-
* @param {string}
|
|
3163
|
+
* @param {string} sandboxId
|
|
3164
3164
|
* @param {GitBranchRequest} gitBranchRequest
|
|
3165
3165
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3166
3166
|
* @param {*} [options] Override http request option.
|
|
3167
3167
|
* @throws {RequiredError}
|
|
3168
3168
|
* @memberof ToolboxApi
|
|
3169
3169
|
*/
|
|
3170
|
-
gitCreateBranch(
|
|
3170
|
+
gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
3171
3171
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3172
|
-
.gitCreateBranch(
|
|
3172
|
+
.gitCreateBranch(sandboxId, gitBranchRequest, xDaytonaOrganizationID, options)
|
|
3173
3173
|
.then((request) => request(this.axios, this.basePath));
|
|
3174
3174
|
}
|
|
3175
3175
|
/**
|
|
3176
3176
|
* Delete branch on git repository
|
|
3177
3177
|
* @summary Delete branch
|
|
3178
|
-
* @param {string}
|
|
3178
|
+
* @param {string} sandboxId
|
|
3179
3179
|
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
3180
3180
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3181
3181
|
* @param {*} [options] Override http request option.
|
|
3182
3182
|
* @throws {RequiredError}
|
|
3183
3183
|
* @memberof ToolboxApi
|
|
3184
3184
|
*/
|
|
3185
|
-
gitDeleteBranch(
|
|
3185
|
+
gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options) {
|
|
3186
3186
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3187
|
-
.gitDeleteBranch(
|
|
3187
|
+
.gitDeleteBranch(sandboxId, gitDeleteBranchRequest, xDaytonaOrganizationID, options)
|
|
3188
3188
|
.then((request) => request(this.axios, this.basePath));
|
|
3189
3189
|
}
|
|
3190
3190
|
/**
|
|
3191
3191
|
* Get commit history from git repository
|
|
3192
3192
|
* @summary Get commit history
|
|
3193
|
-
* @param {string}
|
|
3193
|
+
* @param {string} sandboxId
|
|
3194
3194
|
* @param {string} path
|
|
3195
3195
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3196
3196
|
* @param {*} [options] Override http request option.
|
|
3197
3197
|
* @throws {RequiredError}
|
|
3198
3198
|
* @memberof ToolboxApi
|
|
3199
3199
|
*/
|
|
3200
|
-
gitGetHistory(
|
|
3200
|
+
gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
3201
3201
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3202
|
-
.gitGetHistory(
|
|
3202
|
+
.gitGetHistory(sandboxId, path, xDaytonaOrganizationID, options)
|
|
3203
3203
|
.then((request) => request(this.axios, this.basePath));
|
|
3204
3204
|
}
|
|
3205
3205
|
/**
|
|
3206
3206
|
* Get status from git repository
|
|
3207
3207
|
* @summary Get git status
|
|
3208
|
-
* @param {string}
|
|
3208
|
+
* @param {string} sandboxId
|
|
3209
3209
|
* @param {string} path
|
|
3210
3210
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3211
3211
|
* @param {*} [options] Override http request option.
|
|
3212
3212
|
* @throws {RequiredError}
|
|
3213
3213
|
* @memberof ToolboxApi
|
|
3214
3214
|
*/
|
|
3215
|
-
gitGetStatus(
|
|
3215
|
+
gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
3216
3216
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3217
|
-
.gitGetStatus(
|
|
3217
|
+
.gitGetStatus(sandboxId, path, xDaytonaOrganizationID, options)
|
|
3218
3218
|
.then((request) => request(this.axios, this.basePath));
|
|
3219
3219
|
}
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Get branch list from git repository
|
|
3222
3222
|
* @summary Get branch list
|
|
3223
|
-
* @param {string}
|
|
3223
|
+
* @param {string} sandboxId
|
|
3224
3224
|
* @param {string} path
|
|
3225
3225
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3226
3226
|
* @param {*} [options] Override http request option.
|
|
3227
3227
|
* @throws {RequiredError}
|
|
3228
3228
|
* @memberof ToolboxApi
|
|
3229
3229
|
*/
|
|
3230
|
-
gitListBranches(
|
|
3230
|
+
gitListBranches(sandboxId, path, xDaytonaOrganizationID, options) {
|
|
3231
3231
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3232
|
-
.gitListBranches(
|
|
3232
|
+
.gitListBranches(sandboxId, path, xDaytonaOrganizationID, options)
|
|
3233
3233
|
.then((request) => request(this.axios, this.basePath));
|
|
3234
3234
|
}
|
|
3235
3235
|
/**
|
|
3236
3236
|
* Pull changes from remote
|
|
3237
3237
|
* @summary Pull changes
|
|
3238
|
-
* @param {string}
|
|
3238
|
+
* @param {string} sandboxId
|
|
3239
3239
|
* @param {GitRepoRequest} gitRepoRequest
|
|
3240
3240
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3241
3241
|
* @param {*} [options] Override http request option.
|
|
3242
3242
|
* @throws {RequiredError}
|
|
3243
3243
|
* @memberof ToolboxApi
|
|
3244
3244
|
*/
|
|
3245
|
-
gitPullChanges(
|
|
3245
|
+
gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
3246
3246
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3247
|
-
.gitPullChanges(
|
|
3247
|
+
.gitPullChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
3248
3248
|
.then((request) => request(this.axios, this.basePath));
|
|
3249
3249
|
}
|
|
3250
3250
|
/**
|
|
3251
3251
|
* Push changes to remote
|
|
3252
3252
|
* @summary Push changes
|
|
3253
|
-
* @param {string}
|
|
3253
|
+
* @param {string} sandboxId
|
|
3254
3254
|
* @param {GitRepoRequest} gitRepoRequest
|
|
3255
3255
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3256
3256
|
* @param {*} [options] Override http request option.
|
|
3257
3257
|
* @throws {RequiredError}
|
|
3258
3258
|
* @memberof ToolboxApi
|
|
3259
3259
|
*/
|
|
3260
|
-
gitPushChanges(
|
|
3260
|
+
gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
3261
3261
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3262
|
-
.gitPushChanges(
|
|
3262
|
+
.gitPushChanges(sandboxId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
3263
3263
|
.then((request) => request(this.axios, this.basePath));
|
|
3264
3264
|
}
|
|
3265
3265
|
/**
|
|
3266
3266
|
*
|
|
3267
3267
|
* @summary List files
|
|
3268
|
-
* @param {string}
|
|
3268
|
+
* @param {string} sandboxId
|
|
3269
3269
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3270
3270
|
* @param {string} [path]
|
|
3271
3271
|
* @param {*} [options] Override http request option.
|
|
3272
3272
|
* @throws {RequiredError}
|
|
3273
3273
|
* @memberof ToolboxApi
|
|
3274
3274
|
*/
|
|
3275
|
-
listFiles(
|
|
3275
|
+
listFiles(sandboxId, xDaytonaOrganizationID, path, options) {
|
|
3276
3276
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3277
|
-
.listFiles(
|
|
3277
|
+
.listFiles(sandboxId, xDaytonaOrganizationID, path, options)
|
|
3278
3278
|
.then((request) => request(this.axios, this.basePath));
|
|
3279
3279
|
}
|
|
3280
3280
|
/**
|
|
3281
|
-
* List all active sessions in the
|
|
3281
|
+
* List all active sessions in the sandbox
|
|
3282
3282
|
* @summary List sessions
|
|
3283
|
-
* @param {string}
|
|
3283
|
+
* @param {string} sandboxId
|
|
3284
3284
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3285
3285
|
* @param {*} [options] Override http request option.
|
|
3286
3286
|
* @throws {RequiredError}
|
|
3287
3287
|
* @memberof ToolboxApi
|
|
3288
3288
|
*/
|
|
3289
|
-
listSessions(
|
|
3289
|
+
listSessions(sandboxId, xDaytonaOrganizationID, options) {
|
|
3290
3290
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3291
|
-
.listSessions(
|
|
3291
|
+
.listSessions(sandboxId, xDaytonaOrganizationID, options)
|
|
3292
3292
|
.then((request) => request(this.axios, this.basePath));
|
|
3293
3293
|
}
|
|
3294
3294
|
/**
|
|
3295
3295
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
3296
3296
|
* @summary Get Lsp Completions
|
|
3297
|
-
* @param {string}
|
|
3297
|
+
* @param {string} sandboxId
|
|
3298
3298
|
* @param {LspCompletionParams} lspCompletionParams
|
|
3299
3299
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3300
3300
|
* @param {*} [options] Override http request option.
|
|
3301
3301
|
* @throws {RequiredError}
|
|
3302
3302
|
* @memberof ToolboxApi
|
|
3303
3303
|
*/
|
|
3304
|
-
lspCompletions(
|
|
3304
|
+
lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
3305
3305
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3306
|
-
.lspCompletions(
|
|
3306
|
+
.lspCompletions(sandboxId, lspCompletionParams, xDaytonaOrganizationID, options)
|
|
3307
3307
|
.then((request) => request(this.axios, this.basePath));
|
|
3308
3308
|
}
|
|
3309
3309
|
/**
|
|
3310
3310
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
3311
3311
|
* @summary Call Lsp DidClose
|
|
3312
|
-
* @param {string}
|
|
3312
|
+
* @param {string} sandboxId
|
|
3313
3313
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
3314
3314
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3315
3315
|
* @param {*} [options] Override http request option.
|
|
3316
3316
|
* @throws {RequiredError}
|
|
3317
3317
|
* @memberof ToolboxApi
|
|
3318
3318
|
*/
|
|
3319
|
-
lspDidClose(
|
|
3319
|
+
lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
3320
3320
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3321
|
-
.lspDidClose(
|
|
3321
|
+
.lspDidClose(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
3322
3322
|
.then((request) => request(this.axios, this.basePath));
|
|
3323
3323
|
}
|
|
3324
3324
|
/**
|
|
3325
3325
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
3326
3326
|
* @summary Call Lsp DidOpen
|
|
3327
|
-
* @param {string}
|
|
3327
|
+
* @param {string} sandboxId
|
|
3328
3328
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
3329
3329
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3330
3330
|
* @param {*} [options] Override http request option.
|
|
3331
3331
|
* @throws {RequiredError}
|
|
3332
3332
|
* @memberof ToolboxApi
|
|
3333
3333
|
*/
|
|
3334
|
-
lspDidOpen(
|
|
3334
|
+
lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
3335
3335
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3336
|
-
.lspDidOpen(
|
|
3336
|
+
.lspDidOpen(sandboxId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
3337
3337
|
.then((request) => request(this.axios, this.basePath));
|
|
3338
3338
|
}
|
|
3339
3339
|
/**
|
|
3340
3340
|
* The document symbol request is sent from the client to the server.
|
|
3341
3341
|
* @summary Call Lsp DocumentSymbols
|
|
3342
|
-
* @param {string}
|
|
3342
|
+
* @param {string} sandboxId
|
|
3343
3343
|
* @param {string} languageId
|
|
3344
3344
|
* @param {string} pathToProject
|
|
3345
3345
|
* @param {string} uri
|
|
@@ -3348,62 +3348,62 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3348
3348
|
* @throws {RequiredError}
|
|
3349
3349
|
* @memberof ToolboxApi
|
|
3350
3350
|
*/
|
|
3351
|
-
lspDocumentSymbols(
|
|
3351
|
+
lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
3352
3352
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3353
|
-
.lspDocumentSymbols(
|
|
3353
|
+
.lspDocumentSymbols(sandboxId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
|
|
3354
3354
|
.then((request) => request(this.axios, this.basePath));
|
|
3355
3355
|
}
|
|
3356
3356
|
/**
|
|
3357
|
-
*
|
|
3358
|
-
* @summary
|
|
3359
|
-
* @param {string}
|
|
3360
|
-
* @param {
|
|
3357
|
+
* The sandbox symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
3358
|
+
* @summary Call Lsp SandboxSymbols
|
|
3359
|
+
* @param {string} sandboxId
|
|
3360
|
+
* @param {string} languageId
|
|
3361
|
+
* @param {string} pathToProject
|
|
3362
|
+
* @param {string} query
|
|
3361
3363
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3362
3364
|
* @param {*} [options] Override http request option.
|
|
3363
3365
|
* @throws {RequiredError}
|
|
3364
3366
|
* @memberof ToolboxApi
|
|
3365
3367
|
*/
|
|
3366
|
-
|
|
3368
|
+
lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
3367
3369
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3368
|
-
.
|
|
3370
|
+
.lspSandboxSymbols(sandboxId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
|
|
3369
3371
|
.then((request) => request(this.axios, this.basePath));
|
|
3370
3372
|
}
|
|
3371
3373
|
/**
|
|
3372
|
-
*
|
|
3373
|
-
* @summary
|
|
3374
|
-
* @param {string}
|
|
3374
|
+
* Start Lsp server process inside sandbox project
|
|
3375
|
+
* @summary Start Lsp server
|
|
3376
|
+
* @param {string} sandboxId
|
|
3375
3377
|
* @param {LspServerRequest} lspServerRequest
|
|
3376
3378
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3377
3379
|
* @param {*} [options] Override http request option.
|
|
3378
3380
|
* @throws {RequiredError}
|
|
3379
3381
|
* @memberof ToolboxApi
|
|
3380
3382
|
*/
|
|
3381
|
-
|
|
3383
|
+
lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
3382
3384
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3383
|
-
.
|
|
3385
|
+
.lspStart(sandboxId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
3384
3386
|
.then((request) => request(this.axios, this.basePath));
|
|
3385
3387
|
}
|
|
3386
3388
|
/**
|
|
3387
|
-
*
|
|
3388
|
-
* @summary
|
|
3389
|
-
* @param {string}
|
|
3390
|
-
* @param {
|
|
3391
|
-
* @param {string} pathToProject
|
|
3392
|
-
* @param {string} query
|
|
3389
|
+
* Stop Lsp server process inside sandbox project
|
|
3390
|
+
* @summary Stop Lsp server
|
|
3391
|
+
* @param {string} sandboxId
|
|
3392
|
+
* @param {LspServerRequest} lspServerRequest
|
|
3393
3393
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3394
3394
|
* @param {*} [options] Override http request option.
|
|
3395
3395
|
* @throws {RequiredError}
|
|
3396
3396
|
* @memberof ToolboxApi
|
|
3397
3397
|
*/
|
|
3398
|
-
|
|
3398
|
+
lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
3399
3399
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3400
|
-
.
|
|
3400
|
+
.lspStop(sandboxId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
3401
3401
|
.then((request) => request(this.axios, this.basePath));
|
|
3402
3402
|
}
|
|
3403
3403
|
/**
|
|
3404
|
-
* Move file inside
|
|
3404
|
+
* Move file inside sandbox
|
|
3405
3405
|
* @summary Move file
|
|
3406
|
-
* @param {string}
|
|
3406
|
+
* @param {string} sandboxId
|
|
3407
3407
|
* @param {string} source
|
|
3408
3408
|
* @param {string} destination
|
|
3409
3409
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -3411,30 +3411,30 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3411
3411
|
* @throws {RequiredError}
|
|
3412
3412
|
* @memberof ToolboxApi
|
|
3413
3413
|
*/
|
|
3414
|
-
moveFile(
|
|
3414
|
+
moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options) {
|
|
3415
3415
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3416
|
-
.moveFile(
|
|
3416
|
+
.moveFile(sandboxId, source, destination, xDaytonaOrganizationID, options)
|
|
3417
3417
|
.then((request) => request(this.axios, this.basePath));
|
|
3418
3418
|
}
|
|
3419
3419
|
/**
|
|
3420
|
-
* Replace text/pattern in multiple files inside
|
|
3420
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
3421
3421
|
* @summary Replace in files
|
|
3422
|
-
* @param {string}
|
|
3422
|
+
* @param {string} sandboxId
|
|
3423
3423
|
* @param {ReplaceRequest} replaceRequest
|
|
3424
3424
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3425
3425
|
* @param {*} [options] Override http request option.
|
|
3426
3426
|
* @throws {RequiredError}
|
|
3427
3427
|
* @memberof ToolboxApi
|
|
3428
3428
|
*/
|
|
3429
|
-
replaceInFiles(
|
|
3429
|
+
replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
3430
3430
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3431
|
-
.replaceInFiles(
|
|
3431
|
+
.replaceInFiles(sandboxId, replaceRequest, xDaytonaOrganizationID, options)
|
|
3432
3432
|
.then((request) => request(this.axios, this.basePath));
|
|
3433
3433
|
}
|
|
3434
3434
|
/**
|
|
3435
|
-
* Search for files inside
|
|
3435
|
+
* Search for files inside sandbox
|
|
3436
3436
|
* @summary Search files
|
|
3437
|
-
* @param {string}
|
|
3437
|
+
* @param {string} sandboxId
|
|
3438
3438
|
* @param {string} path
|
|
3439
3439
|
* @param {string} pattern
|
|
3440
3440
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
@@ -3442,15 +3442,15 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3442
3442
|
* @throws {RequiredError}
|
|
3443
3443
|
* @memberof ToolboxApi
|
|
3444
3444
|
*/
|
|
3445
|
-
searchFiles(
|
|
3445
|
+
searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options) {
|
|
3446
3446
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3447
|
-
.searchFiles(
|
|
3447
|
+
.searchFiles(sandboxId, path, pattern, xDaytonaOrganizationID, options)
|
|
3448
3448
|
.then((request) => request(this.axios, this.basePath));
|
|
3449
3449
|
}
|
|
3450
3450
|
/**
|
|
3451
|
-
* Set file owner/group/permissions inside
|
|
3451
|
+
* Set file owner/group/permissions inside sandbox
|
|
3452
3452
|
* @summary Set file permissions
|
|
3453
|
-
* @param {string}
|
|
3453
|
+
* @param {string} sandboxId
|
|
3454
3454
|
* @param {string} path
|
|
3455
3455
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3456
3456
|
* @param {string} [owner]
|
|
@@ -3460,15 +3460,15 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3460
3460
|
* @throws {RequiredError}
|
|
3461
3461
|
* @memberof ToolboxApi
|
|
3462
3462
|
*/
|
|
3463
|
-
setFilePermissions(
|
|
3463
|
+
setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
3464
3464
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3465
|
-
.setFilePermissions(
|
|
3465
|
+
.setFilePermissions(sandboxId, path, xDaytonaOrganizationID, owner, group, mode, options)
|
|
3466
3466
|
.then((request) => request(this.axios, this.basePath));
|
|
3467
3467
|
}
|
|
3468
3468
|
/**
|
|
3469
|
-
* Upload file inside
|
|
3469
|
+
* Upload file inside sandbox
|
|
3470
3470
|
* @summary Upload file
|
|
3471
|
-
* @param {string}
|
|
3471
|
+
* @param {string} sandboxId
|
|
3472
3472
|
* @param {string} path
|
|
3473
3473
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3474
3474
|
* @param {File} [file]
|
|
@@ -3477,23 +3477,23 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
3477
3477
|
* @throws {RequiredError}
|
|
3478
3478
|
* @memberof ToolboxApi
|
|
3479
3479
|
*/
|
|
3480
|
-
uploadFile(
|
|
3480
|
+
uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options) {
|
|
3481
3481
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3482
|
-
.uploadFile(
|
|
3482
|
+
.uploadFile(sandboxId, path, xDaytonaOrganizationID, file, options)
|
|
3483
3483
|
.then((request) => request(this.axios, this.basePath));
|
|
3484
3484
|
}
|
|
3485
3485
|
/**
|
|
3486
|
-
* Upload multiple files inside
|
|
3486
|
+
* Upload multiple files inside sandbox
|
|
3487
3487
|
* @summary Upload multiple files
|
|
3488
|
-
* @param {string}
|
|
3488
|
+
* @param {string} sandboxId
|
|
3489
3489
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3490
3490
|
* @param {*} [options] Override http request option.
|
|
3491
3491
|
* @throws {RequiredError}
|
|
3492
3492
|
* @memberof ToolboxApi
|
|
3493
3493
|
*/
|
|
3494
|
-
uploadFiles(
|
|
3494
|
+
uploadFiles(sandboxId, xDaytonaOrganizationID, options) {
|
|
3495
3495
|
return (0, exports.ToolboxApiFp)(this.configuration)
|
|
3496
|
-
.uploadFiles(
|
|
3496
|
+
.uploadFiles(sandboxId, xDaytonaOrganizationID, options)
|
|
3497
3497
|
.then((request) => request(this.axios, this.basePath));
|
|
3498
3498
|
}
|
|
3499
3499
|
}
|