@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,598 @@
|
|
|
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 { CreateSandbox } from '../models';
|
|
16
|
+
import type { PortPreviewUrl } from '../models';
|
|
17
|
+
import type { Sandbox } from '../models';
|
|
18
|
+
import type { SandboxLabels } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* SandboxApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Archive sandbox
|
|
27
|
+
* @param {string} sandboxId
|
|
28
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
archiveSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Create sandbox backup
|
|
36
|
+
* @param {string} sandboxId ID of the sandbox
|
|
37
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
createBackup: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @summary Create a new sandbox
|
|
45
|
+
* @param {CreateSandbox} createSandbox
|
|
46
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
createSandbox: (createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Delete sandbox
|
|
54
|
+
* @param {string} sandboxId ID of the sandbox
|
|
55
|
+
* @param {boolean} force
|
|
56
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
deleteSandbox: (sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Get build logs
|
|
64
|
+
* @param {string} sandboxId ID of the sandbox
|
|
65
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
66
|
+
* @param {boolean} [follow] Whether to follow the logs stream
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
getBuildLogs: (sandboxId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary Get preview URL for a sandbox port
|
|
74
|
+
* @param {string} sandboxId ID of the sandbox
|
|
75
|
+
* @param {number} port Port number to get preview URL for
|
|
76
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
getPortPreviewUrl: (sandboxId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @summary Get sandbox details
|
|
84
|
+
* @param {string} sandboxId ID of the sandbox
|
|
85
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
86
|
+
* @param {boolean} [verbose] Include verbose output
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary List all sandboxes
|
|
94
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
95
|
+
* @param {boolean} [verbose] Include verbose output
|
|
96
|
+
* @param {string} [labels] JSON encoded labels to filter by
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
listSandboxes: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary Replace sandbox labels
|
|
104
|
+
* @param {string} sandboxId ID of the sandbox
|
|
105
|
+
* @param {SandboxLabels} sandboxLabels
|
|
106
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
replaceLabels: (sandboxId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Set sandbox auto-archive interval
|
|
114
|
+
* @param {string} sandboxId ID of the sandbox
|
|
115
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
116
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
setAutoArchiveInterval: (sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Set sandbox auto-stop interval
|
|
124
|
+
* @param {string} sandboxId ID of the sandbox
|
|
125
|
+
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
126
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
setAutostopInterval: (sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Start sandbox
|
|
134
|
+
* @param {string} sandboxId ID of the sandbox
|
|
135
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
startSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Stop sandbox
|
|
143
|
+
* @param {string} sandboxId ID of the sandbox
|
|
144
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
stopSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @summary Update public status
|
|
152
|
+
* @param {string} sandboxId ID of the sandbox
|
|
153
|
+
* @param {boolean} isPublic Public status to set
|
|
154
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
updatePublicStatus: (sandboxId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* SandboxApi - functional programming interface
|
|
162
|
+
* @export
|
|
163
|
+
*/
|
|
164
|
+
export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @summary Archive sandbox
|
|
168
|
+
* @param {string} sandboxId
|
|
169
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
archiveSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Create sandbox backup
|
|
177
|
+
* @param {string} sandboxId ID of the sandbox
|
|
178
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
createBackup(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @summary Create a new sandbox
|
|
186
|
+
* @param {CreateSandbox} createSandbox
|
|
187
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Delete sandbox
|
|
195
|
+
* @param {string} sandboxId ID of the sandbox
|
|
196
|
+
* @param {boolean} force
|
|
197
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Get build logs
|
|
205
|
+
* @param {string} sandboxId ID of the sandbox
|
|
206
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
207
|
+
* @param {boolean} [follow] Whether to follow the logs stream
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
getBuildLogs(sandboxId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @summary Get preview URL for a sandbox port
|
|
215
|
+
* @param {string} sandboxId ID of the sandbox
|
|
216
|
+
* @param {number} port Port number to get preview URL for
|
|
217
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
getPortPreviewUrl(sandboxId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortPreviewUrl>>;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @summary Get sandbox details
|
|
225
|
+
* @param {string} sandboxId ID of the sandbox
|
|
226
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
227
|
+
* @param {boolean} [verbose] Include verbose output
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @summary List all sandboxes
|
|
235
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
236
|
+
* @param {boolean} [verbose] Include verbose output
|
|
237
|
+
* @param {string} [labels] JSON encoded labels to filter by
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @summary Replace sandbox labels
|
|
245
|
+
* @param {string} sandboxId ID of the sandbox
|
|
246
|
+
* @param {SandboxLabels} sandboxLabels
|
|
247
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
replaceLabels(sandboxId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SandboxLabels>>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @summary Set sandbox auto-archive interval
|
|
255
|
+
* @param {string} sandboxId ID of the sandbox
|
|
256
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
257
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
setAutoArchiveInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary Set sandbox auto-stop interval
|
|
265
|
+
* @param {string} sandboxId ID of the sandbox
|
|
266
|
+
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
267
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
setAutostopInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary Start sandbox
|
|
275
|
+
* @param {string} sandboxId ID of the sandbox
|
|
276
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
startSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary Stop sandbox
|
|
284
|
+
* @param {string} sandboxId ID of the sandbox
|
|
285
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
stopSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Update public status
|
|
293
|
+
* @param {string} sandboxId ID of the sandbox
|
|
294
|
+
* @param {boolean} isPublic Public status to set
|
|
295
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
updatePublicStatus(sandboxId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* SandboxApi - factory interface
|
|
303
|
+
* @export
|
|
304
|
+
*/
|
|
305
|
+
export declare const SandboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary Archive sandbox
|
|
309
|
+
* @param {string} sandboxId
|
|
310
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
archiveSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @summary Create sandbox backup
|
|
318
|
+
* @param {string} sandboxId ID of the sandbox
|
|
319
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
createBackup(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @summary Create a new sandbox
|
|
327
|
+
* @param {CreateSandbox} createSandbox
|
|
328
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary Delete sandbox
|
|
336
|
+
* @param {string} sandboxId ID of the sandbox
|
|
337
|
+
* @param {boolean} force
|
|
338
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @summary Get build logs
|
|
346
|
+
* @param {string} sandboxId ID of the sandbox
|
|
347
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
348
|
+
* @param {boolean} [follow] Whether to follow the logs stream
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getBuildLogs(sandboxId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @summary Get preview URL for a sandbox port
|
|
356
|
+
* @param {string} sandboxId ID of the sandbox
|
|
357
|
+
* @param {number} port Port number to get preview URL for
|
|
358
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
getPortPreviewUrl(sandboxId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PortPreviewUrl>;
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @summary Get sandbox details
|
|
366
|
+
* @param {string} sandboxId ID of the sandbox
|
|
367
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
368
|
+
* @param {boolean} [verbose] Include verbose output
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary List all sandboxes
|
|
376
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
377
|
+
* @param {boolean} [verbose] Include verbose output
|
|
378
|
+
* @param {string} [labels] JSON encoded labels to filter by
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @summary Replace sandbox labels
|
|
386
|
+
* @param {string} sandboxId ID of the sandbox
|
|
387
|
+
* @param {SandboxLabels} sandboxLabels
|
|
388
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
replaceLabels(sandboxId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SandboxLabels>;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @summary Set sandbox auto-archive interval
|
|
396
|
+
* @param {string} sandboxId ID of the sandbox
|
|
397
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
398
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
setAutoArchiveInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @summary Set sandbox auto-stop interval
|
|
406
|
+
* @param {string} sandboxId ID of the sandbox
|
|
407
|
+
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
408
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
setAutostopInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @summary Start sandbox
|
|
416
|
+
* @param {string} sandboxId ID of the sandbox
|
|
417
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
startSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary Stop sandbox
|
|
425
|
+
* @param {string} sandboxId ID of the sandbox
|
|
426
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
stopSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary Update public status
|
|
434
|
+
* @param {string} sandboxId ID of the sandbox
|
|
435
|
+
* @param {boolean} isPublic Public status to set
|
|
436
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
updatePublicStatus(sandboxId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* SandboxApi - object-oriented interface
|
|
444
|
+
* @export
|
|
445
|
+
* @class SandboxApi
|
|
446
|
+
* @extends {BaseAPI}
|
|
447
|
+
*/
|
|
448
|
+
export declare class SandboxApi extends BaseAPI {
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary Archive sandbox
|
|
452
|
+
* @param {string} sandboxId
|
|
453
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
* @memberof SandboxApi
|
|
457
|
+
*/
|
|
458
|
+
archiveSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary Create sandbox backup
|
|
462
|
+
* @param {string} sandboxId ID of the sandbox
|
|
463
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
* @memberof SandboxApi
|
|
467
|
+
*/
|
|
468
|
+
createBackup(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @summary Create a new sandbox
|
|
472
|
+
* @param {CreateSandbox} createSandbox
|
|
473
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
* @memberof SandboxApi
|
|
477
|
+
*/
|
|
478
|
+
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @summary Delete sandbox
|
|
482
|
+
* @param {string} sandboxId ID of the sandbox
|
|
483
|
+
* @param {boolean} force
|
|
484
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
* @memberof SandboxApi
|
|
488
|
+
*/
|
|
489
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @summary Get build logs
|
|
493
|
+
* @param {string} sandboxId ID of the sandbox
|
|
494
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
495
|
+
* @param {boolean} [follow] Whether to follow the logs stream
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
* @memberof SandboxApi
|
|
499
|
+
*/
|
|
500
|
+
getBuildLogs(sandboxId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @summary Get preview URL for a sandbox port
|
|
504
|
+
* @param {string} sandboxId ID of the sandbox
|
|
505
|
+
* @param {number} port Port number to get preview URL for
|
|
506
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
* @memberof SandboxApi
|
|
510
|
+
*/
|
|
511
|
+
getPortPreviewUrl(sandboxId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any>>;
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @summary Get sandbox details
|
|
515
|
+
* @param {string} sandboxId ID of the sandbox
|
|
516
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
517
|
+
* @param {boolean} [verbose] Include verbose output
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof SandboxApi
|
|
521
|
+
*/
|
|
522
|
+
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @summary List all sandboxes
|
|
526
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
527
|
+
* @param {boolean} [verbose] Include verbose output
|
|
528
|
+
* @param {string} [labels] JSON encoded labels to filter by
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
* @memberof SandboxApi
|
|
532
|
+
*/
|
|
533
|
+
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any>>;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @summary Replace sandbox labels
|
|
537
|
+
* @param {string} sandboxId ID of the sandbox
|
|
538
|
+
* @param {SandboxLabels} sandboxLabels
|
|
539
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
* @memberof SandboxApi
|
|
543
|
+
*/
|
|
544
|
+
replaceLabels(sandboxId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any>>;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @summary Set sandbox auto-archive interval
|
|
548
|
+
* @param {string} sandboxId ID of the sandbox
|
|
549
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
550
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
551
|
+
* @param {*} [options] Override http request option.
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
* @memberof SandboxApi
|
|
554
|
+
*/
|
|
555
|
+
setAutoArchiveInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @summary Set sandbox auto-stop interval
|
|
559
|
+
* @param {string} sandboxId ID of the sandbox
|
|
560
|
+
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
561
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
* @memberof SandboxApi
|
|
565
|
+
*/
|
|
566
|
+
setAutostopInterval(sandboxId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @summary Start sandbox
|
|
570
|
+
* @param {string} sandboxId ID of the sandbox
|
|
571
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
* @memberof SandboxApi
|
|
575
|
+
*/
|
|
576
|
+
startSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @summary Stop sandbox
|
|
580
|
+
* @param {string} sandboxId ID of the sandbox
|
|
581
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
* @memberof SandboxApi
|
|
585
|
+
*/
|
|
586
|
+
stopSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @summary Update public status
|
|
590
|
+
* @param {string} sandboxId ID of the sandbox
|
|
591
|
+
* @param {boolean} isPublic Public status to set
|
|
592
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
* @memberof SandboxApi
|
|
596
|
+
*/
|
|
597
|
+
updatePublicStatus(sandboxId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
598
|
+
}
|