@daytonaio/api-client 0.18.0-alpha.2 → 0.18.0

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 (350) hide show
  1. package/package.json +5 -8
  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/images-api.d.ts +317 -0
  9. package/src/api/images-api.js +624 -0
  10. package/src/api/images-api.js.map +1 -0
  11. package/src/api/nodes-api.d.ts +136 -0
  12. package/src/api/nodes-api.js +261 -0
  13. package/src/api/nodes-api.js.map +1 -0
  14. package/src/api/object-storage-api.d.ts +74 -0
  15. package/src/api/object-storage-api.js +127 -0
  16. package/src/api/object-storage-api.js.map +1 -0
  17. package/src/api/organizations-api.d.ts +927 -0
  18. package/src/api/organizations-api.js +1891 -0
  19. package/src/api/organizations-api.js.map +1 -0
  20. package/src/api/preview-api.d.ts +143 -0
  21. package/src/api/preview-api.js +265 -0
  22. package/src/api/preview-api.js.map +1 -0
  23. package/src/api/toolbox-api.d.ts +1599 -0
  24. package/src/api/toolbox-api.js +3250 -0
  25. package/src/api/toolbox-api.js.map +1 -0
  26. package/src/api/users-api.d.ts +166 -0
  27. package/src/api/users-api.js +311 -0
  28. package/src/api/users-api.js.map +1 -0
  29. package/src/api/volumes-api.d.ts +227 -0
  30. package/src/api/volumes-api.js +447 -0
  31. package/src/api/volumes-api.js.map +1 -0
  32. package/src/api/workspace-api.d.ts +516 -0
  33. package/src/api/workspace-api.js +1043 -0
  34. package/src/api/workspace-api.js.map +1 -0
  35. package/src/api.d.ts +22 -0
  36. package/src/api.js +28 -0
  37. package/src/api.js.map +1 -0
  38. package/src/base.d.ts +66 -0
  39. package/src/base.js +68 -0
  40. package/src/base.js.map +1 -0
  41. package/src/common.d.ts +65 -0
  42. package/src/common.js +146 -0
  43. package/src/common.js.map +1 -0
  44. package/src/configuration.d.ts +91 -0
  45. package/src/configuration.js +105 -0
  46. package/src/configuration.js.map +1 -0
  47. package/src/index.d.ts +14 -0
  48. package/src/index.js +20 -0
  49. package/src/index.js.map +1 -0
  50. package/src/models/api-key-list.d.ts +54 -0
  51. package/src/models/api-key-list.js +28 -0
  52. package/src/models/api-key-list.js.map +1 -0
  53. package/src/models/api-key-response.d.ts +54 -0
  54. package/src/models/api-key-response.js +28 -0
  55. package/src/models/api-key-response.js.map +1 -0
  56. package/src/models/build-image.d.ts +31 -0
  57. package/src/models/build-image.js +16 -0
  58. package/src/models/build-image.js.map +1 -0
  59. package/src/models/{command.ts → command.d.ts} +18 -21
  60. package/src/models/command.js +16 -0
  61. package/src/models/command.js.map +1 -0
  62. package/src/models/{completion-context.ts → completion-context.d.ts} +12 -15
  63. package/src/models/completion-context.js +16 -0
  64. package/src/models/completion-context.js.map +1 -0
  65. package/src/models/completion-item.d.ts +60 -0
  66. package/src/models/completion-item.js +16 -0
  67. package/src/models/completion-item.js.map +1 -0
  68. package/src/models/{completion-list.ts → completion-list.d.ts} +13 -19
  69. package/src/models/completion-list.js +16 -0
  70. package/src/models/completion-list.js.map +1 -0
  71. package/src/models/create-api-key.d.ts +42 -0
  72. package/src/models/create-api-key.js +28 -0
  73. package/src/models/create-api-key.js.map +1 -0
  74. package/src/models/{create-build-info.ts → create-build-info.d.ts} +12 -15
  75. package/src/models/create-build-info.js +16 -0
  76. package/src/models/create-build-info.js.map +1 -0
  77. package/src/models/create-docker-registry.d.ts +67 -0
  78. package/src/models/create-docker-registry.js +23 -0
  79. package/src/models/create-docker-registry.js.map +1 -0
  80. package/src/models/create-image.d.ts +36 -0
  81. package/src/models/create-image.js +16 -0
  82. package/src/models/create-image.js.map +1 -0
  83. package/src/models/create-node.d.ts +96 -0
  84. package/src/models/create-node.js +27 -0
  85. package/src/models/create-node.js.map +1 -0
  86. package/src/models/create-organization-invitation.d.ts +47 -0
  87. package/src/models/create-organization-invitation.js +21 -0
  88. package/src/models/create-organization-invitation.js.map +1 -0
  89. package/src/models/create-organization-quota.d.ts +84 -0
  90. package/src/models/create-organization-quota.js +16 -0
  91. package/src/models/create-organization-quota.js.map +1 -0
  92. package/src/models/create-organization-role.d.ts +48 -0
  93. package/src/models/create-organization-role.js +28 -0
  94. package/src/models/create-organization-role.js.map +1 -0
  95. package/src/models/{create-organization.ts → create-organization.d.ts} +6 -9
  96. package/src/models/create-organization.js +16 -0
  97. package/src/models/create-organization.js.map +1 -0
  98. package/src/models/{create-session-request.ts → create-session-request.d.ts} +6 -9
  99. package/src/models/create-session-request.js +16 -0
  100. package/src/models/create-session-request.js.map +1 -0
  101. package/src/models/create-user.d.ts +60 -0
  102. package/src/models/create-user.js +21 -0
  103. package/src/models/create-user.js.map +1 -0
  104. package/src/models/{create-volume.ts → create-volume.d.ts} +6 -9
  105. package/src/models/create-volume.js +16 -0
  106. package/src/models/create-volume.js.map +1 -0
  107. package/src/models/create-workspace.d.ts +120 -0
  108. package/src/models/create-workspace.js +27 -0
  109. package/src/models/create-workspace.js.map +1 -0
  110. package/src/models/docker-registry.d.ts +73 -0
  111. package/src/models/docker-registry.js +23 -0
  112. package/src/models/docker-registry.js.map +1 -0
  113. package/src/models/{execute-request.ts → execute-request.d.ts} +18 -21
  114. package/src/models/execute-request.js +16 -0
  115. package/src/models/execute-request.js.map +1 -0
  116. package/src/models/{execute-response.ts → execute-response.d.ts} +12 -15
  117. package/src/models/execute-response.js +16 -0
  118. package/src/models/execute-response.js.map +1 -0
  119. package/src/models/file-info.d.ts +66 -0
  120. package/src/models/file-info.js +16 -0
  121. package/src/models/file-info.js.map +1 -0
  122. package/src/models/{file-status.ts → file-status.d.ts} +24 -27
  123. package/src/models/file-status.js +16 -0
  124. package/src/models/file-status.js.map +1 -0
  125. package/src/models/{git-add-request.ts → git-add-request.d.ts} +12 -15
  126. package/src/models/git-add-request.js +16 -0
  127. package/src/models/git-add-request.js.map +1 -0
  128. package/src/models/{git-branch-request.ts → git-branch-request.d.ts} +12 -15
  129. package/src/models/git-branch-request.js +16 -0
  130. package/src/models/git-branch-request.js.map +1 -0
  131. package/src/models/git-clone-request.d.ts +54 -0
  132. package/src/models/git-clone-request.js +16 -0
  133. package/src/models/git-clone-request.js.map +1 -0
  134. package/src/models/git-commit-info.d.ts +48 -0
  135. package/src/models/git-commit-info.js +16 -0
  136. package/src/models/git-commit-info.js.map +1 -0
  137. package/src/models/git-commit-request.d.ts +42 -0
  138. package/src/models/git-commit-request.js +16 -0
  139. package/src/models/git-commit-request.js.map +1 -0
  140. package/src/models/{git-commit-response.ts → git-commit-response.d.ts} +6 -9
  141. package/src/models/git-commit-response.js +16 -0
  142. package/src/models/git-commit-response.js.map +1 -0
  143. package/src/models/{git-repo-request.ts → git-repo-request.d.ts} +18 -21
  144. package/src/models/git-repo-request.js +16 -0
  145. package/src/models/git-repo-request.js.map +1 -0
  146. package/src/models/git-status.d.ts +49 -0
  147. package/src/models/git-status.js +16 -0
  148. package/src/models/git-status.js.map +1 -0
  149. package/src/models/image-dto.d.ts +91 -0
  150. package/src/models/image-dto.js +16 -0
  151. package/src/models/image-dto.js.map +1 -0
  152. package/src/models/{image-state.ts → image-state.d.ts} +12 -17
  153. package/src/models/image-state.js +33 -0
  154. package/src/models/image-state.js.map +1 -0
  155. package/src/models/index.d.ts +77 -0
  156. package/src/models/index.js +81 -0
  157. package/src/models/index.js.map +1 -0
  158. package/src/models/{list-branch-response.ts → list-branch-response.d.ts} +6 -9
  159. package/src/models/list-branch-response.js +16 -0
  160. package/src/models/list-branch-response.js.map +1 -0
  161. package/src/models/lsp-completion-params.d.ts +50 -0
  162. package/src/models/lsp-completion-params.js +16 -0
  163. package/src/models/lsp-completion-params.js.map +1 -0
  164. package/src/models/{lsp-document-request.ts → lsp-document-request.d.ts} +18 -21
  165. package/src/models/lsp-document-request.js +16 -0
  166. package/src/models/lsp-document-request.js.map +1 -0
  167. package/src/models/{lsp-location.ts → lsp-location.d.ts} +13 -19
  168. package/src/models/lsp-location.js +16 -0
  169. package/src/models/lsp-location.js.map +1 -0
  170. package/src/models/{lsp-server-request.ts → lsp-server-request.d.ts} +12 -15
  171. package/src/models/lsp-server-request.js +16 -0
  172. package/src/models/lsp-server-request.js.map +1 -0
  173. package/src/models/lsp-symbol.d.ts +37 -0
  174. package/src/models/lsp-symbol.js +16 -0
  175. package/src/models/lsp-symbol.js.map +1 -0
  176. package/src/models/{match.ts → match.d.ts} +18 -21
  177. package/src/models/match.js +16 -0
  178. package/src/models/match.js.map +1 -0
  179. package/src/models/organization-invitation.d.ts +97 -0
  180. package/src/models/organization-invitation.js +27 -0
  181. package/src/models/organization-invitation.js.map +1 -0
  182. package/src/models/organization-role.d.ts +72 -0
  183. package/src/models/organization-role.js +28 -0
  184. package/src/models/organization-role.js.map +1 -0
  185. package/src/models/{organization-suspension.ts → organization-suspension.d.ts} +12 -15
  186. package/src/models/organization-suspension.js +16 -0
  187. package/src/models/organization-suspension.js.map +1 -0
  188. package/src/models/organization-user.d.ts +72 -0
  189. package/src/models/organization-user.js +21 -0
  190. package/src/models/organization-user.js.map +1 -0
  191. package/src/models/organization.d.ts +78 -0
  192. package/src/models/organization.js +16 -0
  193. package/src/models/organization.js.map +1 -0
  194. package/src/models/paginated-images-dto.d.ts +43 -0
  195. package/src/models/paginated-images-dto.js +16 -0
  196. package/src/models/paginated-images-dto.js.map +1 -0
  197. package/src/models/{port-preview-url.ts → port-preview-url.d.ts} +12 -15
  198. package/src/models/port-preview-url.js +16 -0
  199. package/src/models/port-preview-url.js.map +1 -0
  200. package/src/models/{position.ts → position.d.ts} +12 -15
  201. package/src/models/position.js +16 -0
  202. package/src/models/position.js.map +1 -0
  203. package/src/models/{project-dir-response.ts → project-dir-response.d.ts} +6 -9
  204. package/src/models/project-dir-response.js +16 -0
  205. package/src/models/project-dir-response.js.map +1 -0
  206. package/src/models/{range.ts → range.d.ts} +13 -19
  207. package/src/models/range.js +16 -0
  208. package/src/models/range.js.map +1 -0
  209. package/src/models/registry-push-access-dto.d.ts +54 -0
  210. package/src/models/registry-push-access-dto.js +16 -0
  211. package/src/models/registry-push-access-dto.js.map +1 -0
  212. package/src/models/{replace-request.ts → replace-request.d.ts} +18 -21
  213. package/src/models/replace-request.js +16 -0
  214. package/src/models/replace-request.js.map +1 -0
  215. package/src/models/{replace-result.ts → replace-result.d.ts} +18 -21
  216. package/src/models/replace-result.js +16 -0
  217. package/src/models/replace-result.js.map +1 -0
  218. package/src/models/{search-files-response.ts → search-files-response.d.ts} +6 -9
  219. package/src/models/search-files-response.js +16 -0
  220. package/src/models/search-files-response.js.map +1 -0
  221. package/src/models/session-execute-request.d.ts +37 -0
  222. package/src/models/session-execute-request.js +16 -0
  223. package/src/models/session-execute-request.js.map +1 -0
  224. package/src/models/session-execute-response.d.ts +36 -0
  225. package/src/models/session-execute-response.js +16 -0
  226. package/src/models/session-execute-response.js.map +1 -0
  227. package/src/models/session.d.ts +31 -0
  228. package/src/models/session.js +16 -0
  229. package/src/models/session.js.map +1 -0
  230. package/src/models/{set-image-general-status.ts → set-image-general-status.d.ts} +6 -9
  231. package/src/models/set-image-general-status.js +16 -0
  232. package/src/models/set-image-general-status.js.map +1 -0
  233. package/src/models/storage-access-dto.d.ts +54 -0
  234. package/src/models/storage-access-dto.js +16 -0
  235. package/src/models/storage-access-dto.js.map +1 -0
  236. package/src/models/{toggle-state.ts → toggle-state.d.ts} +6 -9
  237. package/src/models/toggle-state.js +16 -0
  238. package/src/models/toggle-state.js.map +1 -0
  239. package/src/models/{update-assigned-organization-roles.ts → update-assigned-organization-roles.d.ts} +6 -9
  240. package/src/models/update-assigned-organization-roles.js +16 -0
  241. package/src/models/update-assigned-organization-roles.js.map +1 -0
  242. package/src/models/{update-docker-registry.ts → update-docker-registry.d.ts} +18 -21
  243. package/src/models/update-docker-registry.js +16 -0
  244. package/src/models/update-docker-registry.js.map +1 -0
  245. package/src/models/update-organization-invitation.d.ts +41 -0
  246. package/src/models/update-organization-invitation.js +21 -0
  247. package/src/models/update-organization-invitation.js.map +1 -0
  248. package/src/models/update-organization-member-role.d.ts +29 -0
  249. package/src/models/update-organization-member-role.js +21 -0
  250. package/src/models/update-organization-member-role.js.map +1 -0
  251. package/src/models/update-organization-quota.d.ts +84 -0
  252. package/src/models/update-organization-quota.js +16 -0
  253. package/src/models/update-organization-quota.js.map +1 -0
  254. package/src/models/update-organization-role.d.ts +48 -0
  255. package/src/models/update-organization-role.js +28 -0
  256. package/src/models/update-organization-role.js.map +1 -0
  257. package/src/models/usage-overview.d.ts +108 -0
  258. package/src/models/usage-overview.js +16 -0
  259. package/src/models/usage-overview.js.map +1 -0
  260. package/src/models/{user-public-key.ts → user-public-key.d.ts} +12 -15
  261. package/src/models/user-public-key.js +16 -0
  262. package/src/models/user-public-key.js.map +1 -0
  263. package/src/models/user.d.ts +43 -0
  264. package/src/{index.ts → models/user.js} +3 -4
  265. package/src/models/user.js.map +1 -0
  266. package/src/models/volume-dto.d.ts +70 -0
  267. package/src/models/volume-dto.js +26 -0
  268. package/src/models/volume-dto.js.map +1 -0
  269. package/src/models/workspace-info.d.ts +37 -0
  270. package/src/models/workspace-info.js +16 -0
  271. package/src/models/workspace-info.js.map +1 -0
  272. package/src/models/{workspace-labels.ts → workspace-labels.d.ts} +8 -9
  273. package/src/models/workspace-labels.js +16 -0
  274. package/src/models/workspace-labels.js.map +1 -0
  275. package/src/models/workspace-state.d.ts +34 -0
  276. package/src/models/workspace-state.js +39 -0
  277. package/src/models/workspace-state.js.map +1 -0
  278. package/src/models/{workspace-volume.ts → workspace-volume.d.ts} +12 -15
  279. package/src/models/workspace-volume.js +16 -0
  280. package/src/models/workspace-volume.js.map +1 -0
  281. package/src/models/workspace.d.ts +154 -0
  282. package/src/models/workspace.js +24 -0
  283. package/src/models/workspace.js.map +1 -0
  284. package/project.json +0 -55
  285. package/src/.openapi-generator/FILES +0 -97
  286. package/src/.openapi-generator/VERSION +0 -1
  287. package/src/.openapi-generator-ignore +0 -23
  288. package/src/api/api-keys-api.ts +0 -553
  289. package/src/api/docker-registry-api.ts +0 -800
  290. package/src/api/images-api.ts +0 -957
  291. package/src/api/nodes-api.ts +0 -319
  292. package/src/api/object-storage-api.ts +0 -159
  293. package/src/api/organizations-api.ts +0 -2641
  294. package/src/api/preview-api.ts +0 -328
  295. package/src/api/toolbox-api.ts +0 -4879
  296. package/src/api/users-api.ts +0 -382
  297. package/src/api/volumes-api.ts +0 -594
  298. package/src/api/workspace-api.ts +0 -1610
  299. package/src/api.ts +0 -25
  300. package/src/base.ts +0 -91
  301. package/src/common.ts +0 -162
  302. package/src/configuration.ts +0 -122
  303. package/src/git_push.sh +0 -57
  304. package/src/models/api-key-list.ts +0 -59
  305. package/src/models/api-key-response.ts +0 -60
  306. package/src/models/build-image.ts +0 -37
  307. package/src/models/build-info.ts +0 -51
  308. package/src/models/completion-item.ts +0 -63
  309. package/src/models/create-api-key.ts +0 -47
  310. package/src/models/create-docker-registry.ts +0 -73
  311. package/src/models/create-image.ts +0 -39
  312. package/src/models/create-node.ts +0 -102
  313. package/src/models/create-organization-invitation.ts +0 -53
  314. package/src/models/create-organization-quota.ts +0 -87
  315. package/src/models/create-organization-role.ts +0 -54
  316. package/src/models/create-user.ts +0 -68
  317. package/src/models/create-workspace.ts +0 -127
  318. package/src/models/docker-registry.ts +0 -79
  319. package/src/models/file-info.ts +0 -69
  320. package/src/models/get-build-logs400-response.ts +0 -33
  321. package/src/models/git-clone-request.ts +0 -57
  322. package/src/models/git-commit-info.ts +0 -51
  323. package/src/models/git-commit-request.ts +0 -45
  324. package/src/models/git-status.ts +0 -55
  325. package/src/models/image-dto.ts +0 -97
  326. package/src/models/index.ts +0 -77
  327. package/src/models/lsp-completion-params.ts +0 -58
  328. package/src/models/lsp-symbol.ts +0 -43
  329. package/src/models/organization-invitation.ts +0 -108
  330. package/src/models/organization-role.ts +0 -78
  331. package/src/models/organization-user.ts +0 -80
  332. package/src/models/organization.ts +0 -81
  333. package/src/models/paginated-images-dto.ts +0 -49
  334. package/src/models/registry-push-access-dto.ts +0 -57
  335. package/src/models/session-execute-request.ts +0 -40
  336. package/src/models/session-execute-response.ts +0 -39
  337. package/src/models/session.ts +0 -37
  338. package/src/models/storage-access-dto.ts +0 -63
  339. package/src/models/update-organization-invitation.ts +0 -47
  340. package/src/models/update-organization-member-role.ts +0 -35
  341. package/src/models/update-organization-quota.ts +0 -87
  342. package/src/models/update-organization-role.ts +0 -54
  343. package/src/models/usage-overview.ts +0 -111
  344. package/src/models/user.ts +0 -49
  345. package/src/models/volume-dto.ts +0 -75
  346. package/src/models/workspace-info.ts +0 -40
  347. package/src/models/workspace-state.ts +0 -39
  348. package/src/models/workspace.ts +0 -162
  349. package/tsconfig.json +0 -20
  350. package/tsconfig.lib.json +0 -9
@@ -1,108 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import type { OrganizationRole } from './organization-role'
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface OrganizationInvitation
23
- */
24
- export interface OrganizationInvitation {
25
- /**
26
- * Invitation ID
27
- * @type {string}
28
- * @memberof OrganizationInvitation
29
- */
30
- id: string
31
- /**
32
- * Email address of the invitee
33
- * @type {string}
34
- * @memberof OrganizationInvitation
35
- */
36
- email: string
37
- /**
38
- * Email address of the inviter
39
- * @type {string}
40
- * @memberof OrganizationInvitation
41
- */
42
- invitedBy: string
43
- /**
44
- * Organization ID
45
- * @type {string}
46
- * @memberof OrganizationInvitation
47
- */
48
- organizationId: string
49
- /**
50
- * Organization name
51
- * @type {string}
52
- * @memberof OrganizationInvitation
53
- */
54
- organizationName: string
55
- /**
56
- * Expiration date of the invitation
57
- * @type {Date}
58
- * @memberof OrganizationInvitation
59
- */
60
- expiresAt: Date
61
- /**
62
- * Invitation status
63
- * @type {string}
64
- * @memberof OrganizationInvitation
65
- */
66
- status: OrganizationInvitationStatusEnum
67
- /**
68
- * Member role
69
- * @type {string}
70
- * @memberof OrganizationInvitation
71
- */
72
- role: OrganizationInvitationRoleEnum
73
- /**
74
- * Assigned roles
75
- * @type {Array<OrganizationRole>}
76
- * @memberof OrganizationInvitation
77
- */
78
- assignedRoles: Array<OrganizationRole>
79
- /**
80
- * Creation timestamp
81
- * @type {Date}
82
- * @memberof OrganizationInvitation
83
- */
84
- createdAt: Date
85
- /**
86
- * Last update timestamp
87
- * @type {Date}
88
- * @memberof OrganizationInvitation
89
- */
90
- updatedAt: Date
91
- }
92
-
93
- export const OrganizationInvitationStatusEnum = {
94
- PENDING: 'pending',
95
- ACCEPTED: 'accepted',
96
- DECLINED: 'declined',
97
- CANCELLED: 'cancelled',
98
- } as const
99
-
100
- export type OrganizationInvitationStatusEnum =
101
- (typeof OrganizationInvitationStatusEnum)[keyof typeof OrganizationInvitationStatusEnum]
102
- export const OrganizationInvitationRoleEnum = {
103
- OWNER: 'owner',
104
- MEMBER: 'member',
105
- } as const
106
-
107
- export type OrganizationInvitationRoleEnum =
108
- (typeof OrganizationInvitationRoleEnum)[keyof typeof OrganizationInvitationRoleEnum]
@@ -1,78 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface OrganizationRole
19
- */
20
- export interface OrganizationRole {
21
- /**
22
- * Role ID
23
- * @type {string}
24
- * @memberof OrganizationRole
25
- */
26
- id: string
27
- /**
28
- * Role name
29
- * @type {string}
30
- * @memberof OrganizationRole
31
- */
32
- name: string
33
- /**
34
- * Role description
35
- * @type {string}
36
- * @memberof OrganizationRole
37
- */
38
- description: string
39
- /**
40
- * Roles assigned to the user
41
- * @type {Array<string>}
42
- * @memberof OrganizationRole
43
- */
44
- permissions: Array<OrganizationRolePermissionsEnum>
45
- /**
46
- * Global role flag
47
- * @type {boolean}
48
- * @memberof OrganizationRole
49
- */
50
- isGlobal: boolean
51
- /**
52
- * Creation timestamp
53
- * @type {Date}
54
- * @memberof OrganizationRole
55
- */
56
- createdAt: Date
57
- /**
58
- * Last update timestamp
59
- * @type {Date}
60
- * @memberof OrganizationRole
61
- */
62
- updatedAt: Date
63
- }
64
-
65
- export const OrganizationRolePermissionsEnum = {
66
- WRITE_REGISTRIES: 'write:registries',
67
- DELETE_REGISTRIES: 'delete:registries',
68
- WRITE_IMAGES: 'write:images',
69
- DELETE_IMAGES: 'delete:images',
70
- WRITE_SANDBOXES: 'write:sandboxes',
71
- DELETE_SANDBOXES: 'delete:sandboxes',
72
- READ_VOLUMES: 'read:volumes',
73
- WRITE_VOLUMES: 'write:volumes',
74
- DELETE_VOLUMES: 'delete:volumes',
75
- } as const
76
-
77
- export type OrganizationRolePermissionsEnum =
78
- (typeof OrganizationRolePermissionsEnum)[keyof typeof OrganizationRolePermissionsEnum]
@@ -1,80 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import type { OrganizationRole } from './organization-role'
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface OrganizationUser
23
- */
24
- export interface OrganizationUser {
25
- /**
26
- * User ID
27
- * @type {string}
28
- * @memberof OrganizationUser
29
- */
30
- userId: string
31
- /**
32
- * Organization ID
33
- * @type {string}
34
- * @memberof OrganizationUser
35
- */
36
- organizationId: string
37
- /**
38
- * User name
39
- * @type {string}
40
- * @memberof OrganizationUser
41
- */
42
- name: string
43
- /**
44
- * User email
45
- * @type {string}
46
- * @memberof OrganizationUser
47
- */
48
- email: string
49
- /**
50
- * Member role
51
- * @type {string}
52
- * @memberof OrganizationUser
53
- */
54
- role: OrganizationUserRoleEnum
55
- /**
56
- * Roles assigned to the user
57
- * @type {Array<OrganizationRole>}
58
- * @memberof OrganizationUser
59
- */
60
- assignedRoles: Array<OrganizationRole>
61
- /**
62
- * Creation timestamp
63
- * @type {Date}
64
- * @memberof OrganizationUser
65
- */
66
- createdAt: Date
67
- /**
68
- * Last update timestamp
69
- * @type {Date}
70
- * @memberof OrganizationUser
71
- */
72
- updatedAt: Date
73
- }
74
-
75
- export const OrganizationUserRoleEnum = {
76
- OWNER: 'owner',
77
- MEMBER: 'member',
78
- } as const
79
-
80
- export type OrganizationUserRoleEnum = (typeof OrganizationUserRoleEnum)[keyof typeof OrganizationUserRoleEnum]
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface Organization
19
- */
20
- export interface Organization {
21
- /**
22
- * Organization ID
23
- * @type {string}
24
- * @memberof Organization
25
- */
26
- id: string
27
- /**
28
- * Organization name
29
- * @type {string}
30
- * @memberof Organization
31
- */
32
- name: string
33
- /**
34
- * User ID of the organization creator
35
- * @type {string}
36
- * @memberof Organization
37
- */
38
- createdBy: string
39
- /**
40
- * Personal organization flag
41
- * @type {boolean}
42
- * @memberof Organization
43
- */
44
- personal: boolean
45
- /**
46
- * Creation timestamp
47
- * @type {Date}
48
- * @memberof Organization
49
- */
50
- createdAt: Date
51
- /**
52
- * Last update timestamp
53
- * @type {Date}
54
- * @memberof Organization
55
- */
56
- updatedAt: Date
57
- /**
58
- * Suspended flag
59
- * @type {boolean}
60
- * @memberof Organization
61
- */
62
- suspended: boolean
63
- /**
64
- * Suspended at
65
- * @type {Date}
66
- * @memberof Organization
67
- */
68
- suspendedAt: Date
69
- /**
70
- * Suspended reason
71
- * @type {string}
72
- * @memberof Organization
73
- */
74
- suspensionReason: string
75
- /**
76
- * Suspended until
77
- * @type {Date}
78
- * @memberof Organization
79
- */
80
- suspendedUntil: Date
81
- }
@@ -1,49 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import type { ImageDto } from './image-dto'
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface PaginatedImagesDto
23
- */
24
- export interface PaginatedImagesDto {
25
- /**
26
- *
27
- * @type {Array<ImageDto>}
28
- * @memberof PaginatedImagesDto
29
- */
30
- items: Array<ImageDto>
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof PaginatedImagesDto
35
- */
36
- total: number
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof PaginatedImagesDto
41
- */
42
- page: number
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof PaginatedImagesDto
47
- */
48
- totalPages: number
49
- }
@@ -1,57 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface RegistryPushAccessDto
19
- */
20
- export interface RegistryPushAccessDto {
21
- /**
22
- * Temporary username for registry authentication
23
- * @type {string}
24
- * @memberof RegistryPushAccessDto
25
- */
26
- username: string
27
- /**
28
- * Temporary secret for registry authentication
29
- * @type {string}
30
- * @memberof RegistryPushAccessDto
31
- */
32
- secret: string
33
- /**
34
- * Registry URL
35
- * @type {string}
36
- * @memberof RegistryPushAccessDto
37
- */
38
- registryUrl: string
39
- /**
40
- * Registry ID
41
- * @type {string}
42
- * @memberof RegistryPushAccessDto
43
- */
44
- registryId: string
45
- /**
46
- * Registry project ID
47
- * @type {string}
48
- * @memberof RegistryPushAccessDto
49
- */
50
- project: string
51
- /**
52
- * Token expiration time in ISO format
53
- * @type {string}
54
- * @memberof RegistryPushAccessDto
55
- */
56
- expiresAt: string
57
- }
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface SessionExecuteRequest
19
- */
20
- export interface SessionExecuteRequest {
21
- /**
22
- * The command to execute
23
- * @type {string}
24
- * @memberof SessionExecuteRequest
25
- */
26
- command: string
27
- /**
28
- * Whether to execute the command asynchronously
29
- * @type {boolean}
30
- * @memberof SessionExecuteRequest
31
- */
32
- runAsync?: boolean
33
- /**
34
- * Deprecated: Use runAsync instead. Whether to execute the command asynchronously
35
- * @type {boolean}
36
- * @memberof SessionExecuteRequest
37
- * @deprecated
38
- */
39
- async?: boolean
40
- }
@@ -1,39 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface SessionExecuteResponse
19
- */
20
- export interface SessionExecuteResponse {
21
- /**
22
- * The ID of the executed command
23
- * @type {string}
24
- * @memberof SessionExecuteResponse
25
- */
26
- cmdId?: string
27
- /**
28
- * The output of the executed command
29
- * @type {string}
30
- * @memberof SessionExecuteResponse
31
- */
32
- output?: string
33
- /**
34
- * The exit code of the executed command
35
- * @type {number}
36
- * @memberof SessionExecuteResponse
37
- */
38
- exitCode?: number
39
- }
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import type { Command } from './command'
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface Session
23
- */
24
- export interface Session {
25
- /**
26
- * The ID of the session
27
- * @type {string}
28
- * @memberof Session
29
- */
30
- sessionId: string
31
- /**
32
- * The list of commands executed in this session
33
- * @type {Array<Command>}
34
- * @memberof Session
35
- */
36
- commands: Array<Command> | null
37
- }
@@ -1,63 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface StorageAccessDto
19
- */
20
- export interface StorageAccessDto {
21
- /**
22
- * Access key for storage authentication
23
- * @type {string}
24
- * @memberof StorageAccessDto
25
- */
26
- accessKey: string
27
- /**
28
- * Secret key for storage authentication
29
- * @type {string}
30
- * @memberof StorageAccessDto
31
- */
32
- secret: string
33
- /**
34
- * Session token for storage authentication
35
- * @type {string}
36
- * @memberof StorageAccessDto
37
- */
38
- sessionToken: string
39
- /**
40
- * Storage URL
41
- * @type {string}
42
- * @memberof StorageAccessDto
43
- */
44
- storageUrl: string
45
- /**
46
- * Registry ID
47
- * @type {string}
48
- * @memberof StorageAccessDto
49
- */
50
- registryId: string
51
- /**
52
- * Organization ID
53
- * @type {string}
54
- * @memberof StorageAccessDto
55
- */
56
- organizationId: string
57
- /**
58
- * S3 bucket name
59
- * @type {string}
60
- * @memberof StorageAccessDto
61
- */
62
- bucket: string
63
- }
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona
5
- * Daytona AI platform API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support@daytona.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface UpdateOrganizationInvitation
19
- */
20
- export interface UpdateOrganizationInvitation {
21
- /**
22
- * Organization member role
23
- * @type {string}
24
- * @memberof UpdateOrganizationInvitation
25
- */
26
- role: UpdateOrganizationInvitationRoleEnum
27
- /**
28
- * Array of role IDs
29
- * @type {Array<string>}
30
- * @memberof UpdateOrganizationInvitation
31
- */
32
- assignedRoleIds: Array<string>
33
- /**
34
- * Expiration date of the invitation
35
- * @type {Date}
36
- * @memberof UpdateOrganizationInvitation
37
- */
38
- expiresAt?: Date
39
- }
40
-
41
- export const UpdateOrganizationInvitationRoleEnum = {
42
- OWNER: 'owner',
43
- MEMBER: 'member',
44
- } as const
45
-
46
- export type UpdateOrganizationInvitationRoleEnum =
47
- (typeof UpdateOrganizationInvitationRoleEnum)[keyof typeof UpdateOrganizationInvitationRoleEnum]