@daytonaio/api-client 0.15.0 → 0.17.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/.openapi-generator/FILES +5 -3
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +7 -0
- package/api/api-keys-api.ts +412 -324
- package/api/docker-registry-api.ts +731 -549
- package/api/images-api.ts +596 -346
- package/api/nodes-api.ts +259 -210
- package/api/organizations-api.ts +2504 -1671
- package/api/preview-api.ts +330 -0
- package/api/toolbox-api.ts +4651 -3186
- package/api/users-api.ts +317 -271
- package/api/workspace-api.ts +1536 -969
- package/api.ts +10 -12
- package/base.ts +35 -30
- package/common.ts +78 -66
- package/configuration.ts +102 -89
- package/dist/api/api-keys-api.js +66 -63
- package/dist/api/docker-registry-api.js +123 -107
- package/dist/api/images-api.d.ts +42 -0
- package/dist/api/images-api.js +161 -66
- package/dist/api/nodes-api.js +46 -47
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +560 -336
- package/dist/api/preview-api.d.ts +143 -0
- package/dist/api/preview-api.js +269 -0
- package/dist/api/toolbox-api.js +709 -569
- package/dist/api/users-api.js +49 -59
- package/dist/api/workspace-api.d.ts +51 -4
- package/dist/api/workspace-api.js +330 -190
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +6 -7
- package/dist/common.d.ts +3 -3
- package/dist/common.js +27 -45
- package/dist/configuration.js +2 -1
- package/dist/esm/api/api-keys-api.js +67 -64
- package/dist/esm/api/docker-registry-api.js +124 -108
- package/dist/esm/api/images-api.d.ts +42 -0
- package/dist/esm/api/images-api.js +162 -67
- package/dist/esm/api/nodes-api.js +47 -48
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +561 -337
- package/dist/esm/api/preview-api.d.ts +143 -0
- package/dist/esm/api/preview-api.js +262 -0
- package/dist/esm/api/toolbox-api.js +710 -570
- package/dist/esm/api/users-api.js +50 -60
- package/dist/esm/api/workspace-api.d.ts +51 -4
- package/dist/esm/api/workspace-api.js +331 -191
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/base.js +6 -7
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +28 -46
- package/dist/esm/configuration.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/models/api-key-list.d.ts +12 -12
- package/dist/esm/models/api-key-list.js +6 -6
- package/dist/esm/models/api-key-response.d.ts +12 -12
- package/dist/esm/models/api-key-response.js +6 -6
- package/dist/esm/models/command.d.ts +3 -3
- package/dist/esm/models/completion-context.d.ts +2 -2
- package/dist/esm/models/completion-item.d.ts +7 -7
- package/dist/esm/models/completion-list.d.ts +2 -2
- package/dist/esm/models/create-api-key.d.ts +9 -9
- package/dist/esm/models/create-api-key.js +6 -6
- package/dist/esm/models/create-docker-registry.d.ts +8 -8
- package/dist/esm/models/create-docker-registry.js +1 -1
- package/dist/esm/models/create-image.d.ts +9 -3
- package/dist/esm/models/create-node.d.ts +13 -13
- package/dist/esm/models/create-node.js +2 -2
- package/dist/esm/models/create-organization-invitation.d.ts +6 -6
- package/dist/esm/models/create-organization-invitation.js +1 -1
- package/dist/esm/models/create-organization-quota.d.ts +11 -11
- package/dist/esm/models/create-organization-role.d.ts +10 -10
- package/dist/esm/models/create-organization-role.js +6 -6
- package/dist/esm/models/create-organization.d.ts +1 -67
- package/dist/esm/models/create-session-request.d.ts +1 -1
- package/dist/esm/models/create-user.d.ts +15 -4
- package/dist/esm/models/create-user.js +4 -1
- package/dist/esm/models/create-workspace.d.ts +14 -26
- package/dist/esm/models/create-workspace.js +2 -2
- package/dist/esm/models/docker-registry.d.ts +11 -11
- package/dist/esm/models/docker-registry.js +1 -1
- package/dist/esm/models/execute-request.d.ts +3 -3
- package/dist/esm/models/execute-response.d.ts +2 -2
- package/dist/esm/models/file-info.d.ts +8 -8
- package/dist/esm/models/file-status.d.ts +4 -4
- package/dist/esm/models/git-add-request.d.ts +2 -2
- package/dist/esm/models/git-branch-request.d.ts +2 -2
- package/dist/esm/models/git-clone-request.d.ts +6 -6
- package/dist/esm/models/git-commit-info.d.ts +5 -5
- package/dist/esm/models/git-commit-request.d.ts +4 -4
- package/dist/esm/models/git-commit-response.d.ts +1 -1
- package/dist/esm/models/git-repo-request.d.ts +3 -3
- package/dist/esm/models/git-status.d.ts +4 -4
- package/dist/esm/models/image-dto.d.ts +21 -15
- package/dist/esm/models/image-state.d.ts +1 -1
- package/dist/esm/models/image-state.js +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/list-branch-response.d.ts +1 -1
- package/dist/esm/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/esm/models/list-workspaces-labels-parameter.js +14 -0
- package/dist/esm/models/lsp-completion-params.d.ts +5 -5
- package/dist/esm/models/lsp-document-request.d.ts +3 -3
- package/dist/esm/models/lsp-location.d.ts +2 -2
- package/dist/esm/models/lsp-server-request.d.ts +2 -2
- package/dist/esm/models/lsp-symbol.d.ts +3 -3
- package/dist/esm/models/match.d.ts +3 -3
- package/dist/esm/models/organization-invitation.d.ts +21 -15
- package/dist/esm/models/organization-invitation.js +2 -2
- package/dist/esm/models/organization-role.d.ts +16 -16
- package/dist/esm/models/organization-role.js +6 -6
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization-user.d.ts +11 -11
- package/dist/esm/models/organization-user.js +1 -1
- package/dist/esm/models/organization.d.ts +31 -7
- package/dist/esm/models/paginated-images-dto.d.ts +4 -4
- package/dist/esm/models/port-preview-url.d.ts +30 -0
- package/dist/esm/models/port-preview-url.js +14 -0
- package/dist/esm/models/position.d.ts +2 -2
- package/dist/esm/models/project-dir-response.d.ts +1 -1
- package/dist/esm/models/range.d.ts +2 -2
- package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
- package/dist/esm/models/replace-request.d.ts +3 -3
- package/dist/esm/models/replace-result.d.ts +3 -3
- package/dist/esm/models/search-files-response.d.ts +1 -1
- package/dist/esm/models/session-execute-request.d.ts +9 -2
- package/dist/esm/models/session-execute-response.d.ts +3 -3
- package/dist/esm/models/session.d.ts +2 -2
- package/dist/esm/models/set-image-general-status.d.ts +24 -0
- package/dist/esm/models/set-image-general-status.js +14 -0
- package/dist/esm/models/toggle-state.d.ts +1 -1
- package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/esm/models/update-docker-registry.d.ts +3 -3
- package/dist/esm/models/update-organization-invitation.d.ts +5 -5
- package/dist/esm/models/update-organization-invitation.js +1 -1
- package/dist/esm/models/update-organization-member-role.d.ts +2 -2
- package/dist/esm/models/update-organization-member-role.js +1 -1
- package/dist/esm/models/update-organization-quota.d.ts +11 -11
- package/dist/esm/models/update-organization-role.d.ts +10 -10
- package/dist/esm/models/update-organization-role.js +6 -6
- package/dist/esm/models/usage-overview.d.ts +15 -15
- package/dist/esm/models/user-public-key.d.ts +2 -2
- package/dist/esm/models/user.d.ts +4 -4
- package/dist/esm/models/workspace-info.d.ts +5 -4
- package/dist/esm/models/workspace-labels.d.ts +1 -1
- package/dist/esm/models/workspace-state.d.ts +2 -2
- package/dist/esm/models/workspace-state.js +2 -2
- package/dist/esm/models/workspace.d.ts +26 -19
- package/dist/esm/models/workspace.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/models/api-key-list.d.ts +12 -12
- package/dist/models/api-key-list.js +6 -6
- package/dist/models/api-key-response.d.ts +12 -12
- package/dist/models/api-key-response.js +6 -6
- package/dist/models/command.d.ts +3 -3
- package/dist/models/completion-context.d.ts +2 -2
- package/dist/models/completion-item.d.ts +7 -7
- package/dist/models/completion-list.d.ts +2 -2
- package/dist/models/create-api-key.d.ts +9 -9
- package/dist/models/create-api-key.js +6 -6
- package/dist/models/create-docker-registry.d.ts +8 -8
- package/dist/models/create-docker-registry.js +1 -1
- package/dist/models/create-image.d.ts +9 -3
- package/dist/models/create-node.d.ts +13 -13
- package/dist/models/create-node.js +2 -2
- package/dist/models/create-organization-invitation.d.ts +6 -6
- package/dist/models/create-organization-invitation.js +1 -1
- package/dist/models/create-organization-quota.d.ts +11 -11
- package/dist/models/create-organization-role.d.ts +10 -10
- package/dist/models/create-organization-role.js +6 -6
- package/dist/models/create-organization.d.ts +1 -67
- package/dist/models/create-session-request.d.ts +1 -1
- package/dist/models/create-user.d.ts +15 -4
- package/dist/models/create-user.js +5 -0
- package/dist/models/create-workspace.d.ts +14 -26
- package/dist/models/create-workspace.js +2 -2
- package/dist/models/docker-registry.d.ts +11 -11
- package/dist/models/docker-registry.js +1 -1
- package/dist/models/execute-request.d.ts +3 -3
- package/dist/models/execute-response.d.ts +2 -2
- package/dist/models/file-info.d.ts +8 -8
- package/dist/models/file-status.d.ts +4 -4
- package/dist/models/git-add-request.d.ts +2 -2
- package/dist/models/git-branch-request.d.ts +2 -2
- package/dist/models/git-clone-request.d.ts +6 -6
- package/dist/models/git-commit-info.d.ts +5 -5
- package/dist/models/git-commit-request.d.ts +4 -4
- package/dist/models/git-commit-response.d.ts +1 -1
- package/dist/models/git-repo-request.d.ts +3 -3
- package/dist/models/git-status.d.ts +4 -4
- package/dist/models/image-dto.d.ts +21 -15
- package/dist/models/image-state.d.ts +1 -1
- package/dist/models/image-state.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-branch-response.d.ts +1 -1
- package/dist/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/models/list-workspaces-labels-parameter.js +15 -0
- package/dist/models/lsp-completion-params.d.ts +5 -5
- package/dist/models/lsp-document-request.d.ts +3 -3
- package/dist/models/lsp-location.d.ts +2 -2
- package/dist/models/lsp-server-request.d.ts +2 -2
- package/dist/models/lsp-symbol.d.ts +3 -3
- package/dist/models/match.d.ts +3 -3
- package/dist/models/organization-invitation.d.ts +21 -15
- package/dist/models/organization-invitation.js +2 -2
- package/dist/models/organization-role.d.ts +16 -16
- package/dist/models/organization-role.js +6 -6
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization-user.d.ts +11 -11
- package/dist/models/organization-user.js +1 -1
- package/dist/models/organization.d.ts +31 -7
- package/dist/models/paginated-images-dto.d.ts +4 -4
- package/dist/models/port-preview-url.d.ts +30 -0
- package/dist/models/port-preview-url.js +15 -0
- package/dist/models/position.d.ts +2 -2
- package/dist/models/project-dir-response.d.ts +1 -1
- package/dist/models/range.d.ts +2 -2
- package/dist/models/registry-push-access-dto.d.ts +6 -6
- package/dist/models/replace-request.d.ts +3 -3
- package/dist/models/replace-result.d.ts +3 -3
- package/dist/models/search-files-response.d.ts +1 -1
- package/dist/models/session-execute-request.d.ts +9 -2
- package/dist/models/session-execute-response.d.ts +3 -3
- package/dist/models/session.d.ts +2 -2
- package/dist/models/set-image-general-status.d.ts +24 -0
- package/dist/models/set-image-general-status.js +15 -0
- package/dist/models/toggle-state.d.ts +1 -1
- package/dist/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/models/update-docker-registry.d.ts +3 -3
- package/dist/models/update-organization-invitation.d.ts +5 -5
- package/dist/models/update-organization-invitation.js +1 -1
- package/dist/models/update-organization-member-role.d.ts +2 -2
- package/dist/models/update-organization-member-role.js +1 -1
- package/dist/models/update-organization-quota.d.ts +11 -11
- package/dist/models/update-organization-role.d.ts +10 -10
- package/dist/models/update-organization-role.js +6 -6
- package/dist/models/usage-overview.d.ts +15 -15
- package/dist/models/user-public-key.d.ts +2 -2
- package/dist/models/user.d.ts +4 -4
- package/dist/models/workspace-info.d.ts +5 -4
- package/dist/models/workspace-labels.d.ts +1 -1
- package/dist/models/workspace-state.d.ts +2 -2
- package/dist/models/workspace-state.js +2 -2
- package/dist/models/workspace.d.ts +26 -19
- package/dist/models/workspace.js +1 -1
- package/index.ts +4 -5
- package/models/api-key-list.ts +34 -38
- package/models/api-key-response.ts +35 -38
- package/models/command.ts +20 -23
- package/models/completion-context.ts +14 -17
- package/models/completion-item.ts +44 -47
- package/models/completion-list.ts +15 -17
- package/models/create-api-key.ts +22 -26
- package/models/create-docker-registry.ts +51 -54
- package/models/create-image.ts +20 -17
- package/models/create-node.ts +78 -82
- package/models/create-organization-invitation.ts +31 -34
- package/models/create-organization-quota.ts +68 -71
- package/models/create-organization-role.ts +29 -32
- package/models/create-organization.ts +8 -77
- package/models/create-session-request.ts +8 -11
- package/models/create-user.ts +39 -28
- package/models/create-workspace.ts +84 -100
- package/models/docker-registry.ts +57 -60
- package/models/execute-request.ts +20 -23
- package/models/execute-response.ts +14 -17
- package/models/file-info.ts +50 -53
- package/models/file-status.ts +26 -29
- package/models/git-add-request.ts +14 -17
- package/models/git-branch-request.ts +14 -17
- package/models/git-clone-request.ts +38 -41
- package/models/git-commit-info.ts +32 -35
- package/models/git-commit-request.ts +26 -29
- package/models/git-commit-response.ts +8 -11
- package/models/git-repo-request.ts +20 -23
- package/models/git-status.ts +33 -35
- package/models/image-dto.ts +75 -73
- package/models/image-state.ts +12 -17
- package/models/index.ts +72 -68
- package/models/list-branch-response.ts +8 -11
- package/models/list-workspaces-labels-parameter.ts +27 -0
- package/models/lsp-completion-params.ts +34 -36
- package/models/lsp-document-request.ts +20 -23
- package/models/lsp-location.ts +15 -17
- package/models/lsp-server-request.ts +14 -17
- package/models/lsp-symbol.ts +21 -23
- package/models/match.ts +20 -23
- package/models/organization-invitation.ts +81 -76
- package/models/organization-role.ts +53 -56
- package/models/organization-suspension.ts +33 -0
- package/models/organization-user.ts +55 -58
- package/models/organization.ts +62 -41
- package/models/paginated-images-dto.ts +27 -29
- package/models/port-preview-url.ts +33 -0
- package/models/position.ts +14 -17
- package/models/project-dir-response.ts +8 -11
- package/models/range.ts +15 -17
- package/models/registry-push-access-dto.ts +38 -41
- package/models/replace-request.ts +20 -23
- package/models/replace-result.ts +20 -23
- package/models/search-files-response.ts +8 -11
- package/models/session-execute-request.ts +21 -17
- package/models/session-execute-response.ts +20 -23
- package/models/session.ts +15 -17
- package/models/set-image-general-status.ts +27 -0
- package/models/toggle-state.ts +8 -11
- package/models/update-assigned-organization-roles.ts +8 -11
- package/models/update-docker-registry.ts +20 -23
- package/models/update-organization-invitation.ts +25 -28
- package/models/update-organization-member-role.ts +13 -16
- package/models/update-organization-quota.ts +68 -71
- package/models/update-organization-role.ts +29 -32
- package/models/usage-overview.ts +92 -95
- package/models/user-public-key.ts +14 -17
- package/models/user.ts +27 -29
- package/models/workspace-info.ts +21 -23
- package/models/workspace-labels.ts +8 -11
- package/models/workspace-state.ts +19 -24
- package/models/workspace.ts +126 -122
- package/package.json +2 -2
- package/project.json +49 -0
- package/tsconfig.json +3 -8
- package/README.md +0 -46
- package/git_push.sh +0 -57
|
@@ -11,19 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
14
|
import globalAxios from 'axios';
|
|
24
15
|
// Some imports not used depending on template conditions
|
|
25
16
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, } from '../common';
|
|
27
18
|
// @ts-ignore
|
|
28
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
20
|
/**
|
|
@@ -42,15 +33,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
42
33
|
* @param {*} [options] Override http request option.
|
|
43
34
|
* @throws {RequiredError}
|
|
44
35
|
*/
|
|
45
|
-
createFolder:
|
|
36
|
+
createFolder: async (workspaceId, path, mode, xDaytonaOrganizationID, options = {}) => {
|
|
46
37
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
47
38
|
assertParamExists('createFolder', 'workspaceId', workspaceId);
|
|
48
39
|
// verify required parameter 'path' is not null or undefined
|
|
49
40
|
assertParamExists('createFolder', 'path', path);
|
|
50
41
|
// verify required parameter 'mode' is not null or undefined
|
|
51
42
|
assertParamExists('createFolder', 'mode', mode);
|
|
52
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`
|
|
53
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
43
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
54
44
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
45
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
46
|
let baseOptions;
|
|
@@ -60,9 +50,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
60
50
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
61
51
|
const localVarHeaderParameter = {};
|
|
62
52
|
const localVarQueryParameter = {};
|
|
53
|
+
// authentication bearer required
|
|
54
|
+
// http bearer authentication required
|
|
55
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
63
56
|
// authentication oauth2 required
|
|
64
57
|
// oauth required
|
|
65
|
-
|
|
58
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
66
59
|
if (path !== undefined) {
|
|
67
60
|
localVarQueryParameter['path'] = path;
|
|
68
61
|
}
|
|
@@ -79,7 +72,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
79
72
|
url: toPathString(localVarUrlObj),
|
|
80
73
|
options: localVarRequestOptions,
|
|
81
74
|
};
|
|
82
|
-
}
|
|
75
|
+
},
|
|
83
76
|
/**
|
|
84
77
|
* Create a new session in the workspace
|
|
85
78
|
* @summary Create session
|
|
@@ -89,13 +82,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
89
82
|
* @param {*} [options] Override http request option.
|
|
90
83
|
* @throws {RequiredError}
|
|
91
84
|
*/
|
|
92
|
-
createSession:
|
|
85
|
+
createSession: async (workspaceId, createSessionRequest, xDaytonaOrganizationID, options = {}) => {
|
|
93
86
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
94
87
|
assertParamExists('createSession', 'workspaceId', workspaceId);
|
|
95
88
|
// verify required parameter 'createSessionRequest' is not null or undefined
|
|
96
89
|
assertParamExists('createSession', 'createSessionRequest', createSessionRequest);
|
|
97
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
|
|
98
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
90
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
99
91
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
92
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
93
|
let baseOptions;
|
|
@@ -105,13 +97,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
105
97
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
106
98
|
const localVarHeaderParameter = {};
|
|
107
99
|
const localVarQueryParameter = {};
|
|
100
|
+
// authentication bearer required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
108
103
|
// authentication oauth2 required
|
|
109
104
|
// oauth required
|
|
110
|
-
|
|
105
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
106
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
111
107
|
if (xDaytonaOrganizationID != null) {
|
|
112
108
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
113
109
|
}
|
|
114
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
115
110
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
116
111
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117
112
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -120,7 +115,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
120
115
|
url: toPathString(localVarUrlObj),
|
|
121
116
|
options: localVarRequestOptions,
|
|
122
117
|
};
|
|
123
|
-
}
|
|
118
|
+
},
|
|
124
119
|
/**
|
|
125
120
|
* Delete file inside workspace
|
|
126
121
|
* @summary Delete file
|
|
@@ -130,13 +125,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
130
125
|
* @param {*} [options] Override http request option.
|
|
131
126
|
* @throws {RequiredError}
|
|
132
127
|
*/
|
|
133
|
-
deleteFile:
|
|
128
|
+
deleteFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
134
129
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
135
130
|
assertParamExists('deleteFile', 'workspaceId', workspaceId);
|
|
136
131
|
// verify required parameter 'path' is not null or undefined
|
|
137
132
|
assertParamExists('deleteFile', 'path', path);
|
|
138
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
|
|
139
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
133
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
140
134
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
135
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
142
136
|
let baseOptions;
|
|
@@ -146,9 +140,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
146
140
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
147
141
|
const localVarHeaderParameter = {};
|
|
148
142
|
const localVarQueryParameter = {};
|
|
143
|
+
// authentication bearer required
|
|
144
|
+
// http bearer authentication required
|
|
145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
149
146
|
// authentication oauth2 required
|
|
150
147
|
// oauth required
|
|
151
|
-
|
|
148
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
152
149
|
if (path !== undefined) {
|
|
153
150
|
localVarQueryParameter['path'] = path;
|
|
154
151
|
}
|
|
@@ -162,7 +159,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
162
159
|
url: toPathString(localVarUrlObj),
|
|
163
160
|
options: localVarRequestOptions,
|
|
164
161
|
};
|
|
165
|
-
}
|
|
162
|
+
},
|
|
166
163
|
/**
|
|
167
164
|
* Delete a specific session
|
|
168
165
|
* @summary Delete session
|
|
@@ -172,14 +169,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
172
169
|
* @param {*} [options] Override http request option.
|
|
173
170
|
* @throws {RequiredError}
|
|
174
171
|
*/
|
|
175
|
-
deleteSession:
|
|
172
|
+
deleteSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
|
|
176
173
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
177
174
|
assertParamExists('deleteSession', 'workspaceId', workspaceId);
|
|
178
175
|
// verify required parameter 'sessionId' is not null or undefined
|
|
179
176
|
assertParamExists('deleteSession', 'sessionId', sessionId);
|
|
180
177
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
|
|
181
|
-
.replace(`{${
|
|
182
|
-
.replace(`{${
|
|
178
|
+
.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
|
|
179
|
+
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
183
180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
181
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
185
182
|
let baseOptions;
|
|
@@ -189,9 +186,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
189
186
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
190
187
|
const localVarHeaderParameter = {};
|
|
191
188
|
const localVarQueryParameter = {};
|
|
189
|
+
// authentication bearer required
|
|
190
|
+
// http bearer authentication required
|
|
191
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
192
192
|
// authentication oauth2 required
|
|
193
193
|
// oauth required
|
|
194
|
-
|
|
194
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
195
195
|
if (xDaytonaOrganizationID != null) {
|
|
196
196
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
197
197
|
}
|
|
@@ -202,7 +202,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
202
202
|
url: toPathString(localVarUrlObj),
|
|
203
203
|
options: localVarRequestOptions,
|
|
204
204
|
};
|
|
205
|
-
}
|
|
205
|
+
},
|
|
206
206
|
/**
|
|
207
207
|
* Download file from workspace
|
|
208
208
|
* @summary Download file
|
|
@@ -212,13 +212,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
215
|
-
downloadFile:
|
|
215
|
+
downloadFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
216
216
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
217
217
|
assertParamExists('downloadFile', 'workspaceId', workspaceId);
|
|
218
218
|
// verify required parameter 'path' is not null or undefined
|
|
219
219
|
assertParamExists('downloadFile', 'path', path);
|
|
220
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`
|
|
221
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
220
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
222
221
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
222
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
224
223
|
let baseOptions;
|
|
@@ -228,9 +227,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
228
227
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
229
228
|
const localVarHeaderParameter = {};
|
|
230
229
|
const localVarQueryParameter = {};
|
|
230
|
+
// authentication bearer required
|
|
231
|
+
// http bearer authentication required
|
|
232
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
231
233
|
// authentication oauth2 required
|
|
232
234
|
// oauth required
|
|
233
|
-
|
|
235
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
234
236
|
if (path !== undefined) {
|
|
235
237
|
localVarQueryParameter['path'] = path;
|
|
236
238
|
}
|
|
@@ -244,7 +246,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
244
246
|
url: toPathString(localVarUrlObj),
|
|
245
247
|
options: localVarRequestOptions,
|
|
246
248
|
};
|
|
247
|
-
}
|
|
249
|
+
},
|
|
248
250
|
/**
|
|
249
251
|
* Execute command synchronously inside workspace
|
|
250
252
|
* @summary Execute command
|
|
@@ -254,13 +256,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
254
256
|
* @param {*} [options] Override http request option.
|
|
255
257
|
* @throws {RequiredError}
|
|
256
258
|
*/
|
|
257
|
-
executeCommand:
|
|
259
|
+
executeCommand: async (workspaceId, executeRequest, xDaytonaOrganizationID, options = {}) => {
|
|
258
260
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
259
261
|
assertParamExists('executeCommand', 'workspaceId', workspaceId);
|
|
260
262
|
// verify required parameter 'executeRequest' is not null or undefined
|
|
261
263
|
assertParamExists('executeCommand', 'executeRequest', executeRequest);
|
|
262
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`
|
|
263
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
264
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
264
265
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
266
267
|
let baseOptions;
|
|
@@ -270,13 +271,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
270
271
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
271
272
|
const localVarHeaderParameter = {};
|
|
272
273
|
const localVarQueryParameter = {};
|
|
274
|
+
// authentication bearer required
|
|
275
|
+
// http bearer authentication required
|
|
276
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
273
277
|
// authentication oauth2 required
|
|
274
278
|
// oauth required
|
|
275
|
-
|
|
279
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
280
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
276
281
|
if (xDaytonaOrganizationID != null) {
|
|
277
282
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
278
283
|
}
|
|
279
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
280
284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
281
285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
282
286
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -285,7 +289,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
285
289
|
url: toPathString(localVarUrlObj),
|
|
286
290
|
options: localVarRequestOptions,
|
|
287
291
|
};
|
|
288
|
-
}
|
|
292
|
+
},
|
|
289
293
|
/**
|
|
290
294
|
* Execute a command in a specific session
|
|
291
295
|
* @summary Execute command in session
|
|
@@ -296,7 +300,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
296
300
|
* @param {*} [options] Override http request option.
|
|
297
301
|
* @throws {RequiredError}
|
|
298
302
|
*/
|
|
299
|
-
executeSessionCommand:
|
|
303
|
+
executeSessionCommand: async (workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) => {
|
|
300
304
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
301
305
|
assertParamExists('executeSessionCommand', 'workspaceId', workspaceId);
|
|
302
306
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -304,8 +308,8 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
304
308
|
// verify required parameter 'sessionExecuteRequest' is not null or undefined
|
|
305
309
|
assertParamExists('executeSessionCommand', 'sessionExecuteRequest', sessionExecuteRequest);
|
|
306
310
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/exec`
|
|
307
|
-
.replace(`{${
|
|
308
|
-
.replace(`{${
|
|
311
|
+
.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
|
|
312
|
+
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
309
313
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
310
314
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
311
315
|
let baseOptions;
|
|
@@ -315,13 +319,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
315
319
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
316
320
|
const localVarHeaderParameter = {};
|
|
317
321
|
const localVarQueryParameter = {};
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
318
325
|
// authentication oauth2 required
|
|
319
326
|
// oauth required
|
|
320
|
-
|
|
327
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
328
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
321
329
|
if (xDaytonaOrganizationID != null) {
|
|
322
330
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
323
331
|
}
|
|
324
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
325
332
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
326
333
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
327
334
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -330,7 +337,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
330
337
|
url: toPathString(localVarUrlObj),
|
|
331
338
|
options: localVarRequestOptions,
|
|
332
339
|
};
|
|
333
|
-
}
|
|
340
|
+
},
|
|
334
341
|
/**
|
|
335
342
|
* Search for text/pattern inside workspace files
|
|
336
343
|
* @summary Search for text/pattern in files
|
|
@@ -341,15 +348,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
341
348
|
* @param {*} [options] Override http request option.
|
|
342
349
|
* @throws {RequiredError}
|
|
343
350
|
*/
|
|
344
|
-
findInFiles:
|
|
351
|
+
findInFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
|
|
345
352
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
346
353
|
assertParamExists('findInFiles', 'workspaceId', workspaceId);
|
|
347
354
|
// verify required parameter 'path' is not null or undefined
|
|
348
355
|
assertParamExists('findInFiles', 'path', path);
|
|
349
356
|
// verify required parameter 'pattern' is not null or undefined
|
|
350
357
|
assertParamExists('findInFiles', 'pattern', pattern);
|
|
351
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`
|
|
352
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
358
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
353
359
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
354
360
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
355
361
|
let baseOptions;
|
|
@@ -359,9 +365,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
359
365
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
360
366
|
const localVarHeaderParameter = {};
|
|
361
367
|
const localVarQueryParameter = {};
|
|
368
|
+
// authentication bearer required
|
|
369
|
+
// http bearer authentication required
|
|
370
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
362
371
|
// authentication oauth2 required
|
|
363
372
|
// oauth required
|
|
364
|
-
|
|
373
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
365
374
|
if (path !== undefined) {
|
|
366
375
|
localVarQueryParameter['path'] = path;
|
|
367
376
|
}
|
|
@@ -378,7 +387,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
378
387
|
url: toPathString(localVarUrlObj),
|
|
379
388
|
options: localVarRequestOptions,
|
|
380
389
|
};
|
|
381
|
-
}
|
|
390
|
+
},
|
|
382
391
|
/**
|
|
383
392
|
* Get file info inside workspace
|
|
384
393
|
* @summary Get file info
|
|
@@ -388,13 +397,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
388
397
|
* @param {*} [options] Override http request option.
|
|
389
398
|
* @throws {RequiredError}
|
|
390
399
|
*/
|
|
391
|
-
getFileInfo:
|
|
400
|
+
getFileInfo: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
392
401
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
393
402
|
assertParamExists('getFileInfo', 'workspaceId', workspaceId);
|
|
394
403
|
// verify required parameter 'path' is not null or undefined
|
|
395
404
|
assertParamExists('getFileInfo', 'path', path);
|
|
396
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`
|
|
397
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
405
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
398
406
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
399
407
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
400
408
|
let baseOptions;
|
|
@@ -404,9 +412,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
404
412
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
405
413
|
const localVarHeaderParameter = {};
|
|
406
414
|
const localVarQueryParameter = {};
|
|
415
|
+
// authentication bearer required
|
|
416
|
+
// http bearer authentication required
|
|
417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
407
418
|
// authentication oauth2 required
|
|
408
419
|
// oauth required
|
|
409
|
-
|
|
420
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
410
421
|
if (path !== undefined) {
|
|
411
422
|
localVarQueryParameter['path'] = path;
|
|
412
423
|
}
|
|
@@ -420,7 +431,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
420
431
|
url: toPathString(localVarUrlObj),
|
|
421
432
|
options: localVarRequestOptions,
|
|
422
433
|
};
|
|
423
|
-
}
|
|
434
|
+
},
|
|
424
435
|
/**
|
|
425
436
|
*
|
|
426
437
|
* @summary Get workspace project dir
|
|
@@ -429,11 +440,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
429
440
|
* @param {*} [options] Override http request option.
|
|
430
441
|
* @throws {RequiredError}
|
|
431
442
|
*/
|
|
432
|
-
getProjectDir:
|
|
443
|
+
getProjectDir: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
433
444
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
434
445
|
assertParamExists('getProjectDir', 'workspaceId', workspaceId);
|
|
435
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
|
|
436
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
446
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
437
447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
438
448
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
439
449
|
let baseOptions;
|
|
@@ -443,9 +453,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
443
453
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
444
454
|
const localVarHeaderParameter = {};
|
|
445
455
|
const localVarQueryParameter = {};
|
|
456
|
+
// authentication bearer required
|
|
457
|
+
// http bearer authentication required
|
|
458
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
446
459
|
// authentication oauth2 required
|
|
447
460
|
// oauth required
|
|
448
|
-
|
|
461
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
449
462
|
if (xDaytonaOrganizationID != null) {
|
|
450
463
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
451
464
|
}
|
|
@@ -456,7 +469,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
456
469
|
url: toPathString(localVarUrlObj),
|
|
457
470
|
options: localVarRequestOptions,
|
|
458
471
|
};
|
|
459
|
-
}
|
|
472
|
+
},
|
|
460
473
|
/**
|
|
461
474
|
* Get session by ID
|
|
462
475
|
* @summary Get session
|
|
@@ -466,14 +479,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
466
479
|
* @param {*} [options] Override http request option.
|
|
467
480
|
* @throws {RequiredError}
|
|
468
481
|
*/
|
|
469
|
-
getSession:
|
|
482
|
+
getSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
|
|
470
483
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
471
484
|
assertParamExists('getSession', 'workspaceId', workspaceId);
|
|
472
485
|
// verify required parameter 'sessionId' is not null or undefined
|
|
473
486
|
assertParamExists('getSession', 'sessionId', sessionId);
|
|
474
487
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
|
|
475
|
-
.replace(`{${
|
|
476
|
-
.replace(`{${
|
|
488
|
+
.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
|
|
489
|
+
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
|
|
477
490
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
478
491
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
479
492
|
let baseOptions;
|
|
@@ -483,9 +496,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
483
496
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
484
497
|
const localVarHeaderParameter = {};
|
|
485
498
|
const localVarQueryParameter = {};
|
|
499
|
+
// authentication bearer required
|
|
500
|
+
// http bearer authentication required
|
|
501
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
486
502
|
// authentication oauth2 required
|
|
487
503
|
// oauth required
|
|
488
|
-
|
|
504
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
489
505
|
if (xDaytonaOrganizationID != null) {
|
|
490
506
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
491
507
|
}
|
|
@@ -496,7 +512,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
496
512
|
url: toPathString(localVarUrlObj),
|
|
497
513
|
options: localVarRequestOptions,
|
|
498
514
|
};
|
|
499
|
-
}
|
|
515
|
+
},
|
|
500
516
|
/**
|
|
501
517
|
* Get session command by ID
|
|
502
518
|
* @summary Get session command
|
|
@@ -507,7 +523,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
507
523
|
* @param {*} [options] Override http request option.
|
|
508
524
|
* @throws {RequiredError}
|
|
509
525
|
*/
|
|
510
|
-
getSessionCommand:
|
|
526
|
+
getSessionCommand: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, options = {}) => {
|
|
511
527
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
512
528
|
assertParamExists('getSessionCommand', 'workspaceId', workspaceId);
|
|
513
529
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -515,9 +531,9 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
515
531
|
// verify required parameter 'commandId' is not null or undefined
|
|
516
532
|
assertParamExists('getSessionCommand', 'commandId', commandId);
|
|
517
533
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}`
|
|
518
|
-
.replace(`{${
|
|
519
|
-
.replace(`{${
|
|
520
|
-
.replace(`{${
|
|
534
|
+
.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
|
|
535
|
+
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
|
|
536
|
+
.replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
|
|
521
537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
522
538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
523
539
|
let baseOptions;
|
|
@@ -527,9 +543,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
527
543
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
528
544
|
const localVarHeaderParameter = {};
|
|
529
545
|
const localVarQueryParameter = {};
|
|
546
|
+
// authentication bearer required
|
|
547
|
+
// http bearer authentication required
|
|
548
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
530
549
|
// authentication oauth2 required
|
|
531
550
|
// oauth required
|
|
532
|
-
|
|
551
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
533
552
|
if (xDaytonaOrganizationID != null) {
|
|
534
553
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
535
554
|
}
|
|
@@ -540,7 +559,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
540
559
|
url: toPathString(localVarUrlObj),
|
|
541
560
|
options: localVarRequestOptions,
|
|
542
561
|
};
|
|
543
|
-
}
|
|
562
|
+
},
|
|
544
563
|
/**
|
|
545
564
|
* Get logs for a specific command in a session
|
|
546
565
|
* @summary Get command logs
|
|
@@ -552,7 +571,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
552
571
|
* @param {*} [options] Override http request option.
|
|
553
572
|
* @throws {RequiredError}
|
|
554
573
|
*/
|
|
555
|
-
getSessionCommandLogs:
|
|
574
|
+
getSessionCommandLogs: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) => {
|
|
556
575
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
557
576
|
assertParamExists('getSessionCommandLogs', 'workspaceId', workspaceId);
|
|
558
577
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -560,9 +579,9 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
560
579
|
// verify required parameter 'commandId' is not null or undefined
|
|
561
580
|
assertParamExists('getSessionCommandLogs', 'commandId', commandId);
|
|
562
581
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}/logs`
|
|
563
|
-
.replace(`{${
|
|
564
|
-
.replace(`{${
|
|
565
|
-
.replace(`{${
|
|
582
|
+
.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
|
|
583
|
+
.replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
|
|
584
|
+
.replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
|
|
566
585
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
567
586
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
568
587
|
let baseOptions;
|
|
@@ -572,9 +591,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
572
591
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
573
592
|
const localVarHeaderParameter = {};
|
|
574
593
|
const localVarQueryParameter = {};
|
|
594
|
+
// authentication bearer required
|
|
595
|
+
// http bearer authentication required
|
|
596
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
575
597
|
// authentication oauth2 required
|
|
576
598
|
// oauth required
|
|
577
|
-
|
|
599
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
578
600
|
if (follow !== undefined) {
|
|
579
601
|
localVarQueryParameter['follow'] = follow;
|
|
580
602
|
}
|
|
@@ -588,7 +610,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
588
610
|
url: toPathString(localVarUrlObj),
|
|
589
611
|
options: localVarRequestOptions,
|
|
590
612
|
};
|
|
591
|
-
}
|
|
613
|
+
},
|
|
592
614
|
/**
|
|
593
615
|
* Add files to git commit
|
|
594
616
|
* @summary Add files
|
|
@@ -598,13 +620,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
598
620
|
* @param {*} [options] Override http request option.
|
|
599
621
|
* @throws {RequiredError}
|
|
600
622
|
*/
|
|
601
|
-
gitAddFiles:
|
|
623
|
+
gitAddFiles: async (workspaceId, gitAddRequest, xDaytonaOrganizationID, options = {}) => {
|
|
602
624
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
603
625
|
assertParamExists('gitAddFiles', 'workspaceId', workspaceId);
|
|
604
626
|
// verify required parameter 'gitAddRequest' is not null or undefined
|
|
605
627
|
assertParamExists('gitAddFiles', 'gitAddRequest', gitAddRequest);
|
|
606
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
|
|
607
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
628
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
608
629
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
609
630
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
610
631
|
let baseOptions;
|
|
@@ -614,13 +635,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
614
635
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
615
636
|
const localVarHeaderParameter = {};
|
|
616
637
|
const localVarQueryParameter = {};
|
|
638
|
+
// authentication bearer required
|
|
639
|
+
// http bearer authentication required
|
|
640
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
617
641
|
// authentication oauth2 required
|
|
618
642
|
// oauth required
|
|
619
|
-
|
|
643
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
644
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
620
645
|
if (xDaytonaOrganizationID != null) {
|
|
621
646
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
622
647
|
}
|
|
623
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
624
648
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
625
649
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
626
650
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -629,7 +653,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
629
653
|
url: toPathString(localVarUrlObj),
|
|
630
654
|
options: localVarRequestOptions,
|
|
631
655
|
};
|
|
632
|
-
}
|
|
656
|
+
},
|
|
633
657
|
/**
|
|
634
658
|
* Clone git repository
|
|
635
659
|
* @summary Clone repository
|
|
@@ -639,13 +663,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
639
663
|
* @param {*} [options] Override http request option.
|
|
640
664
|
* @throws {RequiredError}
|
|
641
665
|
*/
|
|
642
|
-
gitCloneRepository:
|
|
666
|
+
gitCloneRepository: async (workspaceId, gitCloneRequest, xDaytonaOrganizationID, options = {}) => {
|
|
643
667
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
644
668
|
assertParamExists('gitCloneRepository', 'workspaceId', workspaceId);
|
|
645
669
|
// verify required parameter 'gitCloneRequest' is not null or undefined
|
|
646
670
|
assertParamExists('gitCloneRepository', 'gitCloneRequest', gitCloneRequest);
|
|
647
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`
|
|
648
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
671
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
649
672
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
650
673
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
651
674
|
let baseOptions;
|
|
@@ -655,13 +678,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
655
678
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
656
679
|
const localVarHeaderParameter = {};
|
|
657
680
|
const localVarQueryParameter = {};
|
|
681
|
+
// authentication bearer required
|
|
682
|
+
// http bearer authentication required
|
|
683
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
658
684
|
// authentication oauth2 required
|
|
659
685
|
// oauth required
|
|
660
|
-
|
|
686
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
687
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
661
688
|
if (xDaytonaOrganizationID != null) {
|
|
662
689
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
663
690
|
}
|
|
664
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
665
691
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
666
692
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
667
693
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -670,7 +696,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
670
696
|
url: toPathString(localVarUrlObj),
|
|
671
697
|
options: localVarRequestOptions,
|
|
672
698
|
};
|
|
673
|
-
}
|
|
699
|
+
},
|
|
674
700
|
/**
|
|
675
701
|
* Commit changes to git repository
|
|
676
702
|
* @summary Commit changes
|
|
@@ -680,13 +706,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
680
706
|
* @param {*} [options] Override http request option.
|
|
681
707
|
* @throws {RequiredError}
|
|
682
708
|
*/
|
|
683
|
-
gitCommitChanges:
|
|
709
|
+
gitCommitChanges: async (workspaceId, gitCommitRequest, xDaytonaOrganizationID, options = {}) => {
|
|
684
710
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
685
711
|
assertParamExists('gitCommitChanges', 'workspaceId', workspaceId);
|
|
686
712
|
// verify required parameter 'gitCommitRequest' is not null or undefined
|
|
687
713
|
assertParamExists('gitCommitChanges', 'gitCommitRequest', gitCommitRequest);
|
|
688
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`
|
|
689
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
714
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
690
715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
691
716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
692
717
|
let baseOptions;
|
|
@@ -696,13 +721,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
696
721
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
697
722
|
const localVarHeaderParameter = {};
|
|
698
723
|
const localVarQueryParameter = {};
|
|
724
|
+
// authentication bearer required
|
|
725
|
+
// http bearer authentication required
|
|
726
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
699
727
|
// authentication oauth2 required
|
|
700
728
|
// oauth required
|
|
701
|
-
|
|
729
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
730
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
702
731
|
if (xDaytonaOrganizationID != null) {
|
|
703
732
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
704
733
|
}
|
|
705
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
706
734
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
707
735
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
708
736
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -711,7 +739,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
711
739
|
url: toPathString(localVarUrlObj),
|
|
712
740
|
options: localVarRequestOptions,
|
|
713
741
|
};
|
|
714
|
-
}
|
|
742
|
+
},
|
|
715
743
|
/**
|
|
716
744
|
* Create branch on git repository
|
|
717
745
|
* @summary Create branch
|
|
@@ -721,13 +749,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
721
749
|
* @param {*} [options] Override http request option.
|
|
722
750
|
* @throws {RequiredError}
|
|
723
751
|
*/
|
|
724
|
-
gitCreateBranch:
|
|
752
|
+
gitCreateBranch: async (workspaceId, gitBranchRequest, xDaytonaOrganizationID, options = {}) => {
|
|
725
753
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
726
754
|
assertParamExists('gitCreateBranch', 'workspaceId', workspaceId);
|
|
727
755
|
// verify required parameter 'gitBranchRequest' is not null or undefined
|
|
728
756
|
assertParamExists('gitCreateBranch', 'gitBranchRequest', gitBranchRequest);
|
|
729
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
|
|
730
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
757
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
731
758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
732
759
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
733
760
|
let baseOptions;
|
|
@@ -737,13 +764,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
737
764
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
738
765
|
const localVarHeaderParameter = {};
|
|
739
766
|
const localVarQueryParameter = {};
|
|
767
|
+
// authentication bearer required
|
|
768
|
+
// http bearer authentication required
|
|
769
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
740
770
|
// authentication oauth2 required
|
|
741
771
|
// oauth required
|
|
742
|
-
|
|
772
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
773
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
743
774
|
if (xDaytonaOrganizationID != null) {
|
|
744
775
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
745
776
|
}
|
|
746
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
747
777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
748
778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
749
779
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -752,7 +782,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
752
782
|
url: toPathString(localVarUrlObj),
|
|
753
783
|
options: localVarRequestOptions,
|
|
754
784
|
};
|
|
755
|
-
}
|
|
785
|
+
},
|
|
756
786
|
/**
|
|
757
787
|
* Get commit history from git repository
|
|
758
788
|
* @summary Get commit history
|
|
@@ -762,13 +792,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
762
792
|
* @param {*} [options] Override http request option.
|
|
763
793
|
* @throws {RequiredError}
|
|
764
794
|
*/
|
|
765
|
-
gitGetHistory:
|
|
795
|
+
gitGetHistory: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
766
796
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
767
797
|
assertParamExists('gitGetHistory', 'workspaceId', workspaceId);
|
|
768
798
|
// verify required parameter 'path' is not null or undefined
|
|
769
799
|
assertParamExists('gitGetHistory', 'path', path);
|
|
770
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`
|
|
771
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
800
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
772
801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
773
802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
774
803
|
let baseOptions;
|
|
@@ -778,9 +807,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
778
807
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
779
808
|
const localVarHeaderParameter = {};
|
|
780
809
|
const localVarQueryParameter = {};
|
|
810
|
+
// authentication bearer required
|
|
811
|
+
// http bearer authentication required
|
|
812
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
781
813
|
// authentication oauth2 required
|
|
782
814
|
// oauth required
|
|
783
|
-
|
|
815
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
784
816
|
if (path !== undefined) {
|
|
785
817
|
localVarQueryParameter['path'] = path;
|
|
786
818
|
}
|
|
@@ -794,7 +826,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
794
826
|
url: toPathString(localVarUrlObj),
|
|
795
827
|
options: localVarRequestOptions,
|
|
796
828
|
};
|
|
797
|
-
}
|
|
829
|
+
},
|
|
798
830
|
/**
|
|
799
831
|
* Get status from git repository
|
|
800
832
|
* @summary Get git status
|
|
@@ -804,13 +836,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
804
836
|
* @param {*} [options] Override http request option.
|
|
805
837
|
* @throws {RequiredError}
|
|
806
838
|
*/
|
|
807
|
-
gitGetStatus:
|
|
839
|
+
gitGetStatus: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
808
840
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
809
841
|
assertParamExists('gitGetStatus', 'workspaceId', workspaceId);
|
|
810
842
|
// verify required parameter 'path' is not null or undefined
|
|
811
843
|
assertParamExists('gitGetStatus', 'path', path);
|
|
812
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
|
|
813
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
844
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
814
845
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
815
846
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
816
847
|
let baseOptions;
|
|
@@ -820,9 +851,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
820
851
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
821
852
|
const localVarHeaderParameter = {};
|
|
822
853
|
const localVarQueryParameter = {};
|
|
854
|
+
// authentication bearer required
|
|
855
|
+
// http bearer authentication required
|
|
856
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
823
857
|
// authentication oauth2 required
|
|
824
858
|
// oauth required
|
|
825
|
-
|
|
859
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
826
860
|
if (path !== undefined) {
|
|
827
861
|
localVarQueryParameter['path'] = path;
|
|
828
862
|
}
|
|
@@ -836,7 +870,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
836
870
|
url: toPathString(localVarUrlObj),
|
|
837
871
|
options: localVarRequestOptions,
|
|
838
872
|
};
|
|
839
|
-
}
|
|
873
|
+
},
|
|
840
874
|
/**
|
|
841
875
|
* Get branch list from git repository
|
|
842
876
|
* @summary Get branch list
|
|
@@ -846,13 +880,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
846
880
|
* @param {*} [options] Override http request option.
|
|
847
881
|
* @throws {RequiredError}
|
|
848
882
|
*/
|
|
849
|
-
gitListBranches:
|
|
883
|
+
gitListBranches: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
|
|
850
884
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
851
885
|
assertParamExists('gitListBranches', 'workspaceId', workspaceId);
|
|
852
886
|
// verify required parameter 'path' is not null or undefined
|
|
853
887
|
assertParamExists('gitListBranches', 'path', path);
|
|
854
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
|
|
855
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
888
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
856
889
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
857
890
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
858
891
|
let baseOptions;
|
|
@@ -862,9 +895,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
862
895
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
863
896
|
const localVarHeaderParameter = {};
|
|
864
897
|
const localVarQueryParameter = {};
|
|
898
|
+
// authentication bearer required
|
|
899
|
+
// http bearer authentication required
|
|
900
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
865
901
|
// authentication oauth2 required
|
|
866
902
|
// oauth required
|
|
867
|
-
|
|
903
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
868
904
|
if (path !== undefined) {
|
|
869
905
|
localVarQueryParameter['path'] = path;
|
|
870
906
|
}
|
|
@@ -878,7 +914,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
878
914
|
url: toPathString(localVarUrlObj),
|
|
879
915
|
options: localVarRequestOptions,
|
|
880
916
|
};
|
|
881
|
-
}
|
|
917
|
+
},
|
|
882
918
|
/**
|
|
883
919
|
* Pull changes from remote
|
|
884
920
|
* @summary Pull changes
|
|
@@ -888,13 +924,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
888
924
|
* @param {*} [options] Override http request option.
|
|
889
925
|
* @throws {RequiredError}
|
|
890
926
|
*/
|
|
891
|
-
gitPullChanges:
|
|
927
|
+
gitPullChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
|
|
892
928
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
893
929
|
assertParamExists('gitPullChanges', 'workspaceId', workspaceId);
|
|
894
930
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
895
931
|
assertParamExists('gitPullChanges', 'gitRepoRequest', gitRepoRequest);
|
|
896
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`
|
|
897
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
932
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
898
933
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
899
934
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
900
935
|
let baseOptions;
|
|
@@ -904,13 +939,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
904
939
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
905
940
|
const localVarHeaderParameter = {};
|
|
906
941
|
const localVarQueryParameter = {};
|
|
942
|
+
// authentication bearer required
|
|
943
|
+
// http bearer authentication required
|
|
944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
907
945
|
// authentication oauth2 required
|
|
908
946
|
// oauth required
|
|
909
|
-
|
|
947
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
948
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
910
949
|
if (xDaytonaOrganizationID != null) {
|
|
911
950
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
912
951
|
}
|
|
913
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
914
952
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
915
953
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
916
954
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -919,7 +957,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
919
957
|
url: toPathString(localVarUrlObj),
|
|
920
958
|
options: localVarRequestOptions,
|
|
921
959
|
};
|
|
922
|
-
}
|
|
960
|
+
},
|
|
923
961
|
/**
|
|
924
962
|
* Push changes to remote
|
|
925
963
|
* @summary Push changes
|
|
@@ -929,13 +967,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
929
967
|
* @param {*} [options] Override http request option.
|
|
930
968
|
* @throws {RequiredError}
|
|
931
969
|
*/
|
|
932
|
-
gitPushChanges:
|
|
970
|
+
gitPushChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
|
|
933
971
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
934
972
|
assertParamExists('gitPushChanges', 'workspaceId', workspaceId);
|
|
935
973
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
936
974
|
assertParamExists('gitPushChanges', 'gitRepoRequest', gitRepoRequest);
|
|
937
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`
|
|
938
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
975
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
939
976
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
940
977
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
941
978
|
let baseOptions;
|
|
@@ -945,13 +982,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
945
982
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
946
983
|
const localVarHeaderParameter = {};
|
|
947
984
|
const localVarQueryParameter = {};
|
|
985
|
+
// authentication bearer required
|
|
986
|
+
// http bearer authentication required
|
|
987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
948
988
|
// authentication oauth2 required
|
|
949
989
|
// oauth required
|
|
950
|
-
|
|
990
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
991
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
951
992
|
if (xDaytonaOrganizationID != null) {
|
|
952
993
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
953
994
|
}
|
|
954
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
955
995
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
956
996
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
957
997
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -960,7 +1000,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
960
1000
|
url: toPathString(localVarUrlObj),
|
|
961
1001
|
options: localVarRequestOptions,
|
|
962
1002
|
};
|
|
963
|
-
}
|
|
1003
|
+
},
|
|
964
1004
|
/**
|
|
965
1005
|
*
|
|
966
1006
|
* @summary List files
|
|
@@ -970,11 +1010,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
970
1010
|
* @param {*} [options] Override http request option.
|
|
971
1011
|
* @throws {RequiredError}
|
|
972
1012
|
*/
|
|
973
|
-
listFiles:
|
|
1013
|
+
listFiles: async (workspaceId, xDaytonaOrganizationID, path, options = {}) => {
|
|
974
1014
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
975
1015
|
assertParamExists('listFiles', 'workspaceId', workspaceId);
|
|
976
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
|
|
977
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1016
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
978
1017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
979
1018
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
980
1019
|
let baseOptions;
|
|
@@ -984,9 +1023,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
984
1023
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
985
1024
|
const localVarHeaderParameter = {};
|
|
986
1025
|
const localVarQueryParameter = {};
|
|
1026
|
+
// authentication bearer required
|
|
1027
|
+
// http bearer authentication required
|
|
1028
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
987
1029
|
// authentication oauth2 required
|
|
988
1030
|
// oauth required
|
|
989
|
-
|
|
1031
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
990
1032
|
if (path !== undefined) {
|
|
991
1033
|
localVarQueryParameter['path'] = path;
|
|
992
1034
|
}
|
|
@@ -1000,7 +1042,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1000
1042
|
url: toPathString(localVarUrlObj),
|
|
1001
1043
|
options: localVarRequestOptions,
|
|
1002
1044
|
};
|
|
1003
|
-
}
|
|
1045
|
+
},
|
|
1004
1046
|
/**
|
|
1005
1047
|
* List all active sessions in the workspace
|
|
1006
1048
|
* @summary List sessions
|
|
@@ -1009,11 +1051,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1009
1051
|
* @param {*} [options] Override http request option.
|
|
1010
1052
|
* @throws {RequiredError}
|
|
1011
1053
|
*/
|
|
1012
|
-
listSessions:
|
|
1054
|
+
listSessions: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
1013
1055
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1014
1056
|
assertParamExists('listSessions', 'workspaceId', workspaceId);
|
|
1015
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
|
|
1016
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1057
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1017
1058
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1018
1059
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
1060
|
let baseOptions;
|
|
@@ -1023,9 +1064,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1023
1064
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1024
1065
|
const localVarHeaderParameter = {};
|
|
1025
1066
|
const localVarQueryParameter = {};
|
|
1067
|
+
// authentication bearer required
|
|
1068
|
+
// http bearer authentication required
|
|
1069
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1026
1070
|
// authentication oauth2 required
|
|
1027
1071
|
// oauth required
|
|
1028
|
-
|
|
1072
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1029
1073
|
if (xDaytonaOrganizationID != null) {
|
|
1030
1074
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1031
1075
|
}
|
|
@@ -1036,7 +1080,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1036
1080
|
url: toPathString(localVarUrlObj),
|
|
1037
1081
|
options: localVarRequestOptions,
|
|
1038
1082
|
};
|
|
1039
|
-
}
|
|
1083
|
+
},
|
|
1040
1084
|
/**
|
|
1041
1085
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1042
1086
|
* @summary Get Lsp Completions
|
|
@@ -1046,13 +1090,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1046
1090
|
* @param {*} [options] Override http request option.
|
|
1047
1091
|
* @throws {RequiredError}
|
|
1048
1092
|
*/
|
|
1049
|
-
lspCompletions:
|
|
1093
|
+
lspCompletions: async (workspaceId, lspCompletionParams, xDaytonaOrganizationID, options = {}) => {
|
|
1050
1094
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1051
1095
|
assertParamExists('lspCompletions', 'workspaceId', workspaceId);
|
|
1052
1096
|
// verify required parameter 'lspCompletionParams' is not null or undefined
|
|
1053
1097
|
assertParamExists('lspCompletions', 'lspCompletionParams', lspCompletionParams);
|
|
1054
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`
|
|
1055
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1098
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1056
1099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1057
1100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1058
1101
|
let baseOptions;
|
|
@@ -1062,13 +1105,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1062
1105
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1063
1106
|
const localVarHeaderParameter = {};
|
|
1064
1107
|
const localVarQueryParameter = {};
|
|
1108
|
+
// authentication bearer required
|
|
1109
|
+
// http bearer authentication required
|
|
1110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1065
1111
|
// authentication oauth2 required
|
|
1066
1112
|
// oauth required
|
|
1067
|
-
|
|
1113
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1114
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1068
1115
|
if (xDaytonaOrganizationID != null) {
|
|
1069
1116
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1070
1117
|
}
|
|
1071
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1072
1118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1073
1119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1074
1120
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1077,7 +1123,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1077
1123
|
url: toPathString(localVarUrlObj),
|
|
1078
1124
|
options: localVarRequestOptions,
|
|
1079
1125
|
};
|
|
1080
|
-
}
|
|
1126
|
+
},
|
|
1081
1127
|
/**
|
|
1082
1128
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1083
1129
|
* @summary Call Lsp DidClose
|
|
@@ -1087,13 +1133,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1087
1133
|
* @param {*} [options] Override http request option.
|
|
1088
1134
|
* @throws {RequiredError}
|
|
1089
1135
|
*/
|
|
1090
|
-
lspDidClose:
|
|
1136
|
+
lspDidClose: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1091
1137
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1092
1138
|
assertParamExists('lspDidClose', 'workspaceId', workspaceId);
|
|
1093
1139
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
1094
1140
|
assertParamExists('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
|
|
1095
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`
|
|
1096
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1141
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1097
1142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1098
1143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1099
1144
|
let baseOptions;
|
|
@@ -1103,13 +1148,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1103
1148
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1104
1149
|
const localVarHeaderParameter = {};
|
|
1105
1150
|
const localVarQueryParameter = {};
|
|
1151
|
+
// authentication bearer required
|
|
1152
|
+
// http bearer authentication required
|
|
1153
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1106
1154
|
// authentication oauth2 required
|
|
1107
1155
|
// oauth required
|
|
1108
|
-
|
|
1156
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1157
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1109
1158
|
if (xDaytonaOrganizationID != null) {
|
|
1110
1159
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1111
1160
|
}
|
|
1112
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1113
1161
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1114
1162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1115
1163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1118,7 +1166,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1118
1166
|
url: toPathString(localVarUrlObj),
|
|
1119
1167
|
options: localVarRequestOptions,
|
|
1120
1168
|
};
|
|
1121
|
-
}
|
|
1169
|
+
},
|
|
1122
1170
|
/**
|
|
1123
1171
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1124
1172
|
* @summary Call Lsp DidOpen
|
|
@@ -1128,13 +1176,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1128
1176
|
* @param {*} [options] Override http request option.
|
|
1129
1177
|
* @throws {RequiredError}
|
|
1130
1178
|
*/
|
|
1131
|
-
lspDidOpen:
|
|
1179
|
+
lspDidOpen: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1132
1180
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1133
1181
|
assertParamExists('lspDidOpen', 'workspaceId', workspaceId);
|
|
1134
1182
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
1135
1183
|
assertParamExists('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
|
|
1136
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`
|
|
1137
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1184
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1138
1185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1139
1186
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1140
1187
|
let baseOptions;
|
|
@@ -1144,13 +1191,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1191
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1145
1192
|
const localVarHeaderParameter = {};
|
|
1146
1193
|
const localVarQueryParameter = {};
|
|
1194
|
+
// authentication bearer required
|
|
1195
|
+
// http bearer authentication required
|
|
1196
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1147
1197
|
// authentication oauth2 required
|
|
1148
1198
|
// oauth required
|
|
1149
|
-
|
|
1199
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1150
1201
|
if (xDaytonaOrganizationID != null) {
|
|
1151
1202
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1152
1203
|
}
|
|
1153
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1154
1204
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1155
1205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1156
1206
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1159,7 +1209,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1159
1209
|
url: toPathString(localVarUrlObj),
|
|
1160
1210
|
options: localVarRequestOptions,
|
|
1161
1211
|
};
|
|
1162
|
-
}
|
|
1212
|
+
},
|
|
1163
1213
|
/**
|
|
1164
1214
|
* The document symbol request is sent from the client to the server.
|
|
1165
1215
|
* @summary Call Lsp DocumentSymbols
|
|
@@ -1171,7 +1221,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1171
1221
|
* @param {*} [options] Override http request option.
|
|
1172
1222
|
* @throws {RequiredError}
|
|
1173
1223
|
*/
|
|
1174
|
-
lspDocumentSymbols:
|
|
1224
|
+
lspDocumentSymbols: async (workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) => {
|
|
1175
1225
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1176
1226
|
assertParamExists('lspDocumentSymbols', 'workspaceId', workspaceId);
|
|
1177
1227
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1180,8 +1230,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1180
1230
|
assertParamExists('lspDocumentSymbols', 'pathToProject', pathToProject);
|
|
1181
1231
|
// verify required parameter 'uri' is not null or undefined
|
|
1182
1232
|
assertParamExists('lspDocumentSymbols', 'uri', uri);
|
|
1183
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`
|
|
1184
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1233
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1185
1234
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1186
1235
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1187
1236
|
let baseOptions;
|
|
@@ -1191,9 +1240,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1191
1240
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1192
1241
|
const localVarHeaderParameter = {};
|
|
1193
1242
|
const localVarQueryParameter = {};
|
|
1243
|
+
// authentication bearer required
|
|
1244
|
+
// http bearer authentication required
|
|
1245
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1194
1246
|
// authentication oauth2 required
|
|
1195
1247
|
// oauth required
|
|
1196
|
-
|
|
1248
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1197
1249
|
if (languageId !== undefined) {
|
|
1198
1250
|
localVarQueryParameter['languageId'] = languageId;
|
|
1199
1251
|
}
|
|
@@ -1213,7 +1265,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1213
1265
|
url: toPathString(localVarUrlObj),
|
|
1214
1266
|
options: localVarRequestOptions,
|
|
1215
1267
|
};
|
|
1216
|
-
}
|
|
1268
|
+
},
|
|
1217
1269
|
/**
|
|
1218
1270
|
* Start Lsp server process inside workspace project
|
|
1219
1271
|
* @summary Start Lsp server
|
|
@@ -1223,13 +1275,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1223
1275
|
* @param {*} [options] Override http request option.
|
|
1224
1276
|
* @throws {RequiredError}
|
|
1225
1277
|
*/
|
|
1226
|
-
lspStart:
|
|
1278
|
+
lspStart: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1227
1279
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1228
1280
|
assertParamExists('lspStart', 'workspaceId', workspaceId);
|
|
1229
1281
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1230
1282
|
assertParamExists('lspStart', 'lspServerRequest', lspServerRequest);
|
|
1231
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`
|
|
1232
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1283
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1233
1284
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1234
1285
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1235
1286
|
let baseOptions;
|
|
@@ -1239,13 +1290,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1239
1290
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1240
1291
|
const localVarHeaderParameter = {};
|
|
1241
1292
|
const localVarQueryParameter = {};
|
|
1293
|
+
// authentication bearer required
|
|
1294
|
+
// http bearer authentication required
|
|
1295
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1242
1296
|
// authentication oauth2 required
|
|
1243
1297
|
// oauth required
|
|
1244
|
-
|
|
1298
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1299
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1245
1300
|
if (xDaytonaOrganizationID != null) {
|
|
1246
1301
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1247
1302
|
}
|
|
1248
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1249
1303
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1250
1304
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1251
1305
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1254,7 +1308,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1254
1308
|
url: toPathString(localVarUrlObj),
|
|
1255
1309
|
options: localVarRequestOptions,
|
|
1256
1310
|
};
|
|
1257
|
-
}
|
|
1311
|
+
},
|
|
1258
1312
|
/**
|
|
1259
1313
|
* Stop Lsp server process inside workspace project
|
|
1260
1314
|
* @summary Stop Lsp server
|
|
@@ -1264,13 +1318,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1264
1318
|
* @param {*} [options] Override http request option.
|
|
1265
1319
|
* @throws {RequiredError}
|
|
1266
1320
|
*/
|
|
1267
|
-
lspStop:
|
|
1321
|
+
lspStop: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1268
1322
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1269
1323
|
assertParamExists('lspStop', 'workspaceId', workspaceId);
|
|
1270
1324
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1271
1325
|
assertParamExists('lspStop', 'lspServerRequest', lspServerRequest);
|
|
1272
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`
|
|
1273
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1326
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1274
1327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1275
1328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1276
1329
|
let baseOptions;
|
|
@@ -1280,13 +1333,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1280
1333
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1281
1334
|
const localVarHeaderParameter = {};
|
|
1282
1335
|
const localVarQueryParameter = {};
|
|
1336
|
+
// authentication bearer required
|
|
1337
|
+
// http bearer authentication required
|
|
1338
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1283
1339
|
// authentication oauth2 required
|
|
1284
1340
|
// oauth required
|
|
1285
|
-
|
|
1341
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1342
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1286
1343
|
if (xDaytonaOrganizationID != null) {
|
|
1287
1344
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1288
1345
|
}
|
|
1289
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1290
1346
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1291
1347
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
1348
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1295,7 +1351,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1295
1351
|
url: toPathString(localVarUrlObj),
|
|
1296
1352
|
options: localVarRequestOptions,
|
|
1297
1353
|
};
|
|
1298
|
-
}
|
|
1354
|
+
},
|
|
1299
1355
|
/**
|
|
1300
1356
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1301
1357
|
* @summary Call Lsp WorkspaceSymbols
|
|
@@ -1307,7 +1363,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1307
1363
|
* @param {*} [options] Override http request option.
|
|
1308
1364
|
* @throws {RequiredError}
|
|
1309
1365
|
*/
|
|
1310
|
-
lspWorkspaceSymbols:
|
|
1366
|
+
lspWorkspaceSymbols: async (workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) => {
|
|
1311
1367
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1312
1368
|
assertParamExists('lspWorkspaceSymbols', 'workspaceId', workspaceId);
|
|
1313
1369
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1316,8 +1372,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1316
1372
|
assertParamExists('lspWorkspaceSymbols', 'pathToProject', pathToProject);
|
|
1317
1373
|
// verify required parameter 'query' is not null or undefined
|
|
1318
1374
|
assertParamExists('lspWorkspaceSymbols', 'query', query);
|
|
1319
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`
|
|
1320
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1375
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1321
1376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1322
1377
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1323
1378
|
let baseOptions;
|
|
@@ -1327,9 +1382,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1327
1382
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1328
1383
|
const localVarHeaderParameter = {};
|
|
1329
1384
|
const localVarQueryParameter = {};
|
|
1385
|
+
// authentication bearer required
|
|
1386
|
+
// http bearer authentication required
|
|
1387
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1330
1388
|
// authentication oauth2 required
|
|
1331
1389
|
// oauth required
|
|
1332
|
-
|
|
1390
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1333
1391
|
if (languageId !== undefined) {
|
|
1334
1392
|
localVarQueryParameter['languageId'] = languageId;
|
|
1335
1393
|
}
|
|
@@ -1349,7 +1407,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1349
1407
|
url: toPathString(localVarUrlObj),
|
|
1350
1408
|
options: localVarRequestOptions,
|
|
1351
1409
|
};
|
|
1352
|
-
}
|
|
1410
|
+
},
|
|
1353
1411
|
/**
|
|
1354
1412
|
* Move file inside workspace
|
|
1355
1413
|
* @summary Move file
|
|
@@ -1360,15 +1418,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1360
1418
|
* @param {*} [options] Override http request option.
|
|
1361
1419
|
* @throws {RequiredError}
|
|
1362
1420
|
*/
|
|
1363
|
-
moveFile:
|
|
1421
|
+
moveFile: async (workspaceId, source, destination, xDaytonaOrganizationID, options = {}) => {
|
|
1364
1422
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1365
1423
|
assertParamExists('moveFile', 'workspaceId', workspaceId);
|
|
1366
1424
|
// verify required parameter 'source' is not null or undefined
|
|
1367
1425
|
assertParamExists('moveFile', 'source', source);
|
|
1368
1426
|
// verify required parameter 'destination' is not null or undefined
|
|
1369
1427
|
assertParamExists('moveFile', 'destination', destination);
|
|
1370
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`
|
|
1371
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1428
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1372
1429
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1373
1430
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1374
1431
|
let baseOptions;
|
|
@@ -1378,9 +1435,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1435
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1379
1436
|
const localVarHeaderParameter = {};
|
|
1380
1437
|
const localVarQueryParameter = {};
|
|
1438
|
+
// authentication bearer required
|
|
1439
|
+
// http bearer authentication required
|
|
1440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1381
1441
|
// authentication oauth2 required
|
|
1382
1442
|
// oauth required
|
|
1383
|
-
|
|
1443
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1384
1444
|
if (source !== undefined) {
|
|
1385
1445
|
localVarQueryParameter['source'] = source;
|
|
1386
1446
|
}
|
|
@@ -1397,7 +1457,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1397
1457
|
url: toPathString(localVarUrlObj),
|
|
1398
1458
|
options: localVarRequestOptions,
|
|
1399
1459
|
};
|
|
1400
|
-
}
|
|
1460
|
+
},
|
|
1401
1461
|
/**
|
|
1402
1462
|
* Replace text/pattern in multiple files inside workspace
|
|
1403
1463
|
* @summary Replace in files
|
|
@@ -1407,13 +1467,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1467
|
* @param {*} [options] Override http request option.
|
|
1408
1468
|
* @throws {RequiredError}
|
|
1409
1469
|
*/
|
|
1410
|
-
replaceInFiles:
|
|
1470
|
+
replaceInFiles: async (workspaceId, replaceRequest, xDaytonaOrganizationID, options = {}) => {
|
|
1411
1471
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1412
1472
|
assertParamExists('replaceInFiles', 'workspaceId', workspaceId);
|
|
1413
1473
|
// verify required parameter 'replaceRequest' is not null or undefined
|
|
1414
1474
|
assertParamExists('replaceInFiles', 'replaceRequest', replaceRequest);
|
|
1415
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`
|
|
1416
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1475
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1417
1476
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1418
1477
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1419
1478
|
let baseOptions;
|
|
@@ -1423,13 +1482,16 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1423
1482
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1424
1483
|
const localVarHeaderParameter = {};
|
|
1425
1484
|
const localVarQueryParameter = {};
|
|
1485
|
+
// authentication bearer required
|
|
1486
|
+
// http bearer authentication required
|
|
1487
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1426
1488
|
// authentication oauth2 required
|
|
1427
1489
|
// oauth required
|
|
1428
|
-
|
|
1490
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1491
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1429
1492
|
if (xDaytonaOrganizationID != null) {
|
|
1430
1493
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1431
1494
|
}
|
|
1432
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1433
1495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1434
1496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1435
1497
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1438,7 +1500,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1500
|
url: toPathString(localVarUrlObj),
|
|
1439
1501
|
options: localVarRequestOptions,
|
|
1440
1502
|
};
|
|
1441
|
-
}
|
|
1503
|
+
},
|
|
1442
1504
|
/**
|
|
1443
1505
|
* Search for files inside workspace
|
|
1444
1506
|
* @summary Search files
|
|
@@ -1449,15 +1511,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1449
1511
|
* @param {*} [options] Override http request option.
|
|
1450
1512
|
* @throws {RequiredError}
|
|
1451
1513
|
*/
|
|
1452
|
-
searchFiles:
|
|
1514
|
+
searchFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
|
|
1453
1515
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1454
1516
|
assertParamExists('searchFiles', 'workspaceId', workspaceId);
|
|
1455
1517
|
// verify required parameter 'path' is not null or undefined
|
|
1456
1518
|
assertParamExists('searchFiles', 'path', path);
|
|
1457
1519
|
// verify required parameter 'pattern' is not null or undefined
|
|
1458
1520
|
assertParamExists('searchFiles', 'pattern', pattern);
|
|
1459
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`
|
|
1460
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1521
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1461
1522
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1462
1523
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1463
1524
|
let baseOptions;
|
|
@@ -1467,9 +1528,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1467
1528
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1468
1529
|
const localVarHeaderParameter = {};
|
|
1469
1530
|
const localVarQueryParameter = {};
|
|
1531
|
+
// authentication bearer required
|
|
1532
|
+
// http bearer authentication required
|
|
1533
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1470
1534
|
// authentication oauth2 required
|
|
1471
1535
|
// oauth required
|
|
1472
|
-
|
|
1536
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1473
1537
|
if (path !== undefined) {
|
|
1474
1538
|
localVarQueryParameter['path'] = path;
|
|
1475
1539
|
}
|
|
@@ -1486,7 +1550,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1486
1550
|
url: toPathString(localVarUrlObj),
|
|
1487
1551
|
options: localVarRequestOptions,
|
|
1488
1552
|
};
|
|
1489
|
-
}
|
|
1553
|
+
},
|
|
1490
1554
|
/**
|
|
1491
1555
|
* Set file owner/group/permissions inside workspace
|
|
1492
1556
|
* @summary Set file permissions
|
|
@@ -1499,13 +1563,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1499
1563
|
* @param {*} [options] Override http request option.
|
|
1500
1564
|
* @throws {RequiredError}
|
|
1501
1565
|
*/
|
|
1502
|
-
setFilePermissions:
|
|
1566
|
+
setFilePermissions: async (workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) => {
|
|
1503
1567
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1504
1568
|
assertParamExists('setFilePermissions', 'workspaceId', workspaceId);
|
|
1505
1569
|
// verify required parameter 'path' is not null or undefined
|
|
1506
1570
|
assertParamExists('setFilePermissions', 'path', path);
|
|
1507
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`
|
|
1508
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1571
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1509
1572
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1510
1573
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1511
1574
|
let baseOptions;
|
|
@@ -1515,9 +1578,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1515
1578
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1516
1579
|
const localVarHeaderParameter = {};
|
|
1517
1580
|
const localVarQueryParameter = {};
|
|
1581
|
+
// authentication bearer required
|
|
1582
|
+
// http bearer authentication required
|
|
1583
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1518
1584
|
// authentication oauth2 required
|
|
1519
1585
|
// oauth required
|
|
1520
|
-
|
|
1586
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1521
1587
|
if (path !== undefined) {
|
|
1522
1588
|
localVarQueryParameter['path'] = path;
|
|
1523
1589
|
}
|
|
@@ -1540,7 +1606,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1540
1606
|
url: toPathString(localVarUrlObj),
|
|
1541
1607
|
options: localVarRequestOptions,
|
|
1542
1608
|
};
|
|
1543
|
-
}
|
|
1609
|
+
},
|
|
1544
1610
|
/**
|
|
1545
1611
|
* Upload file inside workspace
|
|
1546
1612
|
* @summary Upload file
|
|
@@ -1551,13 +1617,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1551
1617
|
* @param {*} [options] Override http request option.
|
|
1552
1618
|
* @throws {RequiredError}
|
|
1553
1619
|
*/
|
|
1554
|
-
uploadFile:
|
|
1620
|
+
uploadFile: async (workspaceId, path, xDaytonaOrganizationID, file, options = {}) => {
|
|
1555
1621
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1556
1622
|
assertParamExists('uploadFile', 'workspaceId', workspaceId);
|
|
1557
1623
|
// verify required parameter 'path' is not null or undefined
|
|
1558
1624
|
assertParamExists('uploadFile', 'path', path);
|
|
1559
|
-
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`
|
|
1560
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1625
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
1561
1626
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1562
1627
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1563
1628
|
let baseOptions;
|
|
@@ -1568,19 +1633,22 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1568
1633
|
const localVarHeaderParameter = {};
|
|
1569
1634
|
const localVarQueryParameter = {};
|
|
1570
1635
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1636
|
+
// authentication bearer required
|
|
1637
|
+
// http bearer authentication required
|
|
1638
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1571
1639
|
// authentication oauth2 required
|
|
1572
1640
|
// oauth required
|
|
1573
|
-
|
|
1641
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
1574
1642
|
if (path !== undefined) {
|
|
1575
1643
|
localVarQueryParameter['path'] = path;
|
|
1576
1644
|
}
|
|
1577
|
-
if (xDaytonaOrganizationID != null) {
|
|
1578
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1579
|
-
}
|
|
1580
1645
|
if (file !== undefined) {
|
|
1581
1646
|
localVarFormParams.append('file', file);
|
|
1582
1647
|
}
|
|
1583
1648
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1649
|
+
if (xDaytonaOrganizationID != null) {
|
|
1650
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1651
|
+
}
|
|
1584
1652
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1585
1653
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1586
1654
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1589,7 +1657,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
1589
1657
|
url: toPathString(localVarUrlObj),
|
|
1590
1658
|
options: localVarRequestOptions,
|
|
1591
1659
|
};
|
|
1592
|
-
}
|
|
1660
|
+
},
|
|
1593
1661
|
};
|
|
1594
1662
|
};
|
|
1595
1663
|
/**
|
|
@@ -1609,14 +1677,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1609
1677
|
* @param {*} [options] Override http request option.
|
|
1610
1678
|
* @throws {RequiredError}
|
|
1611
1679
|
*/
|
|
1612
|
-
createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1619
|
-
});
|
|
1680
|
+
async createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
|
|
1681
|
+
var _a, _b, _c;
|
|
1682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
|
|
1683
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1684
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1620
1686
|
},
|
|
1621
1687
|
/**
|
|
1622
1688
|
* Create a new session in the workspace
|
|
@@ -1627,14 +1693,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1627
1693
|
* @param {*} [options] Override http request option.
|
|
1628
1694
|
* @throws {RequiredError}
|
|
1629
1695
|
*/
|
|
1630
|
-
createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1637
|
-
});
|
|
1696
|
+
async createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
1697
|
+
var _a, _b, _c;
|
|
1698
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
|
|
1699
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1700
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1701
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1638
1702
|
},
|
|
1639
1703
|
/**
|
|
1640
1704
|
* Delete file inside workspace
|
|
@@ -1645,14 +1709,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1645
1709
|
* @param {*} [options] Override http request option.
|
|
1646
1710
|
* @throws {RequiredError}
|
|
1647
1711
|
*/
|
|
1648
|
-
deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1655
|
-
});
|
|
1712
|
+
async deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1713
|
+
var _a, _b, _c;
|
|
1714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1715
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1716
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1656
1718
|
},
|
|
1657
1719
|
/**
|
|
1658
1720
|
* Delete a specific session
|
|
@@ -1663,14 +1725,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1663
1725
|
* @param {*} [options] Override http request option.
|
|
1664
1726
|
* @throws {RequiredError}
|
|
1665
1727
|
*/
|
|
1666
|
-
deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1673
|
-
});
|
|
1728
|
+
async deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1729
|
+
var _a, _b, _c;
|
|
1730
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1731
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1732
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1733
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1674
1734
|
},
|
|
1675
1735
|
/**
|
|
1676
1736
|
* Download file from workspace
|
|
@@ -1681,14 +1741,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1681
1741
|
* @param {*} [options] Override http request option.
|
|
1682
1742
|
* @throws {RequiredError}
|
|
1683
1743
|
*/
|
|
1684
|
-
downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1691
|
-
});
|
|
1744
|
+
async downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1745
|
+
var _a, _b, _c;
|
|
1746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1747
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1748
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1749
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1692
1750
|
},
|
|
1693
1751
|
/**
|
|
1694
1752
|
* Execute command synchronously inside workspace
|
|
@@ -1699,14 +1757,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1699
1757
|
* @param {*} [options] Override http request option.
|
|
1700
1758
|
* @throws {RequiredError}
|
|
1701
1759
|
*/
|
|
1702
|
-
executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1709
|
-
});
|
|
1760
|
+
async executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
|
|
1761
|
+
var _a, _b, _c;
|
|
1762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
|
|
1763
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1764
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1765
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1710
1766
|
},
|
|
1711
1767
|
/**
|
|
1712
1768
|
* Execute a command in a specific session
|
|
@@ -1718,14 +1774,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1718
1774
|
* @param {*} [options] Override http request option.
|
|
1719
1775
|
* @throws {RequiredError}
|
|
1720
1776
|
*/
|
|
1721
|
-
executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1728
|
-
});
|
|
1777
|
+
async executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
1778
|
+
var _a, _b, _c;
|
|
1779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
|
|
1780
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1781
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1729
1783
|
},
|
|
1730
1784
|
/**
|
|
1731
1785
|
* Search for text/pattern inside workspace files
|
|
@@ -1737,14 +1791,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1737
1791
|
* @param {*} [options] Override http request option.
|
|
1738
1792
|
* @throws {RequiredError}
|
|
1739
1793
|
*/
|
|
1740
|
-
findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1747
|
-
});
|
|
1794
|
+
async findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
1795
|
+
var _a, _b, _c;
|
|
1796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
1797
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1798
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1748
1800
|
},
|
|
1749
1801
|
/**
|
|
1750
1802
|
* Get file info inside workspace
|
|
@@ -1755,14 +1807,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1755
1807
|
* @param {*} [options] Override http request option.
|
|
1756
1808
|
* @throws {RequiredError}
|
|
1757
1809
|
*/
|
|
1758
|
-
getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1765
|
-
});
|
|
1810
|
+
async getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1811
|
+
var _a, _b, _c;
|
|
1812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1813
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1814
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1815
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1766
1816
|
},
|
|
1767
1817
|
/**
|
|
1768
1818
|
*
|
|
@@ -1772,14 +1822,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1772
1822
|
* @param {*} [options] Override http request option.
|
|
1773
1823
|
* @throws {RequiredError}
|
|
1774
1824
|
*/
|
|
1775
|
-
getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1782
|
-
});
|
|
1825
|
+
async getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
|
|
1826
|
+
var _a, _b, _c;
|
|
1827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
|
|
1828
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1829
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1830
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1783
1831
|
},
|
|
1784
1832
|
/**
|
|
1785
1833
|
* Get session by ID
|
|
@@ -1790,14 +1838,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1790
1838
|
* @param {*} [options] Override http request option.
|
|
1791
1839
|
* @throws {RequiredError}
|
|
1792
1840
|
*/
|
|
1793
|
-
getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1800
|
-
});
|
|
1841
|
+
async getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
1842
|
+
var _a, _b, _c;
|
|
1843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1844
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1845
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1846
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1801
1847
|
},
|
|
1802
1848
|
/**
|
|
1803
1849
|
* Get session command by ID
|
|
@@ -1809,14 +1855,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1809
1855
|
* @param {*} [options] Override http request option.
|
|
1810
1856
|
* @throws {RequiredError}
|
|
1811
1857
|
*/
|
|
1812
|
-
getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1819
|
-
});
|
|
1858
|
+
async getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
1859
|
+
var _a, _b, _c;
|
|
1860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
|
|
1861
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1862
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1863
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1820
1864
|
},
|
|
1821
1865
|
/**
|
|
1822
1866
|
* Get logs for a specific command in a session
|
|
@@ -1829,14 +1873,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1829
1873
|
* @param {*} [options] Override http request option.
|
|
1830
1874
|
* @throws {RequiredError}
|
|
1831
1875
|
*/
|
|
1832
|
-
getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1839
|
-
});
|
|
1876
|
+
async getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
1877
|
+
var _a, _b, _c;
|
|
1878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
|
|
1879
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1880
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1840
1882
|
},
|
|
1841
1883
|
/**
|
|
1842
1884
|
* Add files to git commit
|
|
@@ -1847,14 +1889,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1847
1889
|
* @param {*} [options] Override http request option.
|
|
1848
1890
|
* @throws {RequiredError}
|
|
1849
1891
|
*/
|
|
1850
|
-
gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1857
|
-
});
|
|
1892
|
+
async gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
1893
|
+
var _a, _b, _c;
|
|
1894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
|
|
1895
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1896
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1897
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1858
1898
|
},
|
|
1859
1899
|
/**
|
|
1860
1900
|
* Clone git repository
|
|
@@ -1865,14 +1905,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1865
1905
|
* @param {*} [options] Override http request option.
|
|
1866
1906
|
* @throws {RequiredError}
|
|
1867
1907
|
*/
|
|
1868
|
-
gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1875
|
-
});
|
|
1908
|
+
async gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
1909
|
+
var _a, _b, _c;
|
|
1910
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
|
|
1911
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1912
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1913
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1876
1914
|
},
|
|
1877
1915
|
/**
|
|
1878
1916
|
* Commit changes to git repository
|
|
@@ -1883,14 +1921,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1883
1921
|
* @param {*} [options] Override http request option.
|
|
1884
1922
|
* @throws {RequiredError}
|
|
1885
1923
|
*/
|
|
1886
|
-
gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1893
|
-
});
|
|
1924
|
+
async gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
1925
|
+
var _a, _b, _c;
|
|
1926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
|
|
1927
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1928
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1929
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1894
1930
|
},
|
|
1895
1931
|
/**
|
|
1896
1932
|
* Create branch on git repository
|
|
@@ -1901,14 +1937,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1901
1937
|
* @param {*} [options] Override http request option.
|
|
1902
1938
|
* @throws {RequiredError}
|
|
1903
1939
|
*/
|
|
1904
|
-
gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1911
|
-
});
|
|
1940
|
+
async gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
1941
|
+
var _a, _b, _c;
|
|
1942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
|
|
1943
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1944
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1945
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1912
1946
|
},
|
|
1913
1947
|
/**
|
|
1914
1948
|
* Get commit history from git repository
|
|
@@ -1919,14 +1953,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1919
1953
|
* @param {*} [options] Override http request option.
|
|
1920
1954
|
* @throws {RequiredError}
|
|
1921
1955
|
*/
|
|
1922
|
-
gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1929
|
-
});
|
|
1956
|
+
async gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1957
|
+
var _a, _b, _c;
|
|
1958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1959
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1960
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1930
1962
|
},
|
|
1931
1963
|
/**
|
|
1932
1964
|
* Get status from git repository
|
|
@@ -1937,14 +1969,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1937
1969
|
* @param {*} [options] Override http request option.
|
|
1938
1970
|
* @throws {RequiredError}
|
|
1939
1971
|
*/
|
|
1940
|
-
gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1947
|
-
});
|
|
1972
|
+
async gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1973
|
+
var _a, _b, _c;
|
|
1974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1975
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1976
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1977
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1948
1978
|
},
|
|
1949
1979
|
/**
|
|
1950
1980
|
* Get branch list from git repository
|
|
@@ -1955,14 +1985,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1955
1985
|
* @param {*} [options] Override http request option.
|
|
1956
1986
|
* @throws {RequiredError}
|
|
1957
1987
|
*/
|
|
1958
|
-
gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1965
|
-
});
|
|
1988
|
+
async gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
1989
|
+
var _a, _b, _c;
|
|
1990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1991
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1992
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1966
1994
|
},
|
|
1967
1995
|
/**
|
|
1968
1996
|
* Pull changes from remote
|
|
@@ -1973,14 +2001,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1973
2001
|
* @param {*} [options] Override http request option.
|
|
1974
2002
|
* @throws {RequiredError}
|
|
1975
2003
|
*/
|
|
1976
|
-
gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1983
|
-
});
|
|
2004
|
+
async gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2005
|
+
var _a, _b, _c;
|
|
2006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2007
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2008
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2009
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1984
2010
|
},
|
|
1985
2011
|
/**
|
|
1986
2012
|
* Push changes to remote
|
|
@@ -1991,14 +2017,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
1991
2017
|
* @param {*} [options] Override http request option.
|
|
1992
2018
|
* @throws {RequiredError}
|
|
1993
2019
|
*/
|
|
1994
|
-
gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2001
|
-
});
|
|
2020
|
+
async gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2021
|
+
var _a, _b, _c;
|
|
2022
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2023
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2024
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2025
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2002
2026
|
},
|
|
2003
2027
|
/**
|
|
2004
2028
|
*
|
|
@@ -2009,14 +2033,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2009
2033
|
* @param {*} [options] Override http request option.
|
|
2010
2034
|
* @throws {RequiredError}
|
|
2011
2035
|
*/
|
|
2012
|
-
listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2019
|
-
});
|
|
2036
|
+
async listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
|
|
2037
|
+
var _a, _b, _c;
|
|
2038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
|
|
2039
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2040
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2041
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2020
2042
|
},
|
|
2021
2043
|
/**
|
|
2022
2044
|
* List all active sessions in the workspace
|
|
@@ -2026,14 +2048,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2026
2048
|
* @param {*} [options] Override http request option.
|
|
2027
2049
|
* @throws {RequiredError}
|
|
2028
2050
|
*/
|
|
2029
|
-
listSessions(workspaceId, xDaytonaOrganizationID, options) {
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2036
|
-
});
|
|
2051
|
+
async listSessions(workspaceId, xDaytonaOrganizationID, options) {
|
|
2052
|
+
var _a, _b, _c;
|
|
2053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
|
|
2054
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2055
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2056
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2037
2057
|
},
|
|
2038
2058
|
/**
|
|
2039
2059
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
@@ -2044,14 +2064,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2044
2064
|
* @param {*} [options] Override http request option.
|
|
2045
2065
|
* @throws {RequiredError}
|
|
2046
2066
|
*/
|
|
2047
|
-
lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2054
|
-
});
|
|
2067
|
+
async lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2068
|
+
var _a, _b, _c;
|
|
2069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
|
|
2070
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2071
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2072
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2055
2073
|
},
|
|
2056
2074
|
/**
|
|
2057
2075
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
@@ -2062,14 +2080,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2062
2080
|
* @param {*} [options] Override http request option.
|
|
2063
2081
|
* @throws {RequiredError}
|
|
2064
2082
|
*/
|
|
2065
|
-
lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2072
|
-
});
|
|
2083
|
+
async lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2084
|
+
var _a, _b, _c;
|
|
2085
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2086
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2087
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2088
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2073
2089
|
},
|
|
2074
2090
|
/**
|
|
2075
2091
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
@@ -2080,14 +2096,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2080
2096
|
* @param {*} [options] Override http request option.
|
|
2081
2097
|
* @throws {RequiredError}
|
|
2082
2098
|
*/
|
|
2083
|
-
lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2090
|
-
});
|
|
2099
|
+
async lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2100
|
+
var _a, _b, _c;
|
|
2101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2102
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2103
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2104
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2091
2105
|
},
|
|
2092
2106
|
/**
|
|
2093
2107
|
* The document symbol request is sent from the client to the server.
|
|
@@ -2100,14 +2114,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2100
2114
|
* @param {*} [options] Override http request option.
|
|
2101
2115
|
* @throws {RequiredError}
|
|
2102
2116
|
*/
|
|
2103
|
-
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2110
|
-
});
|
|
2117
|
+
async lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2118
|
+
var _a, _b, _c;
|
|
2119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
|
|
2120
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2121
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2111
2123
|
},
|
|
2112
2124
|
/**
|
|
2113
2125
|
* Start Lsp server process inside workspace project
|
|
@@ -2118,14 +2130,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2118
2130
|
* @param {*} [options] Override http request option.
|
|
2119
2131
|
* @throws {RequiredError}
|
|
2120
2132
|
*/
|
|
2121
|
-
lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2128
|
-
});
|
|
2133
|
+
async lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2134
|
+
var _a, _b, _c;
|
|
2135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2136
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2137
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2138
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2129
2139
|
},
|
|
2130
2140
|
/**
|
|
2131
2141
|
* Stop Lsp server process inside workspace project
|
|
@@ -2136,14 +2146,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2136
2146
|
* @param {*} [options] Override http request option.
|
|
2137
2147
|
* @throws {RequiredError}
|
|
2138
2148
|
*/
|
|
2139
|
-
lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2146
|
-
});
|
|
2149
|
+
async lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2150
|
+
var _a, _b, _c;
|
|
2151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2152
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2153
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2154
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2147
2155
|
},
|
|
2148
2156
|
/**
|
|
2149
2157
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
@@ -2156,14 +2164,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2156
2164
|
* @param {*} [options] Override http request option.
|
|
2157
2165
|
* @throws {RequiredError}
|
|
2158
2166
|
*/
|
|
2159
|
-
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2166
|
-
});
|
|
2167
|
+
async lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2168
|
+
var _a, _b, _c;
|
|
2169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
|
|
2170
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2171
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2167
2173
|
},
|
|
2168
2174
|
/**
|
|
2169
2175
|
* Move file inside workspace
|
|
@@ -2175,14 +2181,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2175
2181
|
* @param {*} [options] Override http request option.
|
|
2176
2182
|
* @throws {RequiredError}
|
|
2177
2183
|
*/
|
|
2178
|
-
moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2185
|
-
});
|
|
2184
|
+
async moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
|
|
2185
|
+
var _a, _b, _c;
|
|
2186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
|
|
2187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2188
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2189
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2186
2190
|
},
|
|
2187
2191
|
/**
|
|
2188
2192
|
* Replace text/pattern in multiple files inside workspace
|
|
@@ -2193,14 +2197,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2193
2197
|
* @param {*} [options] Override http request option.
|
|
2194
2198
|
* @throws {RequiredError}
|
|
2195
2199
|
*/
|
|
2196
|
-
replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2203
|
-
});
|
|
2200
|
+
async replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2201
|
+
var _a, _b, _c;
|
|
2202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
|
|
2203
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2204
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2204
2206
|
},
|
|
2205
2207
|
/**
|
|
2206
2208
|
* Search for files inside workspace
|
|
@@ -2212,14 +2214,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2212
2214
|
* @param {*} [options] Override http request option.
|
|
2213
2215
|
* @throws {RequiredError}
|
|
2214
2216
|
*/
|
|
2215
|
-
searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2222
|
-
});
|
|
2217
|
+
async searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2218
|
+
var _a, _b, _c;
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
2220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2221
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2223
2223
|
},
|
|
2224
2224
|
/**
|
|
2225
2225
|
* Set file owner/group/permissions inside workspace
|
|
@@ -2233,14 +2233,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2233
2233
|
* @param {*} [options] Override http request option.
|
|
2234
2234
|
* @throws {RequiredError}
|
|
2235
2235
|
*/
|
|
2236
|
-
setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2243
|
-
});
|
|
2236
|
+
async setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2237
|
+
var _a, _b, _c;
|
|
2238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
|
|
2239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2240
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2241
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2244
2242
|
},
|
|
2245
2243
|
/**
|
|
2246
2244
|
* Upload file inside workspace
|
|
@@ -2252,14 +2250,12 @@ export const ToolboxApiFp = function (configuration) {
|
|
|
2252
2250
|
* @param {*} [options] Override http request option.
|
|
2253
2251
|
* @throws {RequiredError}
|
|
2254
2252
|
*/
|
|
2255
|
-
uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2262
|
-
});
|
|
2253
|
+
async uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
|
|
2254
|
+
var _a, _b, _c;
|
|
2255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
|
|
2256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2257
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2263
2259
|
},
|
|
2264
2260
|
};
|
|
2265
2261
|
};
|
|
@@ -2281,7 +2277,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2281
2277
|
* @throws {RequiredError}
|
|
2282
2278
|
*/
|
|
2283
2279
|
createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
|
|
2284
|
-
return localVarFp
|
|
2280
|
+
return localVarFp
|
|
2281
|
+
.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options)
|
|
2282
|
+
.then((request) => request(axios, basePath));
|
|
2285
2283
|
},
|
|
2286
2284
|
/**
|
|
2287
2285
|
* Create a new session in the workspace
|
|
@@ -2293,7 +2291,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2293
2291
|
* @throws {RequiredError}
|
|
2294
2292
|
*/
|
|
2295
2293
|
createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
2296
|
-
return localVarFp
|
|
2294
|
+
return localVarFp
|
|
2295
|
+
.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options)
|
|
2296
|
+
.then((request) => request(axios, basePath));
|
|
2297
2297
|
},
|
|
2298
2298
|
/**
|
|
2299
2299
|
* Delete file inside workspace
|
|
@@ -2305,7 +2305,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2305
2305
|
* @throws {RequiredError}
|
|
2306
2306
|
*/
|
|
2307
2307
|
deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2308
|
-
return localVarFp
|
|
2308
|
+
return localVarFp
|
|
2309
|
+
.deleteFile(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2310
|
+
.then((request) => request(axios, basePath));
|
|
2309
2311
|
},
|
|
2310
2312
|
/**
|
|
2311
2313
|
* Delete a specific session
|
|
@@ -2317,7 +2319,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2317
2319
|
* @throws {RequiredError}
|
|
2318
2320
|
*/
|
|
2319
2321
|
deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
2320
|
-
return localVarFp
|
|
2322
|
+
return localVarFp
|
|
2323
|
+
.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
|
|
2324
|
+
.then((request) => request(axios, basePath));
|
|
2321
2325
|
},
|
|
2322
2326
|
/**
|
|
2323
2327
|
* Download file from workspace
|
|
@@ -2329,7 +2333,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2329
2333
|
* @throws {RequiredError}
|
|
2330
2334
|
*/
|
|
2331
2335
|
downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2332
|
-
return localVarFp
|
|
2336
|
+
return localVarFp
|
|
2337
|
+
.downloadFile(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2338
|
+
.then((request) => request(axios, basePath));
|
|
2333
2339
|
},
|
|
2334
2340
|
/**
|
|
2335
2341
|
* Execute command synchronously inside workspace
|
|
@@ -2341,7 +2347,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2341
2347
|
* @throws {RequiredError}
|
|
2342
2348
|
*/
|
|
2343
2349
|
executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
|
|
2344
|
-
return localVarFp
|
|
2350
|
+
return localVarFp
|
|
2351
|
+
.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options)
|
|
2352
|
+
.then((request) => request(axios, basePath));
|
|
2345
2353
|
},
|
|
2346
2354
|
/**
|
|
2347
2355
|
* Execute a command in a specific session
|
|
@@ -2354,7 +2362,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2354
2362
|
* @throws {RequiredError}
|
|
2355
2363
|
*/
|
|
2356
2364
|
executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
2357
|
-
return localVarFp
|
|
2365
|
+
return localVarFp
|
|
2366
|
+
.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
|
|
2367
|
+
.then((request) => request(axios, basePath));
|
|
2358
2368
|
},
|
|
2359
2369
|
/**
|
|
2360
2370
|
* Search for text/pattern inside workspace files
|
|
@@ -2367,7 +2377,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2367
2377
|
* @throws {RequiredError}
|
|
2368
2378
|
*/
|
|
2369
2379
|
findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2370
|
-
return localVarFp
|
|
2380
|
+
return localVarFp
|
|
2381
|
+
.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
|
|
2382
|
+
.then((request) => request(axios, basePath));
|
|
2371
2383
|
},
|
|
2372
2384
|
/**
|
|
2373
2385
|
* Get file info inside workspace
|
|
@@ -2379,7 +2391,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2379
2391
|
* @throws {RequiredError}
|
|
2380
2392
|
*/
|
|
2381
2393
|
getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2382
|
-
return localVarFp
|
|
2394
|
+
return localVarFp
|
|
2395
|
+
.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2396
|
+
.then((request) => request(axios, basePath));
|
|
2383
2397
|
},
|
|
2384
2398
|
/**
|
|
2385
2399
|
*
|
|
@@ -2390,7 +2404,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2390
2404
|
* @throws {RequiredError}
|
|
2391
2405
|
*/
|
|
2392
2406
|
getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
|
|
2393
|
-
return localVarFp
|
|
2407
|
+
return localVarFp
|
|
2408
|
+
.getProjectDir(workspaceId, xDaytonaOrganizationID, options)
|
|
2409
|
+
.then((request) => request(axios, basePath));
|
|
2394
2410
|
},
|
|
2395
2411
|
/**
|
|
2396
2412
|
* Get session by ID
|
|
@@ -2402,7 +2418,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2402
2418
|
* @throws {RequiredError}
|
|
2403
2419
|
*/
|
|
2404
2420
|
getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
2405
|
-
return localVarFp
|
|
2421
|
+
return localVarFp
|
|
2422
|
+
.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
|
|
2423
|
+
.then((request) => request(axios, basePath));
|
|
2406
2424
|
},
|
|
2407
2425
|
/**
|
|
2408
2426
|
* Get session command by ID
|
|
@@ -2415,7 +2433,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2415
2433
|
* @throws {RequiredError}
|
|
2416
2434
|
*/
|
|
2417
2435
|
getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
2418
|
-
return localVarFp
|
|
2436
|
+
return localVarFp
|
|
2437
|
+
.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options)
|
|
2438
|
+
.then((request) => request(axios, basePath));
|
|
2419
2439
|
},
|
|
2420
2440
|
/**
|
|
2421
2441
|
* Get logs for a specific command in a session
|
|
@@ -2429,7 +2449,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2429
2449
|
* @throws {RequiredError}
|
|
2430
2450
|
*/
|
|
2431
2451
|
getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
2432
|
-
return localVarFp
|
|
2452
|
+
return localVarFp
|
|
2453
|
+
.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
|
|
2454
|
+
.then((request) => request(axios, basePath));
|
|
2433
2455
|
},
|
|
2434
2456
|
/**
|
|
2435
2457
|
* Add files to git commit
|
|
@@ -2441,7 +2463,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2441
2463
|
* @throws {RequiredError}
|
|
2442
2464
|
*/
|
|
2443
2465
|
gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
2444
|
-
return localVarFp
|
|
2466
|
+
return localVarFp
|
|
2467
|
+
.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options)
|
|
2468
|
+
.then((request) => request(axios, basePath));
|
|
2445
2469
|
},
|
|
2446
2470
|
/**
|
|
2447
2471
|
* Clone git repository
|
|
@@ -2453,7 +2477,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2453
2477
|
* @throws {RequiredError}
|
|
2454
2478
|
*/
|
|
2455
2479
|
gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
2456
|
-
return localVarFp
|
|
2480
|
+
return localVarFp
|
|
2481
|
+
.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options)
|
|
2482
|
+
.then((request) => request(axios, basePath));
|
|
2457
2483
|
},
|
|
2458
2484
|
/**
|
|
2459
2485
|
* Commit changes to git repository
|
|
@@ -2465,7 +2491,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2465
2491
|
* @throws {RequiredError}
|
|
2466
2492
|
*/
|
|
2467
2493
|
gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
2468
|
-
return localVarFp
|
|
2494
|
+
return localVarFp
|
|
2495
|
+
.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options)
|
|
2496
|
+
.then((request) => request(axios, basePath));
|
|
2469
2497
|
},
|
|
2470
2498
|
/**
|
|
2471
2499
|
* Create branch on git repository
|
|
@@ -2477,7 +2505,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2477
2505
|
* @throws {RequiredError}
|
|
2478
2506
|
*/
|
|
2479
2507
|
gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
2480
|
-
return localVarFp
|
|
2508
|
+
return localVarFp
|
|
2509
|
+
.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options)
|
|
2510
|
+
.then((request) => request(axios, basePath));
|
|
2481
2511
|
},
|
|
2482
2512
|
/**
|
|
2483
2513
|
* Get commit history from git repository
|
|
@@ -2489,7 +2519,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2489
2519
|
* @throws {RequiredError}
|
|
2490
2520
|
*/
|
|
2491
2521
|
gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2492
|
-
return localVarFp
|
|
2522
|
+
return localVarFp
|
|
2523
|
+
.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2524
|
+
.then((request) => request(axios, basePath));
|
|
2493
2525
|
},
|
|
2494
2526
|
/**
|
|
2495
2527
|
* Get status from git repository
|
|
@@ -2501,7 +2533,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2501
2533
|
* @throws {RequiredError}
|
|
2502
2534
|
*/
|
|
2503
2535
|
gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2504
|
-
return localVarFp
|
|
2536
|
+
return localVarFp
|
|
2537
|
+
.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2538
|
+
.then((request) => request(axios, basePath));
|
|
2505
2539
|
},
|
|
2506
2540
|
/**
|
|
2507
2541
|
* Get branch list from git repository
|
|
@@ -2513,7 +2547,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2513
2547
|
* @throws {RequiredError}
|
|
2514
2548
|
*/
|
|
2515
2549
|
gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2516
|
-
return localVarFp
|
|
2550
|
+
return localVarFp
|
|
2551
|
+
.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2552
|
+
.then((request) => request(axios, basePath));
|
|
2517
2553
|
},
|
|
2518
2554
|
/**
|
|
2519
2555
|
* Pull changes from remote
|
|
@@ -2525,7 +2561,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2525
2561
|
* @throws {RequiredError}
|
|
2526
2562
|
*/
|
|
2527
2563
|
gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2528
|
-
return localVarFp
|
|
2564
|
+
return localVarFp
|
|
2565
|
+
.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
2566
|
+
.then((request) => request(axios, basePath));
|
|
2529
2567
|
},
|
|
2530
2568
|
/**
|
|
2531
2569
|
* Push changes to remote
|
|
@@ -2537,7 +2575,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2537
2575
|
* @throws {RequiredError}
|
|
2538
2576
|
*/
|
|
2539
2577
|
gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
2540
|
-
return localVarFp
|
|
2578
|
+
return localVarFp
|
|
2579
|
+
.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
2580
|
+
.then((request) => request(axios, basePath));
|
|
2541
2581
|
},
|
|
2542
2582
|
/**
|
|
2543
2583
|
*
|
|
@@ -2549,7 +2589,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2549
2589
|
* @throws {RequiredError}
|
|
2550
2590
|
*/
|
|
2551
2591
|
listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
|
|
2552
|
-
return localVarFp
|
|
2592
|
+
return localVarFp
|
|
2593
|
+
.listFiles(workspaceId, xDaytonaOrganizationID, path, options)
|
|
2594
|
+
.then((request) => request(axios, basePath));
|
|
2553
2595
|
},
|
|
2554
2596
|
/**
|
|
2555
2597
|
* List all active sessions in the workspace
|
|
@@ -2560,7 +2602,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2560
2602
|
* @throws {RequiredError}
|
|
2561
2603
|
*/
|
|
2562
2604
|
listSessions(workspaceId, xDaytonaOrganizationID, options) {
|
|
2563
|
-
return localVarFp
|
|
2605
|
+
return localVarFp
|
|
2606
|
+
.listSessions(workspaceId, xDaytonaOrganizationID, options)
|
|
2607
|
+
.then((request) => request(axios, basePath));
|
|
2564
2608
|
},
|
|
2565
2609
|
/**
|
|
2566
2610
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
@@ -2572,7 +2616,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2572
2616
|
* @throws {RequiredError}
|
|
2573
2617
|
*/
|
|
2574
2618
|
lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
2575
|
-
return localVarFp
|
|
2619
|
+
return localVarFp
|
|
2620
|
+
.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options)
|
|
2621
|
+
.then((request) => request(axios, basePath));
|
|
2576
2622
|
},
|
|
2577
2623
|
/**
|
|
2578
2624
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
@@ -2584,7 +2630,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2584
2630
|
* @throws {RequiredError}
|
|
2585
2631
|
*/
|
|
2586
2632
|
lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2587
|
-
return localVarFp
|
|
2633
|
+
return localVarFp
|
|
2634
|
+
.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
2635
|
+
.then((request) => request(axios, basePath));
|
|
2588
2636
|
},
|
|
2589
2637
|
/**
|
|
2590
2638
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
@@ -2596,7 +2644,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2596
2644
|
* @throws {RequiredError}
|
|
2597
2645
|
*/
|
|
2598
2646
|
lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
2599
|
-
return localVarFp
|
|
2647
|
+
return localVarFp
|
|
2648
|
+
.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
2649
|
+
.then((request) => request(axios, basePath));
|
|
2600
2650
|
},
|
|
2601
2651
|
/**
|
|
2602
2652
|
* The document symbol request is sent from the client to the server.
|
|
@@ -2610,7 +2660,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2610
2660
|
* @throws {RequiredError}
|
|
2611
2661
|
*/
|
|
2612
2662
|
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
2613
|
-
return localVarFp
|
|
2663
|
+
return localVarFp
|
|
2664
|
+
.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
|
|
2665
|
+
.then((request) => request(axios, basePath));
|
|
2614
2666
|
},
|
|
2615
2667
|
/**
|
|
2616
2668
|
* Start Lsp server process inside workspace project
|
|
@@ -2622,7 +2674,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2622
2674
|
* @throws {RequiredError}
|
|
2623
2675
|
*/
|
|
2624
2676
|
lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2625
|
-
return localVarFp
|
|
2677
|
+
return localVarFp
|
|
2678
|
+
.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
2679
|
+
.then((request) => request(axios, basePath));
|
|
2626
2680
|
},
|
|
2627
2681
|
/**
|
|
2628
2682
|
* Stop Lsp server process inside workspace project
|
|
@@ -2634,7 +2688,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2634
2688
|
* @throws {RequiredError}
|
|
2635
2689
|
*/
|
|
2636
2690
|
lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
2637
|
-
return localVarFp
|
|
2691
|
+
return localVarFp
|
|
2692
|
+
.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
2693
|
+
.then((request) => request(axios, basePath));
|
|
2638
2694
|
},
|
|
2639
2695
|
/**
|
|
2640
2696
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
@@ -2648,7 +2704,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2648
2704
|
* @throws {RequiredError}
|
|
2649
2705
|
*/
|
|
2650
2706
|
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
2651
|
-
return localVarFp
|
|
2707
|
+
return localVarFp
|
|
2708
|
+
.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
|
|
2709
|
+
.then((request) => request(axios, basePath));
|
|
2652
2710
|
},
|
|
2653
2711
|
/**
|
|
2654
2712
|
* Move file inside workspace
|
|
@@ -2661,7 +2719,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2661
2719
|
* @throws {RequiredError}
|
|
2662
2720
|
*/
|
|
2663
2721
|
moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
|
|
2664
|
-
return localVarFp
|
|
2722
|
+
return localVarFp
|
|
2723
|
+
.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options)
|
|
2724
|
+
.then((request) => request(axios, basePath));
|
|
2665
2725
|
},
|
|
2666
2726
|
/**
|
|
2667
2727
|
* Replace text/pattern in multiple files inside workspace
|
|
@@ -2673,7 +2733,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2673
2733
|
* @throws {RequiredError}
|
|
2674
2734
|
*/
|
|
2675
2735
|
replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
2676
|
-
return localVarFp
|
|
2736
|
+
return localVarFp
|
|
2737
|
+
.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options)
|
|
2738
|
+
.then((request) => request(axios, basePath));
|
|
2677
2739
|
},
|
|
2678
2740
|
/**
|
|
2679
2741
|
* Search for files inside workspace
|
|
@@ -2686,7 +2748,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2686
2748
|
* @throws {RequiredError}
|
|
2687
2749
|
*/
|
|
2688
2750
|
searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2689
|
-
return localVarFp
|
|
2751
|
+
return localVarFp
|
|
2752
|
+
.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
|
|
2753
|
+
.then((request) => request(axios, basePath));
|
|
2690
2754
|
},
|
|
2691
2755
|
/**
|
|
2692
2756
|
* Set file owner/group/permissions inside workspace
|
|
@@ -2701,7 +2765,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2701
2765
|
* @throws {RequiredError}
|
|
2702
2766
|
*/
|
|
2703
2767
|
setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
2704
|
-
return localVarFp
|
|
2768
|
+
return localVarFp
|
|
2769
|
+
.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options)
|
|
2770
|
+
.then((request) => request(axios, basePath));
|
|
2705
2771
|
},
|
|
2706
2772
|
/**
|
|
2707
2773
|
* Upload file inside workspace
|
|
@@ -2714,7 +2780,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2714
2780
|
* @throws {RequiredError}
|
|
2715
2781
|
*/
|
|
2716
2782
|
uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
|
|
2717
|
-
return localVarFp
|
|
2783
|
+
return localVarFp
|
|
2784
|
+
.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options)
|
|
2785
|
+
.then((request) => request(axios, basePath));
|
|
2718
2786
|
},
|
|
2719
2787
|
};
|
|
2720
2788
|
};
|
|
@@ -2737,7 +2805,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2737
2805
|
* @memberof ToolboxApi
|
|
2738
2806
|
*/
|
|
2739
2807
|
createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
|
|
2740
|
-
return ToolboxApiFp(this.configuration)
|
|
2808
|
+
return ToolboxApiFp(this.configuration)
|
|
2809
|
+
.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options)
|
|
2810
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2741
2811
|
}
|
|
2742
2812
|
/**
|
|
2743
2813
|
* Create a new session in the workspace
|
|
@@ -2750,7 +2820,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2750
2820
|
* @memberof ToolboxApi
|
|
2751
2821
|
*/
|
|
2752
2822
|
createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
|
|
2753
|
-
return ToolboxApiFp(this.configuration)
|
|
2823
|
+
return ToolboxApiFp(this.configuration)
|
|
2824
|
+
.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options)
|
|
2825
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2754
2826
|
}
|
|
2755
2827
|
/**
|
|
2756
2828
|
* Delete file inside workspace
|
|
@@ -2763,7 +2835,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2763
2835
|
* @memberof ToolboxApi
|
|
2764
2836
|
*/
|
|
2765
2837
|
deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2766
|
-
return ToolboxApiFp(this.configuration)
|
|
2838
|
+
return ToolboxApiFp(this.configuration)
|
|
2839
|
+
.deleteFile(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2840
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2767
2841
|
}
|
|
2768
2842
|
/**
|
|
2769
2843
|
* Delete a specific session
|
|
@@ -2776,7 +2850,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2776
2850
|
* @memberof ToolboxApi
|
|
2777
2851
|
*/
|
|
2778
2852
|
deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
2779
|
-
return ToolboxApiFp(this.configuration)
|
|
2853
|
+
return ToolboxApiFp(this.configuration)
|
|
2854
|
+
.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
|
|
2855
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2780
2856
|
}
|
|
2781
2857
|
/**
|
|
2782
2858
|
* Download file from workspace
|
|
@@ -2789,7 +2865,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2789
2865
|
* @memberof ToolboxApi
|
|
2790
2866
|
*/
|
|
2791
2867
|
downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2792
|
-
return ToolboxApiFp(this.configuration)
|
|
2868
|
+
return ToolboxApiFp(this.configuration)
|
|
2869
|
+
.downloadFile(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2870
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2793
2871
|
}
|
|
2794
2872
|
/**
|
|
2795
2873
|
* Execute command synchronously inside workspace
|
|
@@ -2802,7 +2880,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2802
2880
|
* @memberof ToolboxApi
|
|
2803
2881
|
*/
|
|
2804
2882
|
executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
|
|
2805
|
-
return ToolboxApiFp(this.configuration)
|
|
2883
|
+
return ToolboxApiFp(this.configuration)
|
|
2884
|
+
.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options)
|
|
2885
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2806
2886
|
}
|
|
2807
2887
|
/**
|
|
2808
2888
|
* Execute a command in a specific session
|
|
@@ -2816,7 +2896,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2816
2896
|
* @memberof ToolboxApi
|
|
2817
2897
|
*/
|
|
2818
2898
|
executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
|
|
2819
|
-
return ToolboxApiFp(this.configuration)
|
|
2899
|
+
return ToolboxApiFp(this.configuration)
|
|
2900
|
+
.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
|
|
2901
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2820
2902
|
}
|
|
2821
2903
|
/**
|
|
2822
2904
|
* Search for text/pattern inside workspace files
|
|
@@ -2830,7 +2912,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2830
2912
|
* @memberof ToolboxApi
|
|
2831
2913
|
*/
|
|
2832
2914
|
findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
2833
|
-
return ToolboxApiFp(this.configuration)
|
|
2915
|
+
return ToolboxApiFp(this.configuration)
|
|
2916
|
+
.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
|
|
2917
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2834
2918
|
}
|
|
2835
2919
|
/**
|
|
2836
2920
|
* Get file info inside workspace
|
|
@@ -2843,7 +2927,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2843
2927
|
* @memberof ToolboxApi
|
|
2844
2928
|
*/
|
|
2845
2929
|
getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2846
|
-
return ToolboxApiFp(this.configuration)
|
|
2930
|
+
return ToolboxApiFp(this.configuration)
|
|
2931
|
+
.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options)
|
|
2932
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2847
2933
|
}
|
|
2848
2934
|
/**
|
|
2849
2935
|
*
|
|
@@ -2855,7 +2941,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2855
2941
|
* @memberof ToolboxApi
|
|
2856
2942
|
*/
|
|
2857
2943
|
getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
|
|
2858
|
-
return ToolboxApiFp(this.configuration)
|
|
2944
|
+
return ToolboxApiFp(this.configuration)
|
|
2945
|
+
.getProjectDir(workspaceId, xDaytonaOrganizationID, options)
|
|
2946
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2859
2947
|
}
|
|
2860
2948
|
/**
|
|
2861
2949
|
* Get session by ID
|
|
@@ -2868,7 +2956,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2868
2956
|
* @memberof ToolboxApi
|
|
2869
2957
|
*/
|
|
2870
2958
|
getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
|
|
2871
|
-
return ToolboxApiFp(this.configuration)
|
|
2959
|
+
return ToolboxApiFp(this.configuration)
|
|
2960
|
+
.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
|
|
2961
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2872
2962
|
}
|
|
2873
2963
|
/**
|
|
2874
2964
|
* Get session command by ID
|
|
@@ -2882,7 +2972,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2882
2972
|
* @memberof ToolboxApi
|
|
2883
2973
|
*/
|
|
2884
2974
|
getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
|
|
2885
|
-
return ToolboxApiFp(this.configuration)
|
|
2975
|
+
return ToolboxApiFp(this.configuration)
|
|
2976
|
+
.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options)
|
|
2977
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2886
2978
|
}
|
|
2887
2979
|
/**
|
|
2888
2980
|
* Get logs for a specific command in a session
|
|
@@ -2897,7 +2989,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2897
2989
|
* @memberof ToolboxApi
|
|
2898
2990
|
*/
|
|
2899
2991
|
getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
|
|
2900
|
-
return ToolboxApiFp(this.configuration)
|
|
2992
|
+
return ToolboxApiFp(this.configuration)
|
|
2993
|
+
.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
|
|
2994
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2901
2995
|
}
|
|
2902
2996
|
/**
|
|
2903
2997
|
* Add files to git commit
|
|
@@ -2910,7 +3004,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2910
3004
|
* @memberof ToolboxApi
|
|
2911
3005
|
*/
|
|
2912
3006
|
gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
|
|
2913
|
-
return ToolboxApiFp(this.configuration)
|
|
3007
|
+
return ToolboxApiFp(this.configuration)
|
|
3008
|
+
.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options)
|
|
3009
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2914
3010
|
}
|
|
2915
3011
|
/**
|
|
2916
3012
|
* Clone git repository
|
|
@@ -2923,7 +3019,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2923
3019
|
* @memberof ToolboxApi
|
|
2924
3020
|
*/
|
|
2925
3021
|
gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
|
|
2926
|
-
return ToolboxApiFp(this.configuration)
|
|
3022
|
+
return ToolboxApiFp(this.configuration)
|
|
3023
|
+
.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options)
|
|
3024
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2927
3025
|
}
|
|
2928
3026
|
/**
|
|
2929
3027
|
* Commit changes to git repository
|
|
@@ -2936,7 +3034,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2936
3034
|
* @memberof ToolboxApi
|
|
2937
3035
|
*/
|
|
2938
3036
|
gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
|
|
2939
|
-
return ToolboxApiFp(this.configuration)
|
|
3037
|
+
return ToolboxApiFp(this.configuration)
|
|
3038
|
+
.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options)
|
|
3039
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2940
3040
|
}
|
|
2941
3041
|
/**
|
|
2942
3042
|
* Create branch on git repository
|
|
@@ -2949,7 +3049,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2949
3049
|
* @memberof ToolboxApi
|
|
2950
3050
|
*/
|
|
2951
3051
|
gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
|
|
2952
|
-
return ToolboxApiFp(this.configuration)
|
|
3052
|
+
return ToolboxApiFp(this.configuration)
|
|
3053
|
+
.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options)
|
|
3054
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2953
3055
|
}
|
|
2954
3056
|
/**
|
|
2955
3057
|
* Get commit history from git repository
|
|
@@ -2962,7 +3064,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2962
3064
|
* @memberof ToolboxApi
|
|
2963
3065
|
*/
|
|
2964
3066
|
gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2965
|
-
return ToolboxApiFp(this.configuration)
|
|
3067
|
+
return ToolboxApiFp(this.configuration)
|
|
3068
|
+
.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options)
|
|
3069
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2966
3070
|
}
|
|
2967
3071
|
/**
|
|
2968
3072
|
* Get status from git repository
|
|
@@ -2975,7 +3079,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2975
3079
|
* @memberof ToolboxApi
|
|
2976
3080
|
*/
|
|
2977
3081
|
gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2978
|
-
return ToolboxApiFp(this.configuration)
|
|
3082
|
+
return ToolboxApiFp(this.configuration)
|
|
3083
|
+
.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options)
|
|
3084
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2979
3085
|
}
|
|
2980
3086
|
/**
|
|
2981
3087
|
* Get branch list from git repository
|
|
@@ -2988,7 +3094,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2988
3094
|
* @memberof ToolboxApi
|
|
2989
3095
|
*/
|
|
2990
3096
|
gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
|
|
2991
|
-
return ToolboxApiFp(this.configuration)
|
|
3097
|
+
return ToolboxApiFp(this.configuration)
|
|
3098
|
+
.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options)
|
|
3099
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2992
3100
|
}
|
|
2993
3101
|
/**
|
|
2994
3102
|
* Pull changes from remote
|
|
@@ -3001,7 +3109,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3001
3109
|
* @memberof ToolboxApi
|
|
3002
3110
|
*/
|
|
3003
3111
|
gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
3004
|
-
return ToolboxApiFp(this.configuration)
|
|
3112
|
+
return ToolboxApiFp(this.configuration)
|
|
3113
|
+
.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
3114
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3005
3115
|
}
|
|
3006
3116
|
/**
|
|
3007
3117
|
* Push changes to remote
|
|
@@ -3014,7 +3124,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3014
3124
|
* @memberof ToolboxApi
|
|
3015
3125
|
*/
|
|
3016
3126
|
gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
|
|
3017
|
-
return ToolboxApiFp(this.configuration)
|
|
3127
|
+
return ToolboxApiFp(this.configuration)
|
|
3128
|
+
.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
|
|
3129
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3018
3130
|
}
|
|
3019
3131
|
/**
|
|
3020
3132
|
*
|
|
@@ -3027,7 +3139,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3027
3139
|
* @memberof ToolboxApi
|
|
3028
3140
|
*/
|
|
3029
3141
|
listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
|
|
3030
|
-
return ToolboxApiFp(this.configuration)
|
|
3142
|
+
return ToolboxApiFp(this.configuration)
|
|
3143
|
+
.listFiles(workspaceId, xDaytonaOrganizationID, path, options)
|
|
3144
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3031
3145
|
}
|
|
3032
3146
|
/**
|
|
3033
3147
|
* List all active sessions in the workspace
|
|
@@ -3039,7 +3153,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3039
3153
|
* @memberof ToolboxApi
|
|
3040
3154
|
*/
|
|
3041
3155
|
listSessions(workspaceId, xDaytonaOrganizationID, options) {
|
|
3042
|
-
return ToolboxApiFp(this.configuration)
|
|
3156
|
+
return ToolboxApiFp(this.configuration)
|
|
3157
|
+
.listSessions(workspaceId, xDaytonaOrganizationID, options)
|
|
3158
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3043
3159
|
}
|
|
3044
3160
|
/**
|
|
3045
3161
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
@@ -3052,7 +3168,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3052
3168
|
* @memberof ToolboxApi
|
|
3053
3169
|
*/
|
|
3054
3170
|
lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
|
|
3055
|
-
return ToolboxApiFp(this.configuration)
|
|
3171
|
+
return ToolboxApiFp(this.configuration)
|
|
3172
|
+
.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options)
|
|
3173
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3056
3174
|
}
|
|
3057
3175
|
/**
|
|
3058
3176
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
@@ -3065,7 +3183,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3065
3183
|
* @memberof ToolboxApi
|
|
3066
3184
|
*/
|
|
3067
3185
|
lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
3068
|
-
return ToolboxApiFp(this.configuration)
|
|
3186
|
+
return ToolboxApiFp(this.configuration)
|
|
3187
|
+
.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
3188
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3069
3189
|
}
|
|
3070
3190
|
/**
|
|
3071
3191
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
@@ -3078,7 +3198,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3078
3198
|
* @memberof ToolboxApi
|
|
3079
3199
|
*/
|
|
3080
3200
|
lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
|
|
3081
|
-
return ToolboxApiFp(this.configuration)
|
|
3201
|
+
return ToolboxApiFp(this.configuration)
|
|
3202
|
+
.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
|
|
3203
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3082
3204
|
}
|
|
3083
3205
|
/**
|
|
3084
3206
|
* The document symbol request is sent from the client to the server.
|
|
@@ -3093,7 +3215,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3093
3215
|
* @memberof ToolboxApi
|
|
3094
3216
|
*/
|
|
3095
3217
|
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
|
|
3096
|
-
return ToolboxApiFp(this.configuration)
|
|
3218
|
+
return ToolboxApiFp(this.configuration)
|
|
3219
|
+
.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
|
|
3220
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3097
3221
|
}
|
|
3098
3222
|
/**
|
|
3099
3223
|
* Start Lsp server process inside workspace project
|
|
@@ -3106,7 +3230,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3106
3230
|
* @memberof ToolboxApi
|
|
3107
3231
|
*/
|
|
3108
3232
|
lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
3109
|
-
return ToolboxApiFp(this.configuration)
|
|
3233
|
+
return ToolboxApiFp(this.configuration)
|
|
3234
|
+
.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
3235
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3110
3236
|
}
|
|
3111
3237
|
/**
|
|
3112
3238
|
* Stop Lsp server process inside workspace project
|
|
@@ -3119,7 +3245,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3119
3245
|
* @memberof ToolboxApi
|
|
3120
3246
|
*/
|
|
3121
3247
|
lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
|
|
3122
|
-
return ToolboxApiFp(this.configuration)
|
|
3248
|
+
return ToolboxApiFp(this.configuration)
|
|
3249
|
+
.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
|
|
3250
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3123
3251
|
}
|
|
3124
3252
|
/**
|
|
3125
3253
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
@@ -3134,7 +3262,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3134
3262
|
* @memberof ToolboxApi
|
|
3135
3263
|
*/
|
|
3136
3264
|
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
|
|
3137
|
-
return ToolboxApiFp(this.configuration)
|
|
3265
|
+
return ToolboxApiFp(this.configuration)
|
|
3266
|
+
.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
|
|
3267
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3138
3268
|
}
|
|
3139
3269
|
/**
|
|
3140
3270
|
* Move file inside workspace
|
|
@@ -3148,7 +3278,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3148
3278
|
* @memberof ToolboxApi
|
|
3149
3279
|
*/
|
|
3150
3280
|
moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
|
|
3151
|
-
return ToolboxApiFp(this.configuration)
|
|
3281
|
+
return ToolboxApiFp(this.configuration)
|
|
3282
|
+
.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options)
|
|
3283
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3152
3284
|
}
|
|
3153
3285
|
/**
|
|
3154
3286
|
* Replace text/pattern in multiple files inside workspace
|
|
@@ -3161,7 +3293,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3161
3293
|
* @memberof ToolboxApi
|
|
3162
3294
|
*/
|
|
3163
3295
|
replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
|
|
3164
|
-
return ToolboxApiFp(this.configuration)
|
|
3296
|
+
return ToolboxApiFp(this.configuration)
|
|
3297
|
+
.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options)
|
|
3298
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3165
3299
|
}
|
|
3166
3300
|
/**
|
|
3167
3301
|
* Search for files inside workspace
|
|
@@ -3175,7 +3309,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3175
3309
|
* @memberof ToolboxApi
|
|
3176
3310
|
*/
|
|
3177
3311
|
searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
|
|
3178
|
-
return ToolboxApiFp(this.configuration)
|
|
3312
|
+
return ToolboxApiFp(this.configuration)
|
|
3313
|
+
.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
|
|
3314
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3179
3315
|
}
|
|
3180
3316
|
/**
|
|
3181
3317
|
* Set file owner/group/permissions inside workspace
|
|
@@ -3191,7 +3327,9 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3191
3327
|
* @memberof ToolboxApi
|
|
3192
3328
|
*/
|
|
3193
3329
|
setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
|
|
3194
|
-
return ToolboxApiFp(this.configuration)
|
|
3330
|
+
return ToolboxApiFp(this.configuration)
|
|
3331
|
+
.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options)
|
|
3332
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3195
3333
|
}
|
|
3196
3334
|
/**
|
|
3197
3335
|
* Upload file inside workspace
|
|
@@ -3205,6 +3343,8 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3205
3343
|
* @memberof ToolboxApi
|
|
3206
3344
|
*/
|
|
3207
3345
|
uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
|
|
3208
|
-
return ToolboxApiFp(this.configuration)
|
|
3346
|
+
return ToolboxApiFp(this.configuration)
|
|
3347
|
+
.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options)
|
|
3348
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3209
3349
|
}
|
|
3210
3350
|
}
|