@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,130 @@
|
|
|
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 { FRPSConfig } from './FRPSConfig';
|
|
13
|
+
import type { LogFileConfig } from './LogFileConfig';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ServerConfig
|
|
18
|
+
*/
|
|
19
|
+
export interface ServerConfig {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ServerConfig
|
|
24
|
+
*/
|
|
25
|
+
apiPort: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ServerConfig
|
|
30
|
+
*/
|
|
31
|
+
binariesPath: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ServerConfig
|
|
36
|
+
*/
|
|
37
|
+
buildImageNamespace?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ServerConfig
|
|
42
|
+
*/
|
|
43
|
+
builderImage: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ServerConfig
|
|
48
|
+
*/
|
|
49
|
+
builderRegistryServer: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ServerConfig
|
|
54
|
+
*/
|
|
55
|
+
defaultProjectImage: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ServerConfig
|
|
60
|
+
*/
|
|
61
|
+
defaultProjectUser: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {FRPSConfig}
|
|
65
|
+
* @memberof ServerConfig
|
|
66
|
+
*/
|
|
67
|
+
frps?: FRPSConfig;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof ServerConfig
|
|
72
|
+
*/
|
|
73
|
+
headscalePort: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ServerConfig
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ServerConfig
|
|
84
|
+
*/
|
|
85
|
+
localBuilderRegistryImage: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof ServerConfig
|
|
90
|
+
*/
|
|
91
|
+
localBuilderRegistryPort: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {LogFileConfig}
|
|
95
|
+
* @memberof ServerConfig
|
|
96
|
+
*/
|
|
97
|
+
logFile: LogFileConfig;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ServerConfig
|
|
102
|
+
*/
|
|
103
|
+
providersDir: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof ServerConfig
|
|
108
|
+
*/
|
|
109
|
+
registryUrl: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof ServerConfig
|
|
114
|
+
*/
|
|
115
|
+
samplesIndexUrl?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof ServerConfig
|
|
120
|
+
*/
|
|
121
|
+
serverDownloadUrl: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the ServerConfig interface.
|
|
125
|
+
*/
|
|
126
|
+
export declare function instanceOfServerConfig(value: object): value is ServerConfig;
|
|
127
|
+
export declare function ServerConfigFromJSON(json: any): ServerConfig;
|
|
128
|
+
export declare function ServerConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerConfig;
|
|
129
|
+
export declare function ServerConfigToJSON(json: any): ServerConfig;
|
|
130
|
+
export declare function ServerConfigToJSONTyped(value?: ServerConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,119 @@
|
|
|
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.ServerConfigToJSONTyped = exports.ServerConfigToJSON = exports.ServerConfigFromJSONTyped = exports.ServerConfigFromJSON = exports.instanceOfServerConfig = void 0;
|
|
17
|
+
const FRPSConfig_1 = require("./FRPSConfig");
|
|
18
|
+
const LogFileConfig_1 = require("./LogFileConfig");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ServerConfig interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfServerConfig(value) {
|
|
23
|
+
if (!('apiPort' in value) || value['apiPort'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('binariesPath' in value) || value['binariesPath'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('builderImage' in value) || value['builderImage'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('builderRegistryServer' in value) ||
|
|
30
|
+
value['builderRegistryServer'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('defaultProjectImage' in value) ||
|
|
33
|
+
value['defaultProjectImage'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('defaultProjectUser' in value) ||
|
|
36
|
+
value['defaultProjectUser'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('headscalePort' in value) || value['headscalePort'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('localBuilderRegistryImage' in value) ||
|
|
43
|
+
value['localBuilderRegistryImage'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('localBuilderRegistryPort' in value) ||
|
|
46
|
+
value['localBuilderRegistryPort'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('logFile' in value) || value['logFile'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('providersDir' in value) || value['providersDir'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('registryUrl' in value) || value['registryUrl'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('serverDownloadUrl' in value) ||
|
|
55
|
+
value['serverDownloadUrl'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
exports.instanceOfServerConfig = instanceOfServerConfig;
|
|
60
|
+
function ServerConfigFromJSON(json) {
|
|
61
|
+
return ServerConfigFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
exports.ServerConfigFromJSON = ServerConfigFromJSON;
|
|
64
|
+
function ServerConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
apiPort: json['apiPort'],
|
|
70
|
+
binariesPath: json['binariesPath'],
|
|
71
|
+
buildImageNamespace: json['buildImageNamespace'] == null
|
|
72
|
+
? undefined
|
|
73
|
+
: json['buildImageNamespace'],
|
|
74
|
+
builderImage: json['builderImage'],
|
|
75
|
+
builderRegistryServer: json['builderRegistryServer'],
|
|
76
|
+
defaultProjectImage: json['defaultProjectImage'],
|
|
77
|
+
defaultProjectUser: json['defaultProjectUser'],
|
|
78
|
+
frps: json['frps'] == null ? undefined : (0, FRPSConfig_1.FRPSConfigFromJSON)(json['frps']),
|
|
79
|
+
headscalePort: json['headscalePort'],
|
|
80
|
+
id: json['id'],
|
|
81
|
+
localBuilderRegistryImage: json['localBuilderRegistryImage'],
|
|
82
|
+
localBuilderRegistryPort: json['localBuilderRegistryPort'],
|
|
83
|
+
logFile: (0, LogFileConfig_1.LogFileConfigFromJSON)(json['logFile']),
|
|
84
|
+
providersDir: json['providersDir'],
|
|
85
|
+
registryUrl: json['registryUrl'],
|
|
86
|
+
samplesIndexUrl: json['samplesIndexUrl'] == null ? undefined : json['samplesIndexUrl'],
|
|
87
|
+
serverDownloadUrl: json['serverDownloadUrl'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
exports.ServerConfigFromJSONTyped = ServerConfigFromJSONTyped;
|
|
91
|
+
function ServerConfigToJSON(json) {
|
|
92
|
+
return ServerConfigToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
exports.ServerConfigToJSON = ServerConfigToJSON;
|
|
95
|
+
function ServerConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
apiPort: value['apiPort'],
|
|
101
|
+
binariesPath: value['binariesPath'],
|
|
102
|
+
buildImageNamespace: value['buildImageNamespace'],
|
|
103
|
+
builderImage: value['builderImage'],
|
|
104
|
+
builderRegistryServer: value['builderRegistryServer'],
|
|
105
|
+
defaultProjectImage: value['defaultProjectImage'],
|
|
106
|
+
defaultProjectUser: value['defaultProjectUser'],
|
|
107
|
+
frps: (0, FRPSConfig_1.FRPSConfigToJSON)(value['frps']),
|
|
108
|
+
headscalePort: value['headscalePort'],
|
|
109
|
+
id: value['id'],
|
|
110
|
+
localBuilderRegistryImage: value['localBuilderRegistryImage'],
|
|
111
|
+
localBuilderRegistryPort: value['localBuilderRegistryPort'],
|
|
112
|
+
logFile: (0, LogFileConfig_1.LogFileConfigToJSON)(value['logFile']),
|
|
113
|
+
providersDir: value['providersDir'],
|
|
114
|
+
registryUrl: value['registryUrl'],
|
|
115
|
+
samplesIndexUrl: value['samplesIndexUrl'],
|
|
116
|
+
serverDownloadUrl: value['serverDownloadUrl'],
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
exports.ServerConfigToJSONTyped = ServerConfigToJSONTyped;
|
|
@@ -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 SetGitProviderConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface SetGitProviderConfig {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SetGitProviderConfig
|
|
23
|
+
*/
|
|
24
|
+
alias?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SetGitProviderConfig
|
|
29
|
+
*/
|
|
30
|
+
baseApiUrl?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SetGitProviderConfig
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SetGitProviderConfig
|
|
41
|
+
*/
|
|
42
|
+
providerId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SetGitProviderConfig
|
|
47
|
+
*/
|
|
48
|
+
signingKey?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {SigningMethod}
|
|
52
|
+
* @memberof SetGitProviderConfig
|
|
53
|
+
*/
|
|
54
|
+
signingMethod?: SigningMethod;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SetGitProviderConfig
|
|
59
|
+
*/
|
|
60
|
+
token: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SetGitProviderConfig
|
|
65
|
+
*/
|
|
66
|
+
username?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the SetGitProviderConfig interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfSetGitProviderConfig(value: object): value is SetGitProviderConfig;
|
|
72
|
+
export declare function SetGitProviderConfigFromJSON(json: any): SetGitProviderConfig;
|
|
73
|
+
export declare function SetGitProviderConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetGitProviderConfig;
|
|
74
|
+
export declare function SetGitProviderConfigToJSON(json: any): SetGitProviderConfig;
|
|
75
|
+
export declare function SetGitProviderConfigToJSONTyped(value?: SetGitProviderConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.SetGitProviderConfigToJSONTyped = exports.SetGitProviderConfigToJSON = exports.SetGitProviderConfigFromJSONTyped = exports.SetGitProviderConfigFromJSON = exports.instanceOfSetGitProviderConfig = void 0;
|
|
17
|
+
const SigningMethod_1 = require("./SigningMethod");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SetGitProviderConfig interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSetGitProviderConfig(value) {
|
|
22
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfSetGitProviderConfig = instanceOfSetGitProviderConfig;
|
|
29
|
+
function SetGitProviderConfigFromJSON(json) {
|
|
30
|
+
return SetGitProviderConfigFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.SetGitProviderConfigFromJSON = SetGitProviderConfigFromJSON;
|
|
33
|
+
function SetGitProviderConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
alias: json['alias'] == null ? undefined : json['alias'],
|
|
39
|
+
baseApiUrl: json['baseApiUrl'] == null ? undefined : json['baseApiUrl'],
|
|
40
|
+
id: json['id'] == null ? undefined : json['id'],
|
|
41
|
+
providerId: json['providerId'],
|
|
42
|
+
signingKey: json['signingKey'] == null ? undefined : json['signingKey'],
|
|
43
|
+
signingMethod: json['signingMethod'] == null
|
|
44
|
+
? undefined
|
|
45
|
+
: (0, SigningMethod_1.SigningMethodFromJSON)(json['signingMethod']),
|
|
46
|
+
token: json['token'],
|
|
47
|
+
username: json['username'] == null ? undefined : json['username'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SetGitProviderConfigFromJSONTyped = SetGitProviderConfigFromJSONTyped;
|
|
51
|
+
function SetGitProviderConfigToJSON(json) {
|
|
52
|
+
return SetGitProviderConfigToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
exports.SetGitProviderConfigToJSON = SetGitProviderConfigToJSON;
|
|
55
|
+
function SetGitProviderConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
alias: value['alias'],
|
|
61
|
+
baseApiUrl: value['baseApiUrl'],
|
|
62
|
+
id: value['id'],
|
|
63
|
+
providerId: value['providerId'],
|
|
64
|
+
signingKey: value['signingKey'],
|
|
65
|
+
signingMethod: (0, SigningMethod_1.SigningMethodToJSON)(value['signingMethod']),
|
|
66
|
+
token: value['token'],
|
|
67
|
+
username: value['username'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
exports.SetGitProviderConfigToJSONTyped = SetGitProviderConfigToJSONTyped;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { GitStatus } from './GitStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SetProjectState
|
|
17
|
+
*/
|
|
18
|
+
export interface SetProjectState {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {GitStatus}
|
|
22
|
+
* @memberof SetProjectState
|
|
23
|
+
*/
|
|
24
|
+
gitStatus?: GitStatus;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SetProjectState
|
|
29
|
+
*/
|
|
30
|
+
uptime: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SetProjectState interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSetProjectState(value: object): value is SetProjectState;
|
|
36
|
+
export declare function SetProjectStateFromJSON(json: any): SetProjectState;
|
|
37
|
+
export declare function SetProjectStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetProjectState;
|
|
38
|
+
export declare function SetProjectStateToJSON(json: any): SetProjectState;
|
|
39
|
+
export declare function SetProjectStateToJSONTyped(value?: SetProjectState | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.SetProjectStateToJSONTyped = exports.SetProjectStateToJSON = exports.SetProjectStateFromJSONTyped = exports.SetProjectStateFromJSON = exports.instanceOfSetProjectState = void 0;
|
|
17
|
+
const GitStatus_1 = require("./GitStatus");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SetProjectState interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSetProjectState(value) {
|
|
22
|
+
if (!('uptime' in value) || value['uptime'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSetProjectState = instanceOfSetProjectState;
|
|
27
|
+
function SetProjectStateFromJSON(json) {
|
|
28
|
+
return SetProjectStateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.SetProjectStateFromJSON = SetProjectStateFromJSON;
|
|
31
|
+
function SetProjectStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
gitStatus: json['gitStatus'] == null
|
|
37
|
+
? undefined
|
|
38
|
+
: (0, GitStatus_1.GitStatusFromJSON)(json['gitStatus']),
|
|
39
|
+
uptime: json['uptime'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.SetProjectStateFromJSONTyped = SetProjectStateFromJSONTyped;
|
|
43
|
+
function SetProjectStateToJSON(json) {
|
|
44
|
+
return SetProjectStateToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
exports.SetProjectStateToJSON = SetProjectStateToJSON;
|
|
47
|
+
function SetProjectStateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
gitStatus: (0, GitStatus_1.GitStatusToJSON)(value['gitStatus']),
|
|
53
|
+
uptime: value['uptime'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.SetProjectStateToJSONTyped = SetProjectStateToJSONTyped;
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SigningMethod: {
|
|
17
|
+
readonly SigningMethodSSH: "ssh";
|
|
18
|
+
readonly SigningMethodGPG: "gpg";
|
|
19
|
+
};
|
|
20
|
+
export type SigningMethod = (typeof SigningMethod)[keyof typeof SigningMethod];
|
|
21
|
+
export declare function instanceOfSigningMethod(value: any): boolean;
|
|
22
|
+
export declare function SigningMethodFromJSON(json: any): SigningMethod;
|
|
23
|
+
export declare function SigningMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): SigningMethod;
|
|
24
|
+
export declare function SigningMethodToJSON(value?: SigningMethod | null): any;
|
|
25
|
+
export declare function SigningMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): SigningMethod;
|
|
@@ -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.SigningMethodToJSONTyped = exports.SigningMethodToJSON = exports.SigningMethodFromJSONTyped = exports.SigningMethodFromJSON = exports.instanceOfSigningMethod = exports.SigningMethod = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.SigningMethod = {
|
|
22
|
+
SigningMethodSSH: 'ssh',
|
|
23
|
+
SigningMethodGPG: 'gpg',
|
|
24
|
+
};
|
|
25
|
+
function instanceOfSigningMethod(value) {
|
|
26
|
+
for (const key in exports.SigningMethod) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(exports.SigningMethod, key)) {
|
|
28
|
+
if (exports.SigningMethod[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfSigningMethod = instanceOfSigningMethod;
|
|
36
|
+
function SigningMethodFromJSON(json) {
|
|
37
|
+
return SigningMethodFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.SigningMethodFromJSON = SigningMethodFromJSON;
|
|
40
|
+
function SigningMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
exports.SigningMethodFromJSONTyped = SigningMethodFromJSONTyped;
|
|
44
|
+
function SigningMethodToJSON(value) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
exports.SigningMethodToJSON = SigningMethodToJSON;
|
|
48
|
+
function SigningMethodToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
exports.SigningMethodToJSONTyped = SigningMethodToJSONTyped;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const Status: {
|
|
17
|
+
readonly Unmodified: "Unmodified";
|
|
18
|
+
readonly Untracked: "Untracked";
|
|
19
|
+
readonly Modified: "Modified";
|
|
20
|
+
readonly Added: "Added";
|
|
21
|
+
readonly Deleted: "Deleted";
|
|
22
|
+
readonly Renamed: "Renamed";
|
|
23
|
+
readonly Copied: "Copied";
|
|
24
|
+
readonly UpdatedButUnmerged: "Updated but unmerged";
|
|
25
|
+
};
|
|
26
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
27
|
+
export declare function instanceOfStatus(value: any): boolean;
|
|
28
|
+
export declare function StatusFromJSON(json: any): Status;
|
|
29
|
+
export declare function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status;
|
|
30
|
+
export declare function StatusToJSON(value?: Status | null): any;
|
|
31
|
+
export declare function StatusToJSONTyped(value: any, ignoreDiscriminator: boolean): Status;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.StatusToJSONTyped = exports.StatusToJSON = exports.StatusFromJSONTyped = exports.StatusFromJSON = exports.instanceOfStatus = exports.Status = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.Status = {
|
|
22
|
+
Unmodified: 'Unmodified',
|
|
23
|
+
Untracked: 'Untracked',
|
|
24
|
+
Modified: 'Modified',
|
|
25
|
+
Added: 'Added',
|
|
26
|
+
Deleted: 'Deleted',
|
|
27
|
+
Renamed: 'Renamed',
|
|
28
|
+
Copied: 'Copied',
|
|
29
|
+
UpdatedButUnmerged: 'Updated but unmerged',
|
|
30
|
+
};
|
|
31
|
+
function instanceOfStatus(value) {
|
|
32
|
+
for (const key in exports.Status) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.Status, key)) {
|
|
34
|
+
if (exports.Status[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
exports.instanceOfStatus = instanceOfStatus;
|
|
42
|
+
function StatusFromJSON(json) {
|
|
43
|
+
return StatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.StatusFromJSON = StatusFromJSON;
|
|
46
|
+
function StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
exports.StatusFromJSONTyped = StatusFromJSONTyped;
|
|
50
|
+
function StatusToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
exports.StatusToJSON = StatusToJSON;
|
|
54
|
+
function StatusToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
exports.StatusToJSONTyped = StatusToJSONTyped;
|