@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,63 @@
|
|
|
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.GitCloneRequestToJSONTyped = exports.GitCloneRequestToJSON = exports.GitCloneRequestFromJSONTyped = exports.GitCloneRequestFromJSON = exports.instanceOfGitCloneRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCloneRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCloneRequest(value) {
|
|
21
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGitCloneRequest = instanceOfGitCloneRequest;
|
|
28
|
+
function GitCloneRequestFromJSON(json) {
|
|
29
|
+
return GitCloneRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GitCloneRequestFromJSON = GitCloneRequestFromJSON;
|
|
32
|
+
function GitCloneRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
branch: json['branch'] == null ? undefined : json['branch'],
|
|
38
|
+
commitId: json['commit_id'] == null ? undefined : json['commit_id'],
|
|
39
|
+
password: json['password'] == null ? undefined : json['password'],
|
|
40
|
+
path: json['path'],
|
|
41
|
+
url: json['url'],
|
|
42
|
+
username: json['username'] == null ? undefined : json['username'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.GitCloneRequestFromJSONTyped = GitCloneRequestFromJSONTyped;
|
|
46
|
+
function GitCloneRequestToJSON(json) {
|
|
47
|
+
return GitCloneRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
exports.GitCloneRequestToJSON = GitCloneRequestToJSON;
|
|
50
|
+
function GitCloneRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
branch: value['branch'],
|
|
56
|
+
commit_id: value['commitId'],
|
|
57
|
+
password: value['password'],
|
|
58
|
+
path: value['path'],
|
|
59
|
+
url: value['url'],
|
|
60
|
+
username: value['username'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.GitCloneRequestToJSONTyped = GitCloneRequestToJSONTyped;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 GitCommitInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface GitCommitInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitCommitInfo
|
|
22
|
+
*/
|
|
23
|
+
author: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitCommitInfo
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitCommitInfo
|
|
34
|
+
*/
|
|
35
|
+
hash: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitCommitInfo
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GitCommitInfo
|
|
46
|
+
*/
|
|
47
|
+
timestamp: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GitCommitInfo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGitCommitInfo(value: object): value is GitCommitInfo;
|
|
53
|
+
export declare function GitCommitInfoFromJSON(json: any): GitCommitInfo;
|
|
54
|
+
export declare function GitCommitInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitCommitInfo;
|
|
55
|
+
export declare function GitCommitInfoToJSON(json: any): GitCommitInfo;
|
|
56
|
+
export declare function GitCommitInfoToJSONTyped(value?: GitCommitInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.GitCommitInfoToJSONTyped = exports.GitCommitInfoToJSON = exports.GitCommitInfoFromJSONTyped = exports.GitCommitInfoFromJSON = exports.instanceOfGitCommitInfo = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCommitInfo interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCommitInfo(value) {
|
|
21
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('hash' in value) || value['hash'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfGitCommitInfo = instanceOfGitCommitInfo;
|
|
34
|
+
function GitCommitInfoFromJSON(json) {
|
|
35
|
+
return GitCommitInfoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.GitCommitInfoFromJSON = GitCommitInfoFromJSON;
|
|
38
|
+
function GitCommitInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
author: json['author'],
|
|
44
|
+
email: json['email'],
|
|
45
|
+
hash: json['hash'],
|
|
46
|
+
message: json['message'],
|
|
47
|
+
timestamp: json['timestamp'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.GitCommitInfoFromJSONTyped = GitCommitInfoFromJSONTyped;
|
|
51
|
+
function GitCommitInfoToJSON(json) {
|
|
52
|
+
return GitCommitInfoToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
exports.GitCommitInfoToJSON = GitCommitInfoToJSON;
|
|
55
|
+
function GitCommitInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
author: value['author'],
|
|
61
|
+
email: value['email'],
|
|
62
|
+
hash: value['hash'],
|
|
63
|
+
message: value['message'],
|
|
64
|
+
timestamp: value['timestamp'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.GitCommitInfoToJSONTyped = GitCommitInfoToJSONTyped;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 GitCommitRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GitCommitRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitCommitRequest
|
|
22
|
+
*/
|
|
23
|
+
author: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitCommitRequest
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitCommitRequest
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitCommitRequest
|
|
40
|
+
*/
|
|
41
|
+
path: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GitCommitRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGitCommitRequest(value: object): value is GitCommitRequest;
|
|
47
|
+
export declare function GitCommitRequestFromJSON(json: any): GitCommitRequest;
|
|
48
|
+
export declare function GitCommitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitCommitRequest;
|
|
49
|
+
export declare function GitCommitRequestToJSON(json: any): GitCommitRequest;
|
|
50
|
+
export declare function GitCommitRequestToJSONTyped(value?: GitCommitRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.GitCommitRequestToJSONTyped = exports.GitCommitRequestToJSON = exports.GitCommitRequestFromJSONTyped = exports.GitCommitRequestFromJSON = exports.instanceOfGitCommitRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCommitRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCommitRequest(value) {
|
|
21
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfGitCommitRequest = instanceOfGitCommitRequest;
|
|
32
|
+
function GitCommitRequestFromJSON(json) {
|
|
33
|
+
return GitCommitRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.GitCommitRequestFromJSON = GitCommitRequestFromJSON;
|
|
36
|
+
function GitCommitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
author: json['author'],
|
|
42
|
+
email: json['email'],
|
|
43
|
+
message: json['message'],
|
|
44
|
+
path: json['path'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.GitCommitRequestFromJSONTyped = GitCommitRequestFromJSONTyped;
|
|
48
|
+
function GitCommitRequestToJSON(json) {
|
|
49
|
+
return GitCommitRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
exports.GitCommitRequestToJSON = GitCommitRequestToJSON;
|
|
52
|
+
function GitCommitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
author: value['author'],
|
|
58
|
+
email: value['email'],
|
|
59
|
+
message: value['message'],
|
|
60
|
+
path: value['path'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.GitCommitRequestToJSONTyped = GitCommitRequestToJSONTyped;
|
|
@@ -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 GitCommitResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GitCommitResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitCommitResponse
|
|
22
|
+
*/
|
|
23
|
+
hash: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GitCommitResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGitCommitResponse(value: object): value is GitCommitResponse;
|
|
29
|
+
export declare function GitCommitResponseFromJSON(json: any): GitCommitResponse;
|
|
30
|
+
export declare function GitCommitResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitCommitResponse;
|
|
31
|
+
export declare function GitCommitResponseToJSON(json: any): GitCommitResponse;
|
|
32
|
+
export declare function GitCommitResponseToJSONTyped(value?: GitCommitResponse | 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.GitCommitResponseToJSONTyped = exports.GitCommitResponseToJSON = exports.GitCommitResponseFromJSONTyped = exports.GitCommitResponseFromJSON = exports.instanceOfGitCommitResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCommitResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCommitResponse(value) {
|
|
21
|
+
if (!('hash' in value) || value['hash'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfGitCommitResponse = instanceOfGitCommitResponse;
|
|
26
|
+
function GitCommitResponseFromJSON(json) {
|
|
27
|
+
return GitCommitResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.GitCommitResponseFromJSON = GitCommitResponseFromJSON;
|
|
30
|
+
function GitCommitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
hash: json['hash'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.GitCommitResponseFromJSONTyped = GitCommitResponseFromJSONTyped;
|
|
39
|
+
function GitCommitResponseToJSON(json) {
|
|
40
|
+
return GitCommitResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.GitCommitResponseToJSON = GitCommitResponseToJSON;
|
|
43
|
+
function GitCommitResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
hash: value['hash'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.GitCommitResponseToJSONTyped = GitCommitResponseToJSONTyped;
|
|
@@ -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 GitNamespace
|
|
16
|
+
*/
|
|
17
|
+
export interface GitNamespace {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitNamespace
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitNamespace
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitNamespace interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitNamespace(value: object): value is GitNamespace;
|
|
35
|
+
export declare function GitNamespaceFromJSON(json: any): GitNamespace;
|
|
36
|
+
export declare function GitNamespaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitNamespace;
|
|
37
|
+
export declare function GitNamespaceToJSON(json: any): GitNamespace;
|
|
38
|
+
export declare function GitNamespaceToJSONTyped(value?: GitNamespace | 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.GitNamespaceToJSONTyped = exports.GitNamespaceToJSON = exports.GitNamespaceFromJSONTyped = exports.GitNamespaceFromJSON = exports.instanceOfGitNamespace = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitNamespace interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitNamespace(value) {
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGitNamespace = instanceOfGitNamespace;
|
|
28
|
+
function GitNamespaceFromJSON(json) {
|
|
29
|
+
return GitNamespaceFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GitNamespaceFromJSON = GitNamespaceFromJSON;
|
|
32
|
+
function GitNamespaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
id: json['id'],
|
|
38
|
+
name: json['name'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.GitNamespaceFromJSONTyped = GitNamespaceFromJSONTyped;
|
|
42
|
+
function GitNamespaceToJSON(json) {
|
|
43
|
+
return GitNamespaceToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.GitNamespaceToJSON = GitNamespaceToJSON;
|
|
46
|
+
function GitNamespaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
id: value['id'],
|
|
52
|
+
name: value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GitNamespaceToJSONTyped = GitNamespaceToJSONTyped;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { SigningMethod } from './SigningMethod';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GitProvider
|
|
17
|
+
*/
|
|
18
|
+
export interface GitProvider {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GitProvider
|
|
23
|
+
*/
|
|
24
|
+
alias: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GitProvider
|
|
29
|
+
*/
|
|
30
|
+
baseApiUrl?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GitProvider
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof GitProvider
|
|
41
|
+
*/
|
|
42
|
+
providerId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GitProvider
|
|
47
|
+
*/
|
|
48
|
+
signingKey?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {SigningMethod}
|
|
52
|
+
* @memberof GitProvider
|
|
53
|
+
*/
|
|
54
|
+
signingMethod?: SigningMethod;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof GitProvider
|
|
59
|
+
*/
|
|
60
|
+
token: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof GitProvider
|
|
65
|
+
*/
|
|
66
|
+
username: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the GitProvider interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfGitProvider(value: object): value is GitProvider;
|
|
72
|
+
export declare function GitProviderFromJSON(json: any): GitProvider;
|
|
73
|
+
export declare function GitProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitProvider;
|
|
74
|
+
export declare function GitProviderToJSON(json: any): GitProvider;
|
|
75
|
+
export declare function GitProviderToJSONTyped(value?: GitProvider | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.GitProviderToJSONTyped = exports.GitProviderToJSON = exports.GitProviderFromJSONTyped = exports.GitProviderFromJSON = exports.instanceOfGitProvider = void 0;
|
|
17
|
+
const SigningMethod_1 = require("./SigningMethod");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the GitProvider interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfGitProvider(value) {
|
|
22
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfGitProvider = instanceOfGitProvider;
|
|
35
|
+
function GitProviderFromJSON(json) {
|
|
36
|
+
return GitProviderFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.GitProviderFromJSON = GitProviderFromJSON;
|
|
39
|
+
function GitProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
alias: json['alias'],
|
|
45
|
+
baseApiUrl: json['baseApiUrl'] == null ? undefined : json['baseApiUrl'],
|
|
46
|
+
id: json['id'],
|
|
47
|
+
providerId: json['providerId'],
|
|
48
|
+
signingKey: json['signingKey'] == null ? undefined : json['signingKey'],
|
|
49
|
+
signingMethod: json['signingMethod'] == null
|
|
50
|
+
? undefined
|
|
51
|
+
: (0, SigningMethod_1.SigningMethodFromJSON)(json['signingMethod']),
|
|
52
|
+
token: json['token'],
|
|
53
|
+
username: json['username'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.GitProviderFromJSONTyped = GitProviderFromJSONTyped;
|
|
57
|
+
function GitProviderToJSON(json) {
|
|
58
|
+
return GitProviderToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
exports.GitProviderToJSON = GitProviderToJSON;
|
|
61
|
+
function GitProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
alias: value['alias'],
|
|
67
|
+
baseApiUrl: value['baseApiUrl'],
|
|
68
|
+
id: value['id'],
|
|
69
|
+
providerId: value['providerId'],
|
|
70
|
+
signingKey: value['signingKey'],
|
|
71
|
+
signingMethod: (0, SigningMethod_1.SigningMethodToJSON)(value['signingMethod']),
|
|
72
|
+
token: value['token'],
|
|
73
|
+
username: value['username'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
exports.GitProviderToJSONTyped = GitProviderToJSONTyped;
|