@daytonaio/api-client 0.14.0 → 0.16.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 (345) hide show
  1. package/.openapi-generator/FILES +19 -4
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +7 -0
  4. package/api/api-keys-api.ts +383 -279
  5. package/api/docker-registry-api.ts +714 -504
  6. package/api/images-api.ts +580 -318
  7. package/api/nodes-api.ts +250 -213
  8. package/api/organizations-api.ts +2390 -0
  9. package/api/preview-api.ts +326 -0
  10. package/api/toolbox-api.ts +4532 -2915
  11. package/api/users-api.ts +335 -373
  12. package/api/workspace-api.ts +1506 -893
  13. package/api.ts +10 -11
  14. package/base.ts +35 -30
  15. package/common.ts +78 -66
  16. package/configuration.ts +102 -89
  17. package/dist/api/api-keys-api.d.ts +32 -16
  18. package/dist/api/api-keys-api.js +92 -73
  19. package/dist/api/docker-registry-api.d.ts +72 -44
  20. package/dist/api/docker-registry-api.js +182 -138
  21. package/dist/api/images-api.d.ts +74 -16
  22. package/dist/api/images-api.js +181 -73
  23. package/dist/api/nodes-api.js +37 -47
  24. package/dist/api/organizations-api.d.ts +856 -0
  25. package/dist/api/organizations-api.js +1746 -0
  26. package/dist/api/preview-api.d.ts +143 -0
  27. package/dist/api/preview-api.js +266 -0
  28. package/dist/api/toolbox-api.d.ts +292 -144
  29. package/dist/api/toolbox-api.js +914 -623
  30. package/dist/api/users-api.d.ts +9 -47
  31. package/dist/api/users-api.js +57 -144
  32. package/dist/api/workspace-api.d.ts +199 -101
  33. package/dist/api/workspace-api.js +469 -280
  34. package/dist/api.d.ts +2 -0
  35. package/dist/api.js +2 -0
  36. package/dist/base.js +6 -7
  37. package/dist/common.d.ts +3 -3
  38. package/dist/common.js +27 -45
  39. package/dist/configuration.js +2 -1
  40. package/dist/esm/api/api-keys-api.d.ts +32 -16
  41. package/dist/esm/api/api-keys-api.js +93 -74
  42. package/dist/esm/api/docker-registry-api.d.ts +72 -44
  43. package/dist/esm/api/docker-registry-api.js +183 -139
  44. package/dist/esm/api/images-api.d.ts +74 -16
  45. package/dist/esm/api/images-api.js +182 -74
  46. package/dist/esm/api/nodes-api.js +38 -48
  47. package/dist/esm/api/organizations-api.d.ts +856 -0
  48. package/dist/esm/api/organizations-api.js +1739 -0
  49. package/dist/esm/api/preview-api.d.ts +143 -0
  50. package/dist/esm/api/preview-api.js +259 -0
  51. package/dist/esm/api/toolbox-api.d.ts +292 -144
  52. package/dist/esm/api/toolbox-api.js +915 -624
  53. package/dist/esm/api/users-api.d.ts +9 -47
  54. package/dist/esm/api/users-api.js +58 -145
  55. package/dist/esm/api/workspace-api.d.ts +199 -101
  56. package/dist/esm/api/workspace-api.js +470 -281
  57. package/dist/esm/api.d.ts +2 -0
  58. package/dist/esm/api.js +2 -0
  59. package/dist/esm/base.js +6 -7
  60. package/dist/esm/common.d.ts +3 -3
  61. package/dist/esm/common.js +28 -46
  62. package/dist/esm/configuration.js +2 -1
  63. package/dist/esm/index.d.ts +3 -3
  64. package/dist/esm/index.js +3 -3
  65. package/dist/esm/models/api-key-list.d.ts +19 -4
  66. package/dist/esm/models/api-key-list.js +8 -1
  67. package/dist/esm/models/api-key-response.d.ts +19 -4
  68. package/dist/esm/models/api-key-response.js +8 -1
  69. package/dist/esm/models/command.d.ts +3 -3
  70. package/dist/esm/models/completion-context.d.ts +2 -2
  71. package/dist/esm/models/completion-item.d.ts +7 -7
  72. package/dist/esm/models/completion-list.d.ts +2 -2
  73. package/dist/esm/models/create-api-key.d.ts +16 -1
  74. package/dist/esm/models/create-api-key.js +8 -1
  75. package/dist/esm/models/create-docker-registry.d.ts +9 -9
  76. package/dist/esm/models/create-docker-registry.js +2 -2
  77. package/dist/esm/models/create-image.d.ts +8 -2
  78. package/dist/esm/models/create-node.d.ts +13 -13
  79. package/dist/esm/models/create-node.js +2 -2
  80. package/dist/esm/models/create-organization-invitation.d.ts +47 -0
  81. package/dist/esm/models/create-organization-invitation.js +17 -0
  82. package/dist/esm/models/create-organization-quota.d.ts +84 -0
  83. package/dist/esm/models/create-organization-role.d.ts +45 -0
  84. package/dist/esm/models/create-organization-role.js +21 -0
  85. package/dist/esm/models/create-organization.d.ts +90 -0
  86. package/dist/esm/models/create-organization.js +14 -0
  87. package/dist/esm/models/create-session-request.d.ts +1 -1
  88. package/dist/esm/models/create-user.d.ts +14 -56
  89. package/dist/esm/models/create-user.js +4 -1
  90. package/dist/esm/models/create-workspace.d.ts +16 -16
  91. package/dist/esm/models/create-workspace.js +2 -2
  92. package/dist/esm/models/docker-registry.d.ts +12 -12
  93. package/dist/esm/models/docker-registry.js +2 -2
  94. package/dist/esm/models/execute-request.d.ts +3 -3
  95. package/dist/esm/models/execute-response.d.ts +2 -2
  96. package/dist/esm/models/file-info.d.ts +8 -8
  97. package/dist/esm/models/file-status.d.ts +4 -4
  98. package/dist/esm/models/git-add-request.d.ts +2 -2
  99. package/dist/esm/models/git-branch-request.d.ts +2 -2
  100. package/dist/esm/models/git-clone-request.d.ts +6 -6
  101. package/dist/esm/models/git-commit-info.d.ts +5 -5
  102. package/dist/esm/models/git-commit-request.d.ts +4 -4
  103. package/dist/esm/models/git-commit-response.d.ts +1 -1
  104. package/dist/esm/models/git-repo-request.d.ts +3 -3
  105. package/dist/esm/models/git-status.d.ts +4 -4
  106. package/dist/esm/models/image-dto.d.ts +20 -14
  107. package/dist/esm/models/image-state.d.ts +1 -1
  108. package/dist/esm/models/image-state.js +1 -1
  109. package/dist/esm/models/index.d.ts +17 -1
  110. package/dist/esm/models/index.js +17 -1
  111. package/dist/esm/models/list-branch-response.d.ts +1 -1
  112. package/dist/esm/models/lsp-completion-params.d.ts +5 -5
  113. package/dist/esm/models/lsp-document-request.d.ts +3 -3
  114. package/dist/esm/models/lsp-location.d.ts +2 -2
  115. package/dist/esm/models/lsp-server-request.d.ts +2 -2
  116. package/dist/esm/models/lsp-symbol.d.ts +3 -3
  117. package/dist/esm/models/match.d.ts +3 -3
  118. package/dist/esm/models/organization-invitation.d.ts +97 -0
  119. package/dist/esm/models/organization-invitation.js +23 -0
  120. package/dist/esm/models/organization-role.d.ts +69 -0
  121. package/dist/esm/models/organization-role.js +21 -0
  122. package/dist/esm/models/organization-user.d.ts +72 -0
  123. package/dist/esm/models/organization-user.js +17 -0
  124. package/dist/esm/models/organization.d.ts +54 -0
  125. package/dist/esm/models/organization.js +14 -0
  126. package/dist/esm/models/paginated-images-dto.d.ts +4 -4
  127. package/dist/esm/models/port-preview-url.d.ts +30 -0
  128. package/dist/esm/models/port-preview-url.js +14 -0
  129. package/dist/esm/models/position.d.ts +2 -2
  130. package/dist/esm/models/project-dir-response.d.ts +1 -1
  131. package/dist/esm/models/range.d.ts +2 -2
  132. package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
  133. package/dist/esm/models/replace-request.d.ts +3 -3
  134. package/dist/esm/models/replace-result.d.ts +3 -3
  135. package/dist/esm/models/search-files-response.d.ts +1 -1
  136. package/dist/esm/models/session-execute-request.d.ts +9 -2
  137. package/dist/esm/models/session-execute-response.d.ts +3 -3
  138. package/dist/esm/models/session.d.ts +2 -2
  139. package/dist/esm/models/set-image-general-status.d.ts +24 -0
  140. package/dist/esm/models/set-image-general-status.js +14 -0
  141. package/dist/esm/models/toggle-state.d.ts +1 -1
  142. package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
  143. package/dist/esm/models/update-assigned-organization-roles.js +14 -0
  144. package/dist/esm/models/update-docker-registry.d.ts +3 -3
  145. package/dist/esm/models/update-organization-invitation.d.ts +41 -0
  146. package/dist/esm/models/update-organization-invitation.js +17 -0
  147. package/dist/esm/models/update-organization-member-role.d.ts +29 -0
  148. package/dist/esm/models/update-organization-member-role.js +17 -0
  149. package/dist/esm/models/update-organization-quota.d.ts +84 -0
  150. package/dist/esm/models/update-organization-quota.js +14 -0
  151. package/dist/esm/models/update-organization-role.d.ts +45 -0
  152. package/dist/esm/models/update-organization-role.js +21 -0
  153. package/dist/esm/models/usage-overview.d.ts +15 -15
  154. package/dist/esm/models/user-public-key.d.ts +30 -0
  155. package/dist/esm/models/user-public-key.js +14 -0
  156. package/dist/esm/models/user.d.ts +43 -0
  157. package/dist/esm/models/user.js +14 -0
  158. package/dist/esm/models/workspace-info.d.ts +3 -3
  159. package/dist/esm/models/workspace-labels.d.ts +1 -1
  160. package/dist/esm/models/workspace-state.d.ts +1 -1
  161. package/dist/esm/models/workspace-state.js +1 -1
  162. package/dist/esm/models/workspace.d.ts +19 -19
  163. package/dist/esm/models/workspace.js +1 -1
  164. package/dist/index.d.ts +3 -3
  165. package/dist/models/api-key-list.d.ts +19 -4
  166. package/dist/models/api-key-list.js +9 -0
  167. package/dist/models/api-key-response.d.ts +19 -4
  168. package/dist/models/api-key-response.js +9 -0
  169. package/dist/models/command.d.ts +3 -3
  170. package/dist/models/completion-context.d.ts +2 -2
  171. package/dist/models/completion-item.d.ts +7 -7
  172. package/dist/models/completion-list.d.ts +2 -2
  173. package/dist/models/create-api-key.d.ts +16 -1
  174. package/dist/models/create-api-key.js +9 -0
  175. package/dist/models/create-docker-registry.d.ts +9 -9
  176. package/dist/models/create-docker-registry.js +2 -2
  177. package/dist/models/create-image.d.ts +8 -2
  178. package/dist/models/create-node.d.ts +13 -13
  179. package/dist/models/create-node.js +2 -2
  180. package/dist/models/create-organization-invitation.d.ts +47 -0
  181. package/dist/models/create-organization-invitation.js +20 -0
  182. package/dist/models/create-organization-quota.d.ts +84 -0
  183. package/dist/models/create-organization-role.d.ts +45 -0
  184. package/dist/models/create-organization-role.js +24 -0
  185. package/dist/models/create-organization.d.ts +90 -0
  186. package/dist/models/create-organization.js +15 -0
  187. package/dist/models/create-session-request.d.ts +1 -1
  188. package/dist/models/create-user.d.ts +14 -56
  189. package/dist/models/create-user.js +5 -0
  190. package/dist/models/create-workspace.d.ts +16 -16
  191. package/dist/models/create-workspace.js +2 -2
  192. package/dist/models/docker-registry.d.ts +12 -12
  193. package/dist/models/docker-registry.js +2 -2
  194. package/dist/models/execute-request.d.ts +3 -3
  195. package/dist/models/execute-response.d.ts +2 -2
  196. package/dist/models/file-info.d.ts +8 -8
  197. package/dist/models/file-status.d.ts +4 -4
  198. package/dist/models/git-add-request.d.ts +2 -2
  199. package/dist/models/git-branch-request.d.ts +2 -2
  200. package/dist/models/git-clone-request.d.ts +6 -6
  201. package/dist/models/git-commit-info.d.ts +5 -5
  202. package/dist/models/git-commit-request.d.ts +4 -4
  203. package/dist/models/git-commit-response.d.ts +1 -1
  204. package/dist/models/git-repo-request.d.ts +3 -3
  205. package/dist/models/git-status.d.ts +4 -4
  206. package/dist/models/image-dto.d.ts +20 -14
  207. package/dist/models/image-state.d.ts +1 -1
  208. package/dist/models/image-state.js +1 -1
  209. package/dist/models/index.d.ts +17 -1
  210. package/dist/models/index.js +17 -1
  211. package/dist/models/list-branch-response.d.ts +1 -1
  212. package/dist/models/lsp-completion-params.d.ts +5 -5
  213. package/dist/models/lsp-document-request.d.ts +3 -3
  214. package/dist/models/lsp-location.d.ts +2 -2
  215. package/dist/models/lsp-server-request.d.ts +2 -2
  216. package/dist/models/lsp-symbol.d.ts +3 -3
  217. package/dist/models/match.d.ts +3 -3
  218. package/dist/models/organization-invitation.d.ts +97 -0
  219. package/dist/models/organization-invitation.js +26 -0
  220. package/dist/models/organization-role.d.ts +69 -0
  221. package/dist/models/organization-role.js +24 -0
  222. package/dist/models/organization-user.d.ts +72 -0
  223. package/dist/models/organization-user.js +20 -0
  224. package/dist/models/organization.d.ts +54 -0
  225. package/dist/models/organization.js +15 -0
  226. package/dist/models/paginated-images-dto.d.ts +4 -4
  227. package/dist/models/port-preview-url.d.ts +30 -0
  228. package/dist/models/port-preview-url.js +15 -0
  229. package/dist/models/position.d.ts +2 -2
  230. package/dist/models/project-dir-response.d.ts +1 -1
  231. package/dist/models/range.d.ts +2 -2
  232. package/dist/models/registry-push-access-dto.d.ts +6 -6
  233. package/dist/models/replace-request.d.ts +3 -3
  234. package/dist/models/replace-result.d.ts +3 -3
  235. package/dist/models/search-files-response.d.ts +1 -1
  236. package/dist/models/session-execute-request.d.ts +9 -2
  237. package/dist/models/session-execute-response.d.ts +3 -3
  238. package/dist/models/session.d.ts +2 -2
  239. package/dist/models/set-image-general-status.d.ts +24 -0
  240. package/dist/models/set-image-general-status.js +15 -0
  241. package/dist/models/toggle-state.d.ts +1 -1
  242. package/dist/models/update-assigned-organization-roles.d.ts +24 -0
  243. package/dist/models/update-assigned-organization-roles.js +15 -0
  244. package/dist/models/update-docker-registry.d.ts +3 -3
  245. package/dist/models/update-organization-invitation.d.ts +41 -0
  246. package/dist/models/update-organization-invitation.js +20 -0
  247. package/dist/models/update-organization-member-role.d.ts +29 -0
  248. package/dist/models/update-organization-member-role.js +20 -0
  249. package/dist/models/update-organization-quota.d.ts +84 -0
  250. package/dist/models/update-organization-quota.js +15 -0
  251. package/dist/models/update-organization-role.d.ts +45 -0
  252. package/dist/models/update-organization-role.js +24 -0
  253. package/dist/models/usage-overview.d.ts +15 -15
  254. package/dist/models/user-public-key.d.ts +30 -0
  255. package/dist/models/user-public-key.js +15 -0
  256. package/dist/models/user.d.ts +43 -0
  257. package/dist/models/user.js +15 -0
  258. package/dist/models/workspace-info.d.ts +3 -3
  259. package/dist/models/workspace-labels.d.ts +1 -1
  260. package/dist/models/workspace-state.d.ts +1 -1
  261. package/dist/models/workspace-state.js +1 -1
  262. package/dist/models/workspace.d.ts +19 -19
  263. package/dist/models/workspace.js +1 -1
  264. package/index.ts +4 -5
  265. package/models/api-key-list.ts +36 -22
  266. package/models/api-key-response.ts +37 -22
  267. package/models/command.ts +20 -23
  268. package/models/completion-context.ts +14 -17
  269. package/models/completion-item.ts +44 -47
  270. package/models/completion-list.ts +15 -17
  271. package/models/create-api-key.ts +24 -10
  272. package/models/create-docker-registry.ts +51 -54
  273. package/models/create-image.ts +20 -17
  274. package/models/create-node.ts +78 -82
  275. package/models/create-organization-invitation.ts +53 -0
  276. package/models/create-organization-quota.ts +87 -0
  277. package/models/create-organization-role.ts +51 -0
  278. package/models/create-organization.ts +93 -0
  279. package/models/create-session-request.ts +8 -11
  280. package/models/create-user.ts +41 -81
  281. package/models/create-workspace.ts +96 -100
  282. package/models/docker-registry.ts +57 -60
  283. package/models/execute-request.ts +20 -23
  284. package/models/execute-response.ts +14 -17
  285. package/models/file-info.ts +50 -53
  286. package/models/file-status.ts +26 -29
  287. package/models/git-add-request.ts +14 -17
  288. package/models/git-branch-request.ts +14 -17
  289. package/models/git-clone-request.ts +38 -41
  290. package/models/git-commit-info.ts +32 -35
  291. package/models/git-commit-request.ts +26 -29
  292. package/models/git-commit-response.ts +8 -11
  293. package/models/git-repo-request.ts +20 -23
  294. package/models/git-status.ts +33 -35
  295. package/models/image-dto.ts +75 -73
  296. package/models/image-state.ts +12 -17
  297. package/models/index.ts +70 -54
  298. package/models/list-branch-response.ts +8 -11
  299. package/models/lsp-completion-params.ts +34 -36
  300. package/models/lsp-document-request.ts +20 -23
  301. package/models/lsp-location.ts +15 -17
  302. package/models/lsp-server-request.ts +14 -17
  303. package/models/lsp-symbol.ts +21 -23
  304. package/models/match.ts +20 -23
  305. package/models/organization-invitation.ts +108 -0
  306. package/models/organization-role.ts +75 -0
  307. package/models/organization-user.ts +80 -0
  308. package/models/organization.ts +57 -0
  309. package/models/paginated-images-dto.ts +27 -29
  310. package/models/port-preview-url.ts +33 -0
  311. package/models/position.ts +14 -17
  312. package/models/project-dir-response.ts +8 -11
  313. package/models/range.ts +15 -17
  314. package/models/registry-push-access-dto.ts +38 -41
  315. package/models/replace-request.ts +20 -23
  316. package/models/replace-result.ts +20 -23
  317. package/models/search-files-response.ts +8 -11
  318. package/models/session-execute-request.ts +21 -17
  319. package/models/session-execute-response.ts +20 -23
  320. package/models/session.ts +15 -17
  321. package/models/set-image-general-status.ts +27 -0
  322. package/models/toggle-state.ts +8 -11
  323. package/models/update-assigned-organization-roles.ts +27 -0
  324. package/models/update-docker-registry.ts +20 -23
  325. package/models/update-organization-invitation.ts +47 -0
  326. package/models/update-organization-member-role.ts +35 -0
  327. package/models/update-organization-quota.ts +87 -0
  328. package/models/update-organization-role.ts +51 -0
  329. package/models/usage-overview.ts +92 -95
  330. package/models/user-public-key.ts +33 -0
  331. package/models/user.ts +49 -0
  332. package/models/workspace-info.ts +20 -23
  333. package/models/workspace-labels.ts +8 -11
  334. package/models/workspace-state.ts +19 -24
  335. package/models/workspace.ts +119 -122
  336. package/package.json +2 -2
  337. package/project.json +49 -0
  338. package/tsconfig.json +3 -8
  339. package/README.md +0 -46
  340. package/dist/esm/models/update-user-quota-dto.d.ts +0 -84
  341. package/dist/models/update-user-quota-dto.d.ts +0 -84
  342. package/git_push.sh +0 -57
  343. package/models/update-user-quota-dto.ts +0 -90
  344. /package/dist/esm/models/{update-user-quota-dto.js → create-organization-quota.js} +0 -0
  345. /package/dist/models/{update-user-quota-dto.js → create-organization-quota.js} +0 -0
@@ -5,56 +5,53 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface RegistryPushAccessDto
21
19
  */
22
20
  export interface RegistryPushAccessDto {
23
- /**
24
- * Temporary username for registry authentication
25
- * @type {string}
26
- * @memberof RegistryPushAccessDto
27
- */
28
- 'username': string;
29
- /**
30
- * Temporary secret for registry authentication
31
- * @type {string}
32
- * @memberof RegistryPushAccessDto
33
- */
34
- 'secret': string;
35
- /**
36
- * Registry URL
37
- * @type {string}
38
- * @memberof RegistryPushAccessDto
39
- */
40
- 'registryUrl': string;
41
- /**
42
- * Registry ID
43
- * @type {string}
44
- * @memberof RegistryPushAccessDto
45
- */
46
- 'registryId': string;
47
- /**
48
- * Registry project ID
49
- * @type {string}
50
- * @memberof RegistryPushAccessDto
51
- */
52
- 'project': string;
53
- /**
54
- * Token expiration time in ISO format
55
- * @type {string}
56
- * @memberof RegistryPushAccessDto
57
- */
58
- 'expiresAt': string;
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
59
57
  }
60
-
@@ -5,38 +5,35 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface ReplaceRequest
21
19
  */
22
20
  export interface ReplaceRequest {
23
- /**
24
- *
25
- * @type {Array<string>}
26
- * @memberof ReplaceRequest
27
- */
28
- 'files': Array<string>;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof ReplaceRequest
33
- */
34
- 'pattern': string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof ReplaceRequest
39
- */
40
- 'newValue': string;
21
+ /**
22
+ *
23
+ * @type {Array<string>}
24
+ * @memberof ReplaceRequest
25
+ */
26
+ files: Array<string>
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ReplaceRequest
31
+ */
32
+ pattern: string
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof ReplaceRequest
37
+ */
38
+ newValue: string
41
39
  }
42
-
@@ -5,38 +5,35 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface ReplaceResult
21
19
  */
22
20
  export interface ReplaceResult {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof ReplaceResult
27
- */
28
- 'file'?: string;
29
- /**
30
- *
31
- * @type {boolean}
32
- * @memberof ReplaceResult
33
- */
34
- 'success'?: boolean;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof ReplaceResult
39
- */
40
- 'error'?: string;
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ReplaceResult
25
+ */
26
+ file?: string
27
+ /**
28
+ *
29
+ * @type {boolean}
30
+ * @memberof ReplaceResult
31
+ */
32
+ success?: boolean
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof ReplaceResult
37
+ */
38
+ error?: string
41
39
  }
42
-
@@ -5,26 +5,23 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface SearchFilesResponse
21
19
  */
22
20
  export interface SearchFilesResponse {
23
- /**
24
- *
25
- * @type {Array<string>}
26
- * @memberof SearchFilesResponse
27
- */
28
- 'files': Array<string>;
21
+ /**
22
+ *
23
+ * @type {Array<string>}
24
+ * @memberof SearchFilesResponse
25
+ */
26
+ files: Array<string>
29
27
  }
30
-
@@ -5,32 +5,36 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface SessionExecuteRequest
21
19
  */
22
20
  export interface SessionExecuteRequest {
23
- /**
24
- * The command to execute
25
- * @type {string}
26
- * @memberof SessionExecuteRequest
27
- */
28
- 'command': string;
29
- /**
30
- * Whether to execute the command asynchronously
31
- * @type {boolean}
32
- * @memberof SessionExecuteRequest
33
- */
34
- 'async'?: boolean;
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
35
40
  }
36
-
@@ -5,38 +5,35 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface SessionExecuteResponse
21
19
  */
22
20
  export interface SessionExecuteResponse {
23
- /**
24
- * The ID of the executed command
25
- * @type {string}
26
- * @memberof SessionExecuteResponse
27
- */
28
- 'cmdId'?: string;
29
- /**
30
- * The output of the executed command
31
- * @type {string}
32
- * @memberof SessionExecuteResponse
33
- */
34
- 'output'?: string;
35
- /**
36
- * The exit code of the executed command
37
- * @type {number}
38
- * @memberof SessionExecuteResponse
39
- */
40
- 'exitCode'?: number;
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
41
39
  }
42
-
package/models/session.ts CHANGED
@@ -5,35 +5,33 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  // May contain unused imports in some cases
17
16
  // @ts-ignore
18
- import type { Command } from './command';
17
+ import type { Command } from './command'
19
18
 
20
19
  /**
21
- *
20
+ *
22
21
  * @export
23
22
  * @interface Session
24
23
  */
25
24
  export interface Session {
26
- /**
27
- * The ID of the session
28
- * @type {string}
29
- * @memberof Session
30
- */
31
- 'sessionId': string;
32
- /**
33
- * The list of commands executed in this session
34
- * @type {Array<Command>}
35
- * @memberof Session
36
- */
37
- 'commands': Array<Command> | null;
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
38
37
  }
39
-
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
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 SetImageGeneralStatus
19
+ */
20
+ export interface SetImageGeneralStatus {
21
+ /**
22
+ * Whether the image is general
23
+ * @type {boolean}
24
+ * @memberof SetImageGeneralStatus
25
+ */
26
+ general: boolean
27
+ }
@@ -5,26 +5,23 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface ToggleState
21
19
  */
22
20
  export interface ToggleState {
23
- /**
24
- * Enable or disable the image/tag
25
- * @type {boolean}
26
- * @memberof ToggleState
27
- */
28
- 'enabled': boolean;
21
+ /**
22
+ * Enable or disable the image/tag
23
+ * @type {boolean}
24
+ * @memberof ToggleState
25
+ */
26
+ enabled: boolean
29
27
  }
30
-
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
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 UpdateAssignedOrganizationRoles
19
+ */
20
+ export interface UpdateAssignedOrganizationRoles {
21
+ /**
22
+ * Array of role IDs
23
+ * @type {Array<string>}
24
+ * @memberof UpdateAssignedOrganizationRoles
25
+ */
26
+ roleIds: Array<string>
27
+ }
@@ -5,38 +5,35 @@
5
5
  * Daytona Workspaces API Docs
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
-
17
15
  /**
18
- *
16
+ *
19
17
  * @export
20
18
  * @interface UpdateDockerRegistry
21
19
  */
22
20
  export interface UpdateDockerRegistry {
23
- /**
24
- * Registry name
25
- * @type {string}
26
- * @memberof UpdateDockerRegistry
27
- */
28
- 'name': string;
29
- /**
30
- * Registry username
31
- * @type {string}
32
- * @memberof UpdateDockerRegistry
33
- */
34
- 'username': string;
35
- /**
36
- * Registry password
37
- * @type {string}
38
- * @memberof UpdateDockerRegistry
39
- */
40
- 'password'?: string;
21
+ /**
22
+ * Registry name
23
+ * @type {string}
24
+ * @memberof UpdateDockerRegistry
25
+ */
26
+ name: string
27
+ /**
28
+ * Registry username
29
+ * @type {string}
30
+ * @memberof UpdateDockerRegistry
31
+ */
32
+ username: string
33
+ /**
34
+ * Registry password
35
+ * @type {string}
36
+ * @memberof UpdateDockerRegistry
37
+ */
38
+ password?: string
41
39
  }
42
-
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
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]
@@ -0,0 +1,35 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
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 UpdateOrganizationMemberRole
19
+ */
20
+ export interface UpdateOrganizationMemberRole {
21
+ /**
22
+ * Organization member role
23
+ * @type {string}
24
+ * @memberof UpdateOrganizationMemberRole
25
+ */
26
+ role: UpdateOrganizationMemberRoleRoleEnum
27
+ }
28
+
29
+ export const UpdateOrganizationMemberRoleRoleEnum = {
30
+ OWNER: 'owner',
31
+ MEMBER: 'member',
32
+ } as const
33
+
34
+ export type UpdateOrganizationMemberRoleRoleEnum =
35
+ (typeof UpdateOrganizationMemberRoleRoleEnum)[keyof typeof UpdateOrganizationMemberRoleRoleEnum]