@daytona/api-client 0.161.0-alpha.2

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 (607) hide show
  1. package/package.json +25 -0
  2. package/src/api/admin-api.d.ts +242 -0
  3. package/src/api/admin-api.js +464 -0
  4. package/src/api/admin-api.js.map +1 -0
  5. package/src/api/api-keys-api.d.ts +261 -0
  6. package/src/api/api-keys-api.js +499 -0
  7. package/src/api/api-keys-api.js.map +1 -0
  8. package/src/api/audit-api.d.ts +143 -0
  9. package/src/api/audit-api.js +266 -0
  10. package/src/api/audit-api.js.map +1 -0
  11. package/src/api/config-api.d.ts +70 -0
  12. package/src/api/config-api.js +117 -0
  13. package/src/api/config-api.js.map +1 -0
  14. package/src/api/docker-registry-api.d.ts +303 -0
  15. package/src/api/docker-registry-api.js +581 -0
  16. package/src/api/docker-registry-api.js.map +1 -0
  17. package/src/api/health-api.d.ts +91 -0
  18. package/src/api/health-api.js +165 -0
  19. package/src/api/health-api.js.map +1 -0
  20. package/src/api/jobs-api.d.ts +197 -0
  21. package/src/api/jobs-api.js +365 -0
  22. package/src/api/jobs-api.js.map +1 -0
  23. package/src/api/object-storage-api.d.ts +74 -0
  24. package/src/api/object-storage-api.js +128 -0
  25. package/src/api/object-storage-api.js.map +1 -0
  26. package/src/api/organizations-api.d.ts +1451 -0
  27. package/src/api/organizations-api.js +2845 -0
  28. package/src/api/organizations-api.js.map +1 -0
  29. package/src/api/preview-api.d.ts +180 -0
  30. package/src/api/preview-api.js +331 -0
  31. package/src/api/preview-api.js.map +1 -0
  32. package/src/api/regions-api.d.ts +70 -0
  33. package/src/api/regions-api.js +121 -0
  34. package/src/api/regions-api.js.map +1 -0
  35. package/src/api/runners-api.d.ts +425 -0
  36. package/src/api/runners-api.js +830 -0
  37. package/src/api/runners-api.js.map +1 -0
  38. package/src/api/sandbox-api.d.ts +1495 -0
  39. package/src/api/sandbox-api.js +2871 -0
  40. package/src/api/sandbox-api.js.map +1 -0
  41. package/src/api/snapshots-api.d.ts +461 -0
  42. package/src/api/snapshots-api.js +867 -0
  43. package/src/api/snapshots-api.js.map +1 -0
  44. package/src/api/toolbox-api.d.ts +3241 -0
  45. package/src/api/toolbox-api.js +6071 -0
  46. package/src/api/toolbox-api.js.map +1 -0
  47. package/src/api/users-api.d.ts +329 -0
  48. package/src/api/users-api.js +645 -0
  49. package/src/api/users-api.js.map +1 -0
  50. package/src/api/volumes-api.d.ts +227 -0
  51. package/src/api/volumes-api.js +432 -0
  52. package/src/api/volumes-api.js.map +1 -0
  53. package/src/api/webhooks-api.d.ts +270 -0
  54. package/src/api/webhooks-api.js +507 -0
  55. package/src/api/webhooks-api.js.map +1 -0
  56. package/src/api/workspace-api.d.ts +654 -0
  57. package/src/api/workspace-api.js +1220 -0
  58. package/src/api/workspace-api.js.map +1 -0
  59. package/src/api.d.ts +30 -0
  60. package/src/api.js +49 -0
  61. package/src/api.js.map +1 -0
  62. package/src/base.d.ts +66 -0
  63. package/src/base.js +69 -0
  64. package/src/base.js.map +1 -0
  65. package/src/common.d.ts +65 -0
  66. package/src/common.js +146 -0
  67. package/src/common.js.map +1 -0
  68. package/src/configuration.d.ts +91 -0
  69. package/src/configuration.js +107 -0
  70. package/src/configuration.js.map +1 -0
  71. package/src/index.d.ts +14 -0
  72. package/src/index.js +33 -0
  73. package/src/index.js.map +1 -0
  74. package/src/models/account-provider.d.ts +30 -0
  75. package/src/models/account-provider.js +16 -0
  76. package/src/models/account-provider.js.map +1 -0
  77. package/src/models/admin-create-runner.d.ts +78 -0
  78. package/src/models/admin-create-runner.js +16 -0
  79. package/src/models/admin-create-runner.js.map +1 -0
  80. package/src/models/announcement.d.ts +30 -0
  81. package/src/models/announcement.js +16 -0
  82. package/src/models/announcement.js.map +1 -0
  83. package/src/models/api-key-list.d.ts +78 -0
  84. package/src/models/api-key-list.js +34 -0
  85. package/src/models/api-key-list.js.map +1 -0
  86. package/src/models/api-key-response.d.ts +66 -0
  87. package/src/models/api-key-response.js +34 -0
  88. package/src/models/api-key-response.js.map +1 -0
  89. package/src/models/audit-log.d.ts +104 -0
  90. package/src/models/audit-log.js +16 -0
  91. package/src/models/audit-log.js.map +1 -0
  92. package/src/models/build-info.d.ts +48 -0
  93. package/src/models/build-info.js +16 -0
  94. package/src/models/build-info.js.map +1 -0
  95. package/src/models/command.d.ts +36 -0
  96. package/src/models/command.js +16 -0
  97. package/src/models/command.js.map +1 -0
  98. package/src/models/completion-context.d.ts +30 -0
  99. package/src/models/completion-context.js +16 -0
  100. package/src/models/completion-context.js.map +1 -0
  101. package/src/models/completion-item.d.ts +60 -0
  102. package/src/models/completion-item.js +16 -0
  103. package/src/models/completion-item.js.map +1 -0
  104. package/src/models/completion-list.d.ts +31 -0
  105. package/src/models/completion-list.js +16 -0
  106. package/src/models/completion-list.js.map +1 -0
  107. package/src/models/compressed-screenshot-response.d.ts +36 -0
  108. package/src/models/compressed-screenshot-response.js +16 -0
  109. package/src/models/compressed-screenshot-response.js.map +1 -0
  110. package/src/models/computer-use-start-response.d.ts +30 -0
  111. package/src/models/computer-use-start-response.js +16 -0
  112. package/src/models/computer-use-start-response.js.map +1 -0
  113. package/src/models/computer-use-status-response.d.ts +31 -0
  114. package/src/models/computer-use-status-response.js +23 -0
  115. package/src/models/computer-use-status-response.js.map +1 -0
  116. package/src/models/computer-use-stop-response.d.ts +30 -0
  117. package/src/models/computer-use-stop-response.js +16 -0
  118. package/src/models/computer-use-stop-response.js.map +1 -0
  119. package/src/models/create-api-key.d.ts +54 -0
  120. package/src/models/create-api-key.js +34 -0
  121. package/src/models/create-api-key.js.map +1 -0
  122. package/src/models/create-build-info.d.ts +30 -0
  123. package/src/models/create-build-info.js +16 -0
  124. package/src/models/create-build-info.js.map +1 -0
  125. package/src/models/create-docker-registry.d.ts +67 -0
  126. package/src/models/create-docker-registry.js +23 -0
  127. package/src/models/create-docker-registry.js.map +1 -0
  128. package/src/models/create-linked-account.d.ts +30 -0
  129. package/src/models/create-linked-account.js +16 -0
  130. package/src/models/create-linked-account.js.map +1 -0
  131. package/src/models/create-organization-invitation.d.ts +47 -0
  132. package/src/models/create-organization-invitation.js +21 -0
  133. package/src/models/create-organization-invitation.js.map +1 -0
  134. package/src/models/create-organization-quota.d.ts +72 -0
  135. package/src/models/create-organization-quota.js +16 -0
  136. package/src/models/create-organization-quota.js.map +1 -0
  137. package/src/models/create-organization-role.d.ts +54 -0
  138. package/src/models/create-organization-role.js +34 -0
  139. package/src/models/create-organization-role.js.map +1 -0
  140. package/src/models/create-organization.d.ts +30 -0
  141. package/src/models/create-organization.js +16 -0
  142. package/src/models/create-organization.js.map +1 -0
  143. package/src/models/create-region-response.d.ts +48 -0
  144. package/src/models/create-region-response.js +16 -0
  145. package/src/models/create-region-response.js.map +1 -0
  146. package/src/models/create-region.d.ts +42 -0
  147. package/src/models/create-region.js +16 -0
  148. package/src/models/create-region.js.map +1 -0
  149. package/src/models/create-runner-response.d.ts +30 -0
  150. package/src/models/create-runner-response.js +16 -0
  151. package/src/models/create-runner-response.js.map +1 -0
  152. package/src/models/create-runner.d.ts +30 -0
  153. package/src/models/create-runner.js +16 -0
  154. package/src/models/create-runner.js.map +1 -0
  155. package/src/models/create-sandbox.d.ts +144 -0
  156. package/src/models/create-sandbox.js +22 -0
  157. package/src/models/create-sandbox.js.map +1 -0
  158. package/src/models/create-session-request.d.ts +24 -0
  159. package/src/models/create-session-request.js +16 -0
  160. package/src/models/create-session-request.js.map +1 -0
  161. package/src/models/create-snapshot.d.ts +79 -0
  162. package/src/models/create-snapshot.js +16 -0
  163. package/src/models/create-snapshot.js.map +1 -0
  164. package/src/models/create-user.d.ts +66 -0
  165. package/src/models/create-user.js +21 -0
  166. package/src/models/create-user.js.map +1 -0
  167. package/src/models/create-volume.d.ts +24 -0
  168. package/src/models/create-volume.js +16 -0
  169. package/src/models/create-volume.js.map +1 -0
  170. package/src/models/create-workspace.d.ts +126 -0
  171. package/src/models/create-workspace.js +27 -0
  172. package/src/models/create-workspace.js.map +1 -0
  173. package/src/models/daytona-configuration.d.ts +132 -0
  174. package/src/models/daytona-configuration.js +16 -0
  175. package/src/models/daytona-configuration.js.map +1 -0
  176. package/src/models/display-info-response.d.ts +24 -0
  177. package/src/models/display-info-response.js +16 -0
  178. package/src/models/display-info-response.js.map +1 -0
  179. package/src/models/docker-registry.d.ts +73 -0
  180. package/src/models/docker-registry.js +23 -0
  181. package/src/models/docker-registry.js.map +1 -0
  182. package/src/models/download-files.d.ts +24 -0
  183. package/src/models/download-files.js +16 -0
  184. package/src/models/download-files.js.map +1 -0
  185. package/src/models/execute-request.d.ts +36 -0
  186. package/src/models/execute-request.js +16 -0
  187. package/src/models/execute-request.js.map +1 -0
  188. package/src/models/execute-response.d.ts +30 -0
  189. package/src/models/execute-response.js +16 -0
  190. package/src/models/execute-response.js.map +1 -0
  191. package/src/models/file-info.d.ts +66 -0
  192. package/src/models/file-info.js +16 -0
  193. package/src/models/file-info.js.map +1 -0
  194. package/src/models/file-status.d.ts +42 -0
  195. package/src/models/file-status.js +16 -0
  196. package/src/models/file-status.js.map +1 -0
  197. package/src/models/git-add-request.d.ts +30 -0
  198. package/src/models/git-add-request.js +16 -0
  199. package/src/models/git-add-request.js.map +1 -0
  200. package/src/models/git-branch-request.d.ts +30 -0
  201. package/src/models/git-branch-request.js +16 -0
  202. package/src/models/git-branch-request.js.map +1 -0
  203. package/src/models/git-checkout-request.d.ts +30 -0
  204. package/src/models/git-checkout-request.js +16 -0
  205. package/src/models/git-checkout-request.js.map +1 -0
  206. package/src/models/git-clone-request.d.ts +54 -0
  207. package/src/models/git-clone-request.js +16 -0
  208. package/src/models/git-clone-request.js.map +1 -0
  209. package/src/models/git-commit-info.d.ts +48 -0
  210. package/src/models/git-commit-info.js +16 -0
  211. package/src/models/git-commit-info.js.map +1 -0
  212. package/src/models/git-commit-request.d.ts +48 -0
  213. package/src/models/git-commit-request.js +16 -0
  214. package/src/models/git-commit-request.js.map +1 -0
  215. package/src/models/git-commit-response.d.ts +24 -0
  216. package/src/models/git-commit-response.js +16 -0
  217. package/src/models/git-commit-response.js.map +1 -0
  218. package/src/models/git-delete-branch-request.d.ts +30 -0
  219. package/src/models/git-delete-branch-request.js +16 -0
  220. package/src/models/git-delete-branch-request.js.map +1 -0
  221. package/src/models/git-repo-request.d.ts +36 -0
  222. package/src/models/git-repo-request.js +16 -0
  223. package/src/models/git-repo-request.js.map +1 -0
  224. package/src/models/git-status.d.ts +49 -0
  225. package/src/models/git-status.js +16 -0
  226. package/src/models/git-status.js.map +1 -0
  227. package/src/models/health-controller-check200-response-info-value.d.ts +25 -0
  228. package/src/models/health-controller-check200-response-info-value.js +16 -0
  229. package/src/models/health-controller-check200-response-info-value.js.map +1 -0
  230. package/src/models/health-controller-check200-response.d.ts +49 -0
  231. package/src/models/health-controller-check200-response.js +16 -0
  232. package/src/models/health-controller-check200-response.js.map +1 -0
  233. package/src/models/health-controller-check503-response.d.ts +49 -0
  234. package/src/models/health-controller-check503-response.js +16 -0
  235. package/src/models/health-controller-check503-response.js.map +1 -0
  236. package/src/models/index.d.ts +177 -0
  237. package/src/models/index.js +194 -0
  238. package/src/models/index.js.map +1 -0
  239. package/src/models/job-status.d.ts +23 -0
  240. package/src/models/job-status.js +28 -0
  241. package/src/models/job-status.js.map +1 -0
  242. package/src/models/job-type.d.ts +31 -0
  243. package/src/models/job-type.js +36 -0
  244. package/src/models/job-type.js.map +1 -0
  245. package/src/models/job.d.ts +88 -0
  246. package/src/models/job.js +22 -0
  247. package/src/models/job.js.map +1 -0
  248. package/src/models/keyboard-hotkey-request.d.ts +24 -0
  249. package/src/models/keyboard-hotkey-request.js +16 -0
  250. package/src/models/keyboard-hotkey-request.js.map +1 -0
  251. package/src/models/keyboard-press-request.d.ts +30 -0
  252. package/src/models/keyboard-press-request.js +16 -0
  253. package/src/models/keyboard-press-request.js.map +1 -0
  254. package/src/models/keyboard-type-request.d.ts +30 -0
  255. package/src/models/keyboard-type-request.js +16 -0
  256. package/src/models/keyboard-type-request.js.map +1 -0
  257. package/src/models/list-branch-response.d.ts +24 -0
  258. package/src/models/list-branch-response.js +16 -0
  259. package/src/models/list-branch-response.js.map +1 -0
  260. package/src/models/log-entry.d.ts +76 -0
  261. package/src/models/log-entry.js +16 -0
  262. package/src/models/log-entry.js.map +1 -0
  263. package/src/models/lsp-completion-params.d.ts +50 -0
  264. package/src/models/lsp-completion-params.js +16 -0
  265. package/src/models/lsp-completion-params.js.map +1 -0
  266. package/src/models/lsp-document-request.d.ts +36 -0
  267. package/src/models/lsp-document-request.js +16 -0
  268. package/src/models/lsp-document-request.js.map +1 -0
  269. package/src/models/lsp-location.d.ts +31 -0
  270. package/src/models/lsp-location.js +16 -0
  271. package/src/models/lsp-location.js.map +1 -0
  272. package/src/models/lsp-server-request.d.ts +30 -0
  273. package/src/models/lsp-server-request.js +16 -0
  274. package/src/models/lsp-server-request.js.map +1 -0
  275. package/src/models/lsp-symbol.d.ts +37 -0
  276. package/src/models/lsp-symbol.js +16 -0
  277. package/src/models/lsp-symbol.js.map +1 -0
  278. package/src/models/match.d.ts +36 -0
  279. package/src/models/match.js +16 -0
  280. package/src/models/match.js.map +1 -0
  281. package/src/models/metric-data-point.d.ts +30 -0
  282. package/src/models/metric-data-point.js +16 -0
  283. package/src/models/metric-data-point.js.map +1 -0
  284. package/src/models/metric-series.d.ts +31 -0
  285. package/src/models/metric-series.js +16 -0
  286. package/src/models/metric-series.js.map +1 -0
  287. package/src/models/metrics-response.d.ts +25 -0
  288. package/src/models/metrics-response.js +16 -0
  289. package/src/models/metrics-response.js.map +1 -0
  290. package/src/models/mouse-click-request.d.ts +42 -0
  291. package/src/models/mouse-click-request.js +16 -0
  292. package/src/models/mouse-click-request.js.map +1 -0
  293. package/src/models/mouse-click-response.d.ts +30 -0
  294. package/src/models/mouse-click-response.js +16 -0
  295. package/src/models/mouse-click-response.js.map +1 -0
  296. package/src/models/mouse-drag-request.d.ts +48 -0
  297. package/src/models/mouse-drag-request.js +16 -0
  298. package/src/models/mouse-drag-request.js.map +1 -0
  299. package/src/models/mouse-drag-response.d.ts +30 -0
  300. package/src/models/mouse-drag-response.js +16 -0
  301. package/src/models/mouse-drag-response.js.map +1 -0
  302. package/src/models/mouse-move-request.d.ts +30 -0
  303. package/src/models/mouse-move-request.js +16 -0
  304. package/src/models/mouse-move-request.js.map +1 -0
  305. package/src/models/mouse-move-response.d.ts +30 -0
  306. package/src/models/mouse-move-response.js +16 -0
  307. package/src/models/mouse-move-response.js.map +1 -0
  308. package/src/models/mouse-position.d.ts +30 -0
  309. package/src/models/mouse-position.js +16 -0
  310. package/src/models/mouse-position.js.map +1 -0
  311. package/src/models/mouse-scroll-request.d.ts +42 -0
  312. package/src/models/mouse-scroll-request.js +16 -0
  313. package/src/models/mouse-scroll-request.js.map +1 -0
  314. package/src/models/mouse-scroll-response.d.ts +24 -0
  315. package/src/models/mouse-scroll-response.js +16 -0
  316. package/src/models/mouse-scroll-response.js.map +1 -0
  317. package/src/models/oidc-config.d.ts +36 -0
  318. package/src/models/oidc-config.js +16 -0
  319. package/src/models/oidc-config.js.map +1 -0
  320. package/src/models/organization-invitation.d.ts +97 -0
  321. package/src/models/organization-invitation.js +27 -0
  322. package/src/models/organization-invitation.js.map +1 -0
  323. package/src/models/organization-role.d.ts +78 -0
  324. package/src/models/organization-role.js +34 -0
  325. package/src/models/organization-role.js.map +1 -0
  326. package/src/models/organization-sandbox-default-limited-network-egress.d.ts +24 -0
  327. package/src/models/organization-sandbox-default-limited-network-egress.js +16 -0
  328. package/src/models/organization-sandbox-default-limited-network-egress.js.map +1 -0
  329. package/src/models/organization-suspension.d.ts +36 -0
  330. package/src/models/organization-suspension.js +16 -0
  331. package/src/models/organization-suspension.js.map +1 -0
  332. package/src/models/organization-usage-overview.d.ts +49 -0
  333. package/src/models/organization-usage-overview.js +16 -0
  334. package/src/models/organization-usage-overview.js.map +1 -0
  335. package/src/models/organization-user.d.ts +72 -0
  336. package/src/models/organization-user.js +21 -0
  337. package/src/models/organization-user.js.map +1 -0
  338. package/src/models/organization.d.ts +162 -0
  339. package/src/models/organization.js +16 -0
  340. package/src/models/organization.js.map +1 -0
  341. package/src/models/otel-config.d.ts +32 -0
  342. package/src/models/otel-config.js +16 -0
  343. package/src/models/otel-config.js.map +1 -0
  344. package/src/models/paginated-audit-logs.d.ts +49 -0
  345. package/src/models/paginated-audit-logs.js +16 -0
  346. package/src/models/paginated-audit-logs.js.map +1 -0
  347. package/src/models/paginated-jobs.d.ts +43 -0
  348. package/src/models/paginated-jobs.js +16 -0
  349. package/src/models/paginated-jobs.js.map +1 -0
  350. package/src/models/paginated-logs.d.ts +43 -0
  351. package/src/models/paginated-logs.js +16 -0
  352. package/src/models/paginated-logs.js.map +1 -0
  353. package/src/models/paginated-sandboxes.d.ts +43 -0
  354. package/src/models/paginated-sandboxes.js +16 -0
  355. package/src/models/paginated-sandboxes.js.map +1 -0
  356. package/src/models/paginated-snapshots.d.ts +43 -0
  357. package/src/models/paginated-snapshots.js +16 -0
  358. package/src/models/paginated-snapshots.js.map +1 -0
  359. package/src/models/paginated-traces.d.ts +43 -0
  360. package/src/models/paginated-traces.js +16 -0
  361. package/src/models/paginated-traces.js.map +1 -0
  362. package/src/models/poll-jobs-response.d.ts +25 -0
  363. package/src/models/poll-jobs-response.js +16 -0
  364. package/src/models/poll-jobs-response.js.map +1 -0
  365. package/src/models/port-preview-url.d.ts +36 -0
  366. package/src/models/port-preview-url.js +16 -0
  367. package/src/models/port-preview-url.js.map +1 -0
  368. package/src/models/position.d.ts +30 -0
  369. package/src/models/position.js +16 -0
  370. package/src/models/position.js.map +1 -0
  371. package/src/models/posthog-config.d.ts +30 -0
  372. package/src/models/posthog-config.js +16 -0
  373. package/src/models/posthog-config.js.map +1 -0
  374. package/src/models/process-errors-response.d.ts +30 -0
  375. package/src/models/process-errors-response.js +16 -0
  376. package/src/models/process-errors-response.js.map +1 -0
  377. package/src/models/process-logs-response.d.ts +30 -0
  378. package/src/models/process-logs-response.js +16 -0
  379. package/src/models/process-logs-response.js.map +1 -0
  380. package/src/models/process-restart-response.d.ts +30 -0
  381. package/src/models/process-restart-response.js +16 -0
  382. package/src/models/process-restart-response.js.map +1 -0
  383. package/src/models/process-status-response.d.ts +30 -0
  384. package/src/models/process-status-response.js +16 -0
  385. package/src/models/process-status-response.js.map +1 -0
  386. package/src/models/project-dir-response.d.ts +24 -0
  387. package/src/models/project-dir-response.js +16 -0
  388. package/src/models/project-dir-response.js.map +1 -0
  389. package/src/models/pty-create-request.d.ts +54 -0
  390. package/src/models/pty-create-request.js +16 -0
  391. package/src/models/pty-create-request.js.map +1 -0
  392. package/src/models/pty-create-response.d.ts +24 -0
  393. package/src/models/pty-create-response.js +16 -0
  394. package/src/models/pty-create-response.js.map +1 -0
  395. package/src/models/pty-list-response.d.ts +25 -0
  396. package/src/models/pty-list-response.js +16 -0
  397. package/src/models/pty-list-response.js.map +1 -0
  398. package/src/models/pty-resize-request.d.ts +30 -0
  399. package/src/models/pty-resize-request.js +16 -0
  400. package/src/models/pty-resize-request.js.map +1 -0
  401. package/src/models/pty-session-info.d.ts +66 -0
  402. package/src/models/pty-session-info.js +16 -0
  403. package/src/models/pty-session-info.js.map +1 -0
  404. package/src/models/range.d.ts +31 -0
  405. package/src/models/range.js +16 -0
  406. package/src/models/range.js.map +1 -0
  407. package/src/models/rate-limit-config.d.ts +43 -0
  408. package/src/models/rate-limit-config.js +16 -0
  409. package/src/models/rate-limit-config.js.map +1 -0
  410. package/src/models/rate-limit-entry.d.ts +30 -0
  411. package/src/models/rate-limit-entry.js +16 -0
  412. package/src/models/rate-limit-entry.js.map +1 -0
  413. package/src/models/regenerate-api-key-response.d.ts +24 -0
  414. package/src/models/regenerate-api-key-response.js +16 -0
  415. package/src/models/regenerate-api-key-response.js.map +1 -0
  416. package/src/models/region-quota.d.ts +48 -0
  417. package/src/models/region-quota.js +16 -0
  418. package/src/models/region-quota.js.map +1 -0
  419. package/src/models/region-screenshot-response.d.ts +36 -0
  420. package/src/models/region-screenshot-response.js +16 -0
  421. package/src/models/region-screenshot-response.js.map +1 -0
  422. package/src/models/region-type.d.ts +22 -0
  423. package/src/models/region-type.js +27 -0
  424. package/src/models/region-type.js.map +1 -0
  425. package/src/models/region-usage-overview.d.ts +60 -0
  426. package/src/models/region-usage-overview.js +16 -0
  427. package/src/models/region-usage-overview.js.map +1 -0
  428. package/src/models/region.d.ts +73 -0
  429. package/src/models/region.js +16 -0
  430. package/src/models/region.js.map +1 -0
  431. package/src/models/registry-push-access-dto.d.ts +54 -0
  432. package/src/models/registry-push-access-dto.js +16 -0
  433. package/src/models/registry-push-access-dto.js.map +1 -0
  434. package/src/models/replace-request.d.ts +36 -0
  435. package/src/models/replace-request.js +16 -0
  436. package/src/models/replace-request.js.map +1 -0
  437. package/src/models/replace-result.d.ts +36 -0
  438. package/src/models/replace-result.js +16 -0
  439. package/src/models/replace-result.js.map +1 -0
  440. package/src/models/resize-sandbox.d.ts +36 -0
  441. package/src/models/resize-sandbox.js +16 -0
  442. package/src/models/resize-sandbox.js.map +1 -0
  443. package/src/models/runner-full.d.ts +210 -0
  444. package/src/models/runner-full.js +16 -0
  445. package/src/models/runner-full.js.map +1 -0
  446. package/src/models/runner-health-metrics.d.ts +90 -0
  447. package/src/models/runner-health-metrics.js +16 -0
  448. package/src/models/runner-health-metrics.js.map +1 -0
  449. package/src/models/runner-healthcheck.d.ts +56 -0
  450. package/src/models/runner-healthcheck.js +16 -0
  451. package/src/models/runner-healthcheck.js.map +1 -0
  452. package/src/models/runner-service-health.d.ts +36 -0
  453. package/src/models/runner-service-health.js +16 -0
  454. package/src/models/runner-service-health.js.map +1 -0
  455. package/src/models/runner-snapshot-dto.d.ts +36 -0
  456. package/src/models/runner-snapshot-dto.js +16 -0
  457. package/src/models/runner-snapshot-dto.js.map +1 -0
  458. package/src/models/runner-state.d.ts +24 -0
  459. package/src/models/runner-state.js +29 -0
  460. package/src/models/runner-state.js.map +1 -0
  461. package/src/models/runner.d.ts +197 -0
  462. package/src/models/runner.js +16 -0
  463. package/src/models/runner.js.map +1 -0
  464. package/src/models/sandbox-class.d.ts +22 -0
  465. package/src/models/sandbox-class.js +27 -0
  466. package/src/models/sandbox-class.js.map +1 -0
  467. package/src/models/sandbox-desired-state.d.ts +24 -0
  468. package/src/models/sandbox-desired-state.js +29 -0
  469. package/src/models/sandbox-desired-state.js.map +1 -0
  470. package/src/models/sandbox-info.d.ts +37 -0
  471. package/src/models/sandbox-info.js +16 -0
  472. package/src/models/sandbox-info.js.map +1 -0
  473. package/src/models/sandbox-labels.d.ts +26 -0
  474. package/src/models/sandbox-labels.js +16 -0
  475. package/src/models/sandbox-labels.js.map +1 -0
  476. package/src/models/sandbox-state.d.ts +36 -0
  477. package/src/models/sandbox-state.js +41 -0
  478. package/src/models/sandbox-state.js.map +1 -0
  479. package/src/models/sandbox-volume.d.ts +36 -0
  480. package/src/models/sandbox-volume.js +16 -0
  481. package/src/models/sandbox-volume.js.map +1 -0
  482. package/src/models/sandbox.d.ts +233 -0
  483. package/src/models/sandbox.js +29 -0
  484. package/src/models/sandbox.js.map +1 -0
  485. package/src/models/screenshot-response.d.ts +36 -0
  486. package/src/models/screenshot-response.js +16 -0
  487. package/src/models/screenshot-response.js.map +1 -0
  488. package/src/models/search-files-response.d.ts +24 -0
  489. package/src/models/search-files-response.js +16 -0
  490. package/src/models/search-files-response.js.map +1 -0
  491. package/src/models/send-webhook-dto.d.ts +37 -0
  492. package/src/models/send-webhook-dto.js +16 -0
  493. package/src/models/send-webhook-dto.js.map +1 -0
  494. package/src/models/session-execute-request.d.ts +37 -0
  495. package/src/models/session-execute-request.js +16 -0
  496. package/src/models/session-execute-request.js.map +1 -0
  497. package/src/models/session-execute-response.d.ts +36 -0
  498. package/src/models/session-execute-response.js +16 -0
  499. package/src/models/session-execute-response.js.map +1 -0
  500. package/src/models/session.d.ts +31 -0
  501. package/src/models/session.js +16 -0
  502. package/src/models/session.js.map +1 -0
  503. package/src/models/set-snapshot-general-status-dto.d.ts +24 -0
  504. package/src/models/set-snapshot-general-status-dto.js +16 -0
  505. package/src/models/set-snapshot-general-status-dto.js.map +1 -0
  506. package/src/models/signed-port-preview-url.d.ts +42 -0
  507. package/src/models/signed-port-preview-url.js +16 -0
  508. package/src/models/signed-port-preview-url.js.map +1 -0
  509. package/src/models/snapshot-dto.d.ts +140 -0
  510. package/src/models/snapshot-dto.js +16 -0
  511. package/src/models/snapshot-dto.js.map +1 -0
  512. package/src/models/snapshot-manager-credentials.d.ts +30 -0
  513. package/src/models/snapshot-manager-credentials.js +16 -0
  514. package/src/models/snapshot-manager-credentials.js.map +1 -0
  515. package/src/models/snapshot-state.d.ts +27 -0
  516. package/src/models/snapshot-state.js +32 -0
  517. package/src/models/snapshot-state.js.map +1 -0
  518. package/src/models/ssh-access-dto.d.ts +60 -0
  519. package/src/models/ssh-access-dto.js +16 -0
  520. package/src/models/ssh-access-dto.js.map +1 -0
  521. package/src/models/ssh-access-validation-dto.d.ts +30 -0
  522. package/src/models/ssh-access-validation-dto.js +16 -0
  523. package/src/models/ssh-access-validation-dto.js.map +1 -0
  524. package/src/models/storage-access-dto.d.ts +54 -0
  525. package/src/models/storage-access-dto.js +16 -0
  526. package/src/models/storage-access-dto.js.map +1 -0
  527. package/src/models/toolbox-proxy-url.d.ts +24 -0
  528. package/src/models/toolbox-proxy-url.js +16 -0
  529. package/src/models/toolbox-proxy-url.js.map +1 -0
  530. package/src/models/trace-span.d.ts +74 -0
  531. package/src/models/trace-span.js +16 -0
  532. package/src/models/trace-span.js.map +1 -0
  533. package/src/models/trace-summary.d.ts +60 -0
  534. package/src/models/trace-summary.js +16 -0
  535. package/src/models/trace-summary.js.map +1 -0
  536. package/src/models/update-docker-registry.d.ts +48 -0
  537. package/src/models/update-docker-registry.js +16 -0
  538. package/src/models/update-docker-registry.js.map +1 -0
  539. package/src/models/update-job-status.d.ts +37 -0
  540. package/src/models/update-job-status.js +16 -0
  541. package/src/models/update-job-status.js.map +1 -0
  542. package/src/models/update-organization-default-region.d.ts +24 -0
  543. package/src/models/update-organization-default-region.js +16 -0
  544. package/src/models/update-organization-default-region.js.map +1 -0
  545. package/src/models/update-organization-invitation.d.ts +41 -0
  546. package/src/models/update-organization-invitation.js +21 -0
  547. package/src/models/update-organization-invitation.js.map +1 -0
  548. package/src/models/update-organization-member-access.d.ts +35 -0
  549. package/src/models/update-organization-member-access.js +21 -0
  550. package/src/models/update-organization-member-access.js.map +1 -0
  551. package/src/models/update-organization-quota.d.ts +96 -0
  552. package/src/models/update-organization-quota.js +16 -0
  553. package/src/models/update-organization-quota.js.map +1 -0
  554. package/src/models/update-organization-region-quota.d.ts +36 -0
  555. package/src/models/update-organization-region-quota.js +16 -0
  556. package/src/models/update-organization-region-quota.js.map +1 -0
  557. package/src/models/update-organization-role.d.ts +54 -0
  558. package/src/models/update-organization-role.js +34 -0
  559. package/src/models/update-organization-role.js.map +1 -0
  560. package/src/models/update-region.d.ts +36 -0
  561. package/src/models/update-region.js +16 -0
  562. package/src/models/update-region.js.map +1 -0
  563. package/src/models/update-sandbox-state-dto.d.ts +56 -0
  564. package/src/models/update-sandbox-state-dto.js +36 -0
  565. package/src/models/update-sandbox-state-dto.js.map +1 -0
  566. package/src/models/url.d.ts +24 -0
  567. package/src/models/url.js +16 -0
  568. package/src/models/url.js.map +1 -0
  569. package/src/models/user-home-dir-response.d.ts +24 -0
  570. package/src/models/user-home-dir-response.js +16 -0
  571. package/src/models/user-home-dir-response.js.map +1 -0
  572. package/src/models/user-public-key.d.ts +30 -0
  573. package/src/models/user-public-key.js +16 -0
  574. package/src/models/user-public-key.js.map +1 -0
  575. package/src/models/user.d.ts +49 -0
  576. package/src/models/user.js +16 -0
  577. package/src/models/user.js.map +1 -0
  578. package/src/models/volume-dto.d.ts +67 -0
  579. package/src/models/volume-dto.js +16 -0
  580. package/src/models/volume-dto.js.map +1 -0
  581. package/src/models/volume-state.d.ts +26 -0
  582. package/src/models/volume-state.js +31 -0
  583. package/src/models/volume-state.js.map +1 -0
  584. package/src/models/webhook-app-portal-access.d.ts +30 -0
  585. package/src/models/webhook-app-portal-access.js +16 -0
  586. package/src/models/webhook-app-portal-access.js.map +1 -0
  587. package/src/models/webhook-controller-get-status200-response.d.ts +24 -0
  588. package/src/models/webhook-controller-get-status200-response.js +16 -0
  589. package/src/models/webhook-controller-get-status200-response.js.map +1 -0
  590. package/src/models/webhook-event.d.ts +26 -0
  591. package/src/models/webhook-event.js +31 -0
  592. package/src/models/webhook-event.js.map +1 -0
  593. package/src/models/webhook-initialization-status.d.ts +54 -0
  594. package/src/models/webhook-initialization-status.js +16 -0
  595. package/src/models/webhook-initialization-status.js.map +1 -0
  596. package/src/models/windows-response.d.ts +30 -0
  597. package/src/models/windows-response.js +16 -0
  598. package/src/models/windows-response.js.map +1 -0
  599. package/src/models/work-dir-response.d.ts +24 -0
  600. package/src/models/work-dir-response.js +16 -0
  601. package/src/models/work-dir-response.js.map +1 -0
  602. package/src/models/workspace-port-preview-url.d.ts +30 -0
  603. package/src/models/workspace-port-preview-url.js +16 -0
  604. package/src/models/workspace-port-preview-url.js.map +1 -0
  605. package/src/models/workspace.d.ts +266 -0
  606. package/src/models/workspace.js +36 -0
  607. package/src/models/workspace.js.map +1 -0
@@ -0,0 +1,1495 @@
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 { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { CreateSandbox } from '../models';
16
+ import type { MetricsResponse } from '../models';
17
+ import type { PaginatedLogs } from '../models';
18
+ import type { PaginatedSandboxes } from '../models';
19
+ import type { PaginatedTraces } from '../models';
20
+ import type { PortPreviewUrl } from '../models';
21
+ import type { ResizeSandbox } from '../models';
22
+ import type { Sandbox } from '../models';
23
+ import type { SandboxLabels } from '../models';
24
+ import type { SignedPortPreviewUrl } from '../models';
25
+ import type { SshAccessDto } from '../models';
26
+ import type { SshAccessValidationDto } from '../models';
27
+ import type { ToolboxProxyUrl } from '../models';
28
+ import type { TraceSpan } from '../models';
29
+ import type { UpdateSandboxStateDto } from '../models';
30
+ import type { Url } from '../models';
31
+ /**
32
+ * SandboxApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration) => {
36
+ /**
37
+ *
38
+ * @summary Archive sandbox
39
+ * @param {string} sandboxIdOrName
40
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ archiveSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @summary Create sandbox backup
48
+ * @param {string} sandboxIdOrName ID or name of the sandbox
49
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ createBackup: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ *
56
+ * @summary Create a new sandbox
57
+ * @param {CreateSandbox} createSandbox
58
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ createSandbox: (createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ /**
64
+ *
65
+ * @summary Create SSH access for sandbox
66
+ * @param {string} sandboxIdOrName ID or name of the sandbox
67
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
68
+ * @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ createSshAccess: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ /**
74
+ *
75
+ * @summary Delete sandbox
76
+ * @param {string} sandboxIdOrName ID or name of the sandbox
77
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ deleteSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
+ /**
83
+ *
84
+ * @summary Expire signed preview URL for a sandbox port
85
+ * @param {string} sandboxIdOrName ID or name of the sandbox
86
+ * @param {number} port Port number to expire signed preview URL for
87
+ * @param {string} token Token to expire signed preview URL for
88
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ expireSignedPortPreviewUrl: (sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
93
+ /**
94
+ * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
95
+ * @summary Get build logs
96
+ * @param {string} sandboxIdOrName ID or name of the sandbox
97
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
98
+ * @param {boolean} [follow] Whether to follow the logs stream
99
+ * @param {*} [options] Override http request option.
100
+ * @deprecated
101
+ * @throws {RequiredError}
102
+ */
103
+ getBuildLogs: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
104
+ /**
105
+ *
106
+ * @summary Get build logs URL
107
+ * @param {string} sandboxIdOrName ID or name of the sandbox
108
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getBuildLogsUrl: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
113
+ /**
114
+ *
115
+ * @summary Get preview URL for a sandbox port
116
+ * @param {string} sandboxIdOrName ID or name of the sandbox
117
+ * @param {number} port Port number to get preview URL for
118
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ getPortPreviewUrl: (sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
123
+ /**
124
+ *
125
+ * @summary Get sandbox details
126
+ * @param {string} sandboxIdOrName ID or name of the sandbox
127
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
128
+ * @param {boolean} [verbose] Include verbose output
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ getSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
133
+ /**
134
+ * Retrieve OTEL logs for a sandbox within a time range
135
+ * @summary Get sandbox logs
136
+ * @param {string} sandboxId ID of the sandbox
137
+ * @param {Date} from Start of time range (ISO 8601)
138
+ * @param {Date} to End of time range (ISO 8601)
139
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
140
+ * @param {number} [page] Page number (1-indexed)
141
+ * @param {number} [limit] Number of items per page
142
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
143
+ * @param {string} [search] Search in log body
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ getSandboxLogs: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
148
+ /**
149
+ * Retrieve OTEL metrics for a sandbox within a time range
150
+ * @summary Get sandbox metrics
151
+ * @param {string} sandboxId ID of the sandbox
152
+ * @param {Date} from Start of time range (ISO 8601)
153
+ * @param {Date} to End of time range (ISO 8601)
154
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
155
+ * @param {Array<string>} [metricNames] Filter by metric names
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ getSandboxMetrics: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
160
+ /**
161
+ * Retrieve all spans for a specific trace
162
+ * @summary Get trace spans
163
+ * @param {string} sandboxId ID of the sandbox
164
+ * @param {string} traceId ID of the trace
165
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ getSandboxTraceSpans: (sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
170
+ /**
171
+ * Retrieve OTEL traces for a sandbox within a time range
172
+ * @summary Get sandbox traces
173
+ * @param {string} sandboxId ID of the sandbox
174
+ * @param {Date} from Start of time range (ISO 8601)
175
+ * @param {Date} to End of time range (ISO 8601)
176
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
177
+ * @param {number} [page] Page number (1-indexed)
178
+ * @param {number} [limit] Number of items per page
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ getSandboxTraces: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
183
+ /**
184
+ *
185
+ * @summary Get sandboxes for the authenticated runner
186
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
187
+ * @param {string} [states] Comma-separated list of sandbox states to filter by
188
+ * @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ getSandboxesForRunner: (xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
193
+ /**
194
+ *
195
+ * @summary Get signed preview URL for a sandbox port
196
+ * @param {string} sandboxIdOrName ID or name of the sandbox
197
+ * @param {number} port Port number to get signed preview URL for
198
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
199
+ * @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ getSignedPortPreviewUrl: (sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
204
+ /**
205
+ *
206
+ * @summary Get toolbox proxy URL for a sandbox
207
+ * @param {string} sandboxId ID of the sandbox
208
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ getToolboxProxyUrl: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
213
+ /**
214
+ *
215
+ * @summary List all sandboxes
216
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
217
+ * @param {boolean} [verbose] Include verbose output
218
+ * @param {string} [labels] JSON encoded labels to filter by
219
+ * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ listSandboxes: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
224
+ /**
225
+ *
226
+ * @summary List all sandboxes paginated
227
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
228
+ * @param {number} [page] Page number of the results
229
+ * @param {number} [limit] Number of results per page
230
+ * @param {string} [id] Filter by partial ID match
231
+ * @param {string} [name] Filter by partial name match
232
+ * @param {string} [labels] JSON encoded labels to filter by
233
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
234
+ * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
235
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
236
+ * @param {Array<string>} [regions] List of regions to filter by
237
+ * @param {number} [minCpu] Minimum CPU
238
+ * @param {number} [maxCpu] Maximum CPU
239
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
240
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
241
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
242
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
243
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
244
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
245
+ * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
246
+ * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ listSandboxesPaginated: (xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
251
+ /**
252
+ *
253
+ * @summary Recover sandbox from error state
254
+ * @param {string} sandboxIdOrName ID or name of the sandbox
255
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ recoverSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
260
+ /**
261
+ *
262
+ * @summary Replace sandbox labels
263
+ * @param {string} sandboxIdOrName ID or name of the sandbox
264
+ * @param {SandboxLabels} sandboxLabels
265
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ replaceLabels: (sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
270
+ /**
271
+ *
272
+ * @summary Resize sandbox resources
273
+ * @param {string} sandboxIdOrName ID or name of the sandbox
274
+ * @param {ResizeSandbox} resizeSandbox
275
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ resizeSandbox: (sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
280
+ /**
281
+ *
282
+ * @summary Revoke SSH access for sandbox
283
+ * @param {string} sandboxIdOrName ID or name of the sandbox
284
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
285
+ * @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ revokeSshAccess: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
290
+ /**
291
+ *
292
+ * @summary Set sandbox auto-archive interval
293
+ * @param {string} sandboxIdOrName ID or name of the sandbox
294
+ * @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
295
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ */
299
+ setAutoArchiveInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
300
+ /**
301
+ *
302
+ * @summary Set sandbox auto-delete interval
303
+ * @param {string} sandboxIdOrName ID or name of the sandbox
304
+ * @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
305
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ setAutoDeleteInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
310
+ /**
311
+ *
312
+ * @summary Set sandbox auto-stop interval
313
+ * @param {string} sandboxIdOrName ID or name of the sandbox
314
+ * @param {number} interval Auto-stop interval in minutes (0 to disable)
315
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ setAutostopInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
320
+ /**
321
+ *
322
+ * @summary Start sandbox
323
+ * @param {string} sandboxIdOrName ID or name of the sandbox
324
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ startSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
329
+ /**
330
+ *
331
+ * @summary Stop sandbox
332
+ * @param {string} sandboxIdOrName ID or name of the sandbox
333
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
334
+ * @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ stopSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
339
+ /**
340
+ *
341
+ * @summary Update sandbox last activity
342
+ * @param {string} sandboxId ID of the sandbox
343
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ updateLastActivity: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
348
+ /**
349
+ *
350
+ * @summary Update public status
351
+ * @param {string} sandboxIdOrName ID or name of the sandbox
352
+ * @param {boolean} isPublic Public status to set
353
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ updatePublicStatus: (sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
358
+ /**
359
+ *
360
+ * @summary Update sandbox state
361
+ * @param {string} sandboxId ID of the sandbox
362
+ * @param {UpdateSandboxStateDto} updateSandboxStateDto
363
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ updateSandboxState: (sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
368
+ /**
369
+ *
370
+ * @summary Validate SSH access for sandbox
371
+ * @param {string} token SSH access token to validate
372
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ validateSshAccess: (token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
377
+ };
378
+ /**
379
+ * SandboxApi - functional programming interface
380
+ * @export
381
+ */
382
+ export declare const SandboxApiFp: (configuration?: Configuration) => {
383
+ /**
384
+ *
385
+ * @summary Archive sandbox
386
+ * @param {string} sandboxIdOrName
387
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
392
+ /**
393
+ *
394
+ * @summary Create sandbox backup
395
+ * @param {string} sandboxIdOrName ID or name of the sandbox
396
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
401
+ /**
402
+ *
403
+ * @summary Create a new sandbox
404
+ * @param {CreateSandbox} createSandbox
405
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
410
+ /**
411
+ *
412
+ * @summary Create SSH access for sandbox
413
+ * @param {string} sandboxIdOrName ID or name of the sandbox
414
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
415
+ * @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SshAccessDto>>;
420
+ /**
421
+ *
422
+ * @summary Delete sandbox
423
+ * @param {string} sandboxIdOrName ID or name of the sandbox
424
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
429
+ /**
430
+ *
431
+ * @summary Expire signed preview URL for a sandbox port
432
+ * @param {string} sandboxIdOrName ID or name of the sandbox
433
+ * @param {number} port Port number to expire signed preview URL for
434
+ * @param {string} token Token to expire signed preview URL for
435
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
440
+ /**
441
+ * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
442
+ * @summary Get build logs
443
+ * @param {string} sandboxIdOrName ID or name of the sandbox
444
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
445
+ * @param {boolean} [follow] Whether to follow the logs stream
446
+ * @param {*} [options] Override http request option.
447
+ * @deprecated
448
+ * @throws {RequiredError}
449
+ */
450
+ getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
451
+ /**
452
+ *
453
+ * @summary Get build logs URL
454
+ * @param {string} sandboxIdOrName ID or name of the sandbox
455
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
456
+ * @param {*} [options] Override http request option.
457
+ * @throws {RequiredError}
458
+ */
459
+ getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Url>>;
460
+ /**
461
+ *
462
+ * @summary Get preview URL for a sandbox port
463
+ * @param {string} sandboxIdOrName ID or name of the sandbox
464
+ * @param {number} port Port number to get preview URL for
465
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
466
+ * @param {*} [options] Override http request option.
467
+ * @throws {RequiredError}
468
+ */
469
+ getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortPreviewUrl>>;
470
+ /**
471
+ *
472
+ * @summary Get sandbox details
473
+ * @param {string} sandboxIdOrName ID or name of the sandbox
474
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
475
+ * @param {boolean} [verbose] Include verbose output
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
480
+ /**
481
+ * Retrieve OTEL logs for a sandbox within a time range
482
+ * @summary Get sandbox logs
483
+ * @param {string} sandboxId ID of the sandbox
484
+ * @param {Date} from Start of time range (ISO 8601)
485
+ * @param {Date} to End of time range (ISO 8601)
486
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
487
+ * @param {number} [page] Page number (1-indexed)
488
+ * @param {number} [limit] Number of items per page
489
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
490
+ * @param {string} [search] Search in log body
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ */
494
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedLogs>>;
495
+ /**
496
+ * Retrieve OTEL metrics for a sandbox within a time range
497
+ * @summary Get sandbox metrics
498
+ * @param {string} sandboxId ID of the sandbox
499
+ * @param {Date} from Start of time range (ISO 8601)
500
+ * @param {Date} to End of time range (ISO 8601)
501
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
502
+ * @param {Array<string>} [metricNames] Filter by metric names
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ */
506
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsResponse>>;
507
+ /**
508
+ * Retrieve all spans for a specific trace
509
+ * @summary Get trace spans
510
+ * @param {string} sandboxId ID of the sandbox
511
+ * @param {string} traceId ID of the trace
512
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
513
+ * @param {*} [options] Override http request option.
514
+ * @throws {RequiredError}
515
+ */
516
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TraceSpan>>>;
517
+ /**
518
+ * Retrieve OTEL traces for a sandbox within a time range
519
+ * @summary Get sandbox traces
520
+ * @param {string} sandboxId ID of the sandbox
521
+ * @param {Date} from Start of time range (ISO 8601)
522
+ * @param {Date} to End of time range (ISO 8601)
523
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
524
+ * @param {number} [page] Page number (1-indexed)
525
+ * @param {number} [limit] Number of items per page
526
+ * @param {*} [options] Override http request option.
527
+ * @throws {RequiredError}
528
+ */
529
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTraces>>;
530
+ /**
531
+ *
532
+ * @summary Get sandboxes for the authenticated runner
533
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
534
+ * @param {string} [states] Comma-separated list of sandbox states to filter by
535
+ * @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
536
+ * @param {*} [options] Override http request option.
537
+ * @throws {RequiredError}
538
+ */
539
+ getSandboxesForRunner(xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
540
+ /**
541
+ *
542
+ * @summary Get signed preview URL for a sandbox port
543
+ * @param {string} sandboxIdOrName ID or name of the sandbox
544
+ * @param {number} port Port number to get signed preview URL for
545
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
546
+ * @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ */
550
+ getSignedPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedPortPreviewUrl>>;
551
+ /**
552
+ *
553
+ * @summary Get toolbox proxy URL for a sandbox
554
+ * @param {string} sandboxId ID of the sandbox
555
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ */
559
+ getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ToolboxProxyUrl>>;
560
+ /**
561
+ *
562
+ * @summary List all sandboxes
563
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
564
+ * @param {boolean} [verbose] Include verbose output
565
+ * @param {string} [labels] JSON encoded labels to filter by
566
+ * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
571
+ /**
572
+ *
573
+ * @summary List all sandboxes paginated
574
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
575
+ * @param {number} [page] Page number of the results
576
+ * @param {number} [limit] Number of results per page
577
+ * @param {string} [id] Filter by partial ID match
578
+ * @param {string} [name] Filter by partial name match
579
+ * @param {string} [labels] JSON encoded labels to filter by
580
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
581
+ * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
582
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
583
+ * @param {Array<string>} [regions] List of regions to filter by
584
+ * @param {number} [minCpu] Minimum CPU
585
+ * @param {number} [maxCpu] Maximum CPU
586
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
587
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
588
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
589
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
590
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
591
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
592
+ * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
593
+ * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
594
+ * @param {*} [options] Override http request option.
595
+ * @throws {RequiredError}
596
+ */
597
+ listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSandboxes>>;
598
+ /**
599
+ *
600
+ * @summary Recover sandbox from error state
601
+ * @param {string} sandboxIdOrName ID or name of the sandbox
602
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
603
+ * @param {*} [options] Override http request option.
604
+ * @throws {RequiredError}
605
+ */
606
+ recoverSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
607
+ /**
608
+ *
609
+ * @summary Replace sandbox labels
610
+ * @param {string} sandboxIdOrName ID or name of the sandbox
611
+ * @param {SandboxLabels} sandboxLabels
612
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SandboxLabels>>;
617
+ /**
618
+ *
619
+ * @summary Resize sandbox resources
620
+ * @param {string} sandboxIdOrName ID or name of the sandbox
621
+ * @param {ResizeSandbox} resizeSandbox
622
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
623
+ * @param {*} [options] Override http request option.
624
+ * @throws {RequiredError}
625
+ */
626
+ resizeSandbox(sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
627
+ /**
628
+ *
629
+ * @summary Revoke SSH access for sandbox
630
+ * @param {string} sandboxIdOrName ID or name of the sandbox
631
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
632
+ * @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
637
+ /**
638
+ *
639
+ * @summary Set sandbox auto-archive interval
640
+ * @param {string} sandboxIdOrName ID or name of the sandbox
641
+ * @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
642
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
643
+ * @param {*} [options] Override http request option.
644
+ * @throws {RequiredError}
645
+ */
646
+ setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
647
+ /**
648
+ *
649
+ * @summary Set sandbox auto-delete interval
650
+ * @param {string} sandboxIdOrName ID or name of the sandbox
651
+ * @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
652
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
653
+ * @param {*} [options] Override http request option.
654
+ * @throws {RequiredError}
655
+ */
656
+ setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
657
+ /**
658
+ *
659
+ * @summary Set sandbox auto-stop interval
660
+ * @param {string} sandboxIdOrName ID or name of the sandbox
661
+ * @param {number} interval Auto-stop interval in minutes (0 to disable)
662
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ */
666
+ setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
667
+ /**
668
+ *
669
+ * @summary Start sandbox
670
+ * @param {string} sandboxIdOrName ID or name of the sandbox
671
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
672
+ * @param {*} [options] Override http request option.
673
+ * @throws {RequiredError}
674
+ */
675
+ startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
676
+ /**
677
+ *
678
+ * @summary Stop sandbox
679
+ * @param {string} sandboxIdOrName ID or name of the sandbox
680
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
681
+ * @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
686
+ /**
687
+ *
688
+ * @summary Update sandbox last activity
689
+ * @param {string} sandboxId ID of the sandbox
690
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
691
+ * @param {*} [options] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ updateLastActivity(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
695
+ /**
696
+ *
697
+ * @summary Update public status
698
+ * @param {string} sandboxIdOrName ID or name of the sandbox
699
+ * @param {boolean} isPublic Public status to set
700
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
705
+ /**
706
+ *
707
+ * @summary Update sandbox state
708
+ * @param {string} sandboxId ID of the sandbox
709
+ * @param {UpdateSandboxStateDto} updateSandboxStateDto
710
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ */
714
+ updateSandboxState(sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
715
+ /**
716
+ *
717
+ * @summary Validate SSH access for sandbox
718
+ * @param {string} token SSH access token to validate
719
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ */
723
+ validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SshAccessValidationDto>>;
724
+ };
725
+ /**
726
+ * SandboxApi - factory interface
727
+ * @export
728
+ */
729
+ export declare const SandboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
730
+ /**
731
+ *
732
+ * @summary Archive sandbox
733
+ * @param {string} sandboxIdOrName
734
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
735
+ * @param {*} [options] Override http request option.
736
+ * @throws {RequiredError}
737
+ */
738
+ archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
739
+ /**
740
+ *
741
+ * @summary Create sandbox backup
742
+ * @param {string} sandboxIdOrName ID or name of the sandbox
743
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ */
747
+ createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
748
+ /**
749
+ *
750
+ * @summary Create a new sandbox
751
+ * @param {CreateSandbox} createSandbox
752
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
753
+ * @param {*} [options] Override http request option.
754
+ * @throws {RequiredError}
755
+ */
756
+ createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
757
+ /**
758
+ *
759
+ * @summary Create SSH access for sandbox
760
+ * @param {string} sandboxIdOrName ID or name of the sandbox
761
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
762
+ * @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ */
766
+ createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): AxiosPromise<SshAccessDto>;
767
+ /**
768
+ *
769
+ * @summary Delete sandbox
770
+ * @param {string} sandboxIdOrName ID or name of the sandbox
771
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ */
775
+ deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
776
+ /**
777
+ *
778
+ * @summary Expire signed preview URL for a sandbox port
779
+ * @param {string} sandboxIdOrName ID or name of the sandbox
780
+ * @param {number} port Port number to expire signed preview URL for
781
+ * @param {string} token Token to expire signed preview URL for
782
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
783
+ * @param {*} [options] Override http request option.
784
+ * @throws {RequiredError}
785
+ */
786
+ expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
787
+ /**
788
+ * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
789
+ * @summary Get build logs
790
+ * @param {string} sandboxIdOrName ID or name of the sandbox
791
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
792
+ * @param {boolean} [follow] Whether to follow the logs stream
793
+ * @param {*} [options] Override http request option.
794
+ * @deprecated
795
+ * @throws {RequiredError}
796
+ */
797
+ getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
798
+ /**
799
+ *
800
+ * @summary Get build logs URL
801
+ * @param {string} sandboxIdOrName ID or name of the sandbox
802
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Url>;
807
+ /**
808
+ *
809
+ * @summary Get preview URL for a sandbox port
810
+ * @param {string} sandboxIdOrName ID or name of the sandbox
811
+ * @param {number} port Port number to get preview URL for
812
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
813
+ * @param {*} [options] Override http request option.
814
+ * @throws {RequiredError}
815
+ */
816
+ getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PortPreviewUrl>;
817
+ /**
818
+ *
819
+ * @summary Get sandbox details
820
+ * @param {string} sandboxIdOrName ID or name of the sandbox
821
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
822
+ * @param {boolean} [verbose] Include verbose output
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
827
+ /**
828
+ * Retrieve OTEL logs for a sandbox within a time range
829
+ * @summary Get sandbox logs
830
+ * @param {string} sandboxId ID of the sandbox
831
+ * @param {Date} from Start of time range (ISO 8601)
832
+ * @param {Date} to End of time range (ISO 8601)
833
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
834
+ * @param {number} [page] Page number (1-indexed)
835
+ * @param {number} [limit] Number of items per page
836
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
837
+ * @param {string} [search] Search in log body
838
+ * @param {*} [options] Override http request option.
839
+ * @throws {RequiredError}
840
+ */
841
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedLogs>;
842
+ /**
843
+ * Retrieve OTEL metrics for a sandbox within a time range
844
+ * @summary Get sandbox metrics
845
+ * @param {string} sandboxId ID of the sandbox
846
+ * @param {Date} from Start of time range (ISO 8601)
847
+ * @param {Date} to End of time range (ISO 8601)
848
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
849
+ * @param {Array<string>} [metricNames] Filter by metric names
850
+ * @param {*} [options] Override http request option.
851
+ * @throws {RequiredError}
852
+ */
853
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<MetricsResponse>;
854
+ /**
855
+ * Retrieve all spans for a specific trace
856
+ * @summary Get trace spans
857
+ * @param {string} sandboxId ID of the sandbox
858
+ * @param {string} traceId ID of the trace
859
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ */
863
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TraceSpan>>;
864
+ /**
865
+ * Retrieve OTEL traces for a sandbox within a time range
866
+ * @summary Get sandbox traces
867
+ * @param {string} sandboxId ID of the sandbox
868
+ * @param {Date} from Start of time range (ISO 8601)
869
+ * @param {Date} to End of time range (ISO 8601)
870
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
871
+ * @param {number} [page] Page number (1-indexed)
872
+ * @param {number} [limit] Number of items per page
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ */
876
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTraces>;
877
+ /**
878
+ *
879
+ * @summary Get sandboxes for the authenticated runner
880
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
881
+ * @param {string} [states] Comma-separated list of sandbox states to filter by
882
+ * @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
883
+ * @param {*} [options] Override http request option.
884
+ * @throws {RequiredError}
885
+ */
886
+ getSandboxesForRunner(xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
887
+ /**
888
+ *
889
+ * @summary Get signed preview URL for a sandbox port
890
+ * @param {string} sandboxIdOrName ID or name of the sandbox
891
+ * @param {number} port Port number to get signed preview URL for
892
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
893
+ * @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
894
+ * @param {*} [options] Override http request option.
895
+ * @throws {RequiredError}
896
+ */
897
+ getSignedPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig): AxiosPromise<SignedPortPreviewUrl>;
898
+ /**
899
+ *
900
+ * @summary Get toolbox proxy URL for a sandbox
901
+ * @param {string} sandboxId ID of the sandbox
902
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
903
+ * @param {*} [options] Override http request option.
904
+ * @throws {RequiredError}
905
+ */
906
+ getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ToolboxProxyUrl>;
907
+ /**
908
+ *
909
+ * @summary List all sandboxes
910
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
911
+ * @param {boolean} [verbose] Include verbose output
912
+ * @param {string} [labels] JSON encoded labels to filter by
913
+ * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
918
+ /**
919
+ *
920
+ * @summary List all sandboxes paginated
921
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
922
+ * @param {number} [page] Page number of the results
923
+ * @param {number} [limit] Number of results per page
924
+ * @param {string} [id] Filter by partial ID match
925
+ * @param {string} [name] Filter by partial name match
926
+ * @param {string} [labels] JSON encoded labels to filter by
927
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
928
+ * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
929
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
930
+ * @param {Array<string>} [regions] List of regions to filter by
931
+ * @param {number} [minCpu] Minimum CPU
932
+ * @param {number} [maxCpu] Maximum CPU
933
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
934
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
935
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
936
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
937
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
938
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
939
+ * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
940
+ * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
941
+ * @param {*} [options] Override http request option.
942
+ * @throws {RequiredError}
943
+ */
944
+ listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSandboxes>;
945
+ /**
946
+ *
947
+ * @summary Recover sandbox from error state
948
+ * @param {string} sandboxIdOrName ID or name of the sandbox
949
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
950
+ * @param {*} [options] Override http request option.
951
+ * @throws {RequiredError}
952
+ */
953
+ recoverSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
954
+ /**
955
+ *
956
+ * @summary Replace sandbox labels
957
+ * @param {string} sandboxIdOrName ID or name of the sandbox
958
+ * @param {SandboxLabels} sandboxLabels
959
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SandboxLabels>;
964
+ /**
965
+ *
966
+ * @summary Resize sandbox resources
967
+ * @param {string} sandboxIdOrName ID or name of the sandbox
968
+ * @param {ResizeSandbox} resizeSandbox
969
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
970
+ * @param {*} [options] Override http request option.
971
+ * @throws {RequiredError}
972
+ */
973
+ resizeSandbox(sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
974
+ /**
975
+ *
976
+ * @summary Revoke SSH access for sandbox
977
+ * @param {string} sandboxIdOrName ID or name of the sandbox
978
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
979
+ * @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
984
+ /**
985
+ *
986
+ * @summary Set sandbox auto-archive interval
987
+ * @param {string} sandboxIdOrName ID or name of the sandbox
988
+ * @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
989
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
990
+ * @param {*} [options] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
994
+ /**
995
+ *
996
+ * @summary Set sandbox auto-delete interval
997
+ * @param {string} sandboxIdOrName ID or name of the sandbox
998
+ * @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
999
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1000
+ * @param {*} [options] Override http request option.
1001
+ * @throws {RequiredError}
1002
+ */
1003
+ setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
1004
+ /**
1005
+ *
1006
+ * @summary Set sandbox auto-stop interval
1007
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1008
+ * @param {number} interval Auto-stop interval in minutes (0 to disable)
1009
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ */
1013
+ setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
1014
+ /**
1015
+ *
1016
+ * @summary Start sandbox
1017
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1018
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1019
+ * @param {*} [options] Override http request option.
1020
+ * @throws {RequiredError}
1021
+ */
1022
+ startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
1023
+ /**
1024
+ *
1025
+ * @summary Stop sandbox
1026
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1027
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1028
+ * @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
1033
+ /**
1034
+ *
1035
+ * @summary Update sandbox last activity
1036
+ * @param {string} sandboxId ID of the sandbox
1037
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1038
+ * @param {*} [options] Override http request option.
1039
+ * @throws {RequiredError}
1040
+ */
1041
+ updateLastActivity(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1042
+ /**
1043
+ *
1044
+ * @summary Update public status
1045
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1046
+ * @param {boolean} isPublic Public status to set
1047
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1048
+ * @param {*} [options] Override http request option.
1049
+ * @throws {RequiredError}
1050
+ */
1051
+ updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
1052
+ /**
1053
+ *
1054
+ * @summary Update sandbox state
1055
+ * @param {string} sandboxId ID of the sandbox
1056
+ * @param {UpdateSandboxStateDto} updateSandboxStateDto
1057
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ */
1061
+ updateSandboxState(sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1062
+ /**
1063
+ *
1064
+ * @summary Validate SSH access for sandbox
1065
+ * @param {string} token SSH access token to validate
1066
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1067
+ * @param {*} [options] Override http request option.
1068
+ * @throws {RequiredError}
1069
+ */
1070
+ validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SshAccessValidationDto>;
1071
+ };
1072
+ /**
1073
+ * SandboxApi - object-oriented interface
1074
+ * @export
1075
+ * @class SandboxApi
1076
+ * @extends {BaseAPI}
1077
+ */
1078
+ export declare class SandboxApi extends BaseAPI {
1079
+ /**
1080
+ *
1081
+ * @summary Archive sandbox
1082
+ * @param {string} sandboxIdOrName
1083
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1084
+ * @param {*} [options] Override http request option.
1085
+ * @throws {RequiredError}
1086
+ * @memberof SandboxApi
1087
+ */
1088
+ archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1089
+ /**
1090
+ *
1091
+ * @summary Create sandbox backup
1092
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1093
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1094
+ * @param {*} [options] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ * @memberof SandboxApi
1097
+ */
1098
+ createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1099
+ /**
1100
+ *
1101
+ * @summary Create a new sandbox
1102
+ * @param {CreateSandbox} createSandbox
1103
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1104
+ * @param {*} [options] Override http request option.
1105
+ * @throws {RequiredError}
1106
+ * @memberof SandboxApi
1107
+ */
1108
+ createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1109
+ /**
1110
+ *
1111
+ * @summary Create SSH access for sandbox
1112
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1113
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1114
+ * @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ * @memberof SandboxApi
1118
+ */
1119
+ createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessDto, any, {}>>;
1120
+ /**
1121
+ *
1122
+ * @summary Delete sandbox
1123
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1124
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1125
+ * @param {*} [options] Override http request option.
1126
+ * @throws {RequiredError}
1127
+ * @memberof SandboxApi
1128
+ */
1129
+ deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1130
+ /**
1131
+ *
1132
+ * @summary Expire signed preview URL for a sandbox port
1133
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1134
+ * @param {number} port Port number to expire signed preview URL for
1135
+ * @param {string} token Token to expire signed preview URL for
1136
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1137
+ * @param {*} [options] Override http request option.
1138
+ * @throws {RequiredError}
1139
+ * @memberof SandboxApi
1140
+ */
1141
+ expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1142
+ /**
1143
+ * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
1144
+ * @summary Get build logs
1145
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1146
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1147
+ * @param {boolean} [follow] Whether to follow the logs stream
1148
+ * @param {*} [options] Override http request option.
1149
+ * @deprecated
1150
+ * @throws {RequiredError}
1151
+ * @memberof SandboxApi
1152
+ */
1153
+ getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1154
+ /**
1155
+ *
1156
+ * @summary Get build logs URL
1157
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1158
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1159
+ * @param {*} [options] Override http request option.
1160
+ * @throws {RequiredError}
1161
+ * @memberof SandboxApi
1162
+ */
1163
+ getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Url, any, {}>>;
1164
+ /**
1165
+ *
1166
+ * @summary Get preview URL for a sandbox port
1167
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1168
+ * @param {number} port Port number to get preview URL for
1169
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1170
+ * @param {*} [options] Override http request option.
1171
+ * @throws {RequiredError}
1172
+ * @memberof SandboxApi
1173
+ */
1174
+ getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any, {}>>;
1175
+ /**
1176
+ *
1177
+ * @summary Get sandbox details
1178
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1179
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1180
+ * @param {boolean} [verbose] Include verbose output
1181
+ * @param {*} [options] Override http request option.
1182
+ * @throws {RequiredError}
1183
+ * @memberof SandboxApi
1184
+ */
1185
+ getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1186
+ /**
1187
+ * Retrieve OTEL logs for a sandbox within a time range
1188
+ * @summary Get sandbox logs
1189
+ * @param {string} sandboxId ID of the sandbox
1190
+ * @param {Date} from Start of time range (ISO 8601)
1191
+ * @param {Date} to End of time range (ISO 8601)
1192
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1193
+ * @param {number} [page] Page number (1-indexed)
1194
+ * @param {number} [limit] Number of items per page
1195
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
1196
+ * @param {string} [search] Search in log body
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ * @memberof SandboxApi
1200
+ */
1201
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedLogs, any, {}>>;
1202
+ /**
1203
+ * Retrieve OTEL metrics for a sandbox within a time range
1204
+ * @summary Get sandbox metrics
1205
+ * @param {string} sandboxId ID of the sandbox
1206
+ * @param {Date} from Start of time range (ISO 8601)
1207
+ * @param {Date} to End of time range (ISO 8601)
1208
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1209
+ * @param {Array<string>} [metricNames] Filter by metric names
1210
+ * @param {*} [options] Override http request option.
1211
+ * @throws {RequiredError}
1212
+ * @memberof SandboxApi
1213
+ */
1214
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any, {}>>;
1215
+ /**
1216
+ * Retrieve all spans for a specific trace
1217
+ * @summary Get trace spans
1218
+ * @param {string} sandboxId ID of the sandbox
1219
+ * @param {string} traceId ID of the trace
1220
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ * @memberof SandboxApi
1224
+ */
1225
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TraceSpan[], any, {}>>;
1226
+ /**
1227
+ * Retrieve OTEL traces for a sandbox within a time range
1228
+ * @summary Get sandbox traces
1229
+ * @param {string} sandboxId ID of the sandbox
1230
+ * @param {Date} from Start of time range (ISO 8601)
1231
+ * @param {Date} to End of time range (ISO 8601)
1232
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1233
+ * @param {number} [page] Page number (1-indexed)
1234
+ * @param {number} [limit] Number of items per page
1235
+ * @param {*} [options] Override http request option.
1236
+ * @throws {RequiredError}
1237
+ * @memberof SandboxApi
1238
+ */
1239
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTraces, any, {}>>;
1240
+ /**
1241
+ *
1242
+ * @summary Get sandboxes for the authenticated runner
1243
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1244
+ * @param {string} [states] Comma-separated list of sandbox states to filter by
1245
+ * @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
1246
+ * @param {*} [options] Override http request option.
1247
+ * @throws {RequiredError}
1248
+ * @memberof SandboxApi
1249
+ */
1250
+ getSandboxesForRunner(xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
1251
+ /**
1252
+ *
1253
+ * @summary Get signed preview URL for a sandbox port
1254
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1255
+ * @param {number} port Port number to get signed preview URL for
1256
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1257
+ * @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
1258
+ * @param {*} [options] Override http request option.
1259
+ * @throws {RequiredError}
1260
+ * @memberof SandboxApi
1261
+ */
1262
+ getSignedPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignedPortPreviewUrl, any, {}>>;
1263
+ /**
1264
+ *
1265
+ * @summary Get toolbox proxy URL for a sandbox
1266
+ * @param {string} sandboxId ID of the sandbox
1267
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ * @memberof SandboxApi
1271
+ */
1272
+ getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToolboxProxyUrl, any, {}>>;
1273
+ /**
1274
+ *
1275
+ * @summary List all sandboxes
1276
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1277
+ * @param {boolean} [verbose] Include verbose output
1278
+ * @param {string} [labels] JSON encoded labels to filter by
1279
+ * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ * @memberof SandboxApi
1283
+ */
1284
+ listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
1285
+ /**
1286
+ *
1287
+ * @summary List all sandboxes paginated
1288
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1289
+ * @param {number} [page] Page number of the results
1290
+ * @param {number} [limit] Number of results per page
1291
+ * @param {string} [id] Filter by partial ID match
1292
+ * @param {string} [name] Filter by partial name match
1293
+ * @param {string} [labels] JSON encoded labels to filter by
1294
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1295
+ * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1296
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
1297
+ * @param {Array<string>} [regions] List of regions to filter by
1298
+ * @param {number} [minCpu] Minimum CPU
1299
+ * @param {number} [maxCpu] Maximum CPU
1300
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
1301
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
1302
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
1303
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
1304
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1305
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1306
+ * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1307
+ * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1308
+ * @param {*} [options] Override http request option.
1309
+ * @throws {RequiredError}
1310
+ * @memberof SandboxApi
1311
+ */
1312
+ listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxes, any, {}>>;
1313
+ /**
1314
+ *
1315
+ * @summary Recover sandbox from error state
1316
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1317
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1318
+ * @param {*} [options] Override http request option.
1319
+ * @throws {RequiredError}
1320
+ * @memberof SandboxApi
1321
+ */
1322
+ recoverSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1323
+ /**
1324
+ *
1325
+ * @summary Replace sandbox labels
1326
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1327
+ * @param {SandboxLabels} sandboxLabels
1328
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1329
+ * @param {*} [options] Override http request option.
1330
+ * @throws {RequiredError}
1331
+ * @memberof SandboxApi
1332
+ */
1333
+ replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any, {}>>;
1334
+ /**
1335
+ *
1336
+ * @summary Resize sandbox resources
1337
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1338
+ * @param {ResizeSandbox} resizeSandbox
1339
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1340
+ * @param {*} [options] Override http request option.
1341
+ * @throws {RequiredError}
1342
+ * @memberof SandboxApi
1343
+ */
1344
+ resizeSandbox(sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1345
+ /**
1346
+ *
1347
+ * @summary Revoke SSH access for sandbox
1348
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1349
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1350
+ * @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
1351
+ * @param {*} [options] Override http request option.
1352
+ * @throws {RequiredError}
1353
+ * @memberof SandboxApi
1354
+ */
1355
+ revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1356
+ /**
1357
+ *
1358
+ * @summary Set sandbox auto-archive interval
1359
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1360
+ * @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
1361
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ * @memberof SandboxApi
1365
+ */
1366
+ setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1367
+ /**
1368
+ *
1369
+ * @summary Set sandbox auto-delete interval
1370
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1371
+ * @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
1372
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1373
+ * @param {*} [options] Override http request option.
1374
+ * @throws {RequiredError}
1375
+ * @memberof SandboxApi
1376
+ */
1377
+ setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1378
+ /**
1379
+ *
1380
+ * @summary Set sandbox auto-stop interval
1381
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1382
+ * @param {number} interval Auto-stop interval in minutes (0 to disable)
1383
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1384
+ * @param {*} [options] Override http request option.
1385
+ * @throws {RequiredError}
1386
+ * @memberof SandboxApi
1387
+ */
1388
+ setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1389
+ /**
1390
+ *
1391
+ * @summary Start sandbox
1392
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1393
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1394
+ * @param {*} [options] Override http request option.
1395
+ * @throws {RequiredError}
1396
+ * @memberof SandboxApi
1397
+ */
1398
+ startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1399
+ /**
1400
+ *
1401
+ * @summary Stop sandbox
1402
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1403
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1404
+ * @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ * @memberof SandboxApi
1408
+ */
1409
+ stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, force?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1410
+ /**
1411
+ *
1412
+ * @summary Update sandbox last activity
1413
+ * @param {string} sandboxId ID of the sandbox
1414
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1415
+ * @param {*} [options] Override http request option.
1416
+ * @throws {RequiredError}
1417
+ * @memberof SandboxApi
1418
+ */
1419
+ updateLastActivity(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1420
+ /**
1421
+ *
1422
+ * @summary Update public status
1423
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1424
+ * @param {boolean} isPublic Public status to set
1425
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ * @memberof SandboxApi
1429
+ */
1430
+ updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1431
+ /**
1432
+ *
1433
+ * @summary Update sandbox state
1434
+ * @param {string} sandboxId ID of the sandbox
1435
+ * @param {UpdateSandboxStateDto} updateSandboxStateDto
1436
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1437
+ * @param {*} [options] Override http request option.
1438
+ * @throws {RequiredError}
1439
+ * @memberof SandboxApi
1440
+ */
1441
+ updateSandboxState(sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1442
+ /**
1443
+ *
1444
+ * @summary Validate SSH access for sandbox
1445
+ * @param {string} token SSH access token to validate
1446
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ * @memberof SandboxApi
1450
+ */
1451
+ validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any, {}>>;
1452
+ }
1453
+ /**
1454
+ * @export
1455
+ */
1456
+ export declare const ListSandboxesPaginatedStatesEnum: {
1457
+ readonly CREATING: "creating";
1458
+ readonly RESTORING: "restoring";
1459
+ readonly DESTROYING: "destroying";
1460
+ readonly STARTED: "started";
1461
+ readonly STOPPED: "stopped";
1462
+ readonly STARTING: "starting";
1463
+ readonly STOPPING: "stopping";
1464
+ readonly ERROR: "error";
1465
+ readonly BUILD_FAILED: "build_failed";
1466
+ readonly PENDING_BUILD: "pending_build";
1467
+ readonly BUILDING_SNAPSHOT: "building_snapshot";
1468
+ readonly UNKNOWN: "unknown";
1469
+ readonly PULLING_SNAPSHOT: "pulling_snapshot";
1470
+ readonly ARCHIVED: "archived";
1471
+ readonly ARCHIVING: "archiving";
1472
+ readonly RESIZING: "resizing";
1473
+ };
1474
+ export type ListSandboxesPaginatedStatesEnum = typeof ListSandboxesPaginatedStatesEnum[keyof typeof ListSandboxesPaginatedStatesEnum];
1475
+ /**
1476
+ * @export
1477
+ */
1478
+ export declare const ListSandboxesPaginatedSortEnum: {
1479
+ readonly ID: "id";
1480
+ readonly NAME: "name";
1481
+ readonly STATE: "state";
1482
+ readonly SNAPSHOT: "snapshot";
1483
+ readonly REGION: "region";
1484
+ readonly UPDATED_AT: "updatedAt";
1485
+ readonly CREATED_AT: "createdAt";
1486
+ };
1487
+ export type ListSandboxesPaginatedSortEnum = typeof ListSandboxesPaginatedSortEnum[keyof typeof ListSandboxesPaginatedSortEnum];
1488
+ /**
1489
+ * @export
1490
+ */
1491
+ export declare const ListSandboxesPaginatedOrderEnum: {
1492
+ readonly ASC: "asc";
1493
+ readonly DESC: "desc";
1494
+ };
1495
+ export type ListSandboxesPaginatedOrderEnum = typeof ListSandboxesPaginatedOrderEnum[keyof typeof ListSandboxesPaginatedOrderEnum];