@daytonaio/api-client 0.0.0-dev

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 (322) hide show
  1. package/package.json +25 -0
  2. package/src/api/api-keys-api.d.ts +220 -0
  3. package/src/api/api-keys-api.js +428 -0
  4. package/src/api/api-keys-api.js.map +1 -0
  5. package/src/api/docker-registry-api.d.ts +299 -0
  6. package/src/api/docker-registry-api.js +592 -0
  7. package/src/api/docker-registry-api.js.map +1 -0
  8. package/src/api/object-storage-api.d.ts +74 -0
  9. package/src/api/object-storage-api.js +127 -0
  10. package/src/api/object-storage-api.js.map +1 -0
  11. package/src/api/organizations-api.d.ts +927 -0
  12. package/src/api/organizations-api.js +1891 -0
  13. package/src/api/organizations-api.js.map +1 -0
  14. package/src/api/preview-api.d.ts +143 -0
  15. package/src/api/preview-api.js +265 -0
  16. package/src/api/preview-api.js.map +1 -0
  17. package/src/api/runners-api.d.ts +204 -0
  18. package/src/api/runners-api.js +402 -0
  19. package/src/api/runners-api.js.map +1 -0
  20. package/src/api/sandbox-api.d.ts +598 -0
  21. package/src/api/sandbox-api.js +1212 -0
  22. package/src/api/sandbox-api.js.map +1 -0
  23. package/src/api/snapshots-api.d.ts +320 -0
  24. package/src/api/snapshots-api.js +629 -0
  25. package/src/api/snapshots-api.js.map +1 -0
  26. package/src/api/toolbox-api.d.ts +1724 -0
  27. package/src/api/toolbox-api.js +3501 -0
  28. package/src/api/toolbox-api.js.map +1 -0
  29. package/src/api/users-api.d.ts +300 -0
  30. package/src/api/users-api.js +599 -0
  31. package/src/api/users-api.js.map +1 -0
  32. package/src/api/volumes-api.d.ts +227 -0
  33. package/src/api/volumes-api.js +447 -0
  34. package/src/api/volumes-api.js.map +1 -0
  35. package/src/api/workspace-api.d.ts +654 -0
  36. package/src/api/workspace-api.js +1269 -0
  37. package/src/api/workspace-api.js.map +1 -0
  38. package/src/api.d.ts +23 -0
  39. package/src/api.js +41 -0
  40. package/src/api.js.map +1 -0
  41. package/src/base.d.ts +66 -0
  42. package/src/base.js +68 -0
  43. package/src/base.js.map +1 -0
  44. package/src/common.d.ts +65 -0
  45. package/src/common.js +146 -0
  46. package/src/common.js.map +1 -0
  47. package/src/configuration.d.ts +91 -0
  48. package/src/configuration.js +105 -0
  49. package/src/configuration.js.map +1 -0
  50. package/src/index.d.ts +14 -0
  51. package/src/index.js +32 -0
  52. package/src/index.js.map +1 -0
  53. package/src/models/account-provider.d.ts +30 -0
  54. package/src/models/account-provider.js +4 -0
  55. package/src/models/account-provider.js.map +1 -0
  56. package/src/models/api-key-list.d.ts +66 -0
  57. package/src/models/api-key-list.js +16 -0
  58. package/src/models/api-key-list.js.map +1 -0
  59. package/src/models/api-key-response.d.ts +60 -0
  60. package/src/models/api-key-response.js +16 -0
  61. package/src/models/api-key-response.js.map +1 -0
  62. package/src/models/build-info.d.ts +42 -0
  63. package/src/models/build-info.js +4 -0
  64. package/src/models/build-info.js.map +1 -0
  65. package/src/models/command.d.ts +36 -0
  66. package/src/models/command.js +4 -0
  67. package/src/models/command.js.map +1 -0
  68. package/src/models/completion-context.d.ts +30 -0
  69. package/src/models/completion-context.js +4 -0
  70. package/src/models/completion-context.js.map +1 -0
  71. package/src/models/completion-item.d.ts +60 -0
  72. package/src/models/completion-item.js +4 -0
  73. package/src/models/completion-item.js.map +1 -0
  74. package/src/models/completion-list.d.ts +31 -0
  75. package/src/models/completion-list.js +16 -0
  76. package/src/models/completion-list.js.map +1 -0
  77. package/src/models/create-api-key.d.ts +48 -0
  78. package/src/models/create-api-key.js +16 -0
  79. package/src/models/create-api-key.js.map +1 -0
  80. package/src/models/create-build-info.d.ts +30 -0
  81. package/src/models/create-build-info.js +4 -0
  82. package/src/models/create-build-info.js.map +1 -0
  83. package/src/models/create-docker-registry.d.ts +67 -0
  84. package/src/models/create-docker-registry.js +11 -0
  85. package/src/models/create-docker-registry.js.map +1 -0
  86. package/src/models/create-linked-account.d.ts +30 -0
  87. package/src/models/create-linked-account.js +4 -0
  88. package/src/models/create-linked-account.js.map +1 -0
  89. package/src/models/create-organization-invitation.d.ts +47 -0
  90. package/src/models/create-organization-invitation.js +9 -0
  91. package/src/models/create-organization-invitation.js.map +1 -0
  92. package/src/models/create-organization-quota.d.ts +72 -0
  93. package/src/models/create-organization-quota.js +4 -0
  94. package/src/models/create-organization-quota.js.map +1 -0
  95. package/src/models/create-organization-role.d.ts +48 -0
  96. package/src/models/create-organization-role.js +16 -0
  97. package/src/models/create-organization-role.js.map +1 -0
  98. package/src/models/create-organization.d.ts +24 -0
  99. package/src/models/create-organization.js +4 -0
  100. package/src/models/create-organization.js.map +1 -0
  101. package/src/models/create-runner.d.ts +96 -0
  102. package/src/models/create-runner.js +15 -0
  103. package/src/models/create-runner.js.map +1 -0
  104. package/src/models/create-sandbox.d.ts +126 -0
  105. package/src/models/create-sandbox.js +27 -0
  106. package/src/models/create-sandbox.js.map +1 -0
  107. package/src/models/create-session-request.d.ts +24 -0
  108. package/src/models/create-session-request.js +4 -0
  109. package/src/models/create-session-request.js.map +1 -0
  110. package/src/models/create-snapshot.d.ts +73 -0
  111. package/src/models/create-snapshot.js +16 -0
  112. package/src/models/create-snapshot.js.map +1 -0
  113. package/src/models/create-user.d.ts +60 -0
  114. package/src/models/create-user.js +21 -0
  115. package/src/models/create-user.js.map +1 -0
  116. package/src/models/create-volume.d.ts +24 -0
  117. package/src/models/create-volume.js +4 -0
  118. package/src/models/create-volume.js.map +1 -0
  119. package/src/models/create-workspace.d.ts +126 -0
  120. package/src/models/create-workspace.js +27 -0
  121. package/src/models/create-workspace.js.map +1 -0
  122. package/src/models/docker-registry.d.ts +73 -0
  123. package/src/models/docker-registry.js +11 -0
  124. package/src/models/docker-registry.js.map +1 -0
  125. package/src/models/execute-request.d.ts +36 -0
  126. package/src/models/execute-request.js +4 -0
  127. package/src/models/execute-request.js.map +1 -0
  128. package/src/models/execute-response.d.ts +30 -0
  129. package/src/models/execute-response.js +4 -0
  130. package/src/models/execute-response.js.map +1 -0
  131. package/src/models/file-info.d.ts +66 -0
  132. package/src/models/file-info.js +4 -0
  133. package/src/models/file-info.js.map +1 -0
  134. package/src/models/file-status.d.ts +42 -0
  135. package/src/models/file-status.js +4 -0
  136. package/src/models/file-status.js.map +1 -0
  137. package/src/models/git-add-request.d.ts +30 -0
  138. package/src/models/git-add-request.js +4 -0
  139. package/src/models/git-add-request.js.map +1 -0
  140. package/src/models/git-branch-request.d.ts +30 -0
  141. package/src/models/git-branch-request.js +4 -0
  142. package/src/models/git-branch-request.js.map +1 -0
  143. package/src/models/git-checkout-request.d.ts +30 -0
  144. package/src/models/git-checkout-request.js +4 -0
  145. package/src/models/git-checkout-request.js.map +1 -0
  146. package/src/models/git-clone-request.d.ts +54 -0
  147. package/src/models/git-clone-request.js +4 -0
  148. package/src/models/git-clone-request.js.map +1 -0
  149. package/src/models/git-commit-info.d.ts +48 -0
  150. package/src/models/git-commit-info.js +4 -0
  151. package/src/models/git-commit-info.js.map +1 -0
  152. package/src/models/git-commit-request.d.ts +42 -0
  153. package/src/models/git-commit-request.js +4 -0
  154. package/src/models/git-commit-request.js.map +1 -0
  155. package/src/models/git-commit-response.d.ts +24 -0
  156. package/src/models/git-commit-response.js +4 -0
  157. package/src/models/git-commit-response.js.map +1 -0
  158. package/src/models/git-delete-branch-request.d.ts +30 -0
  159. package/src/models/git-delete-branch-request.js +4 -0
  160. package/src/models/git-delete-branch-request.js.map +1 -0
  161. package/src/models/git-repo-request.d.ts +36 -0
  162. package/src/models/git-repo-request.js +4 -0
  163. package/src/models/git-repo-request.js.map +1 -0
  164. package/src/models/git-status.d.ts +49 -0
  165. package/src/models/git-status.js +16 -0
  166. package/src/models/git-status.js.map +1 -0
  167. package/src/models/index.d.ts +89 -0
  168. package/src/models/index.js +106 -0
  169. package/src/models/index.js.map +1 -0
  170. package/src/models/list-branch-response.d.ts +24 -0
  171. package/src/models/list-branch-response.js +4 -0
  172. package/src/models/list-branch-response.js.map +1 -0
  173. package/src/models/lsp-completion-params.d.ts +50 -0
  174. package/src/models/lsp-completion-params.js +16 -0
  175. package/src/models/lsp-completion-params.js.map +1 -0
  176. package/src/models/lsp-document-request.d.ts +36 -0
  177. package/src/models/lsp-document-request.js +4 -0
  178. package/src/models/lsp-document-request.js.map +1 -0
  179. package/src/models/lsp-location.d.ts +31 -0
  180. package/src/models/lsp-location.js +16 -0
  181. package/src/models/lsp-location.js.map +1 -0
  182. package/src/models/lsp-server-request.d.ts +30 -0
  183. package/src/models/lsp-server-request.js +4 -0
  184. package/src/models/lsp-server-request.js.map +1 -0
  185. package/src/models/lsp-symbol.d.ts +37 -0
  186. package/src/models/lsp-symbol.js +16 -0
  187. package/src/models/lsp-symbol.js.map +1 -0
  188. package/src/models/match.d.ts +36 -0
  189. package/src/models/match.js +4 -0
  190. package/src/models/match.js.map +1 -0
  191. package/src/models/organization-invitation.d.ts +97 -0
  192. package/src/models/organization-invitation.js +27 -0
  193. package/src/models/organization-invitation.js.map +1 -0
  194. package/src/models/organization-role.d.ts +72 -0
  195. package/src/models/organization-role.js +16 -0
  196. package/src/models/organization-role.js.map +1 -0
  197. package/src/models/organization-suspension.d.ts +30 -0
  198. package/src/models/organization-suspension.js +4 -0
  199. package/src/models/organization-suspension.js.map +1 -0
  200. package/src/models/organization-user.d.ts +72 -0
  201. package/src/models/organization-user.js +21 -0
  202. package/src/models/organization-user.js.map +1 -0
  203. package/src/models/organization.d.ts +78 -0
  204. package/src/models/organization.js +4 -0
  205. package/src/models/organization.js.map +1 -0
  206. package/src/models/paginated-snapshots-dto.d.ts +43 -0
  207. package/src/models/paginated-snapshots-dto.js +16 -0
  208. package/src/models/paginated-snapshots-dto.js.map +1 -0
  209. package/src/models/port-preview-url.d.ts +30 -0
  210. package/src/models/port-preview-url.js +4 -0
  211. package/src/models/port-preview-url.js.map +1 -0
  212. package/src/models/position.d.ts +30 -0
  213. package/src/models/position.js +4 -0
  214. package/src/models/position.js.map +1 -0
  215. package/src/models/project-dir-response.d.ts +24 -0
  216. package/src/models/project-dir-response.js +4 -0
  217. package/src/models/project-dir-response.js.map +1 -0
  218. package/src/models/range.d.ts +31 -0
  219. package/src/models/range.js +16 -0
  220. package/src/models/range.js.map +1 -0
  221. package/src/models/registry-push-access-dto.d.ts +54 -0
  222. package/src/models/registry-push-access-dto.js +4 -0
  223. package/src/models/registry-push-access-dto.js.map +1 -0
  224. package/src/models/replace-request.d.ts +36 -0
  225. package/src/models/replace-request.js +4 -0
  226. package/src/models/replace-request.js.map +1 -0
  227. package/src/models/replace-result.d.ts +36 -0
  228. package/src/models/replace-result.js +4 -0
  229. package/src/models/replace-result.js.map +1 -0
  230. package/src/models/runner-region.d.ts +22 -0
  231. package/src/models/runner-region.js +26 -0
  232. package/src/models/runner-region.js.map +1 -0
  233. package/src/models/runner-snapshot-dto.d.ts +36 -0
  234. package/src/models/runner-snapshot-dto.js +4 -0
  235. package/src/models/runner-snapshot-dto.js.map +1 -0
  236. package/src/models/runner-state.d.ts +24 -0
  237. package/src/models/runner-state.js +28 -0
  238. package/src/models/runner-state.js.map +1 -0
  239. package/src/models/runner.d.ts +129 -0
  240. package/src/models/runner.js +16 -0
  241. package/src/models/runner.js.map +1 -0
  242. package/src/models/sandbox-class.d.ts +22 -0
  243. package/src/models/sandbox-class.js +26 -0
  244. package/src/models/sandbox-class.js.map +1 -0
  245. package/src/models/sandbox-info.d.ts +37 -0
  246. package/src/models/sandbox-info.js +4 -0
  247. package/src/models/sandbox-info.js.map +1 -0
  248. package/src/models/sandbox-labels.d.ts +26 -0
  249. package/src/models/sandbox-labels.js +4 -0
  250. package/src/models/sandbox-labels.js.map +1 -0
  251. package/src/models/sandbox-state.d.ts +35 -0
  252. package/src/models/sandbox-state.js +39 -0
  253. package/src/models/sandbox-state.js.map +1 -0
  254. package/src/models/sandbox-volume.d.ts +30 -0
  255. package/src/models/sandbox-volume.js +4 -0
  256. package/src/models/sandbox-volume.js.map +1 -0
  257. package/src/models/sandbox.d.ts +190 -0
  258. package/src/models/sandbox.js +29 -0
  259. package/src/models/sandbox.js.map +1 -0
  260. package/src/models/search-files-response.d.ts +24 -0
  261. package/src/models/search-files-response.js +4 -0
  262. package/src/models/search-files-response.js.map +1 -0
  263. package/src/models/session-execute-request.d.ts +37 -0
  264. package/src/models/session-execute-request.js +4 -0
  265. package/src/models/session-execute-request.js.map +1 -0
  266. package/src/models/session-execute-response.d.ts +36 -0
  267. package/src/models/session-execute-response.js +4 -0
  268. package/src/models/session-execute-response.js.map +1 -0
  269. package/src/models/session.d.ts +31 -0
  270. package/src/models/session.js +16 -0
  271. package/src/models/session.js.map +1 -0
  272. package/src/models/set-snapshot-general-status-dto.d.ts +24 -0
  273. package/src/models/set-snapshot-general-status-dto.js +4 -0
  274. package/src/models/set-snapshot-general-status-dto.js.map +1 -0
  275. package/src/models/snapshot-dto.d.ts +128 -0
  276. package/src/models/snapshot-dto.js +16 -0
  277. package/src/models/snapshot-dto.js.map +1 -0
  278. package/src/models/snapshot-state.d.ts +29 -0
  279. package/src/models/snapshot-state.js +33 -0
  280. package/src/models/snapshot-state.js.map +1 -0
  281. package/src/models/storage-access-dto.d.ts +54 -0
  282. package/src/models/storage-access-dto.js +4 -0
  283. package/src/models/storage-access-dto.js.map +1 -0
  284. package/src/models/toggle-state.d.ts +24 -0
  285. package/src/models/toggle-state.js +4 -0
  286. package/src/models/toggle-state.js.map +1 -0
  287. package/src/models/update-assigned-organization-roles.d.ts +24 -0
  288. package/src/models/update-assigned-organization-roles.js +4 -0
  289. package/src/models/update-assigned-organization-roles.js.map +1 -0
  290. package/src/models/update-docker-registry.d.ts +36 -0
  291. package/src/models/update-docker-registry.js +4 -0
  292. package/src/models/update-docker-registry.js.map +1 -0
  293. package/src/models/update-organization-invitation.d.ts +41 -0
  294. package/src/models/update-organization-invitation.js +9 -0
  295. package/src/models/update-organization-invitation.js.map +1 -0
  296. package/src/models/update-organization-member-role.d.ts +29 -0
  297. package/src/models/update-organization-member-role.js +9 -0
  298. package/src/models/update-organization-member-role.js.map +1 -0
  299. package/src/models/update-organization-quota.d.ts +72 -0
  300. package/src/models/update-organization-quota.js +4 -0
  301. package/src/models/update-organization-quota.js.map +1 -0
  302. package/src/models/update-organization-role.d.ts +48 -0
  303. package/src/models/update-organization-role.js +16 -0
  304. package/src/models/update-organization-role.js.map +1 -0
  305. package/src/models/usage-overview.d.ts +60 -0
  306. package/src/models/usage-overview.js +4 -0
  307. package/src/models/usage-overview.js.map +1 -0
  308. package/src/models/user-public-key.d.ts +30 -0
  309. package/src/models/user-public-key.js +4 -0
  310. package/src/models/user-public-key.js.map +1 -0
  311. package/src/models/user.d.ts +43 -0
  312. package/src/models/user.js +16 -0
  313. package/src/models/user.js.map +1 -0
  314. package/src/models/volume-dto.d.ts +67 -0
  315. package/src/models/volume-dto.js +16 -0
  316. package/src/models/volume-dto.js.map +1 -0
  317. package/src/models/volume-state.d.ts +26 -0
  318. package/src/models/volume-state.js +30 -0
  319. package/src/models/volume-state.js.map +1 -0
  320. package/src/models/workspace.d.ts +229 -0
  321. package/src/models/workspace.js +36 -0
  322. package/src/models/workspace.js.map +1 -0
@@ -0,0 +1,190 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 { BuildInfo } from './build-info';
13
+ import type { SandboxState } from './sandbox-state';
14
+ import type { SandboxVolume } from './sandbox-volume';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Sandbox
19
+ */
20
+ export interface Sandbox {
21
+ /**
22
+ * The ID of the sandbox
23
+ * @type {string}
24
+ * @memberof Sandbox
25
+ */
26
+ id: string;
27
+ /**
28
+ * The organization ID of the sandbox
29
+ * @type {string}
30
+ * @memberof Sandbox
31
+ */
32
+ organizationId: string;
33
+ /**
34
+ * The snapshot used for the sandbox
35
+ * @type {string}
36
+ * @memberof Sandbox
37
+ */
38
+ snapshot?: string;
39
+ /**
40
+ * The user associated with the project
41
+ * @type {string}
42
+ * @memberof Sandbox
43
+ */
44
+ user: string;
45
+ /**
46
+ * Environment variables for the sandbox
47
+ * @type {{ [key: string]: string; }}
48
+ * @memberof Sandbox
49
+ */
50
+ env: {
51
+ [key: string]: string;
52
+ };
53
+ /**
54
+ * Labels for the sandbox
55
+ * @type {{ [key: string]: string; }}
56
+ * @memberof Sandbox
57
+ */
58
+ labels: {
59
+ [key: string]: string;
60
+ };
61
+ /**
62
+ * Whether the sandbox http preview is public
63
+ * @type {boolean}
64
+ * @memberof Sandbox
65
+ */
66
+ public: boolean;
67
+ /**
68
+ * The target environment for the sandbox
69
+ * @type {string}
70
+ * @memberof Sandbox
71
+ */
72
+ target: string;
73
+ /**
74
+ * The CPU quota for the sandbox
75
+ * @type {number}
76
+ * @memberof Sandbox
77
+ */
78
+ cpu: number;
79
+ /**
80
+ * The GPU quota for the sandbox
81
+ * @type {number}
82
+ * @memberof Sandbox
83
+ */
84
+ gpu: number;
85
+ /**
86
+ * The memory quota for the sandbox
87
+ * @type {number}
88
+ * @memberof Sandbox
89
+ */
90
+ memory: number;
91
+ /**
92
+ * The disk quota for the sandbox
93
+ * @type {number}
94
+ * @memberof Sandbox
95
+ */
96
+ disk: number;
97
+ /**
98
+ * The state of the sandbox
99
+ * @type {SandboxState}
100
+ * @memberof Sandbox
101
+ */
102
+ state?: SandboxState;
103
+ /**
104
+ * The error reason of the sandbox
105
+ * @type {string}
106
+ * @memberof Sandbox
107
+ */
108
+ errorReason?: string;
109
+ /**
110
+ * The state of the backup
111
+ * @type {string}
112
+ * @memberof Sandbox
113
+ */
114
+ backupState?: SandboxBackupStateEnum;
115
+ /**
116
+ * The creation timestamp of the last backup
117
+ * @type {string}
118
+ * @memberof Sandbox
119
+ */
120
+ backupCreatedAt?: string;
121
+ /**
122
+ * Auto-stop interval in minutes (0 means disabled)
123
+ * @type {number}
124
+ * @memberof Sandbox
125
+ */
126
+ autoStopInterval?: number;
127
+ /**
128
+ * Auto-archive interval in minutes
129
+ * @type {number}
130
+ * @memberof Sandbox
131
+ */
132
+ autoArchiveInterval?: number;
133
+ /**
134
+ * The domain name of the runner
135
+ * @type {string}
136
+ * @memberof Sandbox
137
+ */
138
+ runnerDomain?: string;
139
+ /**
140
+ * Array of volumes attached to the sandbox
141
+ * @type {Array<SandboxVolume>}
142
+ * @memberof Sandbox
143
+ */
144
+ volumes?: Array<SandboxVolume>;
145
+ /**
146
+ * Build information for the sandbox
147
+ * @type {BuildInfo}
148
+ * @memberof Sandbox
149
+ */
150
+ buildInfo?: BuildInfo;
151
+ /**
152
+ * The creation timestamp of the sandbox
153
+ * @type {string}
154
+ * @memberof Sandbox
155
+ */
156
+ createdAt?: string;
157
+ /**
158
+ * The last update timestamp of the sandbox
159
+ * @type {string}
160
+ * @memberof Sandbox
161
+ */
162
+ updatedAt?: string;
163
+ /**
164
+ * The class of the sandbox
165
+ * @type {string}
166
+ * @memberof Sandbox
167
+ * @deprecated
168
+ */
169
+ class?: SandboxClassEnum;
170
+ /**
171
+ * The version of the daemon running in the sandbox
172
+ * @type {string}
173
+ * @memberof Sandbox
174
+ */
175
+ daemonVersion?: string;
176
+ }
177
+ export declare const SandboxBackupStateEnum: {
178
+ readonly NONE: "None";
179
+ readonly PENDING: "Pending";
180
+ readonly IN_PROGRESS: "InProgress";
181
+ readonly COMPLETED: "Completed";
182
+ readonly ERROR: "Error";
183
+ };
184
+ export type SandboxBackupStateEnum = (typeof SandboxBackupStateEnum)[keyof typeof SandboxBackupStateEnum];
185
+ export declare const SandboxClassEnum: {
186
+ readonly SMALL: "small";
187
+ readonly MEDIUM: "medium";
188
+ readonly LARGE: "large";
189
+ };
190
+ export type SandboxClassEnum = (typeof SandboxClassEnum)[keyof typeof SandboxClassEnum];
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona
6
+ * Daytona AI platform API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: support@daytona.com
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.SandboxClassEnum = exports.SandboxBackupStateEnum = void 0;
17
+ exports.SandboxBackupStateEnum = {
18
+ NONE: 'None',
19
+ PENDING: 'Pending',
20
+ IN_PROGRESS: 'InProgress',
21
+ COMPLETED: 'Completed',
22
+ ERROR: 'Error',
23
+ };
24
+ exports.SandboxClassEnum = {
25
+ SMALL: 'small',
26
+ MEDIUM: 'medium',
27
+ LARGE: 'large',
28
+ };
29
+ //# sourceMappingURL=sandbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2KU,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=search-files-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-files-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/search-files-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 SessionExecuteRequest
16
+ */
17
+ export interface SessionExecuteRequest {
18
+ /**
19
+ * The command to execute
20
+ * @type {string}
21
+ * @memberof SessionExecuteRequest
22
+ */
23
+ command: string;
24
+ /**
25
+ * Whether to execute the command asynchronously
26
+ * @type {boolean}
27
+ * @memberof SessionExecuteRequest
28
+ */
29
+ runAsync?: boolean;
30
+ /**
31
+ * Deprecated: Use runAsync instead. Whether to execute the command asynchronously
32
+ * @type {boolean}
33
+ * @memberof SessionExecuteRequest
34
+ * @deprecated
35
+ */
36
+ async?: boolean;
37
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=session-execute-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-execute-request.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/session-execute-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 SessionExecuteResponse
16
+ */
17
+ export interface SessionExecuteResponse {
18
+ /**
19
+ * The ID of the executed command
20
+ * @type {string}
21
+ * @memberof SessionExecuteResponse
22
+ */
23
+ cmdId?: string;
24
+ /**
25
+ * The output of the executed command
26
+ * @type {string}
27
+ * @memberof SessionExecuteResponse
28
+ */
29
+ output?: string;
30
+ /**
31
+ * The exit code of the executed command
32
+ * @type {number}
33
+ * @memberof SessionExecuteResponse
34
+ */
35
+ exitCode?: number;
36
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=session-execute-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-execute-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/session-execute-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 { Command } from './command';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Session
17
+ */
18
+ export interface Session {
19
+ /**
20
+ * The ID of the session
21
+ * @type {string}
22
+ * @memberof Session
23
+ */
24
+ sessionId: string;
25
+ /**
26
+ * The list of commands executed in this session
27
+ * @type {Array<Command>}
28
+ * @memberof Session
29
+ */
30
+ commands: Array<Command> | null;
31
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona
6
+ * Daytona AI platform API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: support@daytona.com
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
+ //# sourceMappingURL=session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/session.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 SetSnapshotGeneralStatusDto
16
+ */
17
+ export interface SetSnapshotGeneralStatusDto {
18
+ /**
19
+ * Whether the snapshot is general
20
+ * @type {boolean}
21
+ * @memberof SetSnapshotGeneralStatusDto
22
+ */
23
+ general: boolean;
24
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=set-snapshot-general-status-dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-snapshot-general-status-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/set-snapshot-general-status-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,128 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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 { BuildInfo } from './build-info';
13
+ import type { SnapshotState } from './snapshot-state';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SnapshotDto
18
+ */
19
+ export interface SnapshotDto {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof SnapshotDto
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SnapshotDto
30
+ */
31
+ organizationId?: string;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof SnapshotDto
36
+ */
37
+ general: boolean;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof SnapshotDto
42
+ */
43
+ name: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof SnapshotDto
48
+ */
49
+ imageName?: string;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof SnapshotDto
54
+ */
55
+ enabled: boolean;
56
+ /**
57
+ *
58
+ * @type {SnapshotState}
59
+ * @memberof SnapshotDto
60
+ */
61
+ state: SnapshotState;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof SnapshotDto
66
+ */
67
+ size: number | null;
68
+ /**
69
+ *
70
+ * @type {Array<string>}
71
+ * @memberof SnapshotDto
72
+ */
73
+ entrypoint: Array<string> | null;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof SnapshotDto
78
+ */
79
+ cpu: number;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof SnapshotDto
84
+ */
85
+ gpu: number;
86
+ /**
87
+ *
88
+ * @type {number}
89
+ * @memberof SnapshotDto
90
+ */
91
+ mem: number;
92
+ /**
93
+ *
94
+ * @type {number}
95
+ * @memberof SnapshotDto
96
+ */
97
+ disk: number;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof SnapshotDto
102
+ */
103
+ errorReason: string | null;
104
+ /**
105
+ *
106
+ * @type {Date}
107
+ * @memberof SnapshotDto
108
+ */
109
+ createdAt: Date;
110
+ /**
111
+ *
112
+ * @type {Date}
113
+ * @memberof SnapshotDto
114
+ */
115
+ updatedAt: Date;
116
+ /**
117
+ *
118
+ * @type {Date}
119
+ * @memberof SnapshotDto
120
+ */
121
+ lastUsedAt: Date | null;
122
+ /**
123
+ * Build information for the snapshot
124
+ * @type {BuildInfo}
125
+ * @memberof SnapshotDto
126
+ */
127
+ buildInfo?: BuildInfo;
128
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona
6
+ * Daytona AI platform API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: support@daytona.com
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
+ //# sourceMappingURL=snapshot-dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshot-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/snapshot-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
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
+ * @enum {string}
16
+ */
17
+ export declare const SnapshotState: {
18
+ readonly BUILD_PENDING: "build_pending";
19
+ readonly BUILDING: "building";
20
+ readonly PENDING: "pending";
21
+ readonly PULLING: "pulling";
22
+ readonly PENDING_VALIDATION: "pending_validation";
23
+ readonly VALIDATING: "validating";
24
+ readonly ACTIVE: "active";
25
+ readonly ERROR: "error";
26
+ readonly BUILD_FAILED: "build_failed";
27
+ readonly REMOVING: "removing";
28
+ };
29
+ export type SnapshotState = (typeof SnapshotState)[keyof typeof SnapshotState];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SnapshotState = void 0;
5
+ /**
6
+ * Daytona
7
+ * Daytona AI platform API Docs
8
+ *
9
+ * The version of the OpenAPI document: 1.0
10
+ * Contact: support@daytona.com
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ /**
17
+ *
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ exports.SnapshotState = {
22
+ BUILD_PENDING: 'build_pending',
23
+ BUILDING: 'building',
24
+ PENDING: 'pending',
25
+ PULLING: 'pulling',
26
+ PENDING_VALIDATION: 'pending_validation',
27
+ VALIDATING: 'validating',
28
+ ACTIVE: 'active',
29
+ ERROR: 'error',
30
+ BUILD_FAILED: 'build_failed',
31
+ REMOVING: 'removing',
32
+ };
33
+ //# sourceMappingURL=snapshot-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshot-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/snapshot-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEpB;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IAC3B,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,oBAAoB;IACxC,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;CACZ,CAAA"}