@daytonaio/api-client 0.0.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +25 -0
- package/src/api/api-keys-api.d.ts +220 -0
- package/src/api/api-keys-api.js +428 -0
- package/src/api/api-keys-api.js.map +1 -0
- package/src/api/docker-registry-api.d.ts +299 -0
- package/src/api/docker-registry-api.js +592 -0
- package/src/api/docker-registry-api.js.map +1 -0
- package/src/api/object-storage-api.d.ts +74 -0
- package/src/api/object-storage-api.js +127 -0
- package/src/api/object-storage-api.js.map +1 -0
- package/src/api/organizations-api.d.ts +927 -0
- package/src/api/organizations-api.js +1891 -0
- package/src/api/organizations-api.js.map +1 -0
- package/src/api/preview-api.d.ts +143 -0
- package/src/api/preview-api.js +265 -0
- package/src/api/preview-api.js.map +1 -0
- package/src/api/runners-api.d.ts +204 -0
- package/src/api/runners-api.js +402 -0
- package/src/api/runners-api.js.map +1 -0
- package/src/api/sandbox-api.d.ts +598 -0
- package/src/api/sandbox-api.js +1212 -0
- package/src/api/sandbox-api.js.map +1 -0
- package/src/api/snapshots-api.d.ts +320 -0
- package/src/api/snapshots-api.js +629 -0
- package/src/api/snapshots-api.js.map +1 -0
- package/src/api/toolbox-api.d.ts +1724 -0
- package/src/api/toolbox-api.js +3501 -0
- package/src/api/toolbox-api.js.map +1 -0
- package/src/api/users-api.d.ts +300 -0
- package/src/api/users-api.js +599 -0
- package/src/api/users-api.js.map +1 -0
- package/src/api/volumes-api.d.ts +227 -0
- package/src/api/volumes-api.js +447 -0
- package/src/api/volumes-api.js.map +1 -0
- package/src/api/workspace-api.d.ts +654 -0
- package/src/api/workspace-api.js +1269 -0
- package/src/api/workspace-api.js.map +1 -0
- package/src/api.d.ts +23 -0
- package/src/api.js +41 -0
- package/src/api.js.map +1 -0
- package/src/base.d.ts +66 -0
- package/src/base.js +68 -0
- package/src/base.js.map +1 -0
- package/src/common.d.ts +65 -0
- package/src/common.js +146 -0
- package/src/common.js.map +1 -0
- package/src/configuration.d.ts +91 -0
- package/src/configuration.js +105 -0
- package/src/configuration.js.map +1 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +32 -0
- package/src/index.js.map +1 -0
- package/src/models/account-provider.d.ts +30 -0
- package/src/models/account-provider.js +4 -0
- package/src/models/account-provider.js.map +1 -0
- package/src/models/api-key-list.d.ts +66 -0
- package/src/models/api-key-list.js +16 -0
- package/src/models/api-key-list.js.map +1 -0
- package/src/models/api-key-response.d.ts +60 -0
- package/src/models/api-key-response.js +16 -0
- package/src/models/api-key-response.js.map +1 -0
- package/src/models/build-info.d.ts +42 -0
- package/src/models/build-info.js +4 -0
- package/src/models/build-info.js.map +1 -0
- package/src/models/command.d.ts +36 -0
- package/src/models/command.js +4 -0
- package/src/models/command.js.map +1 -0
- package/src/models/completion-context.d.ts +30 -0
- package/src/models/completion-context.js +4 -0
- package/src/models/completion-context.js.map +1 -0
- package/src/models/completion-item.d.ts +60 -0
- package/src/models/completion-item.js +4 -0
- package/src/models/completion-item.js.map +1 -0
- package/src/models/completion-list.d.ts +31 -0
- package/src/models/completion-list.js +16 -0
- package/src/models/completion-list.js.map +1 -0
- package/src/models/create-api-key.d.ts +48 -0
- package/src/models/create-api-key.js +16 -0
- package/src/models/create-api-key.js.map +1 -0
- package/src/models/create-build-info.d.ts +30 -0
- package/src/models/create-build-info.js +4 -0
- package/src/models/create-build-info.js.map +1 -0
- package/src/models/create-docker-registry.d.ts +67 -0
- package/src/models/create-docker-registry.js +11 -0
- package/src/models/create-docker-registry.js.map +1 -0
- package/src/models/create-linked-account.d.ts +30 -0
- package/src/models/create-linked-account.js +4 -0
- package/src/models/create-linked-account.js.map +1 -0
- package/src/models/create-organization-invitation.d.ts +47 -0
- package/src/models/create-organization-invitation.js +9 -0
- package/src/models/create-organization-invitation.js.map +1 -0
- package/src/models/create-organization-quota.d.ts +72 -0
- package/src/models/create-organization-quota.js +4 -0
- package/src/models/create-organization-quota.js.map +1 -0
- package/src/models/create-organization-role.d.ts +48 -0
- package/src/models/create-organization-role.js +16 -0
- package/src/models/create-organization-role.js.map +1 -0
- package/src/models/create-organization.d.ts +24 -0
- package/src/models/create-organization.js +4 -0
- package/src/models/create-organization.js.map +1 -0
- package/src/models/create-runner.d.ts +96 -0
- package/src/models/create-runner.js +15 -0
- package/src/models/create-runner.js.map +1 -0
- package/src/models/create-sandbox.d.ts +126 -0
- package/src/models/create-sandbox.js +27 -0
- package/src/models/create-sandbox.js.map +1 -0
- package/src/models/create-session-request.d.ts +24 -0
- package/src/models/create-session-request.js +4 -0
- package/src/models/create-session-request.js.map +1 -0
- package/src/models/create-snapshot.d.ts +73 -0
- package/src/models/create-snapshot.js +16 -0
- package/src/models/create-snapshot.js.map +1 -0
- package/src/models/create-user.d.ts +60 -0
- package/src/models/create-user.js +21 -0
- package/src/models/create-user.js.map +1 -0
- package/src/models/create-volume.d.ts +24 -0
- package/src/models/create-volume.js +4 -0
- package/src/models/create-volume.js.map +1 -0
- package/src/models/create-workspace.d.ts +126 -0
- package/src/models/create-workspace.js +27 -0
- package/src/models/create-workspace.js.map +1 -0
- package/src/models/docker-registry.d.ts +73 -0
- package/src/models/docker-registry.js +11 -0
- package/src/models/docker-registry.js.map +1 -0
- package/src/models/execute-request.d.ts +36 -0
- package/src/models/execute-request.js +4 -0
- package/src/models/execute-request.js.map +1 -0
- package/src/models/execute-response.d.ts +30 -0
- package/src/models/execute-response.js +4 -0
- package/src/models/execute-response.js.map +1 -0
- package/src/models/file-info.d.ts +66 -0
- package/src/models/file-info.js +4 -0
- package/src/models/file-info.js.map +1 -0
- package/src/models/file-status.d.ts +42 -0
- package/src/models/file-status.js +4 -0
- package/src/models/file-status.js.map +1 -0
- package/src/models/git-add-request.d.ts +30 -0
- package/src/models/git-add-request.js +4 -0
- package/src/models/git-add-request.js.map +1 -0
- package/src/models/git-branch-request.d.ts +30 -0
- package/src/models/git-branch-request.js +4 -0
- package/src/models/git-branch-request.js.map +1 -0
- package/src/models/git-checkout-request.d.ts +30 -0
- package/src/models/git-checkout-request.js +4 -0
- package/src/models/git-checkout-request.js.map +1 -0
- package/src/models/git-clone-request.d.ts +54 -0
- package/src/models/git-clone-request.js +4 -0
- package/src/models/git-clone-request.js.map +1 -0
- package/src/models/git-commit-info.d.ts +48 -0
- package/src/models/git-commit-info.js +4 -0
- package/src/models/git-commit-info.js.map +1 -0
- package/src/models/git-commit-request.d.ts +42 -0
- package/src/models/git-commit-request.js +4 -0
- package/src/models/git-commit-request.js.map +1 -0
- package/src/models/git-commit-response.d.ts +24 -0
- package/src/models/git-commit-response.js +4 -0
- package/src/models/git-commit-response.js.map +1 -0
- package/src/models/git-delete-branch-request.d.ts +30 -0
- package/src/models/git-delete-branch-request.js +4 -0
- package/src/models/git-delete-branch-request.js.map +1 -0
- package/src/models/git-repo-request.d.ts +36 -0
- package/src/models/git-repo-request.js +4 -0
- package/src/models/git-repo-request.js.map +1 -0
- package/src/models/git-status.d.ts +49 -0
- package/src/models/git-status.js +16 -0
- package/src/models/git-status.js.map +1 -0
- package/src/models/index.d.ts +89 -0
- package/src/models/index.js +106 -0
- package/src/models/index.js.map +1 -0
- package/src/models/list-branch-response.d.ts +24 -0
- package/src/models/list-branch-response.js +4 -0
- package/src/models/list-branch-response.js.map +1 -0
- package/src/models/lsp-completion-params.d.ts +50 -0
- package/src/models/lsp-completion-params.js +16 -0
- package/src/models/lsp-completion-params.js.map +1 -0
- package/src/models/lsp-document-request.d.ts +36 -0
- package/src/models/lsp-document-request.js +4 -0
- package/src/models/lsp-document-request.js.map +1 -0
- package/src/models/lsp-location.d.ts +31 -0
- package/src/models/lsp-location.js +16 -0
- package/src/models/lsp-location.js.map +1 -0
- package/src/models/lsp-server-request.d.ts +30 -0
- package/src/models/lsp-server-request.js +4 -0
- package/src/models/lsp-server-request.js.map +1 -0
- package/src/models/lsp-symbol.d.ts +37 -0
- package/src/models/lsp-symbol.js +16 -0
- package/src/models/lsp-symbol.js.map +1 -0
- package/src/models/match.d.ts +36 -0
- package/src/models/match.js +4 -0
- package/src/models/match.js.map +1 -0
- package/src/models/organization-invitation.d.ts +97 -0
- package/src/models/organization-invitation.js +27 -0
- package/src/models/organization-invitation.js.map +1 -0
- package/src/models/organization-role.d.ts +72 -0
- package/src/models/organization-role.js +16 -0
- package/src/models/organization-role.js.map +1 -0
- package/src/models/organization-suspension.d.ts +30 -0
- package/src/models/organization-suspension.js +4 -0
- package/src/models/organization-suspension.js.map +1 -0
- package/src/models/organization-user.d.ts +72 -0
- package/src/models/organization-user.js +21 -0
- package/src/models/organization-user.js.map +1 -0
- package/src/models/organization.d.ts +78 -0
- package/src/models/organization.js +4 -0
- package/src/models/organization.js.map +1 -0
- package/src/models/paginated-snapshots-dto.d.ts +43 -0
- package/src/models/paginated-snapshots-dto.js +16 -0
- package/src/models/paginated-snapshots-dto.js.map +1 -0
- package/src/models/port-preview-url.d.ts +30 -0
- package/src/models/port-preview-url.js +4 -0
- package/src/models/port-preview-url.js.map +1 -0
- package/src/models/position.d.ts +30 -0
- package/src/models/position.js +4 -0
- package/src/models/position.js.map +1 -0
- package/src/models/project-dir-response.d.ts +24 -0
- package/src/models/project-dir-response.js +4 -0
- package/src/models/project-dir-response.js.map +1 -0
- package/src/models/range.d.ts +31 -0
- package/src/models/range.js +16 -0
- package/src/models/range.js.map +1 -0
- package/src/models/registry-push-access-dto.d.ts +54 -0
- package/src/models/registry-push-access-dto.js +4 -0
- package/src/models/registry-push-access-dto.js.map +1 -0
- package/src/models/replace-request.d.ts +36 -0
- package/src/models/replace-request.js +4 -0
- package/src/models/replace-request.js.map +1 -0
- package/src/models/replace-result.d.ts +36 -0
- package/src/models/replace-result.js +4 -0
- package/src/models/replace-result.js.map +1 -0
- package/src/models/runner-region.d.ts +22 -0
- package/src/models/runner-region.js +26 -0
- package/src/models/runner-region.js.map +1 -0
- package/src/models/runner-snapshot-dto.d.ts +36 -0
- package/src/models/runner-snapshot-dto.js +4 -0
- package/src/models/runner-snapshot-dto.js.map +1 -0
- package/src/models/runner-state.d.ts +24 -0
- package/src/models/runner-state.js +28 -0
- package/src/models/runner-state.js.map +1 -0
- package/src/models/runner.d.ts +129 -0
- package/src/models/runner.js +16 -0
- package/src/models/runner.js.map +1 -0
- package/src/models/sandbox-class.d.ts +22 -0
- package/src/models/sandbox-class.js +26 -0
- package/src/models/sandbox-class.js.map +1 -0
- package/src/models/sandbox-info.d.ts +37 -0
- package/src/models/sandbox-info.js +4 -0
- package/src/models/sandbox-info.js.map +1 -0
- package/src/models/sandbox-labels.d.ts +26 -0
- package/src/models/sandbox-labels.js +4 -0
- package/src/models/sandbox-labels.js.map +1 -0
- package/src/models/sandbox-state.d.ts +35 -0
- package/src/models/sandbox-state.js +39 -0
- package/src/models/sandbox-state.js.map +1 -0
- package/src/models/sandbox-volume.d.ts +30 -0
- package/src/models/sandbox-volume.js +4 -0
- package/src/models/sandbox-volume.js.map +1 -0
- package/src/models/sandbox.d.ts +190 -0
- package/src/models/sandbox.js +29 -0
- package/src/models/sandbox.js.map +1 -0
- package/src/models/search-files-response.d.ts +24 -0
- package/src/models/search-files-response.js +4 -0
- package/src/models/search-files-response.js.map +1 -0
- package/src/models/session-execute-request.d.ts +37 -0
- package/src/models/session-execute-request.js +4 -0
- package/src/models/session-execute-request.js.map +1 -0
- package/src/models/session-execute-response.d.ts +36 -0
- package/src/models/session-execute-response.js +4 -0
- package/src/models/session-execute-response.js.map +1 -0
- package/src/models/session.d.ts +31 -0
- package/src/models/session.js +16 -0
- package/src/models/session.js.map +1 -0
- package/src/models/set-snapshot-general-status-dto.d.ts +24 -0
- package/src/models/set-snapshot-general-status-dto.js +4 -0
- package/src/models/set-snapshot-general-status-dto.js.map +1 -0
- package/src/models/snapshot-dto.d.ts +128 -0
- package/src/models/snapshot-dto.js +16 -0
- package/src/models/snapshot-dto.js.map +1 -0
- package/src/models/snapshot-state.d.ts +29 -0
- package/src/models/snapshot-state.js +33 -0
- package/src/models/snapshot-state.js.map +1 -0
- package/src/models/storage-access-dto.d.ts +54 -0
- package/src/models/storage-access-dto.js +4 -0
- package/src/models/storage-access-dto.js.map +1 -0
- package/src/models/toggle-state.d.ts +24 -0
- package/src/models/toggle-state.js +4 -0
- package/src/models/toggle-state.js.map +1 -0
- package/src/models/update-assigned-organization-roles.d.ts +24 -0
- package/src/models/update-assigned-organization-roles.js +4 -0
- package/src/models/update-assigned-organization-roles.js.map +1 -0
- package/src/models/update-docker-registry.d.ts +36 -0
- package/src/models/update-docker-registry.js +4 -0
- package/src/models/update-docker-registry.js.map +1 -0
- package/src/models/update-organization-invitation.d.ts +41 -0
- package/src/models/update-organization-invitation.js +9 -0
- package/src/models/update-organization-invitation.js.map +1 -0
- package/src/models/update-organization-member-role.d.ts +29 -0
- package/src/models/update-organization-member-role.js +9 -0
- package/src/models/update-organization-member-role.js.map +1 -0
- package/src/models/update-organization-quota.d.ts +72 -0
- package/src/models/update-organization-quota.js +4 -0
- package/src/models/update-organization-quota.js.map +1 -0
- package/src/models/update-organization-role.d.ts +48 -0
- package/src/models/update-organization-role.js +16 -0
- package/src/models/update-organization-role.js.map +1 -0
- package/src/models/usage-overview.d.ts +60 -0
- package/src/models/usage-overview.js +4 -0
- package/src/models/usage-overview.js.map +1 -0
- package/src/models/user-public-key.d.ts +30 -0
- package/src/models/user-public-key.js +4 -0
- package/src/models/user-public-key.js.map +1 -0
- package/src/models/user.d.ts +43 -0
- package/src/models/user.js +16 -0
- package/src/models/user.js.map +1 -0
- package/src/models/volume-dto.d.ts +67 -0
- package/src/models/volume-dto.js +16 -0
- package/src/models/volume-dto.js.map +1 -0
- package/src/models/volume-state.d.ts +26 -0
- package/src/models/volume-state.js +30 -0
- package/src/models/volume-state.js.map +1 -0
- package/src/models/workspace.d.ts +229 -0
- package/src/models/workspace.js +36 -0
- package/src/models/workspace.js.map +1 -0
|
@@ -0,0 +1,1724 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { Command } from '../models';
|
|
16
|
+
import type { CompletionList } from '../models';
|
|
17
|
+
import type { CreateSessionRequest } from '../models';
|
|
18
|
+
import type { ExecuteRequest } from '../models';
|
|
19
|
+
import type { ExecuteResponse } from '../models';
|
|
20
|
+
import type { FileInfo } from '../models';
|
|
21
|
+
import type { GitAddRequest } from '../models';
|
|
22
|
+
import type { GitBranchRequest } from '../models';
|
|
23
|
+
import type { GitCheckoutRequest } from '../models';
|
|
24
|
+
import type { GitCloneRequest } from '../models';
|
|
25
|
+
import type { GitCommitInfo } from '../models';
|
|
26
|
+
import type { GitCommitRequest } from '../models';
|
|
27
|
+
import type { GitCommitResponse } from '../models';
|
|
28
|
+
import type { GitDeleteBranchRequest } from '../models';
|
|
29
|
+
import type { GitRepoRequest } from '../models';
|
|
30
|
+
import type { GitStatus } from '../models';
|
|
31
|
+
import type { ListBranchResponse } from '../models';
|
|
32
|
+
import type { LspCompletionParams } from '../models';
|
|
33
|
+
import type { LspDocumentRequest } from '../models';
|
|
34
|
+
import type { LspServerRequest } from '../models';
|
|
35
|
+
import type { LspSymbol } from '../models';
|
|
36
|
+
import type { Match } from '../models';
|
|
37
|
+
import type { ProjectDirResponse } from '../models';
|
|
38
|
+
import type { ReplaceRequest } from '../models';
|
|
39
|
+
import type { ReplaceResult } from '../models';
|
|
40
|
+
import type { SearchFilesResponse } from '../models';
|
|
41
|
+
import type { Session } from '../models';
|
|
42
|
+
import type { SessionExecuteRequest } from '../models';
|
|
43
|
+
import type { SessionExecuteResponse } from '../models';
|
|
44
|
+
/**
|
|
45
|
+
* ToolboxApi - axios parameter creator
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
49
|
+
/**
|
|
50
|
+
* Create folder inside sandbox
|
|
51
|
+
* @summary Create folder
|
|
52
|
+
* @param {string} sandboxId
|
|
53
|
+
* @param {string} path
|
|
54
|
+
* @param {string} mode
|
|
55
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
createFolder: (sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a new session in the sandbox
|
|
62
|
+
* @summary Create session
|
|
63
|
+
* @param {string} sandboxId
|
|
64
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
65
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
createSession: (sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* Delete file inside sandbox
|
|
72
|
+
* @summary Delete file
|
|
73
|
+
* @param {string} sandboxId
|
|
74
|
+
* @param {string} path
|
|
75
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
deleteFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
* Delete a specific session
|
|
82
|
+
* @summary Delete session
|
|
83
|
+
* @param {string} sandboxId
|
|
84
|
+
* @param {string} sessionId
|
|
85
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
deleteSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
|
+
/**
|
|
91
|
+
* Download file from sandbox
|
|
92
|
+
* @summary Download file
|
|
93
|
+
* @param {string} sandboxId
|
|
94
|
+
* @param {string} path
|
|
95
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
downloadFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
/**
|
|
101
|
+
* Execute command synchronously inside sandbox
|
|
102
|
+
* @summary Execute command
|
|
103
|
+
* @param {string} sandboxId
|
|
104
|
+
* @param {ExecuteRequest} executeRequest
|
|
105
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
executeCommand: (sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* Execute a command in a specific session
|
|
112
|
+
* @summary Execute command in session
|
|
113
|
+
* @param {string} sandboxId
|
|
114
|
+
* @param {string} sessionId
|
|
115
|
+
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
116
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
executeSessionCommand: (sandboxId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
* Search for text/pattern inside sandbox files
|
|
123
|
+
* @summary Search for text/pattern in files
|
|
124
|
+
* @param {string} sandboxId
|
|
125
|
+
* @param {string} path
|
|
126
|
+
* @param {string} pattern
|
|
127
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
findInFiles: (sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
+
/**
|
|
133
|
+
* Get file info inside sandbox
|
|
134
|
+
* @summary Get file info
|
|
135
|
+
* @param {string} sandboxId
|
|
136
|
+
* @param {string} path
|
|
137
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
getFileInfo: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @summary Get sandbox project dir
|
|
145
|
+
* @param {string} sandboxId
|
|
146
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
getProjectDir: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
151
|
+
/**
|
|
152
|
+
* Get session by ID
|
|
153
|
+
* @summary Get session
|
|
154
|
+
* @param {string} sandboxId
|
|
155
|
+
* @param {string} sessionId
|
|
156
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
161
|
+
/**
|
|
162
|
+
* Get session command by ID
|
|
163
|
+
* @summary Get session command
|
|
164
|
+
* @param {string} sandboxId
|
|
165
|
+
* @param {string} sessionId
|
|
166
|
+
* @param {string} commandId
|
|
167
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
getSessionCommand: (sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
172
|
+
/**
|
|
173
|
+
* Get logs for a specific command in a session
|
|
174
|
+
* @summary Get command logs
|
|
175
|
+
* @param {string} sandboxId
|
|
176
|
+
* @param {string} sessionId
|
|
177
|
+
* @param {string} commandId
|
|
178
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
179
|
+
* @param {boolean} [follow]
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
getSessionCommandLogs: (sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
184
|
+
/**
|
|
185
|
+
* Add files to git commit
|
|
186
|
+
* @summary Add files
|
|
187
|
+
* @param {string} sandboxId
|
|
188
|
+
* @param {GitAddRequest} gitAddRequest
|
|
189
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
gitAddFiles: (sandboxId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
194
|
+
/**
|
|
195
|
+
* Checkout branch or commit in git repository
|
|
196
|
+
* @summary Checkout branch
|
|
197
|
+
* @param {string} sandboxId
|
|
198
|
+
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
199
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
gitCheckoutBranch: (sandboxId: string, gitCheckoutRequest: GitCheckoutRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
204
|
+
/**
|
|
205
|
+
* Clone git repository
|
|
206
|
+
* @summary Clone repository
|
|
207
|
+
* @param {string} sandboxId
|
|
208
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
209
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
gitCloneRepository: (sandboxId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
214
|
+
/**
|
|
215
|
+
* Commit changes to git repository
|
|
216
|
+
* @summary Commit changes
|
|
217
|
+
* @param {string} sandboxId
|
|
218
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
219
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
gitCommitChanges: (sandboxId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
224
|
+
/**
|
|
225
|
+
* Create branch on git repository
|
|
226
|
+
* @summary Create branch
|
|
227
|
+
* @param {string} sandboxId
|
|
228
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
229
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
gitCreateBranch: (sandboxId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
234
|
+
/**
|
|
235
|
+
* Delete branch on git repository
|
|
236
|
+
* @summary Delete branch
|
|
237
|
+
* @param {string} sandboxId
|
|
238
|
+
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
239
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
gitDeleteBranch: (sandboxId: string, gitDeleteBranchRequest: GitDeleteBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
244
|
+
/**
|
|
245
|
+
* Get commit history from git repository
|
|
246
|
+
* @summary Get commit history
|
|
247
|
+
* @param {string} sandboxId
|
|
248
|
+
* @param {string} path
|
|
249
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
gitGetHistory: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
254
|
+
/**
|
|
255
|
+
* Get status from git repository
|
|
256
|
+
* @summary Get git status
|
|
257
|
+
* @param {string} sandboxId
|
|
258
|
+
* @param {string} path
|
|
259
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
gitGetStatus: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
264
|
+
/**
|
|
265
|
+
* Get branch list from git repository
|
|
266
|
+
* @summary Get branch list
|
|
267
|
+
* @param {string} sandboxId
|
|
268
|
+
* @param {string} path
|
|
269
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
gitListBranches: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
274
|
+
/**
|
|
275
|
+
* Pull changes from remote
|
|
276
|
+
* @summary Pull changes
|
|
277
|
+
* @param {string} sandboxId
|
|
278
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
279
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
gitPullChanges: (sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
284
|
+
/**
|
|
285
|
+
* Push changes to remote
|
|
286
|
+
* @summary Push changes
|
|
287
|
+
* @param {string} sandboxId
|
|
288
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
289
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
gitPushChanges: (sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @summary List files
|
|
297
|
+
* @param {string} sandboxId
|
|
298
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
299
|
+
* @param {string} [path]
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
listFiles: (sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
304
|
+
/**
|
|
305
|
+
* List all active sessions in the sandbox
|
|
306
|
+
* @summary List sessions
|
|
307
|
+
* @param {string} sandboxId
|
|
308
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
listSessions: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
313
|
+
/**
|
|
314
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
315
|
+
* @summary Get Lsp Completions
|
|
316
|
+
* @param {string} sandboxId
|
|
317
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
318
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
lspCompletions: (sandboxId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
323
|
+
/**
|
|
324
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
325
|
+
* @summary Call Lsp DidClose
|
|
326
|
+
* @param {string} sandboxId
|
|
327
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
328
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
lspDidClose: (sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
333
|
+
/**
|
|
334
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
335
|
+
* @summary Call Lsp DidOpen
|
|
336
|
+
* @param {string} sandboxId
|
|
337
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
338
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
lspDidOpen: (sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
343
|
+
/**
|
|
344
|
+
* The document symbol request is sent from the client to the server.
|
|
345
|
+
* @summary Call Lsp DocumentSymbols
|
|
346
|
+
* @param {string} sandboxId
|
|
347
|
+
* @param {string} languageId
|
|
348
|
+
* @param {string} pathToProject
|
|
349
|
+
* @param {string} uri
|
|
350
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
lspDocumentSymbols: (sandboxId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
355
|
+
/**
|
|
356
|
+
* Start Lsp server process inside sandbox project
|
|
357
|
+
* @summary Start Lsp server
|
|
358
|
+
* @param {string} sandboxId
|
|
359
|
+
* @param {LspServerRequest} lspServerRequest
|
|
360
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
lspStart: (sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
365
|
+
/**
|
|
366
|
+
* Stop Lsp server process inside sandbox project
|
|
367
|
+
* @summary Stop Lsp server
|
|
368
|
+
* @param {string} sandboxId
|
|
369
|
+
* @param {LspServerRequest} lspServerRequest
|
|
370
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
lspStop: (sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
375
|
+
/**
|
|
376
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
377
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
378
|
+
* @param {string} sandboxId
|
|
379
|
+
* @param {string} languageId
|
|
380
|
+
* @param {string} pathToProject
|
|
381
|
+
* @param {string} query
|
|
382
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
lspWorkspaceSymbols: (sandboxId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
387
|
+
/**
|
|
388
|
+
* Move file inside sandbox
|
|
389
|
+
* @summary Move file
|
|
390
|
+
* @param {string} sandboxId
|
|
391
|
+
* @param {string} source
|
|
392
|
+
* @param {string} destination
|
|
393
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
moveFile: (sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
398
|
+
/**
|
|
399
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
400
|
+
* @summary Replace in files
|
|
401
|
+
* @param {string} sandboxId
|
|
402
|
+
* @param {ReplaceRequest} replaceRequest
|
|
403
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
replaceInFiles: (sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
408
|
+
/**
|
|
409
|
+
* Search for files inside sandbox
|
|
410
|
+
* @summary Search files
|
|
411
|
+
* @param {string} sandboxId
|
|
412
|
+
* @param {string} path
|
|
413
|
+
* @param {string} pattern
|
|
414
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
searchFiles: (sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
419
|
+
/**
|
|
420
|
+
* Set file owner/group/permissions inside sandbox
|
|
421
|
+
* @summary Set file permissions
|
|
422
|
+
* @param {string} sandboxId
|
|
423
|
+
* @param {string} path
|
|
424
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
425
|
+
* @param {string} [owner]
|
|
426
|
+
* @param {string} [group]
|
|
427
|
+
* @param {string} [mode]
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
setFilePermissions: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
432
|
+
/**
|
|
433
|
+
* Upload file inside sandbox
|
|
434
|
+
* @summary Upload file
|
|
435
|
+
* @param {string} sandboxId
|
|
436
|
+
* @param {string} path
|
|
437
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
438
|
+
* @param {File} [file]
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @deprecated
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
uploadFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
444
|
+
/**
|
|
445
|
+
* Upload multiple files inside sandbox
|
|
446
|
+
* @summary Upload multiple files
|
|
447
|
+
* @param {string} sandboxId
|
|
448
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
uploadFiles: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
453
|
+
};
|
|
454
|
+
/**
|
|
455
|
+
* ToolboxApi - functional programming interface
|
|
456
|
+
* @export
|
|
457
|
+
*/
|
|
458
|
+
export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
459
|
+
/**
|
|
460
|
+
* Create folder inside sandbox
|
|
461
|
+
* @summary Create folder
|
|
462
|
+
* @param {string} sandboxId
|
|
463
|
+
* @param {string} path
|
|
464
|
+
* @param {string} mode
|
|
465
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
470
|
+
/**
|
|
471
|
+
* Create a new session in the sandbox
|
|
472
|
+
* @summary Create session
|
|
473
|
+
* @param {string} sandboxId
|
|
474
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
475
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
createSession(sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
480
|
+
/**
|
|
481
|
+
* Delete file inside sandbox
|
|
482
|
+
* @summary Delete file
|
|
483
|
+
* @param {string} sandboxId
|
|
484
|
+
* @param {string} path
|
|
485
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
490
|
+
/**
|
|
491
|
+
* Delete a specific session
|
|
492
|
+
* @summary Delete session
|
|
493
|
+
* @param {string} sandboxId
|
|
494
|
+
* @param {string} sessionId
|
|
495
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
deleteSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
500
|
+
/**
|
|
501
|
+
* Download file from sandbox
|
|
502
|
+
* @summary Download file
|
|
503
|
+
* @param {string} sandboxId
|
|
504
|
+
* @param {string} path
|
|
505
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
510
|
+
/**
|
|
511
|
+
* Execute command synchronously inside sandbox
|
|
512
|
+
* @summary Execute command
|
|
513
|
+
* @param {string} sandboxId
|
|
514
|
+
* @param {ExecuteRequest} executeRequest
|
|
515
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
executeCommand(sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>>;
|
|
520
|
+
/**
|
|
521
|
+
* Execute a command in a specific session
|
|
522
|
+
* @summary Execute command in session
|
|
523
|
+
* @param {string} sandboxId
|
|
524
|
+
* @param {string} sessionId
|
|
525
|
+
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
526
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
executeSessionCommand(sandboxId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionExecuteResponse>>;
|
|
531
|
+
/**
|
|
532
|
+
* Search for text/pattern inside sandbox files
|
|
533
|
+
* @summary Search for text/pattern in files
|
|
534
|
+
* @param {string} sandboxId
|
|
535
|
+
* @param {string} path
|
|
536
|
+
* @param {string} pattern
|
|
537
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>>;
|
|
542
|
+
/**
|
|
543
|
+
* Get file info inside sandbox
|
|
544
|
+
* @summary Get file info
|
|
545
|
+
* @param {string} sandboxId
|
|
546
|
+
* @param {string} path
|
|
547
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
548
|
+
* @param {*} [options] Override http request option.
|
|
549
|
+
* @throws {RequiredError}
|
|
550
|
+
*/
|
|
551
|
+
getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>>;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @summary Get sandbox project dir
|
|
555
|
+
* @param {string} sandboxId
|
|
556
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
getProjectDir(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>>;
|
|
561
|
+
/**
|
|
562
|
+
* Get session by ID
|
|
563
|
+
* @summary Get session
|
|
564
|
+
* @param {string} sandboxId
|
|
565
|
+
* @param {string} sessionId
|
|
566
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
567
|
+
* @param {*} [options] Override http request option.
|
|
568
|
+
* @throws {RequiredError}
|
|
569
|
+
*/
|
|
570
|
+
getSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>>;
|
|
571
|
+
/**
|
|
572
|
+
* Get session command by ID
|
|
573
|
+
* @summary Get session command
|
|
574
|
+
* @param {string} sandboxId
|
|
575
|
+
* @param {string} sessionId
|
|
576
|
+
* @param {string} commandId
|
|
577
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
getSessionCommand(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
|
|
582
|
+
/**
|
|
583
|
+
* Get logs for a specific command in a session
|
|
584
|
+
* @summary Get command logs
|
|
585
|
+
* @param {string} sandboxId
|
|
586
|
+
* @param {string} sessionId
|
|
587
|
+
* @param {string} commandId
|
|
588
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
589
|
+
* @param {boolean} [follow]
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
*/
|
|
593
|
+
getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
594
|
+
/**
|
|
595
|
+
* Add files to git commit
|
|
596
|
+
* @summary Add files
|
|
597
|
+
* @param {string} sandboxId
|
|
598
|
+
* @param {GitAddRequest} gitAddRequest
|
|
599
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
gitAddFiles(sandboxId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
604
|
+
/**
|
|
605
|
+
* Checkout branch or commit in git repository
|
|
606
|
+
* @summary Checkout branch
|
|
607
|
+
* @param {string} sandboxId
|
|
608
|
+
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
609
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
gitCheckoutBranch(sandboxId: string, gitCheckoutRequest: GitCheckoutRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
614
|
+
/**
|
|
615
|
+
* Clone git repository
|
|
616
|
+
* @summary Clone repository
|
|
617
|
+
* @param {string} sandboxId
|
|
618
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
619
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
gitCloneRepository(sandboxId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
624
|
+
/**
|
|
625
|
+
* Commit changes to git repository
|
|
626
|
+
* @summary Commit changes
|
|
627
|
+
* @param {string} sandboxId
|
|
628
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
629
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
630
|
+
* @param {*} [options] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
*/
|
|
633
|
+
gitCommitChanges(sandboxId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitResponse>>;
|
|
634
|
+
/**
|
|
635
|
+
* Create branch on git repository
|
|
636
|
+
* @summary Create branch
|
|
637
|
+
* @param {string} sandboxId
|
|
638
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
639
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
gitCreateBranch(sandboxId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
644
|
+
/**
|
|
645
|
+
* Delete branch on git repository
|
|
646
|
+
* @summary Delete branch
|
|
647
|
+
* @param {string} sandboxId
|
|
648
|
+
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
649
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
*/
|
|
653
|
+
gitDeleteBranch(sandboxId: string, gitDeleteBranchRequest: GitDeleteBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
654
|
+
/**
|
|
655
|
+
* Get commit history from git repository
|
|
656
|
+
* @summary Get commit history
|
|
657
|
+
* @param {string} sandboxId
|
|
658
|
+
* @param {string} path
|
|
659
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
*/
|
|
663
|
+
gitGetHistory(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>>;
|
|
664
|
+
/**
|
|
665
|
+
* Get status from git repository
|
|
666
|
+
* @summary Get git status
|
|
667
|
+
* @param {string} sandboxId
|
|
668
|
+
* @param {string} path
|
|
669
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
*/
|
|
673
|
+
gitGetStatus(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>>;
|
|
674
|
+
/**
|
|
675
|
+
* Get branch list from git repository
|
|
676
|
+
* @summary Get branch list
|
|
677
|
+
* @param {string} sandboxId
|
|
678
|
+
* @param {string} path
|
|
679
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
gitListBranches(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>>;
|
|
684
|
+
/**
|
|
685
|
+
* Pull changes from remote
|
|
686
|
+
* @summary Pull changes
|
|
687
|
+
* @param {string} sandboxId
|
|
688
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
689
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
gitPullChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
694
|
+
/**
|
|
695
|
+
* Push changes to remote
|
|
696
|
+
* @summary Push changes
|
|
697
|
+
* @param {string} sandboxId
|
|
698
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
699
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
700
|
+
* @param {*} [options] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
gitPushChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @summary List files
|
|
707
|
+
* @param {string} sandboxId
|
|
708
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
709
|
+
* @param {string} [path]
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>>;
|
|
714
|
+
/**
|
|
715
|
+
* List all active sessions in the sandbox
|
|
716
|
+
* @summary List sessions
|
|
717
|
+
* @param {string} sandboxId
|
|
718
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
719
|
+
* @param {*} [options] Override http request option.
|
|
720
|
+
* @throws {RequiredError}
|
|
721
|
+
*/
|
|
722
|
+
listSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Session>>>;
|
|
723
|
+
/**
|
|
724
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
725
|
+
* @summary Get Lsp Completions
|
|
726
|
+
* @param {string} sandboxId
|
|
727
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
728
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
lspCompletions(sandboxId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletionList>>;
|
|
733
|
+
/**
|
|
734
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
735
|
+
* @summary Call Lsp DidClose
|
|
736
|
+
* @param {string} sandboxId
|
|
737
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
738
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
739
|
+
* @param {*} [options] Override http request option.
|
|
740
|
+
* @throws {RequiredError}
|
|
741
|
+
*/
|
|
742
|
+
lspDidClose(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
743
|
+
/**
|
|
744
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
745
|
+
* @summary Call Lsp DidOpen
|
|
746
|
+
* @param {string} sandboxId
|
|
747
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
748
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
lspDidOpen(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
753
|
+
/**
|
|
754
|
+
* The document symbol request is sent from the client to the server.
|
|
755
|
+
* @summary Call Lsp DocumentSymbols
|
|
756
|
+
* @param {string} sandboxId
|
|
757
|
+
* @param {string} languageId
|
|
758
|
+
* @param {string} pathToProject
|
|
759
|
+
* @param {string} uri
|
|
760
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
lspDocumentSymbols(sandboxId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>>;
|
|
765
|
+
/**
|
|
766
|
+
* Start Lsp server process inside sandbox project
|
|
767
|
+
* @summary Start Lsp server
|
|
768
|
+
* @param {string} sandboxId
|
|
769
|
+
* @param {LspServerRequest} lspServerRequest
|
|
770
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
*/
|
|
774
|
+
lspStart(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
775
|
+
/**
|
|
776
|
+
* Stop Lsp server process inside sandbox project
|
|
777
|
+
* @summary Stop Lsp server
|
|
778
|
+
* @param {string} sandboxId
|
|
779
|
+
* @param {LspServerRequest} lspServerRequest
|
|
780
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
781
|
+
* @param {*} [options] Override http request option.
|
|
782
|
+
* @throws {RequiredError}
|
|
783
|
+
*/
|
|
784
|
+
lspStop(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
785
|
+
/**
|
|
786
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
787
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
788
|
+
* @param {string} sandboxId
|
|
789
|
+
* @param {string} languageId
|
|
790
|
+
* @param {string} pathToProject
|
|
791
|
+
* @param {string} query
|
|
792
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
lspWorkspaceSymbols(sandboxId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>>;
|
|
797
|
+
/**
|
|
798
|
+
* Move file inside sandbox
|
|
799
|
+
* @summary Move file
|
|
800
|
+
* @param {string} sandboxId
|
|
801
|
+
* @param {string} source
|
|
802
|
+
* @param {string} destination
|
|
803
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
808
|
+
/**
|
|
809
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
810
|
+
* @summary Replace in files
|
|
811
|
+
* @param {string} sandboxId
|
|
812
|
+
* @param {ReplaceRequest} replaceRequest
|
|
813
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
*/
|
|
817
|
+
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
|
|
818
|
+
/**
|
|
819
|
+
* Search for files inside sandbox
|
|
820
|
+
* @summary Search files
|
|
821
|
+
* @param {string} sandboxId
|
|
822
|
+
* @param {string} path
|
|
823
|
+
* @param {string} pattern
|
|
824
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
searchFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
|
|
829
|
+
/**
|
|
830
|
+
* Set file owner/group/permissions inside sandbox
|
|
831
|
+
* @summary Set file permissions
|
|
832
|
+
* @param {string} sandboxId
|
|
833
|
+
* @param {string} path
|
|
834
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
835
|
+
* @param {string} [owner]
|
|
836
|
+
* @param {string} [group]
|
|
837
|
+
* @param {string} [mode]
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
842
|
+
/**
|
|
843
|
+
* Upload file inside sandbox
|
|
844
|
+
* @summary Upload file
|
|
845
|
+
* @param {string} sandboxId
|
|
846
|
+
* @param {string} path
|
|
847
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
848
|
+
* @param {File} [file]
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @deprecated
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
*/
|
|
853
|
+
uploadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
854
|
+
/**
|
|
855
|
+
* Upload multiple files inside sandbox
|
|
856
|
+
* @summary Upload multiple files
|
|
857
|
+
* @param {string} sandboxId
|
|
858
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
*/
|
|
862
|
+
uploadFiles(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* ToolboxApi - factory interface
|
|
866
|
+
* @export
|
|
867
|
+
*/
|
|
868
|
+
export declare const ToolboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
869
|
+
/**
|
|
870
|
+
* Create folder inside sandbox
|
|
871
|
+
* @summary Create folder
|
|
872
|
+
* @param {string} sandboxId
|
|
873
|
+
* @param {string} path
|
|
874
|
+
* @param {string} mode
|
|
875
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @throws {RequiredError}
|
|
878
|
+
*/
|
|
879
|
+
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
880
|
+
/**
|
|
881
|
+
* Create a new session in the sandbox
|
|
882
|
+
* @summary Create session
|
|
883
|
+
* @param {string} sandboxId
|
|
884
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
885
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
886
|
+
* @param {*} [options] Override http request option.
|
|
887
|
+
* @throws {RequiredError}
|
|
888
|
+
*/
|
|
889
|
+
createSession(sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
890
|
+
/**
|
|
891
|
+
* Delete file inside sandbox
|
|
892
|
+
* @summary Delete file
|
|
893
|
+
* @param {string} sandboxId
|
|
894
|
+
* @param {string} path
|
|
895
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
900
|
+
/**
|
|
901
|
+
* Delete a specific session
|
|
902
|
+
* @summary Delete session
|
|
903
|
+
* @param {string} sandboxId
|
|
904
|
+
* @param {string} sessionId
|
|
905
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
deleteSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
910
|
+
/**
|
|
911
|
+
* Download file from sandbox
|
|
912
|
+
* @summary Download file
|
|
913
|
+
* @param {string} sandboxId
|
|
914
|
+
* @param {string} path
|
|
915
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
920
|
+
/**
|
|
921
|
+
* Execute command synchronously inside sandbox
|
|
922
|
+
* @summary Execute command
|
|
923
|
+
* @param {string} sandboxId
|
|
924
|
+
* @param {ExecuteRequest} executeRequest
|
|
925
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
*/
|
|
929
|
+
executeCommand(sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
|
|
930
|
+
/**
|
|
931
|
+
* Execute a command in a specific session
|
|
932
|
+
* @summary Execute command in session
|
|
933
|
+
* @param {string} sandboxId
|
|
934
|
+
* @param {string} sessionId
|
|
935
|
+
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
936
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
*/
|
|
940
|
+
executeSessionCommand(sandboxId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SessionExecuteResponse>;
|
|
941
|
+
/**
|
|
942
|
+
* Search for text/pattern inside sandbox files
|
|
943
|
+
* @summary Search for text/pattern in files
|
|
944
|
+
* @param {string} sandboxId
|
|
945
|
+
* @param {string} path
|
|
946
|
+
* @param {string} pattern
|
|
947
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
948
|
+
* @param {*} [options] Override http request option.
|
|
949
|
+
* @throws {RequiredError}
|
|
950
|
+
*/
|
|
951
|
+
findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>>;
|
|
952
|
+
/**
|
|
953
|
+
* Get file info inside sandbox
|
|
954
|
+
* @summary Get file info
|
|
955
|
+
* @param {string} sandboxId
|
|
956
|
+
* @param {string} path
|
|
957
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
*/
|
|
961
|
+
getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo>;
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* @summary Get sandbox project dir
|
|
965
|
+
* @param {string} sandboxId
|
|
966
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
getProjectDir(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse>;
|
|
971
|
+
/**
|
|
972
|
+
* Get session by ID
|
|
973
|
+
* @summary Get session
|
|
974
|
+
* @param {string} sandboxId
|
|
975
|
+
* @param {string} sessionId
|
|
976
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
*/
|
|
980
|
+
getSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Session>;
|
|
981
|
+
/**
|
|
982
|
+
* Get session command by ID
|
|
983
|
+
* @summary Get session command
|
|
984
|
+
* @param {string} sandboxId
|
|
985
|
+
* @param {string} sessionId
|
|
986
|
+
* @param {string} commandId
|
|
987
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
988
|
+
* @param {*} [options] Override http request option.
|
|
989
|
+
* @throws {RequiredError}
|
|
990
|
+
*/
|
|
991
|
+
getSessionCommand(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
|
|
992
|
+
/**
|
|
993
|
+
* Get logs for a specific command in a session
|
|
994
|
+
* @summary Get command logs
|
|
995
|
+
* @param {string} sandboxId
|
|
996
|
+
* @param {string} sessionId
|
|
997
|
+
* @param {string} commandId
|
|
998
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
999
|
+
* @param {boolean} [follow]
|
|
1000
|
+
* @param {*} [options] Override http request option.
|
|
1001
|
+
* @throws {RequiredError}
|
|
1002
|
+
*/
|
|
1003
|
+
getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Add files to git commit
|
|
1006
|
+
* @summary Add files
|
|
1007
|
+
* @param {string} sandboxId
|
|
1008
|
+
* @param {GitAddRequest} gitAddRequest
|
|
1009
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
gitAddFiles(sandboxId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Checkout branch or commit in git repository
|
|
1016
|
+
* @summary Checkout branch
|
|
1017
|
+
* @param {string} sandboxId
|
|
1018
|
+
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
1019
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
gitCheckoutBranch(sandboxId: string, gitCheckoutRequest: GitCheckoutRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Clone git repository
|
|
1026
|
+
* @summary Clone repository
|
|
1027
|
+
* @param {string} sandboxId
|
|
1028
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
1029
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1030
|
+
* @param {*} [options] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
*/
|
|
1033
|
+
gitCloneRepository(sandboxId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Commit changes to git repository
|
|
1036
|
+
* @summary Commit changes
|
|
1037
|
+
* @param {string} sandboxId
|
|
1038
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
1039
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1040
|
+
* @param {*} [options] Override http request option.
|
|
1041
|
+
* @throws {RequiredError}
|
|
1042
|
+
*/
|
|
1043
|
+
gitCommitChanges(sandboxId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitResponse>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Create branch on git repository
|
|
1046
|
+
* @summary Create branch
|
|
1047
|
+
* @param {string} sandboxId
|
|
1048
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
1049
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
*/
|
|
1053
|
+
gitCreateBranch(sandboxId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Delete branch on git repository
|
|
1056
|
+
* @summary Delete branch
|
|
1057
|
+
* @param {string} sandboxId
|
|
1058
|
+
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
1059
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
gitDeleteBranch(sandboxId: string, gitDeleteBranchRequest: GitDeleteBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Get commit history from git repository
|
|
1066
|
+
* @summary Get commit history
|
|
1067
|
+
* @param {string} sandboxId
|
|
1068
|
+
* @param {string} path
|
|
1069
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1070
|
+
* @param {*} [options] Override http request option.
|
|
1071
|
+
* @throws {RequiredError}
|
|
1072
|
+
*/
|
|
1073
|
+
gitGetHistory(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Get status from git repository
|
|
1076
|
+
* @summary Get git status
|
|
1077
|
+
* @param {string} sandboxId
|
|
1078
|
+
* @param {string} path
|
|
1079
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
gitGetStatus(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Get branch list from git repository
|
|
1086
|
+
* @summary Get branch list
|
|
1087
|
+
* @param {string} sandboxId
|
|
1088
|
+
* @param {string} path
|
|
1089
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
*/
|
|
1093
|
+
gitListBranches(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Pull changes from remote
|
|
1096
|
+
* @summary Pull changes
|
|
1097
|
+
* @param {string} sandboxId
|
|
1098
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
1099
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1100
|
+
* @param {*} [options] Override http request option.
|
|
1101
|
+
* @throws {RequiredError}
|
|
1102
|
+
*/
|
|
1103
|
+
gitPullChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Push changes to remote
|
|
1106
|
+
* @summary Push changes
|
|
1107
|
+
* @param {string} sandboxId
|
|
1108
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
1109
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
gitPushChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @summary List files
|
|
1117
|
+
* @param {string} sandboxId
|
|
1118
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1119
|
+
* @param {string} [path]
|
|
1120
|
+
* @param {*} [options] Override http request option.
|
|
1121
|
+
* @throws {RequiredError}
|
|
1122
|
+
*/
|
|
1123
|
+
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>>;
|
|
1124
|
+
/**
|
|
1125
|
+
* List all active sessions in the sandbox
|
|
1126
|
+
* @summary List sessions
|
|
1127
|
+
* @param {string} sandboxId
|
|
1128
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1129
|
+
* @param {*} [options] Override http request option.
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
*/
|
|
1132
|
+
listSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Session>>;
|
|
1133
|
+
/**
|
|
1134
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1135
|
+
* @summary Get Lsp Completions
|
|
1136
|
+
* @param {string} sandboxId
|
|
1137
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
1138
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
lspCompletions(sandboxId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompletionList>;
|
|
1143
|
+
/**
|
|
1144
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1145
|
+
* @summary Call Lsp DidClose
|
|
1146
|
+
* @param {string} sandboxId
|
|
1147
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1148
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1149
|
+
* @param {*} [options] Override http request option.
|
|
1150
|
+
* @throws {RequiredError}
|
|
1151
|
+
*/
|
|
1152
|
+
lspDidClose(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1153
|
+
/**
|
|
1154
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1155
|
+
* @summary Call Lsp DidOpen
|
|
1156
|
+
* @param {string} sandboxId
|
|
1157
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1158
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
lspDidOpen(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1163
|
+
/**
|
|
1164
|
+
* The document symbol request is sent from the client to the server.
|
|
1165
|
+
* @summary Call Lsp DocumentSymbols
|
|
1166
|
+
* @param {string} sandboxId
|
|
1167
|
+
* @param {string} languageId
|
|
1168
|
+
* @param {string} pathToProject
|
|
1169
|
+
* @param {string} uri
|
|
1170
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1171
|
+
* @param {*} [options] Override http request option.
|
|
1172
|
+
* @throws {RequiredError}
|
|
1173
|
+
*/
|
|
1174
|
+
lspDocumentSymbols(sandboxId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Start Lsp server process inside sandbox project
|
|
1177
|
+
* @summary Start Lsp server
|
|
1178
|
+
* @param {string} sandboxId
|
|
1179
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1180
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1181
|
+
* @param {*} [options] Override http request option.
|
|
1182
|
+
* @throws {RequiredError}
|
|
1183
|
+
*/
|
|
1184
|
+
lspStart(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Stop Lsp server process inside sandbox project
|
|
1187
|
+
* @summary Stop Lsp server
|
|
1188
|
+
* @param {string} sandboxId
|
|
1189
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1190
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1191
|
+
* @param {*} [options] Override http request option.
|
|
1192
|
+
* @throws {RequiredError}
|
|
1193
|
+
*/
|
|
1194
|
+
lspStop(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1195
|
+
/**
|
|
1196
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1197
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
1198
|
+
* @param {string} sandboxId
|
|
1199
|
+
* @param {string} languageId
|
|
1200
|
+
* @param {string} pathToProject
|
|
1201
|
+
* @param {string} query
|
|
1202
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
lspWorkspaceSymbols(sandboxId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Move file inside sandbox
|
|
1209
|
+
* @summary Move file
|
|
1210
|
+
* @param {string} sandboxId
|
|
1211
|
+
* @param {string} source
|
|
1212
|
+
* @param {string} destination
|
|
1213
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1214
|
+
* @param {*} [options] Override http request option.
|
|
1215
|
+
* @throws {RequiredError}
|
|
1216
|
+
*/
|
|
1217
|
+
moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
1220
|
+
* @summary Replace in files
|
|
1221
|
+
* @param {string} sandboxId
|
|
1222
|
+
* @param {ReplaceRequest} replaceRequest
|
|
1223
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
*/
|
|
1227
|
+
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Search for files inside sandbox
|
|
1230
|
+
* @summary Search files
|
|
1231
|
+
* @param {string} sandboxId
|
|
1232
|
+
* @param {string} path
|
|
1233
|
+
* @param {string} pattern
|
|
1234
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1235
|
+
* @param {*} [options] Override http request option.
|
|
1236
|
+
* @throws {RequiredError}
|
|
1237
|
+
*/
|
|
1238
|
+
searchFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Set file owner/group/permissions inside sandbox
|
|
1241
|
+
* @summary Set file permissions
|
|
1242
|
+
* @param {string} sandboxId
|
|
1243
|
+
* @param {string} path
|
|
1244
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1245
|
+
* @param {string} [owner]
|
|
1246
|
+
* @param {string} [group]
|
|
1247
|
+
* @param {string} [mode]
|
|
1248
|
+
* @param {*} [options] Override http request option.
|
|
1249
|
+
* @throws {RequiredError}
|
|
1250
|
+
*/
|
|
1251
|
+
setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Upload file inside sandbox
|
|
1254
|
+
* @summary Upload file
|
|
1255
|
+
* @param {string} sandboxId
|
|
1256
|
+
* @param {string} path
|
|
1257
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1258
|
+
* @param {File} [file]
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @deprecated
|
|
1261
|
+
* @throws {RequiredError}
|
|
1262
|
+
*/
|
|
1263
|
+
uploadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Upload multiple files inside sandbox
|
|
1266
|
+
* @summary Upload multiple files
|
|
1267
|
+
* @param {string} sandboxId
|
|
1268
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
uploadFiles(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* ToolboxApi - object-oriented interface
|
|
1276
|
+
* @export
|
|
1277
|
+
* @class ToolboxApi
|
|
1278
|
+
* @extends {BaseAPI}
|
|
1279
|
+
*/
|
|
1280
|
+
export declare class ToolboxApi extends BaseAPI {
|
|
1281
|
+
/**
|
|
1282
|
+
* Create folder inside sandbox
|
|
1283
|
+
* @summary Create folder
|
|
1284
|
+
* @param {string} sandboxId
|
|
1285
|
+
* @param {string} path
|
|
1286
|
+
* @param {string} mode
|
|
1287
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1288
|
+
* @param {*} [options] Override http request option.
|
|
1289
|
+
* @throws {RequiredError}
|
|
1290
|
+
* @memberof ToolboxApi
|
|
1291
|
+
*/
|
|
1292
|
+
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Create a new session in the sandbox
|
|
1295
|
+
* @summary Create session
|
|
1296
|
+
* @param {string} sandboxId
|
|
1297
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
1298
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
* @memberof ToolboxApi
|
|
1302
|
+
*/
|
|
1303
|
+
createSession(sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Delete file inside sandbox
|
|
1306
|
+
* @summary Delete file
|
|
1307
|
+
* @param {string} sandboxId
|
|
1308
|
+
* @param {string} path
|
|
1309
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1310
|
+
* @param {*} [options] Override http request option.
|
|
1311
|
+
* @throws {RequiredError}
|
|
1312
|
+
* @memberof ToolboxApi
|
|
1313
|
+
*/
|
|
1314
|
+
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Delete a specific session
|
|
1317
|
+
* @summary Delete session
|
|
1318
|
+
* @param {string} sandboxId
|
|
1319
|
+
* @param {string} sessionId
|
|
1320
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1321
|
+
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @throws {RequiredError}
|
|
1323
|
+
* @memberof ToolboxApi
|
|
1324
|
+
*/
|
|
1325
|
+
deleteSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Download file from sandbox
|
|
1328
|
+
* @summary Download file
|
|
1329
|
+
* @param {string} sandboxId
|
|
1330
|
+
* @param {string} path
|
|
1331
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
* @memberof ToolboxApi
|
|
1335
|
+
*/
|
|
1336
|
+
downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Execute command synchronously inside sandbox
|
|
1339
|
+
* @summary Execute command
|
|
1340
|
+
* @param {string} sandboxId
|
|
1341
|
+
* @param {ExecuteRequest} executeRequest
|
|
1342
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
* @memberof ToolboxApi
|
|
1346
|
+
*/
|
|
1347
|
+
executeCommand(sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any>>;
|
|
1348
|
+
/**
|
|
1349
|
+
* Execute a command in a specific session
|
|
1350
|
+
* @summary Execute command in session
|
|
1351
|
+
* @param {string} sandboxId
|
|
1352
|
+
* @param {string} sessionId
|
|
1353
|
+
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
1354
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
* @memberof ToolboxApi
|
|
1358
|
+
*/
|
|
1359
|
+
executeSessionCommand(sandboxId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionExecuteResponse, any>>;
|
|
1360
|
+
/**
|
|
1361
|
+
* Search for text/pattern inside sandbox files
|
|
1362
|
+
* @summary Search for text/pattern in files
|
|
1363
|
+
* @param {string} sandboxId
|
|
1364
|
+
* @param {string} path
|
|
1365
|
+
* @param {string} pattern
|
|
1366
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
* @memberof ToolboxApi
|
|
1370
|
+
*/
|
|
1371
|
+
findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Match[], any>>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Get file info inside sandbox
|
|
1374
|
+
* @summary Get file info
|
|
1375
|
+
* @param {string} sandboxId
|
|
1376
|
+
* @param {string} path
|
|
1377
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1378
|
+
* @param {*} [options] Override http request option.
|
|
1379
|
+
* @throws {RequiredError}
|
|
1380
|
+
* @memberof ToolboxApi
|
|
1381
|
+
*/
|
|
1382
|
+
getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo, any>>;
|
|
1383
|
+
/**
|
|
1384
|
+
*
|
|
1385
|
+
* @summary Get sandbox project dir
|
|
1386
|
+
* @param {string} sandboxId
|
|
1387
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1388
|
+
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @throws {RequiredError}
|
|
1390
|
+
* @memberof ToolboxApi
|
|
1391
|
+
*/
|
|
1392
|
+
getProjectDir(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDirResponse, any>>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Get session by ID
|
|
1395
|
+
* @summary Get session
|
|
1396
|
+
* @param {string} sandboxId
|
|
1397
|
+
* @param {string} sessionId
|
|
1398
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
* @memberof ToolboxApi
|
|
1402
|
+
*/
|
|
1403
|
+
getSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any>>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Get session command by ID
|
|
1406
|
+
* @summary Get session command
|
|
1407
|
+
* @param {string} sandboxId
|
|
1408
|
+
* @param {string} sessionId
|
|
1409
|
+
* @param {string} commandId
|
|
1410
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1411
|
+
* @param {*} [options] Override http request option.
|
|
1412
|
+
* @throws {RequiredError}
|
|
1413
|
+
* @memberof ToolboxApi
|
|
1414
|
+
*/
|
|
1415
|
+
getSessionCommand(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any>>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Get logs for a specific command in a session
|
|
1418
|
+
* @summary Get command logs
|
|
1419
|
+
* @param {string} sandboxId
|
|
1420
|
+
* @param {string} sessionId
|
|
1421
|
+
* @param {string} commandId
|
|
1422
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1423
|
+
* @param {boolean} [follow]
|
|
1424
|
+
* @param {*} [options] Override http request option.
|
|
1425
|
+
* @throws {RequiredError}
|
|
1426
|
+
* @memberof ToolboxApi
|
|
1427
|
+
*/
|
|
1428
|
+
getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Add files to git commit
|
|
1431
|
+
* @summary Add files
|
|
1432
|
+
* @param {string} sandboxId
|
|
1433
|
+
* @param {GitAddRequest} gitAddRequest
|
|
1434
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1435
|
+
* @param {*} [options] Override http request option.
|
|
1436
|
+
* @throws {RequiredError}
|
|
1437
|
+
* @memberof ToolboxApi
|
|
1438
|
+
*/
|
|
1439
|
+
gitAddFiles(sandboxId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Checkout branch or commit in git repository
|
|
1442
|
+
* @summary Checkout branch
|
|
1443
|
+
* @param {string} sandboxId
|
|
1444
|
+
* @param {GitCheckoutRequest} gitCheckoutRequest
|
|
1445
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1446
|
+
* @param {*} [options] Override http request option.
|
|
1447
|
+
* @throws {RequiredError}
|
|
1448
|
+
* @memberof ToolboxApi
|
|
1449
|
+
*/
|
|
1450
|
+
gitCheckoutBranch(sandboxId: string, gitCheckoutRequest: GitCheckoutRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Clone git repository
|
|
1453
|
+
* @summary Clone repository
|
|
1454
|
+
* @param {string} sandboxId
|
|
1455
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
1456
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1457
|
+
* @param {*} [options] Override http request option.
|
|
1458
|
+
* @throws {RequiredError}
|
|
1459
|
+
* @memberof ToolboxApi
|
|
1460
|
+
*/
|
|
1461
|
+
gitCloneRepository(sandboxId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Commit changes to git repository
|
|
1464
|
+
* @summary Commit changes
|
|
1465
|
+
* @param {string} sandboxId
|
|
1466
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
1467
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1468
|
+
* @param {*} [options] Override http request option.
|
|
1469
|
+
* @throws {RequiredError}
|
|
1470
|
+
* @memberof ToolboxApi
|
|
1471
|
+
*/
|
|
1472
|
+
gitCommitChanges(sandboxId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitResponse, any>>;
|
|
1473
|
+
/**
|
|
1474
|
+
* Create branch on git repository
|
|
1475
|
+
* @summary Create branch
|
|
1476
|
+
* @param {string} sandboxId
|
|
1477
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
1478
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1479
|
+
* @param {*} [options] Override http request option.
|
|
1480
|
+
* @throws {RequiredError}
|
|
1481
|
+
* @memberof ToolboxApi
|
|
1482
|
+
*/
|
|
1483
|
+
gitCreateBranch(sandboxId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Delete branch on git repository
|
|
1486
|
+
* @summary Delete branch
|
|
1487
|
+
* @param {string} sandboxId
|
|
1488
|
+
* @param {GitDeleteBranchRequest} gitDeleteBranchRequest
|
|
1489
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1490
|
+
* @param {*} [options] Override http request option.
|
|
1491
|
+
* @throws {RequiredError}
|
|
1492
|
+
* @memberof ToolboxApi
|
|
1493
|
+
*/
|
|
1494
|
+
gitDeleteBranch(sandboxId: string, gitDeleteBranchRequest: GitDeleteBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1495
|
+
/**
|
|
1496
|
+
* Get commit history from git repository
|
|
1497
|
+
* @summary Get commit history
|
|
1498
|
+
* @param {string} sandboxId
|
|
1499
|
+
* @param {string} path
|
|
1500
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1501
|
+
* @param {*} [options] Override http request option.
|
|
1502
|
+
* @throws {RequiredError}
|
|
1503
|
+
* @memberof ToolboxApi
|
|
1504
|
+
*/
|
|
1505
|
+
gitGetHistory(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitInfo[], any>>;
|
|
1506
|
+
/**
|
|
1507
|
+
* Get status from git repository
|
|
1508
|
+
* @summary Get git status
|
|
1509
|
+
* @param {string} sandboxId
|
|
1510
|
+
* @param {string} path
|
|
1511
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1512
|
+
* @param {*} [options] Override http request option.
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
* @memberof ToolboxApi
|
|
1515
|
+
*/
|
|
1516
|
+
gitGetStatus(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitStatus, any>>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Get branch list from git repository
|
|
1519
|
+
* @summary Get branch list
|
|
1520
|
+
* @param {string} sandboxId
|
|
1521
|
+
* @param {string} path
|
|
1522
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
* @memberof ToolboxApi
|
|
1526
|
+
*/
|
|
1527
|
+
gitListBranches(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBranchResponse, any>>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Pull changes from remote
|
|
1530
|
+
* @summary Pull changes
|
|
1531
|
+
* @param {string} sandboxId
|
|
1532
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
1533
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1534
|
+
* @param {*} [options] Override http request option.
|
|
1535
|
+
* @throws {RequiredError}
|
|
1536
|
+
* @memberof ToolboxApi
|
|
1537
|
+
*/
|
|
1538
|
+
gitPullChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Push changes to remote
|
|
1541
|
+
* @summary Push changes
|
|
1542
|
+
* @param {string} sandboxId
|
|
1543
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
1544
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1545
|
+
* @param {*} [options] Override http request option.
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
* @memberof ToolboxApi
|
|
1548
|
+
*/
|
|
1549
|
+
gitPushChanges(sandboxId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @summary List files
|
|
1553
|
+
* @param {string} sandboxId
|
|
1554
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1555
|
+
* @param {string} [path]
|
|
1556
|
+
* @param {*} [options] Override http request option.
|
|
1557
|
+
* @throws {RequiredError}
|
|
1558
|
+
* @memberof ToolboxApi
|
|
1559
|
+
*/
|
|
1560
|
+
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo[], any>>;
|
|
1561
|
+
/**
|
|
1562
|
+
* List all active sessions in the sandbox
|
|
1563
|
+
* @summary List sessions
|
|
1564
|
+
* @param {string} sandboxId
|
|
1565
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
* @memberof ToolboxApi
|
|
1569
|
+
*/
|
|
1570
|
+
listSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session[], any>>;
|
|
1571
|
+
/**
|
|
1572
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1573
|
+
* @summary Get Lsp Completions
|
|
1574
|
+
* @param {string} sandboxId
|
|
1575
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
1576
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1577
|
+
* @param {*} [options] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
* @memberof ToolboxApi
|
|
1580
|
+
*/
|
|
1581
|
+
lspCompletions(sandboxId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletionList, any>>;
|
|
1582
|
+
/**
|
|
1583
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1584
|
+
* @summary Call Lsp DidClose
|
|
1585
|
+
* @param {string} sandboxId
|
|
1586
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1587
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1588
|
+
* @param {*} [options] Override http request option.
|
|
1589
|
+
* @throws {RequiredError}
|
|
1590
|
+
* @memberof ToolboxApi
|
|
1591
|
+
*/
|
|
1592
|
+
lspDidClose(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1593
|
+
/**
|
|
1594
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1595
|
+
* @summary Call Lsp DidOpen
|
|
1596
|
+
* @param {string} sandboxId
|
|
1597
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1598
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1599
|
+
* @param {*} [options] Override http request option.
|
|
1600
|
+
* @throws {RequiredError}
|
|
1601
|
+
* @memberof ToolboxApi
|
|
1602
|
+
*/
|
|
1603
|
+
lspDidOpen(sandboxId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1604
|
+
/**
|
|
1605
|
+
* The document symbol request is sent from the client to the server.
|
|
1606
|
+
* @summary Call Lsp DocumentSymbols
|
|
1607
|
+
* @param {string} sandboxId
|
|
1608
|
+
* @param {string} languageId
|
|
1609
|
+
* @param {string} pathToProject
|
|
1610
|
+
* @param {string} uri
|
|
1611
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
* @memberof ToolboxApi
|
|
1615
|
+
*/
|
|
1616
|
+
lspDocumentSymbols(sandboxId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LspSymbol[], any>>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Start Lsp server process inside sandbox project
|
|
1619
|
+
* @summary Start Lsp server
|
|
1620
|
+
* @param {string} sandboxId
|
|
1621
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1622
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1623
|
+
* @param {*} [options] Override http request option.
|
|
1624
|
+
* @throws {RequiredError}
|
|
1625
|
+
* @memberof ToolboxApi
|
|
1626
|
+
*/
|
|
1627
|
+
lspStart(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1628
|
+
/**
|
|
1629
|
+
* Stop Lsp server process inside sandbox project
|
|
1630
|
+
* @summary Stop Lsp server
|
|
1631
|
+
* @param {string} sandboxId
|
|
1632
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1633
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1634
|
+
* @param {*} [options] Override http request option.
|
|
1635
|
+
* @throws {RequiredError}
|
|
1636
|
+
* @memberof ToolboxApi
|
|
1637
|
+
*/
|
|
1638
|
+
lspStop(sandboxId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1639
|
+
/**
|
|
1640
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1641
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
1642
|
+
* @param {string} sandboxId
|
|
1643
|
+
* @param {string} languageId
|
|
1644
|
+
* @param {string} pathToProject
|
|
1645
|
+
* @param {string} query
|
|
1646
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1647
|
+
* @param {*} [options] Override http request option.
|
|
1648
|
+
* @throws {RequiredError}
|
|
1649
|
+
* @memberof ToolboxApi
|
|
1650
|
+
*/
|
|
1651
|
+
lspWorkspaceSymbols(sandboxId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LspSymbol[], any>>;
|
|
1652
|
+
/**
|
|
1653
|
+
* Move file inside sandbox
|
|
1654
|
+
* @summary Move file
|
|
1655
|
+
* @param {string} sandboxId
|
|
1656
|
+
* @param {string} source
|
|
1657
|
+
* @param {string} destination
|
|
1658
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1659
|
+
* @param {*} [options] Override http request option.
|
|
1660
|
+
* @throws {RequiredError}
|
|
1661
|
+
* @memberof ToolboxApi
|
|
1662
|
+
*/
|
|
1663
|
+
moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Replace text/pattern in multiple files inside sandbox
|
|
1666
|
+
* @summary Replace in files
|
|
1667
|
+
* @param {string} sandboxId
|
|
1668
|
+
* @param {ReplaceRequest} replaceRequest
|
|
1669
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
* @memberof ToolboxApi
|
|
1673
|
+
*/
|
|
1674
|
+
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any>>;
|
|
1675
|
+
/**
|
|
1676
|
+
* Search for files inside sandbox
|
|
1677
|
+
* @summary Search files
|
|
1678
|
+
* @param {string} sandboxId
|
|
1679
|
+
* @param {string} path
|
|
1680
|
+
* @param {string} pattern
|
|
1681
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1682
|
+
* @param {*} [options] Override http request option.
|
|
1683
|
+
* @throws {RequiredError}
|
|
1684
|
+
* @memberof ToolboxApi
|
|
1685
|
+
*/
|
|
1686
|
+
searchFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchFilesResponse, any>>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Set file owner/group/permissions inside sandbox
|
|
1689
|
+
* @summary Set file permissions
|
|
1690
|
+
* @param {string} sandboxId
|
|
1691
|
+
* @param {string} path
|
|
1692
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1693
|
+
* @param {string} [owner]
|
|
1694
|
+
* @param {string} [group]
|
|
1695
|
+
* @param {string} [mode]
|
|
1696
|
+
* @param {*} [options] Override http request option.
|
|
1697
|
+
* @throws {RequiredError}
|
|
1698
|
+
* @memberof ToolboxApi
|
|
1699
|
+
*/
|
|
1700
|
+
setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Upload file inside sandbox
|
|
1703
|
+
* @summary Upload file
|
|
1704
|
+
* @param {string} sandboxId
|
|
1705
|
+
* @param {string} path
|
|
1706
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1707
|
+
* @param {File} [file]
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @deprecated
|
|
1710
|
+
* @throws {RequiredError}
|
|
1711
|
+
* @memberof ToolboxApi
|
|
1712
|
+
*/
|
|
1713
|
+
uploadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1714
|
+
/**
|
|
1715
|
+
* Upload multiple files inside sandbox
|
|
1716
|
+
* @summary Upload multiple files
|
|
1717
|
+
* @param {string} sandboxId
|
|
1718
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1719
|
+
* @param {*} [options] Override http request option.
|
|
1720
|
+
* @throws {RequiredError}
|
|
1721
|
+
* @memberof ToolboxApi
|
|
1722
|
+
*/
|
|
1723
|
+
uploadFiles(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1724
|
+
}
|