@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,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.ProviderProviderTargetPropertyTypeToJSONTyped = exports.ProviderProviderTargetPropertyTypeToJSON = exports.ProviderProviderTargetPropertyTypeFromJSONTyped = exports.ProviderProviderTargetPropertyTypeFromJSON = exports.instanceOfProviderProviderTargetPropertyType = exports.ProviderProviderTargetPropertyType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.ProviderProviderTargetPropertyType = {
|
|
22
|
+
ProviderTargetPropertyTypeString: 'string',
|
|
23
|
+
ProviderTargetPropertyTypeOption: 'option',
|
|
24
|
+
ProviderTargetPropertyTypeBoolean: 'boolean',
|
|
25
|
+
ProviderTargetPropertyTypeInt: 'int',
|
|
26
|
+
ProviderTargetPropertyTypeFloat: 'float',
|
|
27
|
+
ProviderTargetPropertyTypeFilePath: 'file-path',
|
|
28
|
+
};
|
|
29
|
+
function instanceOfProviderProviderTargetPropertyType(value) {
|
|
30
|
+
for (const key in exports.ProviderProviderTargetPropertyType) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProviderProviderTargetPropertyType, key)) {
|
|
32
|
+
if (exports.ProviderProviderTargetPropertyType[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
exports.instanceOfProviderProviderTargetPropertyType = instanceOfProviderProviderTargetPropertyType;
|
|
40
|
+
function ProviderProviderTargetPropertyTypeFromJSON(json) {
|
|
41
|
+
return ProviderProviderTargetPropertyTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
exports.ProviderProviderTargetPropertyTypeFromJSON = ProviderProviderTargetPropertyTypeFromJSON;
|
|
44
|
+
function ProviderProviderTargetPropertyTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
exports.ProviderProviderTargetPropertyTypeFromJSONTyped = ProviderProviderTargetPropertyTypeFromJSONTyped;
|
|
48
|
+
function ProviderProviderTargetPropertyTypeToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
exports.ProviderProviderTargetPropertyTypeToJSON = ProviderProviderTargetPropertyTypeToJSON;
|
|
52
|
+
function ProviderProviderTargetPropertyTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
exports.ProviderProviderTargetPropertyTypeToJSONTyped = ProviderProviderTargetPropertyTypeToJSONTyped;
|
|
@@ -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 { ProviderProviderInfo } from './ProviderProviderInfo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProviderTarget
|
|
17
|
+
*/
|
|
18
|
+
export interface ProviderTarget {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ProviderTarget
|
|
23
|
+
*/
|
|
24
|
+
isDefault: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProviderTarget
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* JSON encoded map of options
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProviderTarget
|
|
35
|
+
*/
|
|
36
|
+
options: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ProviderProviderInfo}
|
|
40
|
+
* @memberof ProviderTarget
|
|
41
|
+
*/
|
|
42
|
+
providerInfo: ProviderProviderInfo;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ProviderTarget interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfProviderTarget(value: object): value is ProviderTarget;
|
|
48
|
+
export declare function ProviderTargetFromJSON(json: any): ProviderTarget;
|
|
49
|
+
export declare function ProviderTargetFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderTarget;
|
|
50
|
+
export declare function ProviderTargetToJSON(json: any): ProviderTarget;
|
|
51
|
+
export declare function ProviderTargetToJSONTyped(value?: ProviderTarget | 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.ProviderTargetToJSONTyped = exports.ProviderTargetToJSON = exports.ProviderTargetFromJSONTyped = exports.ProviderTargetFromJSON = exports.instanceOfProviderTarget = void 0;
|
|
17
|
+
const ProviderProviderInfo_1 = require("./ProviderProviderInfo");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ProviderTarget interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfProviderTarget(value) {
|
|
22
|
+
if (!('isDefault' in value) || value['isDefault'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('providerInfo' in value) || value['providerInfo'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfProviderTarget = instanceOfProviderTarget;
|
|
33
|
+
function ProviderTargetFromJSON(json) {
|
|
34
|
+
return ProviderTargetFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.ProviderTargetFromJSON = ProviderTargetFromJSON;
|
|
37
|
+
function ProviderTargetFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
isDefault: json['isDefault'],
|
|
43
|
+
name: json['name'],
|
|
44
|
+
options: json['options'],
|
|
45
|
+
providerInfo: (0, ProviderProviderInfo_1.ProviderProviderInfoFromJSON)(json['providerInfo']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.ProviderTargetFromJSONTyped = ProviderTargetFromJSONTyped;
|
|
49
|
+
function ProviderTargetToJSON(json) {
|
|
50
|
+
return ProviderTargetToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.ProviderTargetToJSON = ProviderTargetToJSON;
|
|
53
|
+
function ProviderTargetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
isDefault: value['isDefault'],
|
|
59
|
+
name: value['name'],
|
|
60
|
+
options: value['options'],
|
|
61
|
+
providerInfo: (0, ProviderProviderInfo_1.ProviderProviderInfoToJSON)(value['providerInfo']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.ProviderTargetToJSONTyped = ProviderTargetToJSONTyped;
|
|
@@ -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 ReplaceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ReplaceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ReplaceRequest
|
|
22
|
+
*/
|
|
23
|
+
files: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReplaceRequest
|
|
28
|
+
*/
|
|
29
|
+
newValue: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReplaceRequest
|
|
34
|
+
*/
|
|
35
|
+
pattern: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ReplaceRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfReplaceRequest(value: object): value is ReplaceRequest;
|
|
41
|
+
export declare function ReplaceRequestFromJSON(json: any): ReplaceRequest;
|
|
42
|
+
export declare function ReplaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReplaceRequest;
|
|
43
|
+
export declare function ReplaceRequestToJSON(json: any): ReplaceRequest;
|
|
44
|
+
export declare function ReplaceRequestToJSONTyped(value?: ReplaceRequest | 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.ReplaceRequestToJSONTyped = exports.ReplaceRequestToJSON = exports.ReplaceRequestFromJSONTyped = exports.ReplaceRequestFromJSON = exports.instanceOfReplaceRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ReplaceRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfReplaceRequest(value) {
|
|
21
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('newValue' in value) || value['newValue'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('pattern' in value) || value['pattern'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfReplaceRequest = instanceOfReplaceRequest;
|
|
30
|
+
function ReplaceRequestFromJSON(json) {
|
|
31
|
+
return ReplaceRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.ReplaceRequestFromJSON = ReplaceRequestFromJSON;
|
|
34
|
+
function ReplaceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
files: json['files'],
|
|
40
|
+
newValue: json['newValue'],
|
|
41
|
+
pattern: json['pattern'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ReplaceRequestFromJSONTyped = ReplaceRequestFromJSONTyped;
|
|
45
|
+
function ReplaceRequestToJSON(json) {
|
|
46
|
+
return ReplaceRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.ReplaceRequestToJSON = ReplaceRequestToJSON;
|
|
49
|
+
function ReplaceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
files: value['files'],
|
|
55
|
+
newValue: value['newValue'],
|
|
56
|
+
pattern: value['pattern'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ReplaceRequestToJSONTyped = ReplaceRequestToJSONTyped;
|
|
@@ -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 ReplaceResult
|
|
16
|
+
*/
|
|
17
|
+
export interface ReplaceResult {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReplaceResult
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReplaceResult
|
|
28
|
+
*/
|
|
29
|
+
file?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ReplaceResult
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ReplaceResult interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfReplaceResult(value: object): value is ReplaceResult;
|
|
41
|
+
export declare function ReplaceResultFromJSON(json: any): ReplaceResult;
|
|
42
|
+
export declare function ReplaceResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReplaceResult;
|
|
43
|
+
export declare function ReplaceResultToJSON(json: any): ReplaceResult;
|
|
44
|
+
export declare function ReplaceResultToJSONTyped(value?: ReplaceResult | 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.ReplaceResultToJSONTyped = exports.ReplaceResultToJSON = exports.ReplaceResultFromJSONTyped = exports.ReplaceResultFromJSON = exports.instanceOfReplaceResult = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ReplaceResult interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfReplaceResult(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfReplaceResult = instanceOfReplaceResult;
|
|
24
|
+
function ReplaceResultFromJSON(json) {
|
|
25
|
+
return ReplaceResultFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.ReplaceResultFromJSON = ReplaceResultFromJSON;
|
|
28
|
+
function ReplaceResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
error: json['error'] == null ? undefined : json['error'],
|
|
34
|
+
file: json['file'] == null ? undefined : json['file'],
|
|
35
|
+
success: json['success'] == null ? undefined : json['success'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ReplaceResultFromJSONTyped = ReplaceResultFromJSONTyped;
|
|
39
|
+
function ReplaceResultToJSON(json) {
|
|
40
|
+
return ReplaceResultToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.ReplaceResultToJSON = ReplaceResultToJSON;
|
|
43
|
+
function ReplaceResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
error: value['error'],
|
|
49
|
+
file: value['file'],
|
|
50
|
+
success: value['success'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ReplaceResultToJSONTyped = ReplaceResultToJSONTyped;
|
|
@@ -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 RepositoryUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface RepositoryUrl {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RepositoryUrl
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RepositoryUrl interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRepositoryUrl(value: object): value is RepositoryUrl;
|
|
29
|
+
export declare function RepositoryUrlFromJSON(json: any): RepositoryUrl;
|
|
30
|
+
export declare function RepositoryUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositoryUrl;
|
|
31
|
+
export declare function RepositoryUrlToJSON(json: any): RepositoryUrl;
|
|
32
|
+
export declare function RepositoryUrlToJSONTyped(value?: RepositoryUrl | 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.RepositoryUrlToJSONTyped = exports.RepositoryUrlToJSON = exports.RepositoryUrlFromJSONTyped = exports.RepositoryUrlFromJSON = exports.instanceOfRepositoryUrl = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the RepositoryUrl interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfRepositoryUrl(value) {
|
|
21
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfRepositoryUrl = instanceOfRepositoryUrl;
|
|
26
|
+
function RepositoryUrlFromJSON(json) {
|
|
27
|
+
return RepositoryUrlFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.RepositoryUrlFromJSON = RepositoryUrlFromJSON;
|
|
30
|
+
function RepositoryUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
url: json['url'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.RepositoryUrlFromJSONTyped = RepositoryUrlFromJSONTyped;
|
|
39
|
+
function RepositoryUrlToJSON(json) {
|
|
40
|
+
return RepositoryUrlToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.RepositoryUrlToJSON = RepositoryUrlToJSON;
|
|
43
|
+
function RepositoryUrlToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
url: value['url'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.RepositoryUrlToJSONTyped = RepositoryUrlToJSONTyped;
|
|
@@ -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 Sample
|
|
16
|
+
*/
|
|
17
|
+
export interface Sample {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Sample
|
|
22
|
+
*/
|
|
23
|
+
description: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Sample
|
|
28
|
+
*/
|
|
29
|
+
gitUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Sample
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the Sample interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSample(value: object): value is Sample;
|
|
41
|
+
export declare function SampleFromJSON(json: any): Sample;
|
|
42
|
+
export declare function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sample;
|
|
43
|
+
export declare function SampleToJSON(json: any): Sample;
|
|
44
|
+
export declare function SampleToJSONTyped(value?: Sample | 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.SampleToJSONTyped = exports.SampleToJSON = exports.SampleFromJSONTyped = exports.SampleFromJSON = exports.instanceOfSample = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Sample interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSample(value) {
|
|
21
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('gitUrl' in value) || value['gitUrl'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfSample = instanceOfSample;
|
|
30
|
+
function SampleFromJSON(json) {
|
|
31
|
+
return SampleFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.SampleFromJSON = SampleFromJSON;
|
|
34
|
+
function SampleFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
description: json['description'],
|
|
40
|
+
gitUrl: json['gitUrl'],
|
|
41
|
+
name: json['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.SampleFromJSONTyped = SampleFromJSONTyped;
|
|
45
|
+
function SampleToJSON(json) {
|
|
46
|
+
return SampleToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.SampleToJSON = SampleToJSON;
|
|
49
|
+
function SampleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
description: value['description'],
|
|
55
|
+
gitUrl: value['gitUrl'],
|
|
56
|
+
name: value['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.SampleToJSONTyped = SampleToJSONTyped;
|
|
@@ -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 SearchFilesResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchFilesResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SearchFilesResponse
|
|
22
|
+
*/
|
|
23
|
+
files: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SearchFilesResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSearchFilesResponse(value: object): value is SearchFilesResponse;
|
|
29
|
+
export declare function SearchFilesResponseFromJSON(json: any): SearchFilesResponse;
|
|
30
|
+
export declare function SearchFilesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchFilesResponse;
|
|
31
|
+
export declare function SearchFilesResponseToJSON(json: any): SearchFilesResponse;
|
|
32
|
+
export declare function SearchFilesResponseToJSONTyped(value?: SearchFilesResponse | 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.SearchFilesResponseToJSONTyped = exports.SearchFilesResponseToJSON = exports.SearchFilesResponseFromJSONTyped = exports.SearchFilesResponseFromJSON = exports.instanceOfSearchFilesResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SearchFilesResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSearchFilesResponse(value) {
|
|
21
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSearchFilesResponse = instanceOfSearchFilesResponse;
|
|
26
|
+
function SearchFilesResponseFromJSON(json) {
|
|
27
|
+
return SearchFilesResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SearchFilesResponseFromJSON = SearchFilesResponseFromJSON;
|
|
30
|
+
function SearchFilesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
files: json['files'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SearchFilesResponseFromJSONTyped = SearchFilesResponseFromJSONTyped;
|
|
39
|
+
function SearchFilesResponseToJSON(json) {
|
|
40
|
+
return SearchFilesResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.SearchFilesResponseToJSON = SearchFilesResponseToJSON;
|
|
43
|
+
function SearchFilesResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
files: value['files'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.SearchFilesResponseToJSONTyped = SearchFilesResponseToJSONTyped;
|