@daytona/toolbox-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 (283) hide show
  1. package/package.json +25 -0
  2. package/src/api/computer-use-api.d.ts +1013 -0
  3. package/src/api/computer-use-api.js +1890 -0
  4. package/src/api/computer-use-api.js.map +1 -0
  5. package/src/api/file-system-api.d.ts +519 -0
  6. package/src/api/file-system-api.js +969 -0
  7. package/src/api/file-system-api.js.map +1 -0
  8. package/src/api/git-api.d.ts +414 -0
  9. package/src/api/git-api.js +768 -0
  10. package/src/api/git-api.js.map +1 -0
  11. package/src/api/info-api.d.ts +135 -0
  12. package/src/api/info-api.js +229 -0
  13. package/src/api/info-api.js.map +1 -0
  14. package/src/api/interpreter-api.d.ts +173 -0
  15. package/src/api/interpreter-api.js +300 -0
  16. package/src/api/interpreter-api.js.map +1 -0
  17. package/src/api/lsp-api.d.ts +292 -0
  18. package/src/api/lsp-api.js +547 -0
  19. package/src/api/lsp-api.js.map +1 -0
  20. package/src/api/port-api.d.ts +104 -0
  21. package/src/api/port-api.js +180 -0
  22. package/src/api/port-api.js.map +1 -0
  23. package/src/api/process-api.d.ts +636 -0
  24. package/src/api/process-api.js +1166 -0
  25. package/src/api/process-api.js.map +1 -0
  26. package/src/api/server-api.d.ts +80 -0
  27. package/src/api/server-api.js +125 -0
  28. package/src/api/server-api.js.map +1 -0
  29. package/src/api.d.ts +20 -0
  30. package/src/api.js +39 -0
  31. package/src/api.js.map +1 -0
  32. package/src/base.d.ts +66 -0
  33. package/src/base.js +69 -0
  34. package/src/base.js.map +1 -0
  35. package/src/common.d.ts +65 -0
  36. package/src/common.js +146 -0
  37. package/src/common.js.map +1 -0
  38. package/src/configuration.d.ts +91 -0
  39. package/src/configuration.js +107 -0
  40. package/src/configuration.js.map +1 -0
  41. package/src/index.d.ts +14 -0
  42. package/src/index.js +33 -0
  43. package/src/index.js.map +1 -0
  44. package/src/models/command.d.ts +36 -0
  45. package/src/models/command.js +16 -0
  46. package/src/models/command.js.map +1 -0
  47. package/src/models/completion-context.d.ts +30 -0
  48. package/src/models/completion-context.js +16 -0
  49. package/src/models/completion-context.js.map +1 -0
  50. package/src/models/completion-item.d.ts +60 -0
  51. package/src/models/completion-item.js +16 -0
  52. package/src/models/completion-item.js.map +1 -0
  53. package/src/models/completion-list.d.ts +31 -0
  54. package/src/models/completion-list.js +16 -0
  55. package/src/models/completion-list.js.map +1 -0
  56. package/src/models/computer-use-start-response.d.ts +33 -0
  57. package/src/models/computer-use-start-response.js +16 -0
  58. package/src/models/computer-use-start-response.js.map +1 -0
  59. package/src/models/computer-use-status-response.d.ts +24 -0
  60. package/src/models/computer-use-status-response.js +16 -0
  61. package/src/models/computer-use-status-response.js.map +1 -0
  62. package/src/models/computer-use-stop-response.d.ts +33 -0
  63. package/src/models/computer-use-stop-response.js +16 -0
  64. package/src/models/computer-use-stop-response.js.map +1 -0
  65. package/src/models/create-context-request.d.ts +30 -0
  66. package/src/models/create-context-request.js +16 -0
  67. package/src/models/create-context-request.js.map +1 -0
  68. package/src/models/create-session-request.d.ts +24 -0
  69. package/src/models/create-session-request.js +16 -0
  70. package/src/models/create-session-request.js.map +1 -0
  71. package/src/models/display-info-response.d.ts +25 -0
  72. package/src/models/display-info-response.js +16 -0
  73. package/src/models/display-info-response.js.map +1 -0
  74. package/src/models/display-info.d.ts +54 -0
  75. package/src/models/display-info.js +16 -0
  76. package/src/models/display-info.js.map +1 -0
  77. package/src/models/execute-request.d.ts +36 -0
  78. package/src/models/execute-request.js +16 -0
  79. package/src/models/execute-request.js.map +1 -0
  80. package/src/models/execute-response.d.ts +30 -0
  81. package/src/models/execute-response.js +16 -0
  82. package/src/models/execute-response.js.map +1 -0
  83. package/src/models/file-info.d.ts +66 -0
  84. package/src/models/file-info.js +16 -0
  85. package/src/models/file-info.js.map +1 -0
  86. package/src/models/file-status.d.ts +43 -0
  87. package/src/models/file-status.js +16 -0
  88. package/src/models/file-status.js.map +1 -0
  89. package/src/models/files-download-request.d.ts +24 -0
  90. package/src/models/files-download-request.js +16 -0
  91. package/src/models/files-download-request.js.map +1 -0
  92. package/src/models/git-add-request.d.ts +30 -0
  93. package/src/models/git-add-request.js +16 -0
  94. package/src/models/git-add-request.js.map +1 -0
  95. package/src/models/git-branch-request.d.ts +30 -0
  96. package/src/models/git-branch-request.js +16 -0
  97. package/src/models/git-branch-request.js.map +1 -0
  98. package/src/models/git-checkout-request.d.ts +30 -0
  99. package/src/models/git-checkout-request.js +16 -0
  100. package/src/models/git-checkout-request.js.map +1 -0
  101. package/src/models/git-clone-request.d.ts +54 -0
  102. package/src/models/git-clone-request.js +16 -0
  103. package/src/models/git-clone-request.js.map +1 -0
  104. package/src/models/git-commit-info.d.ts +48 -0
  105. package/src/models/git-commit-info.js +16 -0
  106. package/src/models/git-commit-info.js.map +1 -0
  107. package/src/models/git-commit-request.d.ts +48 -0
  108. package/src/models/git-commit-request.js +16 -0
  109. package/src/models/git-commit-request.js.map +1 -0
  110. package/src/models/git-commit-response.d.ts +24 -0
  111. package/src/models/git-commit-response.js +16 -0
  112. package/src/models/git-commit-response.js.map +1 -0
  113. package/src/models/git-git-delete-branch-request.d.ts +30 -0
  114. package/src/models/git-git-delete-branch-request.js +16 -0
  115. package/src/models/git-git-delete-branch-request.js.map +1 -0
  116. package/src/models/git-repo-request.d.ts +36 -0
  117. package/src/models/git-repo-request.js +16 -0
  118. package/src/models/git-repo-request.js.map +1 -0
  119. package/src/models/git-status.d.ts +49 -0
  120. package/src/models/git-status.js +16 -0
  121. package/src/models/git-status.js.map +1 -0
  122. package/src/models/index.d.ts +79 -0
  123. package/src/models/index.js +96 -0
  124. package/src/models/index.js.map +1 -0
  125. package/src/models/initialize-request.d.ts +24 -0
  126. package/src/models/initialize-request.js +16 -0
  127. package/src/models/initialize-request.js.map +1 -0
  128. package/src/models/interpreter-context.d.ts +48 -0
  129. package/src/models/interpreter-context.js +16 -0
  130. package/src/models/interpreter-context.js.map +1 -0
  131. package/src/models/is-port-in-use-response.d.ts +24 -0
  132. package/src/models/is-port-in-use-response.js +16 -0
  133. package/src/models/is-port-in-use-response.js.map +1 -0
  134. package/src/models/keyboard-hotkey-request.d.ts +24 -0
  135. package/src/models/keyboard-hotkey-request.js +16 -0
  136. package/src/models/keyboard-hotkey-request.js.map +1 -0
  137. package/src/models/keyboard-press-request.d.ts +30 -0
  138. package/src/models/keyboard-press-request.js +16 -0
  139. package/src/models/keyboard-press-request.js.map +1 -0
  140. package/src/models/keyboard-type-request.d.ts +30 -0
  141. package/src/models/keyboard-type-request.js +16 -0
  142. package/src/models/keyboard-type-request.js.map +1 -0
  143. package/src/models/list-branch-response.d.ts +24 -0
  144. package/src/models/list-branch-response.js +16 -0
  145. package/src/models/list-branch-response.js.map +1 -0
  146. package/src/models/list-contexts-response.d.ts +25 -0
  147. package/src/models/list-contexts-response.js +16 -0
  148. package/src/models/list-contexts-response.js.map +1 -0
  149. package/src/models/list-recordings-response.d.ts +25 -0
  150. package/src/models/list-recordings-response.js +16 -0
  151. package/src/models/list-recordings-response.js.map +1 -0
  152. package/src/models/lsp-completion-params.d.ts +50 -0
  153. package/src/models/lsp-completion-params.js +16 -0
  154. package/src/models/lsp-completion-params.js.map +1 -0
  155. package/src/models/lsp-document-request.d.ts +36 -0
  156. package/src/models/lsp-document-request.js +16 -0
  157. package/src/models/lsp-document-request.js.map +1 -0
  158. package/src/models/lsp-location.d.ts +31 -0
  159. package/src/models/lsp-location.js +16 -0
  160. package/src/models/lsp-location.js.map +1 -0
  161. package/src/models/lsp-position.d.ts +30 -0
  162. package/src/models/lsp-position.js +16 -0
  163. package/src/models/lsp-position.js.map +1 -0
  164. package/src/models/lsp-range.d.ts +31 -0
  165. package/src/models/lsp-range.js +16 -0
  166. package/src/models/lsp-range.js.map +1 -0
  167. package/src/models/lsp-server-request.d.ts +30 -0
  168. package/src/models/lsp-server-request.js +16 -0
  169. package/src/models/lsp-server-request.js.map +1 -0
  170. package/src/models/lsp-symbol.d.ts +37 -0
  171. package/src/models/lsp-symbol.js +16 -0
  172. package/src/models/lsp-symbol.js.map +1 -0
  173. package/src/models/match.d.ts +36 -0
  174. package/src/models/match.js +16 -0
  175. package/src/models/match.js.map +1 -0
  176. package/src/models/mouse-click-request.d.ts +42 -0
  177. package/src/models/mouse-click-request.js +16 -0
  178. package/src/models/mouse-click-request.js.map +1 -0
  179. package/src/models/mouse-click-response.d.ts +30 -0
  180. package/src/models/mouse-click-response.js +16 -0
  181. package/src/models/mouse-click-response.js.map +1 -0
  182. package/src/models/mouse-drag-request.d.ts +48 -0
  183. package/src/models/mouse-drag-request.js +16 -0
  184. package/src/models/mouse-drag-request.js.map +1 -0
  185. package/src/models/mouse-drag-response.d.ts +30 -0
  186. package/src/models/mouse-drag-response.js +16 -0
  187. package/src/models/mouse-drag-response.js.map +1 -0
  188. package/src/models/mouse-move-request.d.ts +30 -0
  189. package/src/models/mouse-move-request.js +16 -0
  190. package/src/models/mouse-move-request.js.map +1 -0
  191. package/src/models/mouse-position-response.d.ts +30 -0
  192. package/src/models/mouse-position-response.js +16 -0
  193. package/src/models/mouse-position-response.js.map +1 -0
  194. package/src/models/mouse-scroll-request.d.ts +42 -0
  195. package/src/models/mouse-scroll-request.js +16 -0
  196. package/src/models/mouse-scroll-request.js.map +1 -0
  197. package/src/models/port-list.d.ts +24 -0
  198. package/src/models/port-list.js +16 -0
  199. package/src/models/port-list.js.map +1 -0
  200. package/src/models/position.d.ts +30 -0
  201. package/src/models/position.js +16 -0
  202. package/src/models/position.js.map +1 -0
  203. package/src/models/process-errors-response.d.ts +30 -0
  204. package/src/models/process-errors-response.js +16 -0
  205. package/src/models/process-errors-response.js.map +1 -0
  206. package/src/models/process-logs-response.d.ts +30 -0
  207. package/src/models/process-logs-response.js +16 -0
  208. package/src/models/process-logs-response.js.map +1 -0
  209. package/src/models/process-restart-response.d.ts +30 -0
  210. package/src/models/process-restart-response.js +16 -0
  211. package/src/models/process-restart-response.js.map +1 -0
  212. package/src/models/process-status-response.d.ts +30 -0
  213. package/src/models/process-status-response.js +16 -0
  214. package/src/models/process-status-response.js.map +1 -0
  215. package/src/models/process-status.d.ts +42 -0
  216. package/src/models/process-status.js +16 -0
  217. package/src/models/process-status.js.map +1 -0
  218. package/src/models/pty-create-request.d.ts +56 -0
  219. package/src/models/pty-create-request.js +16 -0
  220. package/src/models/pty-create-request.js.map +1 -0
  221. package/src/models/pty-create-response.d.ts +24 -0
  222. package/src/models/pty-create-response.js +16 -0
  223. package/src/models/pty-create-response.js.map +1 -0
  224. package/src/models/pty-list-response.d.ts +25 -0
  225. package/src/models/pty-list-response.js +16 -0
  226. package/src/models/pty-list-response.js.map +1 -0
  227. package/src/models/pty-resize-request.d.ts +30 -0
  228. package/src/models/pty-resize-request.js +16 -0
  229. package/src/models/pty-resize-request.js.map +1 -0
  230. package/src/models/pty-session-info.d.ts +68 -0
  231. package/src/models/pty-session-info.js +16 -0
  232. package/src/models/pty-session-info.js.map +1 -0
  233. package/src/models/recording.d.ts +66 -0
  234. package/src/models/recording.js +16 -0
  235. package/src/models/recording.js.map +1 -0
  236. package/src/models/replace-request.d.ts +36 -0
  237. package/src/models/replace-request.js +16 -0
  238. package/src/models/replace-request.js.map +1 -0
  239. package/src/models/replace-result.d.ts +36 -0
  240. package/src/models/replace-result.js +16 -0
  241. package/src/models/replace-result.js.map +1 -0
  242. package/src/models/screenshot-response.d.ts +37 -0
  243. package/src/models/screenshot-response.js +16 -0
  244. package/src/models/screenshot-response.js.map +1 -0
  245. package/src/models/scroll-response.d.ts +24 -0
  246. package/src/models/scroll-response.js +16 -0
  247. package/src/models/scroll-response.js.map +1 -0
  248. package/src/models/search-files-response.d.ts +24 -0
  249. package/src/models/search-files-response.js +16 -0
  250. package/src/models/search-files-response.js.map +1 -0
  251. package/src/models/session-execute-request.d.ts +42 -0
  252. package/src/models/session-execute-request.js +16 -0
  253. package/src/models/session-execute-request.js.map +1 -0
  254. package/src/models/session-execute-response.d.ts +48 -0
  255. package/src/models/session-execute-response.js +16 -0
  256. package/src/models/session-execute-response.js.map +1 -0
  257. package/src/models/session-send-input-request.d.ts +24 -0
  258. package/src/models/session-send-input-request.js +16 -0
  259. package/src/models/session-send-input-request.js.map +1 -0
  260. package/src/models/session.d.ts +31 -0
  261. package/src/models/session.js +16 -0
  262. package/src/models/session.js.map +1 -0
  263. package/src/models/start-recording-request.d.ts +24 -0
  264. package/src/models/start-recording-request.js +16 -0
  265. package/src/models/start-recording-request.js.map +1 -0
  266. package/src/models/status.d.ts +27 -0
  267. package/src/models/status.js +32 -0
  268. package/src/models/status.js.map +1 -0
  269. package/src/models/stop-recording-request.d.ts +24 -0
  270. package/src/models/stop-recording-request.js +16 -0
  271. package/src/models/stop-recording-request.js.map +1 -0
  272. package/src/models/user-home-dir-response.d.ts +24 -0
  273. package/src/models/user-home-dir-response.js +16 -0
  274. package/src/models/user-home-dir-response.js.map +1 -0
  275. package/src/models/window-info.d.ts +60 -0
  276. package/src/models/window-info.js +16 -0
  277. package/src/models/window-info.js.map +1 -0
  278. package/src/models/windows-response.d.ts +25 -0
  279. package/src/models/windows-response.js +16 -0
  280. package/src/models/windows-response.js.map +1 -0
  281. package/src/models/work-dir-response.d.ts +24 -0
  282. package/src/models/work-dir-response.js +16 -0
  283. package/src/models/work-dir-response.js.map +1 -0
@@ -0,0 +1,636 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
6
+ *
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 { Command } from '../models';
16
+ import type { CreateSessionRequest } from '../models';
17
+ import type { ExecuteRequest } from '../models';
18
+ import type { ExecuteResponse } from '../models';
19
+ import type { PtyCreateRequest } from '../models';
20
+ import type { PtyCreateResponse } from '../models';
21
+ import type { PtyListResponse } from '../models';
22
+ import type { PtyResizeRequest } from '../models';
23
+ import type { PtySessionInfo } from '../models';
24
+ import type { Session } from '../models';
25
+ import type { SessionExecuteRequest } from '../models';
26
+ import type { SessionExecuteResponse } from '../models';
27
+ import type { SessionSendInputRequest } from '../models';
28
+ /**
29
+ * ProcessApi - axios parameter creator
30
+ * @export
31
+ */
32
+ export declare const ProcessApiAxiosParamCreator: (configuration?: Configuration) => {
33
+ /**
34
+ * Establish a WebSocket connection to interact with a pseudo-terminal session
35
+ * @summary Connect to PTY session via WebSocket
36
+ * @param {string} sessionId PTY session ID
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ connectPtySession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Create a new pseudo-terminal session with specified configuration
43
+ * @summary Create a new PTY session
44
+ * @param {PtyCreateRequest} request PTY session creation request
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ createPtySession: (request: PtyCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Create a new shell session for command execution
51
+ * @summary Create a new session
52
+ * @param {CreateSessionRequest} request Session creation request
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ createSession: (request: CreateSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ * Delete a pseudo-terminal session and terminate its process
59
+ * @summary Delete a PTY session
60
+ * @param {string} sessionId PTY session ID
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ deletePtySession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * Delete an existing shell session
67
+ * @summary Delete a session
68
+ * @param {string} sessionId Session ID
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ deleteSession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ /**
74
+ * Execute a shell command and return the output and exit code
75
+ * @summary Execute a command
76
+ * @param {ExecuteRequest} request Command execution request
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ executeCommand: (request: ExecuteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
81
+ /**
82
+ * Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
83
+ * @summary Get entrypoint logs
84
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ getEntrypointLogs: (follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89
+ /**
90
+ * Get details of an entrypoint session including its commands
91
+ * @summary Get entrypoint session details
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ getEntrypointSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
96
+ /**
97
+ * Get detailed information about a specific pseudo-terminal session
98
+ * @summary Get PTY session information
99
+ * @param {string} sessionId PTY session ID
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ getPtySession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
104
+ /**
105
+ * Get details of a specific session including its commands
106
+ * @summary Get session details
107
+ * @param {string} sessionId Session ID
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ getSession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
+ /**
113
+ * Get details of a specific command within a session
114
+ * @summary Get session command details
115
+ * @param {string} sessionId Session ID
116
+ * @param {string} commandId Command ID
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getSessionCommand: (sessionId: string, commandId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
+ /**
122
+ * Get logs for a specific command within a session. Supports both HTTP and WebSocket streaming.
123
+ * @summary Get session command logs
124
+ * @param {string} sessionId Session ID
125
+ * @param {string} commandId Command ID
126
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ getSessionCommandLogs: (sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * Get a list of all active pseudo-terminal sessions
133
+ * @summary List all PTY sessions
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ listPtySessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
138
+ /**
139
+ * Get a list of all active shell sessions
140
+ * @summary List all sessions
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ listSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
145
+ /**
146
+ * Resize the terminal dimensions of a pseudo-terminal session
147
+ * @summary Resize a PTY session
148
+ * @param {string} sessionId PTY session ID
149
+ * @param {PtyResizeRequest} request Resize request with new dimensions
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ resizePtySession: (sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
154
+ /**
155
+ * Send input data to a running command in a session for interactive execution
156
+ * @summary Send input to command
157
+ * @param {string} sessionId Session ID
158
+ * @param {string} commandId Command ID
159
+ * @param {SessionSendInputRequest} request Input send request
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ sendInput: (sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
164
+ /**
165
+ * Execute a command within an existing shell session
166
+ * @summary Execute command in session
167
+ * @param {string} sessionId Session ID
168
+ * @param {SessionExecuteRequest} request Command execution request
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ sessionExecuteCommand: (sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
173
+ };
174
+ /**
175
+ * ProcessApi - functional programming interface
176
+ * @export
177
+ */
178
+ export declare const ProcessApiFp: (configuration?: Configuration) => {
179
+ /**
180
+ * Establish a WebSocket connection to interact with a pseudo-terminal session
181
+ * @summary Connect to PTY session via WebSocket
182
+ * @param {string} sessionId PTY session ID
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ connectPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
187
+ /**
188
+ * Create a new pseudo-terminal session with specified configuration
189
+ * @summary Create a new PTY session
190
+ * @param {PtyCreateRequest} request PTY session creation request
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ createPtySession(request: PtyCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyCreateResponse>>;
195
+ /**
196
+ * Create a new shell session for command execution
197
+ * @summary Create a new session
198
+ * @param {CreateSessionRequest} request Session creation request
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ createSession(request: CreateSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
203
+ /**
204
+ * Delete a pseudo-terminal session and terminate its process
205
+ * @summary Delete a PTY session
206
+ * @param {string} sessionId PTY session ID
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ deletePtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
211
+ [key: string]: object;
212
+ }>>;
213
+ /**
214
+ * Delete an existing shell session
215
+ * @summary Delete a session
216
+ * @param {string} sessionId Session ID
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ deleteSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
221
+ /**
222
+ * Execute a shell command and return the output and exit code
223
+ * @summary Execute a command
224
+ * @param {ExecuteRequest} request Command execution request
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ executeCommand(request: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>>;
229
+ /**
230
+ * Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
231
+ * @summary Get entrypoint logs
232
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
233
+ * @param {*} [options] Override http request option.
234
+ * @throws {RequiredError}
235
+ */
236
+ getEntrypointLogs(follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
237
+ /**
238
+ * Get details of an entrypoint session including its commands
239
+ * @summary Get entrypoint session details
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ getEntrypointSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>>;
244
+ /**
245
+ * Get detailed information about a specific pseudo-terminal session
246
+ * @summary Get PTY session information
247
+ * @param {string} sessionId PTY session ID
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ getPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
252
+ /**
253
+ * Get details of a specific session including its commands
254
+ * @summary Get session details
255
+ * @param {string} sessionId Session ID
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ getSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>>;
260
+ /**
261
+ * Get details of a specific command within a session
262
+ * @summary Get session command details
263
+ * @param {string} sessionId Session ID
264
+ * @param {string} commandId Command ID
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ getSessionCommand(sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
269
+ /**
270
+ * Get logs for a specific command within a session. Supports both HTTP and WebSocket streaming.
271
+ * @summary Get session command logs
272
+ * @param {string} sessionId Session ID
273
+ * @param {string} commandId Command ID
274
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ getSessionCommandLogs(sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
279
+ /**
280
+ * Get a list of all active pseudo-terminal sessions
281
+ * @summary List all PTY sessions
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ listPtySessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyListResponse>>;
286
+ /**
287
+ * Get a list of all active shell sessions
288
+ * @summary List all sessions
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ listSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Session>>>;
293
+ /**
294
+ * Resize the terminal dimensions of a pseudo-terminal session
295
+ * @summary Resize a PTY session
296
+ * @param {string} sessionId PTY session ID
297
+ * @param {PtyResizeRequest} request Resize request with new dimensions
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ resizePtySession(sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
302
+ /**
303
+ * Send input data to a running command in a session for interactive execution
304
+ * @summary Send input to command
305
+ * @param {string} sessionId Session ID
306
+ * @param {string} commandId Command ID
307
+ * @param {SessionSendInputRequest} request Input send request
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ */
311
+ sendInput(sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
312
+ /**
313
+ * Execute a command within an existing shell session
314
+ * @summary Execute command in session
315
+ * @param {string} sessionId Session ID
316
+ * @param {SessionExecuteRequest} request Command execution request
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ sessionExecuteCommand(sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionExecuteResponse>>;
321
+ };
322
+ /**
323
+ * ProcessApi - factory interface
324
+ * @export
325
+ */
326
+ export declare const ProcessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
327
+ /**
328
+ * Establish a WebSocket connection to interact with a pseudo-terminal session
329
+ * @summary Connect to PTY session via WebSocket
330
+ * @param {string} sessionId PTY session ID
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ connectPtySession(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
335
+ /**
336
+ * Create a new pseudo-terminal session with specified configuration
337
+ * @summary Create a new PTY session
338
+ * @param {PtyCreateRequest} request PTY session creation request
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ createPtySession(request: PtyCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PtyCreateResponse>;
343
+ /**
344
+ * Create a new shell session for command execution
345
+ * @summary Create a new session
346
+ * @param {CreateSessionRequest} request Session creation request
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ createSession(request: CreateSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
351
+ /**
352
+ * Delete a pseudo-terminal session and terminate its process
353
+ * @summary Delete a PTY session
354
+ * @param {string} sessionId PTY session ID
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ */
358
+ deletePtySession(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
359
+ [key: string]: object;
360
+ }>;
361
+ /**
362
+ * Delete an existing shell session
363
+ * @summary Delete a session
364
+ * @param {string} sessionId Session ID
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ deleteSession(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
369
+ /**
370
+ * Execute a shell command and return the output and exit code
371
+ * @summary Execute a command
372
+ * @param {ExecuteRequest} request Command execution request
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ executeCommand(request: ExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
377
+ /**
378
+ * Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
379
+ * @summary Get entrypoint logs
380
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ getEntrypointLogs(follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<string>;
385
+ /**
386
+ * Get details of an entrypoint session including its commands
387
+ * @summary Get entrypoint session details
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ getEntrypointSession(options?: RawAxiosRequestConfig): AxiosPromise<Session>;
392
+ /**
393
+ * Get detailed information about a specific pseudo-terminal session
394
+ * @summary Get PTY session information
395
+ * @param {string} sessionId PTY session ID
396
+ * @param {*} [options] Override http request option.
397
+ * @throws {RequiredError}
398
+ */
399
+ getPtySession(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
400
+ /**
401
+ * Get details of a specific session including its commands
402
+ * @summary Get session details
403
+ * @param {string} sessionId Session ID
404
+ * @param {*} [options] Override http request option.
405
+ * @throws {RequiredError}
406
+ */
407
+ getSession(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Session>;
408
+ /**
409
+ * Get details of a specific command within a session
410
+ * @summary Get session command details
411
+ * @param {string} sessionId Session ID
412
+ * @param {string} commandId Command ID
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ getSessionCommand(sessionId: string, commandId: string, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
417
+ /**
418
+ * Get logs for a specific command within a session. Supports both HTTP and WebSocket streaming.
419
+ * @summary Get session command logs
420
+ * @param {string} sessionId Session ID
421
+ * @param {string} commandId Command ID
422
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ getSessionCommandLogs(sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<string>;
427
+ /**
428
+ * Get a list of all active pseudo-terminal sessions
429
+ * @summary List all PTY sessions
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ listPtySessions(options?: RawAxiosRequestConfig): AxiosPromise<PtyListResponse>;
434
+ /**
435
+ * Get a list of all active shell sessions
436
+ * @summary List all sessions
437
+ * @param {*} [options] Override http request option.
438
+ * @throws {RequiredError}
439
+ */
440
+ listSessions(options?: RawAxiosRequestConfig): AxiosPromise<Array<Session>>;
441
+ /**
442
+ * Resize the terminal dimensions of a pseudo-terminal session
443
+ * @summary Resize a PTY session
444
+ * @param {string} sessionId PTY session ID
445
+ * @param {PtyResizeRequest} request Resize request with new dimensions
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ */
449
+ resizePtySession(sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
450
+ /**
451
+ * Send input data to a running command in a session for interactive execution
452
+ * @summary Send input to command
453
+ * @param {string} sessionId Session ID
454
+ * @param {string} commandId Command ID
455
+ * @param {SessionSendInputRequest} request Input send request
456
+ * @param {*} [options] Override http request option.
457
+ * @throws {RequiredError}
458
+ */
459
+ sendInput(sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
460
+ /**
461
+ * Execute a command within an existing shell session
462
+ * @summary Execute command in session
463
+ * @param {string} sessionId Session ID
464
+ * @param {SessionExecuteRequest} request Command execution request
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ sessionExecuteCommand(sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<SessionExecuteResponse>;
469
+ };
470
+ /**
471
+ * ProcessApi - object-oriented interface
472
+ * @export
473
+ * @class ProcessApi
474
+ * @extends {BaseAPI}
475
+ */
476
+ export declare class ProcessApi extends BaseAPI {
477
+ /**
478
+ * Establish a WebSocket connection to interact with a pseudo-terminal session
479
+ * @summary Connect to PTY session via WebSocket
480
+ * @param {string} sessionId PTY session ID
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ * @memberof ProcessApi
484
+ */
485
+ connectPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
486
+ /**
487
+ * Create a new pseudo-terminal session with specified configuration
488
+ * @summary Create a new PTY session
489
+ * @param {PtyCreateRequest} request PTY session creation request
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ * @memberof ProcessApi
493
+ */
494
+ createPtySession(request: PtyCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyCreateResponse, any, {}>>;
495
+ /**
496
+ * Create a new shell session for command execution
497
+ * @summary Create a new session
498
+ * @param {CreateSessionRequest} request Session creation request
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ * @memberof ProcessApi
502
+ */
503
+ createSession(request: CreateSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
504
+ /**
505
+ * Delete a pseudo-terminal session and terminate its process
506
+ * @summary Delete a PTY session
507
+ * @param {string} sessionId PTY session ID
508
+ * @param {*} [options] Override http request option.
509
+ * @throws {RequiredError}
510
+ * @memberof ProcessApi
511
+ */
512
+ deletePtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
513
+ [key: string]: object;
514
+ }, any, {}>>;
515
+ /**
516
+ * Delete an existing shell session
517
+ * @summary Delete a session
518
+ * @param {string} sessionId Session ID
519
+ * @param {*} [options] Override http request option.
520
+ * @throws {RequiredError}
521
+ * @memberof ProcessApi
522
+ */
523
+ deleteSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
524
+ /**
525
+ * Execute a shell command and return the output and exit code
526
+ * @summary Execute a command
527
+ * @param {ExecuteRequest} request Command execution request
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ * @memberof ProcessApi
531
+ */
532
+ executeCommand(request: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any, {}>>;
533
+ /**
534
+ * Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
535
+ * @summary Get entrypoint logs
536
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
537
+ * @param {*} [options] Override http request option.
538
+ * @throws {RequiredError}
539
+ * @memberof ProcessApi
540
+ */
541
+ getEntrypointLogs(follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
542
+ /**
543
+ * Get details of an entrypoint session including its commands
544
+ * @summary Get entrypoint session details
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ * @memberof ProcessApi
548
+ */
549
+ getEntrypointSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any, {}>>;
550
+ /**
551
+ * Get detailed information about a specific pseudo-terminal session
552
+ * @summary Get PTY session information
553
+ * @param {string} sessionId PTY session ID
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ * @memberof ProcessApi
557
+ */
558
+ getPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
559
+ /**
560
+ * Get details of a specific session including its commands
561
+ * @summary Get session details
562
+ * @param {string} sessionId Session ID
563
+ * @param {*} [options] Override http request option.
564
+ * @throws {RequiredError}
565
+ * @memberof ProcessApi
566
+ */
567
+ getSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any, {}>>;
568
+ /**
569
+ * Get details of a specific command within a session
570
+ * @summary Get session command details
571
+ * @param {string} sessionId Session ID
572
+ * @param {string} commandId Command ID
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ * @memberof ProcessApi
576
+ */
577
+ getSessionCommand(sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
578
+ /**
579
+ * Get logs for a specific command within a session. Supports both HTTP and WebSocket streaming.
580
+ * @summary Get session command logs
581
+ * @param {string} sessionId Session ID
582
+ * @param {string} commandId Command ID
583
+ * @param {boolean} [follow] Follow logs in real-time (WebSocket only)
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ * @memberof ProcessApi
587
+ */
588
+ getSessionCommandLogs(sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
589
+ /**
590
+ * Get a list of all active pseudo-terminal sessions
591
+ * @summary List all PTY sessions
592
+ * @param {*} [options] Override http request option.
593
+ * @throws {RequiredError}
594
+ * @memberof ProcessApi
595
+ */
596
+ listPtySessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyListResponse, any, {}>>;
597
+ /**
598
+ * Get a list of all active shell sessions
599
+ * @summary List all sessions
600
+ * @param {*} [options] Override http request option.
601
+ * @throws {RequiredError}
602
+ * @memberof ProcessApi
603
+ */
604
+ listSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session[], any, {}>>;
605
+ /**
606
+ * Resize the terminal dimensions of a pseudo-terminal session
607
+ * @summary Resize a PTY session
608
+ * @param {string} sessionId PTY session ID
609
+ * @param {PtyResizeRequest} request Resize request with new dimensions
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ * @memberof ProcessApi
613
+ */
614
+ resizePtySession(sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
615
+ /**
616
+ * Send input data to a running command in a session for interactive execution
617
+ * @summary Send input to command
618
+ * @param {string} sessionId Session ID
619
+ * @param {string} commandId Command ID
620
+ * @param {SessionSendInputRequest} request Input send request
621
+ * @param {*} [options] Override http request option.
622
+ * @throws {RequiredError}
623
+ * @memberof ProcessApi
624
+ */
625
+ sendInput(sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
626
+ /**
627
+ * Execute a command within an existing shell session
628
+ * @summary Execute command in session
629
+ * @param {string} sessionId Session ID
630
+ * @param {SessionExecuteRequest} request Command execution request
631
+ * @param {*} [options] Override http request option.
632
+ * @throws {RequiredError}
633
+ * @memberof ProcessApi
634
+ */
635
+ sessionExecuteCommand(sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionExecuteResponse, any, {}>>;
636
+ }