@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,126 @@
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 { CreateBuildInfo } from './create-build-info';
13
+ import type { SandboxVolume } from './sandbox-volume';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateSandbox
18
+ */
19
+ export interface CreateSandbox {
20
+ /**
21
+ * The ID or name of the snapshot used for the sandbox
22
+ * @type {string}
23
+ * @memberof CreateSandbox
24
+ */
25
+ snapshot?: string;
26
+ /**
27
+ * The user associated with the project
28
+ * @type {string}
29
+ * @memberof CreateSandbox
30
+ */
31
+ user?: string;
32
+ /**
33
+ * Environment variables for the sandbox
34
+ * @type {{ [key: string]: string; }}
35
+ * @memberof CreateSandbox
36
+ */
37
+ env?: {
38
+ [key: string]: string;
39
+ };
40
+ /**
41
+ * Labels for the sandbox
42
+ * @type {{ [key: string]: string; }}
43
+ * @memberof CreateSandbox
44
+ */
45
+ labels?: {
46
+ [key: string]: string;
47
+ };
48
+ /**
49
+ * Whether the sandbox http preview is publicly accessible
50
+ * @type {boolean}
51
+ * @memberof CreateSandbox
52
+ */
53
+ public?: boolean;
54
+ /**
55
+ * The sandbox class type
56
+ * @type {string}
57
+ * @memberof CreateSandbox
58
+ */
59
+ class?: CreateSandboxClassEnum;
60
+ /**
61
+ * The target (region) where the sandbox will be created
62
+ * @type {string}
63
+ * @memberof CreateSandbox
64
+ */
65
+ target?: CreateSandboxTargetEnum;
66
+ /**
67
+ * CPU cores allocated to the sandbox
68
+ * @type {number}
69
+ * @memberof CreateSandbox
70
+ */
71
+ cpu?: number;
72
+ /**
73
+ * GPU units allocated to the sandbox
74
+ * @type {number}
75
+ * @memberof CreateSandbox
76
+ */
77
+ gpu?: number;
78
+ /**
79
+ * Memory allocated to the sandbox in GB
80
+ * @type {number}
81
+ * @memberof CreateSandbox
82
+ */
83
+ memory?: number;
84
+ /**
85
+ * Disk space allocated to the sandbox in GB
86
+ * @type {number}
87
+ * @memberof CreateSandbox
88
+ */
89
+ disk?: number;
90
+ /**
91
+ * Auto-stop interval in minutes (0 means disabled)
92
+ * @type {number}
93
+ * @memberof CreateSandbox
94
+ */
95
+ autoStopInterval?: number;
96
+ /**
97
+ * Auto-archive interval in minutes (0 means the maximum interval will be used)
98
+ * @type {number}
99
+ * @memberof CreateSandbox
100
+ */
101
+ autoArchiveInterval?: number;
102
+ /**
103
+ * Array of volumes to attach to the sandbox
104
+ * @type {Array<SandboxVolume>}
105
+ * @memberof CreateSandbox
106
+ */
107
+ volumes?: Array<SandboxVolume>;
108
+ /**
109
+ * Build information for the sandbox
110
+ * @type {CreateBuildInfo}
111
+ * @memberof CreateSandbox
112
+ */
113
+ buildInfo?: CreateBuildInfo;
114
+ }
115
+ export declare const CreateSandboxClassEnum: {
116
+ readonly SMALL: "small";
117
+ readonly MEDIUM: "medium";
118
+ readonly LARGE: "large";
119
+ };
120
+ export type CreateSandboxClassEnum = (typeof CreateSandboxClassEnum)[keyof typeof CreateSandboxClassEnum];
121
+ export declare const CreateSandboxTargetEnum: {
122
+ readonly EU: "eu";
123
+ readonly US: "us";
124
+ readonly ASIA: "asia";
125
+ };
126
+ export type CreateSandboxTargetEnum = (typeof CreateSandboxTargetEnum)[keyof typeof CreateSandboxTargetEnum];
@@ -0,0 +1,27 @@
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.CreateSandboxTargetEnum = exports.CreateSandboxClassEnum = void 0;
17
+ exports.CreateSandboxClassEnum = {
18
+ SMALL: 'small',
19
+ MEDIUM: 'medium',
20
+ LARGE: 'large',
21
+ };
22
+ exports.CreateSandboxTargetEnum = {
23
+ EU: 'eu',
24
+ US: 'us',
25
+ ASIA: 'asia',
26
+ };
27
+ //# sourceMappingURL=create-sandbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2GU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,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 CreateSessionRequest
16
+ */
17
+ export interface CreateSessionRequest {
18
+ /**
19
+ * The ID of the session
20
+ * @type {string}
21
+ * @memberof CreateSessionRequest
22
+ */
23
+ sessionId: string;
24
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=create-session-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-session-request.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-session-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,73 @@
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 { CreateBuildInfo } from './create-build-info';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateSnapshot
17
+ */
18
+ export interface CreateSnapshot {
19
+ /**
20
+ * The name of the snapshot
21
+ * @type {string}
22
+ * @memberof CreateSnapshot
23
+ */
24
+ name: string;
25
+ /**
26
+ * The image name of the snapshot
27
+ * @type {string}
28
+ * @memberof CreateSnapshot
29
+ */
30
+ imageName?: string;
31
+ /**
32
+ * The entrypoint command for the snapshot
33
+ * @type {Array<string>}
34
+ * @memberof CreateSnapshot
35
+ */
36
+ entrypoint?: Array<string>;
37
+ /**
38
+ * Whether the snapshot is general
39
+ * @type {boolean}
40
+ * @memberof CreateSnapshot
41
+ */
42
+ general?: boolean;
43
+ /**
44
+ * CPU cores allocated to the resulting sandbox
45
+ * @type {number}
46
+ * @memberof CreateSnapshot
47
+ */
48
+ cpu?: number;
49
+ /**
50
+ * GPU units allocated to the resulting sandbox
51
+ * @type {number}
52
+ * @memberof CreateSnapshot
53
+ */
54
+ gpu?: number;
55
+ /**
56
+ * Memory allocated to the resulting sandbox in GB
57
+ * @type {number}
58
+ * @memberof CreateSnapshot
59
+ */
60
+ memory?: number;
61
+ /**
62
+ * Disk space allocated to the sandbox in GB
63
+ * @type {number}
64
+ * @memberof CreateSnapshot
65
+ */
66
+ disk?: number;
67
+ /**
68
+ * Build information for the snapshot
69
+ * @type {CreateBuildInfo}
70
+ * @memberof CreateSnapshot
71
+ */
72
+ buildInfo?: CreateBuildInfo;
73
+ }
@@ -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=create-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-snapshot.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-snapshot.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,60 @@
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 { CreateOrganizationQuota } from './create-organization-quota';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateUser
17
+ */
18
+ export interface CreateUser {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreateUser
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CreateUser
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CreateUser
35
+ */
36
+ email?: string;
37
+ /**
38
+ *
39
+ * @type {CreateOrganizationQuota}
40
+ * @memberof CreateUser
41
+ */
42
+ personalOrganizationQuota?: CreateOrganizationQuota;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CreateUser
47
+ */
48
+ role?: CreateUserRoleEnum;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof CreateUser
53
+ */
54
+ emailVerified?: boolean;
55
+ }
56
+ export declare const CreateUserRoleEnum: {
57
+ readonly ADMIN: "admin";
58
+ readonly USER: "user";
59
+ };
60
+ export type CreateUserRoleEnum = (typeof CreateUserRoleEnum)[keyof typeof CreateUserRoleEnum];
@@ -0,0 +1,21 @@
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.CreateUserRoleEnum = void 0;
17
+ exports.CreateUserRoleEnum = {
18
+ ADMIN: 'admin',
19
+ USER: 'user',
20
+ };
21
+ //# sourceMappingURL=create-user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-user.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAkDU,QAAA,kBAAkB,GAAG;IAChC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,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 CreateVolume
16
+ */
17
+ export interface CreateVolume {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateVolume
22
+ */
23
+ name: string;
24
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=create-volume.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-volume.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-volume.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,126 @@
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 { CreateBuildInfo } from './create-build-info';
13
+ import type { SandboxVolume } from './sandbox-volume';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateWorkspace
18
+ */
19
+ export interface CreateWorkspace {
20
+ /**
21
+ * The image used for the workspace
22
+ * @type {string}
23
+ * @memberof CreateWorkspace
24
+ */
25
+ image?: string;
26
+ /**
27
+ * The user associated with the project
28
+ * @type {string}
29
+ * @memberof CreateWorkspace
30
+ */
31
+ user?: string;
32
+ /**
33
+ * Environment variables for the workspace
34
+ * @type {{ [key: string]: string; }}
35
+ * @memberof CreateWorkspace
36
+ */
37
+ env?: {
38
+ [key: string]: string;
39
+ };
40
+ /**
41
+ * Labels for the workspace
42
+ * @type {{ [key: string]: string; }}
43
+ * @memberof CreateWorkspace
44
+ */
45
+ labels?: {
46
+ [key: string]: string;
47
+ };
48
+ /**
49
+ * Whether the workspace http preview is publicly accessible
50
+ * @type {boolean}
51
+ * @memberof CreateWorkspace
52
+ */
53
+ public?: boolean;
54
+ /**
55
+ * The workspace class type
56
+ * @type {string}
57
+ * @memberof CreateWorkspace
58
+ */
59
+ class?: CreateWorkspaceClassEnum;
60
+ /**
61
+ * The target (region) where the workspace will be created
62
+ * @type {string}
63
+ * @memberof CreateWorkspace
64
+ */
65
+ target?: CreateWorkspaceTargetEnum;
66
+ /**
67
+ * CPU cores allocated to the workspace
68
+ * @type {number}
69
+ * @memberof CreateWorkspace
70
+ */
71
+ cpu?: number;
72
+ /**
73
+ * GPU units allocated to the workspace
74
+ * @type {number}
75
+ * @memberof CreateWorkspace
76
+ */
77
+ gpu?: number;
78
+ /**
79
+ * Memory allocated to the workspace in GB
80
+ * @type {number}
81
+ * @memberof CreateWorkspace
82
+ */
83
+ memory?: number;
84
+ /**
85
+ * Disk space allocated to the workspace in GB
86
+ * @type {number}
87
+ * @memberof CreateWorkspace
88
+ */
89
+ disk?: number;
90
+ /**
91
+ * Auto-stop interval in minutes (0 means disabled)
92
+ * @type {number}
93
+ * @memberof CreateWorkspace
94
+ */
95
+ autoStopInterval?: number;
96
+ /**
97
+ * Auto-archive interval in minutes (0 means the maximum interval will be used)
98
+ * @type {number}
99
+ * @memberof CreateWorkspace
100
+ */
101
+ autoArchiveInterval?: number;
102
+ /**
103
+ * Array of volumes to attach to the workspace
104
+ * @type {Array<SandboxVolume>}
105
+ * @memberof CreateWorkspace
106
+ */
107
+ volumes?: Array<SandboxVolume>;
108
+ /**
109
+ * Build information for the workspace
110
+ * @type {CreateBuildInfo}
111
+ * @memberof CreateWorkspace
112
+ */
113
+ buildInfo?: CreateBuildInfo;
114
+ }
115
+ export declare const CreateWorkspaceClassEnum: {
116
+ readonly SMALL: "small";
117
+ readonly MEDIUM: "medium";
118
+ readonly LARGE: "large";
119
+ };
120
+ export type CreateWorkspaceClassEnum = (typeof CreateWorkspaceClassEnum)[keyof typeof CreateWorkspaceClassEnum];
121
+ export declare const CreateWorkspaceTargetEnum: {
122
+ readonly EU: "eu";
123
+ readonly US: "us";
124
+ readonly ASIA: "asia";
125
+ };
126
+ export type CreateWorkspaceTargetEnum = (typeof CreateWorkspaceTargetEnum)[keyof typeof CreateWorkspaceTargetEnum];
@@ -0,0 +1,27 @@
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.CreateWorkspaceTargetEnum = exports.CreateWorkspaceClassEnum = void 0;
17
+ exports.CreateWorkspaceClassEnum = {
18
+ SMALL: 'small',
19
+ MEDIUM: 'medium',
20
+ LARGE: 'large',
21
+ };
22
+ exports.CreateWorkspaceTargetEnum = {
23
+ EU: 'eu',
24
+ US: 'us',
25
+ ASIA: 'asia',
26
+ };
27
+ //# sourceMappingURL=create-workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2GU,QAAA,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,yBAAyB,GAAG;IACvC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,CAAA"}
@@ -0,0 +1,73 @@
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 DockerRegistry
16
+ */
17
+ export interface DockerRegistry {
18
+ /**
19
+ * Registry ID
20
+ * @type {string}
21
+ * @memberof DockerRegistry
22
+ */
23
+ id: string;
24
+ /**
25
+ * Registry name
26
+ * @type {string}
27
+ * @memberof DockerRegistry
28
+ */
29
+ name: string;
30
+ /**
31
+ * Registry URL
32
+ * @type {string}
33
+ * @memberof DockerRegistry
34
+ */
35
+ url: string;
36
+ /**
37
+ * Registry username
38
+ * @type {string}
39
+ * @memberof DockerRegistry
40
+ */
41
+ username: string;
42
+ /**
43
+ * Registry project
44
+ * @type {string}
45
+ * @memberof DockerRegistry
46
+ */
47
+ project: string;
48
+ /**
49
+ * Registry type
50
+ * @type {string}
51
+ * @memberof DockerRegistry
52
+ */
53
+ registryType: DockerRegistryRegistryTypeEnum;
54
+ /**
55
+ * Creation timestamp
56
+ * @type {Date}
57
+ * @memberof DockerRegistry
58
+ */
59
+ createdAt: Date;
60
+ /**
61
+ * Last update timestamp
62
+ * @type {Date}
63
+ * @memberof DockerRegistry
64
+ */
65
+ updatedAt: Date;
66
+ }
67
+ export declare const DockerRegistryRegistryTypeEnum: {
68
+ readonly INTERNAL: "internal";
69
+ readonly ORGANIZATION: "organization";
70
+ readonly PUBLIC: "public";
71
+ readonly TRANSIENT: "transient";
72
+ };
73
+ export type DockerRegistryRegistryTypeEnum = (typeof DockerRegistryRegistryTypeEnum)[keyof typeof DockerRegistryRegistryTypeEnum];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DockerRegistryRegistryTypeEnum = void 0;
5
+ exports.DockerRegistryRegistryTypeEnum = {
6
+ INTERNAL: 'internal',
7
+ ORGANIZATION: 'organization',
8
+ PUBLIC: 'public',
9
+ TRANSIENT: 'transient',
10
+ };
11
+ //# sourceMappingURL=docker-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-registry.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/docker-registry.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAsEP,QAAA,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACd,CAAA"}
@@ -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 ExecuteRequest
16
+ */
17
+ export interface ExecuteRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecuteRequest
22
+ */
23
+ command: string;
24
+ /**
25
+ * Current working directory
26
+ * @type {string}
27
+ * @memberof ExecuteRequest
28
+ */
29
+ cwd?: string;
30
+ /**
31
+ * Timeout in seconds, defaults to 10 seconds
32
+ * @type {number}
33
+ * @memberof ExecuteRequest
34
+ */
35
+ timeout?: number;
36
+ }