@daytonaio/sdk 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE +43 -0
- package/README.md +181 -0
- package/dist/Daytona.d.ts +106 -0
- package/dist/Daytona.js +141 -0
- package/dist/FileSystem.d.ts +97 -0
- package/dist/FileSystem.js +126 -0
- package/dist/Git.d.ts +67 -0
- package/dist/Git.js +109 -0
- package/dist/LspServer.d.ts +68 -0
- package/dist/LspServer.js +93 -0
- package/dist/Process.d.ts +54 -0
- package/dist/Process.js +84 -0
- package/dist/Workspace.d.ts +53 -0
- package/dist/Workspace.js +51 -0
- package/dist/client/apis/ApiKeyApi.d.ts +54 -0
- package/dist/client/apis/ApiKeyApi.js +135 -0
- package/dist/client/apis/BuildApi.d.ts +95 -0
- package/dist/client/apis/BuildApi.js +228 -0
- package/dist/client/apis/ContainerRegistryApi.d.ts +68 -0
- package/dist/client/apis/ContainerRegistryApi.js +163 -0
- package/dist/client/apis/DefaultApi.d.ts +31 -0
- package/dist/client/apis/DefaultApi.js +72 -0
- package/dist/client/apis/GitProviderApi.d.ts +197 -0
- package/dist/client/apis/GitProviderApi.js +477 -0
- package/dist/client/apis/PrebuildApi.d.ts +97 -0
- package/dist/client/apis/PrebuildApi.js +241 -0
- package/dist/client/apis/ProfileApi.d.ts +51 -0
- package/dist/client/apis/ProfileApi.js +128 -0
- package/dist/client/apis/ProjectConfigApi.d.ts +94 -0
- package/dist/client/apis/ProjectConfigApi.js +220 -0
- package/dist/client/apis/ProviderApi.d.ts +71 -0
- package/dist/client/apis/ProviderApi.js +160 -0
- package/dist/client/apis/SampleApi.d.ts +28 -0
- package/dist/client/apis/SampleApi.js +73 -0
- package/dist/client/apis/ServerApi.d.ts +61 -0
- package/dist/client/apis/ServerApi.js +156 -0
- package/dist/client/apis/TargetApi.d.ts +67 -0
- package/dist/client/apis/TargetApi.js +159 -0
- package/dist/client/apis/WorkspaceApi.d.ts +141 -0
- package/dist/client/apis/WorkspaceApi.js +330 -0
- package/dist/client/apis/WorkspaceToolboxApi.d.ts +464 -0
- package/dist/client/apis/WorkspaceToolboxApi.js +1248 -0
- package/dist/client/apis/index.d.ts +14 -0
- package/dist/client/apis/index.js +32 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.js +21 -0
- package/dist/client/models/ApiKey.d.ts +45 -0
- package/dist/client/models/ApiKey.js +60 -0
- package/dist/client/models/ApikeyApiKeyType.d.ts +26 -0
- package/dist/client/models/ApikeyApiKeyType.js +52 -0
- package/dist/client/models/Build.d.ts +98 -0
- package/dist/client/models/Build.js +91 -0
- package/dist/client/models/BuildBuildState.d.ts +31 -0
- package/dist/client/models/BuildBuildState.js +57 -0
- package/dist/client/models/BuildConfig.d.ts +40 -0
- package/dist/client/models/BuildConfig.js +57 -0
- package/dist/client/models/CachedBuild.d.ts +38 -0
- package/dist/client/models/CachedBuild.js +55 -0
- package/dist/client/models/CloneTarget.d.ts +25 -0
- package/dist/client/models/CloneTarget.js +51 -0
- package/dist/client/models/CompletionContext.d.ts +38 -0
- package/dist/client/models/CompletionContext.js +53 -0
- package/dist/client/models/CompletionItem.d.ts +68 -0
- package/dist/client/models/CompletionItem.js +63 -0
- package/dist/client/models/CompletionList.d.ts +39 -0
- package/dist/client/models/CompletionList.js +56 -0
- package/dist/client/models/ContainerConfig.d.ts +38 -0
- package/dist/client/models/ContainerConfig.js +55 -0
- package/dist/client/models/ContainerRegistry.d.ts +44 -0
- package/dist/client/models/ContainerRegistry.js +59 -0
- package/dist/client/models/CreateBuildDTO.d.ts +52 -0
- package/dist/client/models/CreateBuildDTO.js +62 -0
- package/dist/client/models/CreatePrebuildDTO.d.ts +56 -0
- package/dist/client/models/CreatePrebuildDTO.js +59 -0
- package/dist/client/models/CreateProjectConfigDTO.d.ts +71 -0
- package/dist/client/models/CreateProjectConfigDTO.js +72 -0
- package/dist/client/models/CreateProjectDTO.d.ts +72 -0
- package/dist/client/models/CreateProjectDTO.js +73 -0
- package/dist/client/models/CreateProjectSourceDTO.d.ts +33 -0
- package/dist/client/models/CreateProjectSourceDTO.js +52 -0
- package/dist/client/models/CreateProviderTargetDTO.d.ts +45 -0
- package/dist/client/models/CreateProviderTargetDTO.js +60 -0
- package/dist/client/models/CreateWorkspaceDTO.d.ts +51 -0
- package/dist/client/models/CreateWorkspaceDTO.js +64 -0
- package/dist/client/models/DevcontainerConfig.d.ts +32 -0
- package/dist/client/models/DevcontainerConfig.js +51 -0
- package/dist/client/models/ExecuteRequest.d.ts +38 -0
- package/dist/client/models/ExecuteRequest.js +53 -0
- package/dist/client/models/ExecuteResponse.d.ts +38 -0
- package/dist/client/models/ExecuteResponse.js +55 -0
- package/dist/client/models/FRPSConfig.d.ts +44 -0
- package/dist/client/models/FRPSConfig.js +59 -0
- package/dist/client/models/FileInfo.d.ts +74 -0
- package/dist/client/models/FileInfo.js +79 -0
- package/dist/client/models/FileStatus.d.ts +51 -0
- package/dist/client/models/FileStatus.js +64 -0
- package/dist/client/models/GetRepositoryContext.d.ts +80 -0
- package/dist/client/models/GetRepositoryContext.js +67 -0
- package/dist/client/models/GitAddRequest.d.ts +38 -0
- package/dist/client/models/GitAddRequest.js +55 -0
- package/dist/client/models/GitBranch.d.ts +38 -0
- package/dist/client/models/GitBranch.js +55 -0
- package/dist/client/models/GitBranchRequest.d.ts +38 -0
- package/dist/client/models/GitBranchRequest.js +55 -0
- package/dist/client/models/GitCloneRequest.d.ts +62 -0
- package/dist/client/models/GitCloneRequest.js +63 -0
- package/dist/client/models/GitCommitInfo.d.ts +56 -0
- package/dist/client/models/GitCommitInfo.js +67 -0
- package/dist/client/models/GitCommitRequest.d.ts +50 -0
- package/dist/client/models/GitCommitRequest.js +63 -0
- package/dist/client/models/GitCommitResponse.d.ts +32 -0
- package/dist/client/models/GitCommitResponse.js +51 -0
- package/dist/client/models/GitNamespace.d.ts +38 -0
- package/dist/client/models/GitNamespace.js +55 -0
- package/dist/client/models/GitProvider.d.ts +75 -0
- package/dist/client/models/GitProvider.js +76 -0
- package/dist/client/models/GitPullRequest.d.ts +68 -0
- package/dist/client/models/GitPullRequest.js +75 -0
- package/dist/client/models/GitRepoRequest.d.ts +44 -0
- package/dist/client/models/GitRepoRequest.js +55 -0
- package/dist/client/models/GitRepository.d.ts +87 -0
- package/dist/client/models/GitRepository.js +84 -0
- package/dist/client/models/GitStatus.d.ts +57 -0
- package/dist/client/models/GitStatus.js +62 -0
- package/dist/client/models/GitUser.d.ts +50 -0
- package/dist/client/models/GitUser.js +63 -0
- package/dist/client/models/InstallProviderRequest.d.ts +40 -0
- package/dist/client/models/InstallProviderRequest.js +55 -0
- package/dist/client/models/ListBranchResponse.d.ts +32 -0
- package/dist/client/models/ListBranchResponse.js +51 -0
- package/dist/client/models/LogFileConfig.d.ts +62 -0
- package/dist/client/models/LogFileConfig.js +67 -0
- package/dist/client/models/LspCompletionParams.d.ts +58 -0
- package/dist/client/models/LspCompletionParams.js +69 -0
- package/dist/client/models/LspDocumentRequest.d.ts +44 -0
- package/dist/client/models/LspDocumentRequest.js +59 -0
- package/dist/client/models/LspLocation.d.ts +39 -0
- package/dist/client/models/LspLocation.js +56 -0
- package/dist/client/models/LspPosition.d.ts +38 -0
- package/dist/client/models/LspPosition.js +55 -0
- package/dist/client/models/LspRange.d.ts +39 -0
- package/dist/client/models/LspRange.js +56 -0
- package/dist/client/models/LspServerRequest.d.ts +38 -0
- package/dist/client/models/LspServerRequest.js +55 -0
- package/dist/client/models/LspSymbol.d.ts +45 -0
- package/dist/client/models/LspSymbol.js +60 -0
- package/dist/client/models/Match.d.ts +44 -0
- package/dist/client/models/Match.js +59 -0
- package/dist/client/models/NetworkKey.d.ts +32 -0
- package/dist/client/models/NetworkKey.js +51 -0
- package/dist/client/models/Position.d.ts +38 -0
- package/dist/client/models/Position.js +55 -0
- package/dist/client/models/PrebuildConfig.d.ts +56 -0
- package/dist/client/models/PrebuildConfig.js +67 -0
- package/dist/client/models/PrebuildDTO.d.ts +62 -0
- package/dist/client/models/PrebuildDTO.js +68 -0
- package/dist/client/models/ProfileData.d.ts +34 -0
- package/dist/client/models/ProfileData.js +51 -0
- package/dist/client/models/Project.d.ts +91 -0
- package/dist/client/models/Project.js +88 -0
- package/dist/client/models/ProjectConfig.d.ts +84 -0
- package/dist/client/models/ProjectConfig.js +87 -0
- package/dist/client/models/ProjectDirResponse.d.ts +32 -0
- package/dist/client/models/ProjectDirResponse.js +49 -0
- package/dist/client/models/ProjectInfo.d.ts +56 -0
- package/dist/client/models/ProjectInfo.js +65 -0
- package/dist/client/models/ProjectState.d.ts +45 -0
- package/dist/client/models/ProjectState.js +60 -0
- package/dist/client/models/Provider.d.ts +44 -0
- package/dist/client/models/Provider.js +57 -0
- package/dist/client/models/ProviderProviderInfo.d.ts +44 -0
- package/dist/client/models/ProviderProviderInfo.js +57 -0
- package/dist/client/models/ProviderProviderTargetProperty.d.ts +72 -0
- package/dist/client/models/ProviderProviderTargetProperty.js +64 -0
- package/dist/client/models/ProviderProviderTargetPropertyType.d.ts +29 -0
- package/dist/client/models/ProviderProviderTargetPropertyType.js +55 -0
- package/dist/client/models/ProviderTarget.d.ts +51 -0
- package/dist/client/models/ProviderTarget.js +64 -0
- package/dist/client/models/ReplaceRequest.d.ts +44 -0
- package/dist/client/models/ReplaceRequest.js +59 -0
- package/dist/client/models/ReplaceResult.d.ts +44 -0
- package/dist/client/models/ReplaceResult.js +53 -0
- package/dist/client/models/RepositoryUrl.d.ts +32 -0
- package/dist/client/models/RepositoryUrl.js +51 -0
- package/dist/client/models/Sample.d.ts +44 -0
- package/dist/client/models/Sample.js +59 -0
- package/dist/client/models/SearchFilesResponse.d.ts +32 -0
- package/dist/client/models/SearchFilesResponse.js +51 -0
- package/dist/client/models/ServerConfig.d.ts +130 -0
- package/dist/client/models/ServerConfig.js +119 -0
- package/dist/client/models/SetGitProviderConfig.d.ts +75 -0
- package/dist/client/models/SetGitProviderConfig.js +70 -0
- package/dist/client/models/SetProjectState.d.ts +39 -0
- package/dist/client/models/SetProjectState.js +56 -0
- package/dist/client/models/SigningMethod.d.ts +25 -0
- package/dist/client/models/SigningMethod.js +51 -0
- package/dist/client/models/Status.d.ts +31 -0
- package/dist/client/models/Status.js +57 -0
- package/dist/client/models/Workspace.d.ts +51 -0
- package/dist/client/models/Workspace.js +64 -0
- package/dist/client/models/WorkspaceDTO.d.ts +58 -0
- package/dist/client/models/WorkspaceDTO.js +67 -0
- package/dist/client/models/WorkspaceInfo.d.ts +45 -0
- package/dist/client/models/WorkspaceInfo.js +58 -0
- package/dist/client/models/index.d.ts +79 -0
- package/dist/client/models/index.js +97 -0
- package/dist/client/runtime.d.ts +182 -0
- package/dist/client/runtime.js +340 -0
- package/dist/code-toolbox/WorkspacePythonCodeToolbox.d.ts +5 -0
- package/dist/code-toolbox/WorkspacePythonCodeToolbox.js +13 -0
- package/dist/code-toolbox/WorkspaceTsCodeToolbox.d.ts +5 -0
- package/dist/code-toolbox/WorkspaceTsCodeToolbox.js +13 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +13 -0
- package/package.json +42 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateProviderTargetDTOToJSONTyped = exports.CreateProviderTargetDTOToJSON = exports.CreateProviderTargetDTOFromJSONTyped = exports.CreateProviderTargetDTOFromJSON = exports.instanceOfCreateProviderTargetDTO = void 0;
|
|
17
|
+
const ProviderProviderInfo_1 = require("./ProviderProviderInfo");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateProviderTargetDTO interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateProviderTargetDTO(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('providerInfo' in value) || value['providerInfo'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
exports.instanceOfCreateProviderTargetDTO = instanceOfCreateProviderTargetDTO;
|
|
31
|
+
function CreateProviderTargetDTOFromJSON(json) {
|
|
32
|
+
return CreateProviderTargetDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.CreateProviderTargetDTOFromJSON = CreateProviderTargetDTOFromJSON;
|
|
35
|
+
function CreateProviderTargetDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
name: json['name'],
|
|
41
|
+
options: json['options'],
|
|
42
|
+
providerInfo: (0, ProviderProviderInfo_1.ProviderProviderInfoFromJSON)(json['providerInfo']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.CreateProviderTargetDTOFromJSONTyped = CreateProviderTargetDTOFromJSONTyped;
|
|
46
|
+
function CreateProviderTargetDTOToJSON(json) {
|
|
47
|
+
return CreateProviderTargetDTOToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
exports.CreateProviderTargetDTOToJSON = CreateProviderTargetDTOToJSON;
|
|
50
|
+
function CreateProviderTargetDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
name: value['name'],
|
|
56
|
+
options: value['options'],
|
|
57
|
+
providerInfo: (0, ProviderProviderInfo_1.ProviderProviderInfoToJSON)(value['providerInfo']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.CreateProviderTargetDTOToJSONTyped = CreateProviderTargetDTOToJSONTyped;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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 { CreateProjectDTO } from './CreateProjectDTO';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateWorkspaceDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateWorkspaceDTO {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateWorkspaceDTO
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateWorkspaceDTO
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<CreateProjectDTO>}
|
|
34
|
+
* @memberof CreateWorkspaceDTO
|
|
35
|
+
*/
|
|
36
|
+
projects: Array<CreateProjectDTO>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateWorkspaceDTO
|
|
41
|
+
*/
|
|
42
|
+
target: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the CreateWorkspaceDTO interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfCreateWorkspaceDTO(value: object): value is CreateWorkspaceDTO;
|
|
48
|
+
export declare function CreateWorkspaceDTOFromJSON(json: any): CreateWorkspaceDTO;
|
|
49
|
+
export declare function CreateWorkspaceDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWorkspaceDTO;
|
|
50
|
+
export declare function CreateWorkspaceDTOToJSON(json: any): CreateWorkspaceDTO;
|
|
51
|
+
export declare function CreateWorkspaceDTOToJSONTyped(value?: CreateWorkspaceDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateWorkspaceDTOToJSONTyped = exports.CreateWorkspaceDTOToJSON = exports.CreateWorkspaceDTOFromJSONTyped = exports.CreateWorkspaceDTOFromJSON = exports.instanceOfCreateWorkspaceDTO = void 0;
|
|
17
|
+
const CreateProjectDTO_1 = require("./CreateProjectDTO");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateWorkspaceDTO interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateWorkspaceDTO(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('projects' in value) || value['projects'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfCreateWorkspaceDTO = instanceOfCreateWorkspaceDTO;
|
|
33
|
+
function CreateWorkspaceDTOFromJSON(json) {
|
|
34
|
+
return CreateWorkspaceDTOFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.CreateWorkspaceDTOFromJSON = CreateWorkspaceDTOFromJSON;
|
|
37
|
+
function CreateWorkspaceDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
id: json['id'],
|
|
43
|
+
name: json['name'],
|
|
44
|
+
projects: json['projects'].map(CreateProjectDTO_1.CreateProjectDTOFromJSON),
|
|
45
|
+
target: json['target'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.CreateWorkspaceDTOFromJSONTyped = CreateWorkspaceDTOFromJSONTyped;
|
|
49
|
+
function CreateWorkspaceDTOToJSON(json) {
|
|
50
|
+
return CreateWorkspaceDTOToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.CreateWorkspaceDTOToJSON = CreateWorkspaceDTOToJSON;
|
|
53
|
+
function CreateWorkspaceDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
id: value['id'],
|
|
59
|
+
name: value['name'],
|
|
60
|
+
projects: value['projects'].map(CreateProjectDTO_1.CreateProjectDTOToJSON),
|
|
61
|
+
target: value['target'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.CreateWorkspaceDTOToJSONTyped = CreateWorkspaceDTOToJSONTyped;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DevcontainerConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface DevcontainerConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DevcontainerConfig
|
|
22
|
+
*/
|
|
23
|
+
filePath: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DevcontainerConfig interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDevcontainerConfig(value: object): value is DevcontainerConfig;
|
|
29
|
+
export declare function DevcontainerConfigFromJSON(json: any): DevcontainerConfig;
|
|
30
|
+
export declare function DevcontainerConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): DevcontainerConfig;
|
|
31
|
+
export declare function DevcontainerConfigToJSON(json: any): DevcontainerConfig;
|
|
32
|
+
export declare function DevcontainerConfigToJSONTyped(value?: DevcontainerConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DevcontainerConfigToJSONTyped = exports.DevcontainerConfigToJSON = exports.DevcontainerConfigFromJSONTyped = exports.DevcontainerConfigFromJSON = exports.instanceOfDevcontainerConfig = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DevcontainerConfig interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDevcontainerConfig(value) {
|
|
21
|
+
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfDevcontainerConfig = instanceOfDevcontainerConfig;
|
|
26
|
+
function DevcontainerConfigFromJSON(json) {
|
|
27
|
+
return DevcontainerConfigFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.DevcontainerConfigFromJSON = DevcontainerConfigFromJSON;
|
|
30
|
+
function DevcontainerConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
filePath: json['filePath'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.DevcontainerConfigFromJSONTyped = DevcontainerConfigFromJSONTyped;
|
|
39
|
+
function DevcontainerConfigToJSON(json) {
|
|
40
|
+
return DevcontainerConfigToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.DevcontainerConfigToJSON = DevcontainerConfigToJSON;
|
|
43
|
+
function DevcontainerConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
filePath: value['filePath'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DevcontainerConfigToJSONTyped = DevcontainerConfigToJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExecuteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecuteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExecuteRequest
|
|
22
|
+
*/
|
|
23
|
+
command: string;
|
|
24
|
+
/**
|
|
25
|
+
* Timeout in seconds, defaults to 10 seconds
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ExecuteRequest
|
|
28
|
+
*/
|
|
29
|
+
timeout?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExecuteRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExecuteRequest(value: object): value is ExecuteRequest;
|
|
35
|
+
export declare function ExecuteRequestFromJSON(json: any): ExecuteRequest;
|
|
36
|
+
export declare function ExecuteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteRequest;
|
|
37
|
+
export declare function ExecuteRequestToJSON(json: any): ExecuteRequest;
|
|
38
|
+
export declare function ExecuteRequestToJSONTyped(value?: ExecuteRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ExecuteRequestToJSONTyped = exports.ExecuteRequestToJSON = exports.ExecuteRequestFromJSONTyped = exports.ExecuteRequestFromJSON = exports.instanceOfExecuteRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ExecuteRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfExecuteRequest(value) {
|
|
21
|
+
if (!('command' in value) || value['command'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfExecuteRequest = instanceOfExecuteRequest;
|
|
26
|
+
function ExecuteRequestFromJSON(json) {
|
|
27
|
+
return ExecuteRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ExecuteRequestFromJSON = ExecuteRequestFromJSON;
|
|
30
|
+
function ExecuteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
command: json['command'],
|
|
36
|
+
timeout: json['timeout'] == null ? undefined : json['timeout'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.ExecuteRequestFromJSONTyped = ExecuteRequestFromJSONTyped;
|
|
40
|
+
function ExecuteRequestToJSON(json) {
|
|
41
|
+
return ExecuteRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
exports.ExecuteRequestToJSON = ExecuteRequestToJSON;
|
|
44
|
+
function ExecuteRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
command: value['command'],
|
|
50
|
+
timeout: value['timeout'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ExecuteRequestToJSONTyped = ExecuteRequestToJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExecuteResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecuteResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExecuteResponse
|
|
22
|
+
*/
|
|
23
|
+
code: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExecuteResponse
|
|
28
|
+
*/
|
|
29
|
+
result: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExecuteResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExecuteResponse(value: object): value is ExecuteResponse;
|
|
35
|
+
export declare function ExecuteResponseFromJSON(json: any): ExecuteResponse;
|
|
36
|
+
export declare function ExecuteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteResponse;
|
|
37
|
+
export declare function ExecuteResponseToJSON(json: any): ExecuteResponse;
|
|
38
|
+
export declare function ExecuteResponseToJSONTyped(value?: ExecuteResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ExecuteResponseToJSONTyped = exports.ExecuteResponseToJSON = exports.ExecuteResponseFromJSONTyped = exports.ExecuteResponseFromJSON = exports.instanceOfExecuteResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ExecuteResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfExecuteResponse(value) {
|
|
21
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfExecuteResponse = instanceOfExecuteResponse;
|
|
28
|
+
function ExecuteResponseFromJSON(json) {
|
|
29
|
+
return ExecuteResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ExecuteResponseFromJSON = ExecuteResponseFromJSON;
|
|
32
|
+
function ExecuteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
code: json['code'],
|
|
38
|
+
result: json['result'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.ExecuteResponseFromJSONTyped = ExecuteResponseFromJSONTyped;
|
|
42
|
+
function ExecuteResponseToJSON(json) {
|
|
43
|
+
return ExecuteResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.ExecuteResponseToJSON = ExecuteResponseToJSON;
|
|
46
|
+
function ExecuteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
code: value['code'],
|
|
52
|
+
result: value['result'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.ExecuteResponseToJSONTyped = ExecuteResponseToJSONTyped;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FRPSConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface FRPSConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FRPSConfig
|
|
22
|
+
*/
|
|
23
|
+
domain: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FRPSConfig
|
|
28
|
+
*/
|
|
29
|
+
port: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FRPSConfig
|
|
34
|
+
*/
|
|
35
|
+
protocol: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the FRPSConfig interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfFRPSConfig(value: object): value is FRPSConfig;
|
|
41
|
+
export declare function FRPSConfigFromJSON(json: any): FRPSConfig;
|
|
42
|
+
export declare function FRPSConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FRPSConfig;
|
|
43
|
+
export declare function FRPSConfigToJSON(json: any): FRPSConfig;
|
|
44
|
+
export declare function FRPSConfigToJSONTyped(value?: FRPSConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FRPSConfigToJSONTyped = exports.FRPSConfigToJSON = exports.FRPSConfigFromJSONTyped = exports.FRPSConfigFromJSON = exports.instanceOfFRPSConfig = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the FRPSConfig interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfFRPSConfig(value) {
|
|
21
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('port' in value) || value['port'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('protocol' in value) || value['protocol'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfFRPSConfig = instanceOfFRPSConfig;
|
|
30
|
+
function FRPSConfigFromJSON(json) {
|
|
31
|
+
return FRPSConfigFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.FRPSConfigFromJSON = FRPSConfigFromJSON;
|
|
34
|
+
function FRPSConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
domain: json['domain'],
|
|
40
|
+
port: json['port'],
|
|
41
|
+
protocol: json['protocol'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.FRPSConfigFromJSONTyped = FRPSConfigFromJSONTyped;
|
|
45
|
+
function FRPSConfigToJSON(json) {
|
|
46
|
+
return FRPSConfigToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.FRPSConfigToJSON = FRPSConfigToJSON;
|
|
49
|
+
function FRPSConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
domain: value['domain'],
|
|
55
|
+
port: value['port'],
|
|
56
|
+
protocol: value['protocol'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.FRPSConfigToJSONTyped = FRPSConfigToJSONTyped;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface FileInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileInfo
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof FileInfo
|
|
28
|
+
*/
|
|
29
|
+
isDir: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FileInfo
|
|
34
|
+
*/
|
|
35
|
+
modTime: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FileInfo
|
|
40
|
+
*/
|
|
41
|
+
mode: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FileInfo
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FileInfo
|
|
52
|
+
*/
|
|
53
|
+
owner: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof FileInfo
|
|
58
|
+
*/
|
|
59
|
+
permissions: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof FileInfo
|
|
64
|
+
*/
|
|
65
|
+
size: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the FileInfo interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfFileInfo(value: object): value is FileInfo;
|
|
71
|
+
export declare function FileInfoFromJSON(json: any): FileInfo;
|
|
72
|
+
export declare function FileInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInfo;
|
|
73
|
+
export declare function FileInfoToJSON(json: any): FileInfo;
|
|
74
|
+
export declare function FileInfoToJSONTyped(value?: FileInfo | null, ignoreDiscriminator?: boolean): any;
|