@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.
Files changed (215) hide show
  1. package/LICENCE +43 -0
  2. package/README.md +181 -0
  3. package/dist/Daytona.d.ts +106 -0
  4. package/dist/Daytona.js +141 -0
  5. package/dist/FileSystem.d.ts +97 -0
  6. package/dist/FileSystem.js +126 -0
  7. package/dist/Git.d.ts +67 -0
  8. package/dist/Git.js +109 -0
  9. package/dist/LspServer.d.ts +68 -0
  10. package/dist/LspServer.js +93 -0
  11. package/dist/Process.d.ts +54 -0
  12. package/dist/Process.js +84 -0
  13. package/dist/Workspace.d.ts +53 -0
  14. package/dist/Workspace.js +51 -0
  15. package/dist/client/apis/ApiKeyApi.d.ts +54 -0
  16. package/dist/client/apis/ApiKeyApi.js +135 -0
  17. package/dist/client/apis/BuildApi.d.ts +95 -0
  18. package/dist/client/apis/BuildApi.js +228 -0
  19. package/dist/client/apis/ContainerRegistryApi.d.ts +68 -0
  20. package/dist/client/apis/ContainerRegistryApi.js +163 -0
  21. package/dist/client/apis/DefaultApi.d.ts +31 -0
  22. package/dist/client/apis/DefaultApi.js +72 -0
  23. package/dist/client/apis/GitProviderApi.d.ts +197 -0
  24. package/dist/client/apis/GitProviderApi.js +477 -0
  25. package/dist/client/apis/PrebuildApi.d.ts +97 -0
  26. package/dist/client/apis/PrebuildApi.js +241 -0
  27. package/dist/client/apis/ProfileApi.d.ts +51 -0
  28. package/dist/client/apis/ProfileApi.js +128 -0
  29. package/dist/client/apis/ProjectConfigApi.d.ts +94 -0
  30. package/dist/client/apis/ProjectConfigApi.js +220 -0
  31. package/dist/client/apis/ProviderApi.d.ts +71 -0
  32. package/dist/client/apis/ProviderApi.js +160 -0
  33. package/dist/client/apis/SampleApi.d.ts +28 -0
  34. package/dist/client/apis/SampleApi.js +73 -0
  35. package/dist/client/apis/ServerApi.d.ts +61 -0
  36. package/dist/client/apis/ServerApi.js +156 -0
  37. package/dist/client/apis/TargetApi.d.ts +67 -0
  38. package/dist/client/apis/TargetApi.js +159 -0
  39. package/dist/client/apis/WorkspaceApi.d.ts +141 -0
  40. package/dist/client/apis/WorkspaceApi.js +330 -0
  41. package/dist/client/apis/WorkspaceToolboxApi.d.ts +464 -0
  42. package/dist/client/apis/WorkspaceToolboxApi.js +1248 -0
  43. package/dist/client/apis/index.d.ts +14 -0
  44. package/dist/client/apis/index.js +32 -0
  45. package/dist/client/index.d.ts +3 -0
  46. package/dist/client/index.js +21 -0
  47. package/dist/client/models/ApiKey.d.ts +45 -0
  48. package/dist/client/models/ApiKey.js +60 -0
  49. package/dist/client/models/ApikeyApiKeyType.d.ts +26 -0
  50. package/dist/client/models/ApikeyApiKeyType.js +52 -0
  51. package/dist/client/models/Build.d.ts +98 -0
  52. package/dist/client/models/Build.js +91 -0
  53. package/dist/client/models/BuildBuildState.d.ts +31 -0
  54. package/dist/client/models/BuildBuildState.js +57 -0
  55. package/dist/client/models/BuildConfig.d.ts +40 -0
  56. package/dist/client/models/BuildConfig.js +57 -0
  57. package/dist/client/models/CachedBuild.d.ts +38 -0
  58. package/dist/client/models/CachedBuild.js +55 -0
  59. package/dist/client/models/CloneTarget.d.ts +25 -0
  60. package/dist/client/models/CloneTarget.js +51 -0
  61. package/dist/client/models/CompletionContext.d.ts +38 -0
  62. package/dist/client/models/CompletionContext.js +53 -0
  63. package/dist/client/models/CompletionItem.d.ts +68 -0
  64. package/dist/client/models/CompletionItem.js +63 -0
  65. package/dist/client/models/CompletionList.d.ts +39 -0
  66. package/dist/client/models/CompletionList.js +56 -0
  67. package/dist/client/models/ContainerConfig.d.ts +38 -0
  68. package/dist/client/models/ContainerConfig.js +55 -0
  69. package/dist/client/models/ContainerRegistry.d.ts +44 -0
  70. package/dist/client/models/ContainerRegistry.js +59 -0
  71. package/dist/client/models/CreateBuildDTO.d.ts +52 -0
  72. package/dist/client/models/CreateBuildDTO.js +62 -0
  73. package/dist/client/models/CreatePrebuildDTO.d.ts +56 -0
  74. package/dist/client/models/CreatePrebuildDTO.js +59 -0
  75. package/dist/client/models/CreateProjectConfigDTO.d.ts +71 -0
  76. package/dist/client/models/CreateProjectConfigDTO.js +72 -0
  77. package/dist/client/models/CreateProjectDTO.d.ts +72 -0
  78. package/dist/client/models/CreateProjectDTO.js +73 -0
  79. package/dist/client/models/CreateProjectSourceDTO.d.ts +33 -0
  80. package/dist/client/models/CreateProjectSourceDTO.js +52 -0
  81. package/dist/client/models/CreateProviderTargetDTO.d.ts +45 -0
  82. package/dist/client/models/CreateProviderTargetDTO.js +60 -0
  83. package/dist/client/models/CreateWorkspaceDTO.d.ts +51 -0
  84. package/dist/client/models/CreateWorkspaceDTO.js +64 -0
  85. package/dist/client/models/DevcontainerConfig.d.ts +32 -0
  86. package/dist/client/models/DevcontainerConfig.js +51 -0
  87. package/dist/client/models/ExecuteRequest.d.ts +38 -0
  88. package/dist/client/models/ExecuteRequest.js +53 -0
  89. package/dist/client/models/ExecuteResponse.d.ts +38 -0
  90. package/dist/client/models/ExecuteResponse.js +55 -0
  91. package/dist/client/models/FRPSConfig.d.ts +44 -0
  92. package/dist/client/models/FRPSConfig.js +59 -0
  93. package/dist/client/models/FileInfo.d.ts +74 -0
  94. package/dist/client/models/FileInfo.js +79 -0
  95. package/dist/client/models/FileStatus.d.ts +51 -0
  96. package/dist/client/models/FileStatus.js +64 -0
  97. package/dist/client/models/GetRepositoryContext.d.ts +80 -0
  98. package/dist/client/models/GetRepositoryContext.js +67 -0
  99. package/dist/client/models/GitAddRequest.d.ts +38 -0
  100. package/dist/client/models/GitAddRequest.js +55 -0
  101. package/dist/client/models/GitBranch.d.ts +38 -0
  102. package/dist/client/models/GitBranch.js +55 -0
  103. package/dist/client/models/GitBranchRequest.d.ts +38 -0
  104. package/dist/client/models/GitBranchRequest.js +55 -0
  105. package/dist/client/models/GitCloneRequest.d.ts +62 -0
  106. package/dist/client/models/GitCloneRequest.js +63 -0
  107. package/dist/client/models/GitCommitInfo.d.ts +56 -0
  108. package/dist/client/models/GitCommitInfo.js +67 -0
  109. package/dist/client/models/GitCommitRequest.d.ts +50 -0
  110. package/dist/client/models/GitCommitRequest.js +63 -0
  111. package/dist/client/models/GitCommitResponse.d.ts +32 -0
  112. package/dist/client/models/GitCommitResponse.js +51 -0
  113. package/dist/client/models/GitNamespace.d.ts +38 -0
  114. package/dist/client/models/GitNamespace.js +55 -0
  115. package/dist/client/models/GitProvider.d.ts +75 -0
  116. package/dist/client/models/GitProvider.js +76 -0
  117. package/dist/client/models/GitPullRequest.d.ts +68 -0
  118. package/dist/client/models/GitPullRequest.js +75 -0
  119. package/dist/client/models/GitRepoRequest.d.ts +44 -0
  120. package/dist/client/models/GitRepoRequest.js +55 -0
  121. package/dist/client/models/GitRepository.d.ts +87 -0
  122. package/dist/client/models/GitRepository.js +84 -0
  123. package/dist/client/models/GitStatus.d.ts +57 -0
  124. package/dist/client/models/GitStatus.js +62 -0
  125. package/dist/client/models/GitUser.d.ts +50 -0
  126. package/dist/client/models/GitUser.js +63 -0
  127. package/dist/client/models/InstallProviderRequest.d.ts +40 -0
  128. package/dist/client/models/InstallProviderRequest.js +55 -0
  129. package/dist/client/models/ListBranchResponse.d.ts +32 -0
  130. package/dist/client/models/ListBranchResponse.js +51 -0
  131. package/dist/client/models/LogFileConfig.d.ts +62 -0
  132. package/dist/client/models/LogFileConfig.js +67 -0
  133. package/dist/client/models/LspCompletionParams.d.ts +58 -0
  134. package/dist/client/models/LspCompletionParams.js +69 -0
  135. package/dist/client/models/LspDocumentRequest.d.ts +44 -0
  136. package/dist/client/models/LspDocumentRequest.js +59 -0
  137. package/dist/client/models/LspLocation.d.ts +39 -0
  138. package/dist/client/models/LspLocation.js +56 -0
  139. package/dist/client/models/LspPosition.d.ts +38 -0
  140. package/dist/client/models/LspPosition.js +55 -0
  141. package/dist/client/models/LspRange.d.ts +39 -0
  142. package/dist/client/models/LspRange.js +56 -0
  143. package/dist/client/models/LspServerRequest.d.ts +38 -0
  144. package/dist/client/models/LspServerRequest.js +55 -0
  145. package/dist/client/models/LspSymbol.d.ts +45 -0
  146. package/dist/client/models/LspSymbol.js +60 -0
  147. package/dist/client/models/Match.d.ts +44 -0
  148. package/dist/client/models/Match.js +59 -0
  149. package/dist/client/models/NetworkKey.d.ts +32 -0
  150. package/dist/client/models/NetworkKey.js +51 -0
  151. package/dist/client/models/Position.d.ts +38 -0
  152. package/dist/client/models/Position.js +55 -0
  153. package/dist/client/models/PrebuildConfig.d.ts +56 -0
  154. package/dist/client/models/PrebuildConfig.js +67 -0
  155. package/dist/client/models/PrebuildDTO.d.ts +62 -0
  156. package/dist/client/models/PrebuildDTO.js +68 -0
  157. package/dist/client/models/ProfileData.d.ts +34 -0
  158. package/dist/client/models/ProfileData.js +51 -0
  159. package/dist/client/models/Project.d.ts +91 -0
  160. package/dist/client/models/Project.js +88 -0
  161. package/dist/client/models/ProjectConfig.d.ts +84 -0
  162. package/dist/client/models/ProjectConfig.js +87 -0
  163. package/dist/client/models/ProjectDirResponse.d.ts +32 -0
  164. package/dist/client/models/ProjectDirResponse.js +49 -0
  165. package/dist/client/models/ProjectInfo.d.ts +56 -0
  166. package/dist/client/models/ProjectInfo.js +65 -0
  167. package/dist/client/models/ProjectState.d.ts +45 -0
  168. package/dist/client/models/ProjectState.js +60 -0
  169. package/dist/client/models/Provider.d.ts +44 -0
  170. package/dist/client/models/Provider.js +57 -0
  171. package/dist/client/models/ProviderProviderInfo.d.ts +44 -0
  172. package/dist/client/models/ProviderProviderInfo.js +57 -0
  173. package/dist/client/models/ProviderProviderTargetProperty.d.ts +72 -0
  174. package/dist/client/models/ProviderProviderTargetProperty.js +64 -0
  175. package/dist/client/models/ProviderProviderTargetPropertyType.d.ts +29 -0
  176. package/dist/client/models/ProviderProviderTargetPropertyType.js +55 -0
  177. package/dist/client/models/ProviderTarget.d.ts +51 -0
  178. package/dist/client/models/ProviderTarget.js +64 -0
  179. package/dist/client/models/ReplaceRequest.d.ts +44 -0
  180. package/dist/client/models/ReplaceRequest.js +59 -0
  181. package/dist/client/models/ReplaceResult.d.ts +44 -0
  182. package/dist/client/models/ReplaceResult.js +53 -0
  183. package/dist/client/models/RepositoryUrl.d.ts +32 -0
  184. package/dist/client/models/RepositoryUrl.js +51 -0
  185. package/dist/client/models/Sample.d.ts +44 -0
  186. package/dist/client/models/Sample.js +59 -0
  187. package/dist/client/models/SearchFilesResponse.d.ts +32 -0
  188. package/dist/client/models/SearchFilesResponse.js +51 -0
  189. package/dist/client/models/ServerConfig.d.ts +130 -0
  190. package/dist/client/models/ServerConfig.js +119 -0
  191. package/dist/client/models/SetGitProviderConfig.d.ts +75 -0
  192. package/dist/client/models/SetGitProviderConfig.js +70 -0
  193. package/dist/client/models/SetProjectState.d.ts +39 -0
  194. package/dist/client/models/SetProjectState.js +56 -0
  195. package/dist/client/models/SigningMethod.d.ts +25 -0
  196. package/dist/client/models/SigningMethod.js +51 -0
  197. package/dist/client/models/Status.d.ts +31 -0
  198. package/dist/client/models/Status.js +57 -0
  199. package/dist/client/models/Workspace.d.ts +51 -0
  200. package/dist/client/models/Workspace.js +64 -0
  201. package/dist/client/models/WorkspaceDTO.d.ts +58 -0
  202. package/dist/client/models/WorkspaceDTO.js +67 -0
  203. package/dist/client/models/WorkspaceInfo.d.ts +45 -0
  204. package/dist/client/models/WorkspaceInfo.js +58 -0
  205. package/dist/client/models/index.d.ts +79 -0
  206. package/dist/client/models/index.js +97 -0
  207. package/dist/client/runtime.d.ts +182 -0
  208. package/dist/client/runtime.js +340 -0
  209. package/dist/code-toolbox/WorkspacePythonCodeToolbox.d.ts +5 -0
  210. package/dist/code-toolbox/WorkspacePythonCodeToolbox.js +13 -0
  211. package/dist/code-toolbox/WorkspaceTsCodeToolbox.d.ts +5 -0
  212. package/dist/code-toolbox/WorkspaceTsCodeToolbox.js +13 -0
  213. package/dist/index.d.ts +8 -0
  214. package/dist/index.js +13 -0
  215. 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.LspPositionToJSONTyped = exports.LspPositionToJSON = exports.LspPositionFromJSONTyped = exports.LspPositionFromJSON = exports.instanceOfLspPosition = void 0;
17
+ /**
18
+ * Check if a given object implements the LspPosition interface.
19
+ */
20
+ function instanceOfLspPosition(value) {
21
+ if (!('character' in value) || value['character'] === undefined)
22
+ return false;
23
+ if (!('line' in value) || value['line'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfLspPosition = instanceOfLspPosition;
28
+ function LspPositionFromJSON(json) {
29
+ return LspPositionFromJSONTyped(json, false);
30
+ }
31
+ exports.LspPositionFromJSON = LspPositionFromJSON;
32
+ function LspPositionFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ character: json['character'],
38
+ line: json['line'],
39
+ };
40
+ }
41
+ exports.LspPositionFromJSONTyped = LspPositionFromJSONTyped;
42
+ function LspPositionToJSON(json) {
43
+ return LspPositionToJSONTyped(json, false);
44
+ }
45
+ exports.LspPositionToJSON = LspPositionToJSON;
46
+ function LspPositionToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ character: value['character'],
52
+ line: value['line'],
53
+ };
54
+ }
55
+ exports.LspPositionToJSONTyped = LspPositionToJSONTyped;
@@ -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 { LspPosition } from './LspPosition';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LspRange
17
+ */
18
+ export interface LspRange {
19
+ /**
20
+ *
21
+ * @type {LspPosition}
22
+ * @memberof LspRange
23
+ */
24
+ end: LspPosition;
25
+ /**
26
+ *
27
+ * @type {LspPosition}
28
+ * @memberof LspRange
29
+ */
30
+ start: LspPosition;
31
+ }
32
+ /**
33
+ * Check if a given object implements the LspRange interface.
34
+ */
35
+ export declare function instanceOfLspRange(value: object): value is LspRange;
36
+ export declare function LspRangeFromJSON(json: any): LspRange;
37
+ export declare function LspRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspRange;
38
+ export declare function LspRangeToJSON(json: any): LspRange;
39
+ export declare function LspRangeToJSONTyped(value?: LspRange | 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.LspRangeToJSONTyped = exports.LspRangeToJSON = exports.LspRangeFromJSONTyped = exports.LspRangeFromJSON = exports.instanceOfLspRange = void 0;
17
+ const LspPosition_1 = require("./LspPosition");
18
+ /**
19
+ * Check if a given object implements the LspRange interface.
20
+ */
21
+ function instanceOfLspRange(value) {
22
+ if (!('end' in value) || value['end'] === undefined)
23
+ return false;
24
+ if (!('start' in value) || value['start'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ exports.instanceOfLspRange = instanceOfLspRange;
29
+ function LspRangeFromJSON(json) {
30
+ return LspRangeFromJSONTyped(json, false);
31
+ }
32
+ exports.LspRangeFromJSON = LspRangeFromJSON;
33
+ function LspRangeFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ end: (0, LspPosition_1.LspPositionFromJSON)(json['end']),
39
+ start: (0, LspPosition_1.LspPositionFromJSON)(json['start']),
40
+ };
41
+ }
42
+ exports.LspRangeFromJSONTyped = LspRangeFromJSONTyped;
43
+ function LspRangeToJSON(json) {
44
+ return LspRangeToJSONTyped(json, false);
45
+ }
46
+ exports.LspRangeToJSON = LspRangeToJSON;
47
+ function LspRangeToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ end: (0, LspPosition_1.LspPositionToJSON)(value['end']),
53
+ start: (0, LspPosition_1.LspPositionToJSON)(value['start']),
54
+ };
55
+ }
56
+ exports.LspRangeToJSONTyped = LspRangeToJSONTyped;
@@ -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 LspServerRequest
16
+ */
17
+ export interface LspServerRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LspServerRequest
22
+ */
23
+ languageId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LspServerRequest
28
+ */
29
+ pathToProject: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LspServerRequest interface.
33
+ */
34
+ export declare function instanceOfLspServerRequest(value: object): value is LspServerRequest;
35
+ export declare function LspServerRequestFromJSON(json: any): LspServerRequest;
36
+ export declare function LspServerRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspServerRequest;
37
+ export declare function LspServerRequestToJSON(json: any): LspServerRequest;
38
+ export declare function LspServerRequestToJSONTyped(value?: LspServerRequest | 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.LspServerRequestToJSONTyped = exports.LspServerRequestToJSON = exports.LspServerRequestFromJSONTyped = exports.LspServerRequestFromJSON = exports.instanceOfLspServerRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the LspServerRequest interface.
19
+ */
20
+ function instanceOfLspServerRequest(value) {
21
+ if (!('languageId' in value) || value['languageId'] === undefined)
22
+ return false;
23
+ if (!('pathToProject' in value) || value['pathToProject'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfLspServerRequest = instanceOfLspServerRequest;
28
+ function LspServerRequestFromJSON(json) {
29
+ return LspServerRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.LspServerRequestFromJSON = LspServerRequestFromJSON;
32
+ function LspServerRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ languageId: json['languageId'],
38
+ pathToProject: json['pathToProject'],
39
+ };
40
+ }
41
+ exports.LspServerRequestFromJSONTyped = LspServerRequestFromJSONTyped;
42
+ function LspServerRequestToJSON(json) {
43
+ return LspServerRequestToJSONTyped(json, false);
44
+ }
45
+ exports.LspServerRequestToJSON = LspServerRequestToJSON;
46
+ function LspServerRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ languageId: value['languageId'],
52
+ pathToProject: value['pathToProject'],
53
+ };
54
+ }
55
+ exports.LspServerRequestToJSONTyped = LspServerRequestToJSONTyped;
@@ -0,0 +1,45 @@
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 { LspLocation } from './LspLocation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LspSymbol
17
+ */
18
+ export interface LspSymbol {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof LspSymbol
23
+ */
24
+ kind: number;
25
+ /**
26
+ *
27
+ * @type {LspLocation}
28
+ * @memberof LspSymbol
29
+ */
30
+ location: LspLocation;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof LspSymbol
35
+ */
36
+ name: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the LspSymbol interface.
40
+ */
41
+ export declare function instanceOfLspSymbol(value: object): value is LspSymbol;
42
+ export declare function LspSymbolFromJSON(json: any): LspSymbol;
43
+ export declare function LspSymbolFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspSymbol;
44
+ export declare function LspSymbolToJSON(json: any): LspSymbol;
45
+ export declare function LspSymbolToJSONTyped(value?: LspSymbol | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Server API
6
+ * Daytona Server API
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LspSymbolToJSONTyped = exports.LspSymbolToJSON = exports.LspSymbolFromJSONTyped = exports.LspSymbolFromJSON = exports.instanceOfLspSymbol = void 0;
17
+ const LspLocation_1 = require("./LspLocation");
18
+ /**
19
+ * Check if a given object implements the LspSymbol interface.
20
+ */
21
+ function instanceOfLspSymbol(value) {
22
+ if (!('kind' in value) || value['kind'] === undefined)
23
+ return false;
24
+ if (!('location' in value) || value['location'] === undefined)
25
+ return false;
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ exports.instanceOfLspSymbol = instanceOfLspSymbol;
31
+ function LspSymbolFromJSON(json) {
32
+ return LspSymbolFromJSONTyped(json, false);
33
+ }
34
+ exports.LspSymbolFromJSON = LspSymbolFromJSON;
35
+ function LspSymbolFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ kind: json['kind'],
41
+ location: (0, LspLocation_1.LspLocationFromJSON)(json['location']),
42
+ name: json['name'],
43
+ };
44
+ }
45
+ exports.LspSymbolFromJSONTyped = LspSymbolFromJSONTyped;
46
+ function LspSymbolToJSON(json) {
47
+ return LspSymbolToJSONTyped(json, false);
48
+ }
49
+ exports.LspSymbolToJSON = LspSymbolToJSON;
50
+ function LspSymbolToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ kind: value['kind'],
56
+ location: (0, LspLocation_1.LspLocationToJSON)(value['location']),
57
+ name: value['name'],
58
+ };
59
+ }
60
+ exports.LspSymbolToJSONTyped = LspSymbolToJSONTyped;
@@ -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 Match
16
+ */
17
+ export interface Match {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Match
22
+ */
23
+ content: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Match
28
+ */
29
+ file: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof Match
34
+ */
35
+ line: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the Match interface.
39
+ */
40
+ export declare function instanceOfMatch(value: object): value is Match;
41
+ export declare function MatchFromJSON(json: any): Match;
42
+ export declare function MatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): Match;
43
+ export declare function MatchToJSON(json: any): Match;
44
+ export declare function MatchToJSONTyped(value?: Match | 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.MatchToJSONTyped = exports.MatchToJSON = exports.MatchFromJSONTyped = exports.MatchFromJSON = exports.instanceOfMatch = void 0;
17
+ /**
18
+ * Check if a given object implements the Match interface.
19
+ */
20
+ function instanceOfMatch(value) {
21
+ if (!('content' in value) || value['content'] === undefined)
22
+ return false;
23
+ if (!('file' in value) || value['file'] === undefined)
24
+ return false;
25
+ if (!('line' in value) || value['line'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfMatch = instanceOfMatch;
30
+ function MatchFromJSON(json) {
31
+ return MatchFromJSONTyped(json, false);
32
+ }
33
+ exports.MatchFromJSON = MatchFromJSON;
34
+ function MatchFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ content: json['content'],
40
+ file: json['file'],
41
+ line: json['line'],
42
+ };
43
+ }
44
+ exports.MatchFromJSONTyped = MatchFromJSONTyped;
45
+ function MatchToJSON(json) {
46
+ return MatchToJSONTyped(json, false);
47
+ }
48
+ exports.MatchToJSON = MatchToJSON;
49
+ function MatchToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ content: value['content'],
55
+ file: value['file'],
56
+ line: value['line'],
57
+ };
58
+ }
59
+ exports.MatchToJSONTyped = MatchToJSONTyped;
@@ -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 NetworkKey
16
+ */
17
+ export interface NetworkKey {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NetworkKey
22
+ */
23
+ key: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the NetworkKey interface.
27
+ */
28
+ export declare function instanceOfNetworkKey(value: object): value is NetworkKey;
29
+ export declare function NetworkKeyFromJSON(json: any): NetworkKey;
30
+ export declare function NetworkKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkKey;
31
+ export declare function NetworkKeyToJSON(json: any): NetworkKey;
32
+ export declare function NetworkKeyToJSONTyped(value?: NetworkKey | 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.NetworkKeyToJSONTyped = exports.NetworkKeyToJSON = exports.NetworkKeyFromJSONTyped = exports.NetworkKeyFromJSON = exports.instanceOfNetworkKey = void 0;
17
+ /**
18
+ * Check if a given object implements the NetworkKey interface.
19
+ */
20
+ function instanceOfNetworkKey(value) {
21
+ if (!('key' in value) || value['key'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfNetworkKey = instanceOfNetworkKey;
26
+ function NetworkKeyFromJSON(json) {
27
+ return NetworkKeyFromJSONTyped(json, false);
28
+ }
29
+ exports.NetworkKeyFromJSON = NetworkKeyFromJSON;
30
+ function NetworkKeyFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ key: json['key'],
36
+ };
37
+ }
38
+ exports.NetworkKeyFromJSONTyped = NetworkKeyFromJSONTyped;
39
+ function NetworkKeyToJSON(json) {
40
+ return NetworkKeyToJSONTyped(json, false);
41
+ }
42
+ exports.NetworkKeyToJSON = NetworkKeyToJSON;
43
+ function NetworkKeyToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ key: value['key'],
49
+ };
50
+ }
51
+ exports.NetworkKeyToJSONTyped = NetworkKeyToJSONTyped;
@@ -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 Position
16
+ */
17
+ export interface Position {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof Position
22
+ */
23
+ character: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof Position
28
+ */
29
+ line: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Position interface.
33
+ */
34
+ export declare function instanceOfPosition(value: object): value is Position;
35
+ export declare function PositionFromJSON(json: any): Position;
36
+ export declare function PositionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Position;
37
+ export declare function PositionToJSON(json: any): Position;
38
+ export declare function PositionToJSONTyped(value?: Position | 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.PositionToJSONTyped = exports.PositionToJSON = exports.PositionFromJSONTyped = exports.PositionFromJSON = exports.instanceOfPosition = void 0;
17
+ /**
18
+ * Check if a given object implements the Position interface.
19
+ */
20
+ function instanceOfPosition(value) {
21
+ if (!('character' in value) || value['character'] === undefined)
22
+ return false;
23
+ if (!('line' in value) || value['line'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfPosition = instanceOfPosition;
28
+ function PositionFromJSON(json) {
29
+ return PositionFromJSONTyped(json, false);
30
+ }
31
+ exports.PositionFromJSON = PositionFromJSON;
32
+ function PositionFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ character: json['character'],
38
+ line: json['line'],
39
+ };
40
+ }
41
+ exports.PositionFromJSONTyped = PositionFromJSONTyped;
42
+ function PositionToJSON(json) {
43
+ return PositionToJSONTyped(json, false);
44
+ }
45
+ exports.PositionToJSON = PositionToJSON;
46
+ function PositionToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ character: value['character'],
52
+ line: value['line'],
53
+ };
54
+ }
55
+ exports.PositionToJSONTyped = PositionToJSONTyped;
@@ -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 PrebuildConfig
16
+ */
17
+ export interface PrebuildConfig {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PrebuildConfig
22
+ */
23
+ branch: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PrebuildConfig
28
+ */
29
+ commitInterval: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PrebuildConfig
34
+ */
35
+ id: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PrebuildConfig
40
+ */
41
+ retention: number;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof PrebuildConfig
46
+ */
47
+ triggerFiles: Array<string>;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PrebuildConfig interface.
51
+ */
52
+ export declare function instanceOfPrebuildConfig(value: object): value is PrebuildConfig;
53
+ export declare function PrebuildConfigFromJSON(json: any): PrebuildConfig;
54
+ export declare function PrebuildConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrebuildConfig;
55
+ export declare function PrebuildConfigToJSON(json: any): PrebuildConfig;
56
+ export declare function PrebuildConfigToJSONTyped(value?: PrebuildConfig | null, ignoreDiscriminator?: boolean): any;