@daytonaio/api-client 0.21.8 → 0.22.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/package.json +5 -2
  2. package/src/api/runners-api.d.ts +0 -34
  3. package/src/api/runners-api.js +0 -73
  4. package/src/api/runners-api.js.map +1 -1
  5. package/src/api/sandbox-api.d.ts +7 -11
  6. package/src/api/sandbox-api.js +7 -14
  7. package/src/api/sandbox-api.js.map +1 -1
  8. package/src/api/snapshots-api.d.ts +0 -37
  9. package/src/api/snapshots-api.js +0 -77
  10. package/src/api/snapshots-api.js.map +1 -1
  11. package/src/api/toolbox-api.d.ts +953 -40
  12. package/src/api/toolbox-api.js +2260 -413
  13. package/src/api/toolbox-api.js.map +1 -1
  14. package/src/api.js +12 -11
  15. package/src/api.js.map +1 -1
  16. package/src/index.js +12 -11
  17. package/src/index.js.map +1 -1
  18. package/src/models/account-provider.js +12 -0
  19. package/src/models/account-provider.js.map +1 -1
  20. package/src/models/api-key-list.js +12 -0
  21. package/src/models/api-key-list.js.map +1 -1
  22. package/src/models/api-key-response.js +12 -0
  23. package/src/models/api-key-response.js.map +1 -1
  24. package/src/models/build-info.js +12 -0
  25. package/src/models/build-info.js.map +1 -1
  26. package/src/models/command.js +12 -0
  27. package/src/models/command.js.map +1 -1
  28. package/src/models/completion-context.js +12 -0
  29. package/src/models/completion-context.js.map +1 -1
  30. package/src/models/completion-item.js +12 -0
  31. package/src/models/completion-item.js.map +1 -1
  32. package/src/models/compressed-screenshot-response.d.ts +66 -0
  33. package/src/models/{sandbox-desired-state.js → compressed-screenshot-response.js} +3 -15
  34. package/src/models/compressed-screenshot-response.js.map +1 -0
  35. package/src/models/create-api-key.js +12 -0
  36. package/src/models/create-api-key.js.map +1 -1
  37. package/src/models/create-build-info.js +12 -0
  38. package/src/models/create-build-info.js.map +1 -1
  39. package/src/models/create-docker-registry.js +12 -0
  40. package/src/models/create-docker-registry.js.map +1 -1
  41. package/src/models/create-linked-account.js +12 -0
  42. package/src/models/create-linked-account.js.map +1 -1
  43. package/src/models/create-organization-invitation.js +12 -0
  44. package/src/models/create-organization-invitation.js.map +1 -1
  45. package/src/models/create-organization-quota.js +12 -0
  46. package/src/models/create-organization-quota.js.map +1 -1
  47. package/src/models/create-organization-role.js +12 -0
  48. package/src/models/create-organization-role.js.map +1 -1
  49. package/src/models/create-organization.js +12 -0
  50. package/src/models/create-organization.js.map +1 -1
  51. package/src/models/create-runner.js +12 -0
  52. package/src/models/create-runner.js.map +1 -1
  53. package/src/models/create-session-request.js +12 -0
  54. package/src/models/create-session-request.js.map +1 -1
  55. package/src/models/create-volume.js +12 -0
  56. package/src/models/create-volume.js.map +1 -1
  57. package/src/models/display-info-response.d.ts +36 -0
  58. package/src/models/display-info-response.js +16 -0
  59. package/src/models/display-info-response.js.map +1 -0
  60. package/src/models/docker-registry.js +12 -0
  61. package/src/models/docker-registry.js.map +1 -1
  62. package/src/models/execute-request.js +12 -0
  63. package/src/models/execute-request.js.map +1 -1
  64. package/src/models/execute-response.js +12 -0
  65. package/src/models/execute-response.js.map +1 -1
  66. package/src/models/file-info.js +12 -0
  67. package/src/models/file-info.js.map +1 -1
  68. package/src/models/file-status.js +12 -0
  69. package/src/models/file-status.js.map +1 -1
  70. package/src/models/git-add-request.js +12 -0
  71. package/src/models/git-add-request.js.map +1 -1
  72. package/src/models/git-branch-request.js +12 -0
  73. package/src/models/git-branch-request.js.map +1 -1
  74. package/src/models/git-checkout-request.js +12 -0
  75. package/src/models/git-checkout-request.js.map +1 -1
  76. package/src/models/git-clone-request.js +12 -0
  77. package/src/models/git-clone-request.js.map +1 -1
  78. package/src/models/git-commit-info.js +12 -0
  79. package/src/models/git-commit-info.js.map +1 -1
  80. package/src/models/git-commit-request.js +12 -0
  81. package/src/models/git-commit-request.js.map +1 -1
  82. package/src/models/git-commit-response.js +12 -0
  83. package/src/models/git-commit-response.js.map +1 -1
  84. package/src/models/git-delete-branch-request.js +12 -0
  85. package/src/models/git-delete-branch-request.js.map +1 -1
  86. package/src/models/git-repo-request.js +12 -0
  87. package/src/models/git-repo-request.js.map +1 -1
  88. package/src/models/index.d.ts +20 -2
  89. package/src/models/index.js +20 -2
  90. package/src/models/index.js.map +1 -1
  91. package/src/models/keyboard-hotkey-request.d.ts +24 -0
  92. package/src/models/keyboard-hotkey-request.js +16 -0
  93. package/src/models/keyboard-hotkey-request.js.map +1 -0
  94. package/src/models/keyboard-hotkey-response.d.ts +30 -0
  95. package/src/models/keyboard-hotkey-response.js +16 -0
  96. package/src/models/keyboard-hotkey-response.js.map +1 -0
  97. package/src/models/keyboard-press-request.d.ts +30 -0
  98. package/src/models/keyboard-press-request.js +16 -0
  99. package/src/models/keyboard-press-request.js.map +1 -0
  100. package/src/models/{runner-snapshot-dto.d.ts → keyboard-press-response.d.ts} +13 -13
  101. package/src/models/keyboard-press-response.js +16 -0
  102. package/src/models/keyboard-press-response.js.map +1 -0
  103. package/src/models/keyboard-type-request.d.ts +30 -0
  104. package/src/models/keyboard-type-request.js +16 -0
  105. package/src/models/keyboard-type-request.js.map +1 -0
  106. package/src/models/keyboard-type-response.d.ts +30 -0
  107. package/src/models/keyboard-type-response.js +16 -0
  108. package/src/models/keyboard-type-response.js.map +1 -0
  109. package/src/models/list-branch-response.js +12 -0
  110. package/src/models/list-branch-response.js.map +1 -1
  111. package/src/models/lsp-document-request.js +12 -0
  112. package/src/models/lsp-document-request.js.map +1 -1
  113. package/src/models/lsp-server-request.js +12 -0
  114. package/src/models/lsp-server-request.js.map +1 -1
  115. package/src/models/match.js +12 -0
  116. package/src/models/match.js.map +1 -1
  117. package/src/models/mouse-click-request.d.ts +42 -0
  118. package/src/models/mouse-click-request.js +16 -0
  119. package/src/models/mouse-click-request.js.map +1 -0
  120. package/src/models/mouse-click-response.d.ts +66 -0
  121. package/src/models/mouse-click-response.js +16 -0
  122. package/src/models/mouse-click-response.js.map +1 -0
  123. package/src/models/mouse-drag-request.d.ts +48 -0
  124. package/src/models/mouse-drag-request.js +16 -0
  125. package/src/models/mouse-drag-request.js.map +1 -0
  126. package/src/models/mouse-drag-response.d.ts +54 -0
  127. package/src/models/mouse-drag-response.js +16 -0
  128. package/src/models/mouse-drag-response.js.map +1 -0
  129. package/src/models/mouse-move-request.d.ts +30 -0
  130. package/src/models/mouse-move-request.js +16 -0
  131. package/src/models/mouse-move-request.js.map +1 -0
  132. package/src/models/mouse-move-response.d.ts +48 -0
  133. package/src/models/mouse-move-response.js +16 -0
  134. package/src/models/mouse-move-response.js.map +1 -0
  135. package/src/models/mouse-position.d.ts +30 -0
  136. package/src/models/mouse-position.js +16 -0
  137. package/src/models/mouse-position.js.map +1 -0
  138. package/src/models/mouse-scroll-request.d.ts +42 -0
  139. package/src/models/mouse-scroll-request.js +16 -0
  140. package/src/models/mouse-scroll-request.js.map +1 -0
  141. package/src/models/mouse-scroll-response.d.ts +54 -0
  142. package/src/models/mouse-scroll-response.js +16 -0
  143. package/src/models/mouse-scroll-response.js.map +1 -0
  144. package/src/models/organization-role.js +12 -0
  145. package/src/models/organization-role.js.map +1 -1
  146. package/src/models/organization-suspension.js +12 -0
  147. package/src/models/organization-suspension.js.map +1 -1
  148. package/src/models/organization.js +12 -0
  149. package/src/models/organization.js.map +1 -1
  150. package/src/models/port-preview-url.d.ts +0 -6
  151. package/src/models/port-preview-url.js +12 -0
  152. package/src/models/port-preview-url.js.map +1 -1
  153. package/src/models/position.js +12 -0
  154. package/src/models/position.js.map +1 -1
  155. package/src/models/project-dir-response.js +12 -0
  156. package/src/models/project-dir-response.js.map +1 -1
  157. package/src/models/region-screenshot-response.d.ts +36 -0
  158. package/src/models/region-screenshot-response.js +16 -0
  159. package/src/models/region-screenshot-response.js.map +1 -0
  160. package/src/models/registry-push-access-dto.js +12 -0
  161. package/src/models/registry-push-access-dto.js.map +1 -1
  162. package/src/models/replace-request.js +12 -0
  163. package/src/models/replace-request.js.map +1 -1
  164. package/src/models/replace-result.js +12 -0
  165. package/src/models/replace-result.js.map +1 -1
  166. package/src/models/runner-region.js +3 -2
  167. package/src/models/runner-region.js.map +1 -1
  168. package/src/models/runner-state.js +3 -2
  169. package/src/models/runner-state.js.map +1 -1
  170. package/src/models/sandbox-class.js +3 -2
  171. package/src/models/sandbox-class.js.map +1 -1
  172. package/src/models/sandbox-info.js +12 -0
  173. package/src/models/sandbox-info.js.map +1 -1
  174. package/src/models/sandbox-labels.js +12 -0
  175. package/src/models/sandbox-labels.js.map +1 -1
  176. package/src/models/sandbox-state.js +3 -2
  177. package/src/models/sandbox-state.js.map +1 -1
  178. package/src/models/sandbox-volume.js +12 -0
  179. package/src/models/sandbox-volume.js.map +1 -1
  180. package/src/models/sandbox.d.ts +0 -7
  181. package/src/models/sandbox.js.map +1 -1
  182. package/src/models/screenshot-response.d.ts +42 -0
  183. package/src/models/screenshot-response.js +16 -0
  184. package/src/models/screenshot-response.js.map +1 -0
  185. package/src/models/search-files-response.js +12 -0
  186. package/src/models/search-files-response.js.map +1 -1
  187. package/src/models/session-execute-request.js +12 -0
  188. package/src/models/session-execute-request.js.map +1 -1
  189. package/src/models/session-execute-response.js +12 -0
  190. package/src/models/session-execute-response.js.map +1 -1
  191. package/src/models/set-snapshot-general-status-dto.js +12 -0
  192. package/src/models/set-snapshot-general-status-dto.js.map +1 -1
  193. package/src/models/snapshot-state.d.ts +0 -1
  194. package/src/models/snapshot-state.js +3 -3
  195. package/src/models/snapshot-state.js.map +1 -1
  196. package/src/models/storage-access-dto.js +12 -0
  197. package/src/models/storage-access-dto.js.map +1 -1
  198. package/src/models/toggle-state.js +12 -0
  199. package/src/models/toggle-state.js.map +1 -1
  200. package/src/models/update-assigned-organization-roles.js +12 -0
  201. package/src/models/update-assigned-organization-roles.js.map +1 -1
  202. package/src/models/update-docker-registry.js +12 -0
  203. package/src/models/update-docker-registry.js.map +1 -1
  204. package/src/models/update-organization-invitation.js +12 -0
  205. package/src/models/update-organization-invitation.js.map +1 -1
  206. package/src/models/update-organization-member-role.js +12 -0
  207. package/src/models/update-organization-member-role.js.map +1 -1
  208. package/src/models/update-organization-quota.js +12 -0
  209. package/src/models/update-organization-quota.js.map +1 -1
  210. package/src/models/update-organization-role.js +12 -0
  211. package/src/models/update-organization-role.js.map +1 -1
  212. package/src/models/usage-overview.js +12 -0
  213. package/src/models/usage-overview.js.map +1 -1
  214. package/src/models/user-public-key.js +12 -0
  215. package/src/models/user-public-key.js.map +1 -1
  216. package/src/models/volume-state.js +3 -2
  217. package/src/models/volume-state.js.map +1 -1
  218. package/src/models/windows-response.d.ts +30 -0
  219. package/src/models/windows-response.js +16 -0
  220. package/src/models/windows-response.js.map +1 -0
  221. package/src/models/workspace.d.ts +0 -7
  222. package/src/models/workspace.js.map +1 -1
  223. package/src/models/runner-snapshot-dto.js +0 -4
  224. package/src/models/runner-snapshot-dto.js.map +0 -1
  225. package/src/models/sandbox-desired-state.d.ts +0 -24
  226. package/src/models/sandbox-desired-state.js.map +0 -1
@@ -14,7 +14,9 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { Command } from '../models';
16
16
  import type { CompletionList } from '../models';
17
+ import type { CompressedScreenshotResponse } from '../models';
17
18
  import type { CreateSessionRequest } from '../models';
19
+ import type { DisplayInfoResponse } from '../models';
18
20
  import type { ExecuteRequest } from '../models';
19
21
  import type { ExecuteResponse } from '../models';
20
22
  import type { FileInfo } from '../models';
@@ -28,24 +30,52 @@ import type { GitCommitResponse } from '../models';
28
30
  import type { GitDeleteBranchRequest } from '../models';
29
31
  import type { GitRepoRequest } from '../models';
30
32
  import type { GitStatus } from '../models';
33
+ import type { KeyboardHotkeyRequest } from '../models';
34
+ import type { KeyboardHotkeyResponse } from '../models';
35
+ import type { KeyboardPressRequest } from '../models';
36
+ import type { KeyboardPressResponse } from '../models';
37
+ import type { KeyboardTypeRequest } from '../models';
38
+ import type { KeyboardTypeResponse } from '../models';
31
39
  import type { ListBranchResponse } from '../models';
32
40
  import type { LspCompletionParams } from '../models';
33
41
  import type { LspDocumentRequest } from '../models';
34
42
  import type { LspServerRequest } from '../models';
35
43
  import type { LspSymbol } from '../models';
36
44
  import type { Match } from '../models';
45
+ import type { MouseClickRequest } from '../models';
46
+ import type { MouseClickResponse } from '../models';
47
+ import type { MouseDragRequest } from '../models';
48
+ import type { MouseDragResponse } from '../models';
49
+ import type { MouseMoveRequest } from '../models';
50
+ import type { MouseMoveResponse } from '../models';
51
+ import type { MousePosition } from '../models';
52
+ import type { MouseScrollRequest } from '../models';
53
+ import type { MouseScrollResponse } from '../models';
37
54
  import type { ProjectDirResponse } from '../models';
55
+ import type { RegionScreenshotResponse } from '../models';
38
56
  import type { ReplaceRequest } from '../models';
39
57
  import type { ReplaceResult } from '../models';
58
+ import type { ScreenshotResponse } from '../models';
40
59
  import type { SearchFilesResponse } from '../models';
41
60
  import type { Session } from '../models';
42
61
  import type { SessionExecuteRequest } from '../models';
43
62
  import type { SessionExecuteResponse } from '../models';
63
+ import type { WindowsResponse } from '../models';
44
64
  /**
45
65
  * ToolboxApi - axios parameter creator
46
66
  * @export
47
67
  */
48
68
  export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration) => {
69
+ /**
70
+ * Click mouse at specified coordinates
71
+ * @summary Click mouse
72
+ * @param {string} sandboxId
73
+ * @param {MouseClickRequest} mouseClickRequest
74
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ clickMouse: (sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
79
  /**
50
80
  * Create folder inside sandbox
51
81
  * @summary Create folder
@@ -97,6 +127,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
97
127
  * @throws {RequiredError}
98
128
  */
99
129
  downloadFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
+ /**
131
+ * Drag mouse from start to end coordinates
132
+ * @summary Drag mouse
133
+ * @param {string} sandboxId
134
+ * @param {MouseDragRequest} mouseDragRequest
135
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ dragMouse: (sandboxId: string, mouseDragRequest: MouseDragRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
140
  /**
101
141
  * Execute command synchronously inside sandbox
102
142
  * @summary Execute command
@@ -129,6 +169,24 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
129
169
  * @throws {RequiredError}
130
170
  */
131
171
  findInFiles: (sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
172
+ /**
173
+ * Get status of all VNC desktop processes
174
+ * @summary Get computer use status
175
+ * @param {string} sandboxId
176
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ getComputerUseStatus: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
181
+ /**
182
+ * Get information about displays
183
+ * @summary Get display info
184
+ * @param {string} sandboxId
185
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ getDisplayInfo: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
190
  /**
133
191
  * Get file info inside sandbox
134
192
  * @summary Get file info
@@ -139,6 +197,45 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
139
197
  * @throws {RequiredError}
140
198
  */
141
199
  getFileInfo: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
200
+ /**
201
+ * Get current mouse cursor position
202
+ * @summary Get mouse position
203
+ * @param {string} sandboxId
204
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ getMousePosition: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
209
+ /**
210
+ * Get error logs for a specific VNC process
211
+ * @summary Get process errors
212
+ * @param {string} processName
213
+ * @param {string} sandboxId
214
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ getProcessErrors: (processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
219
+ /**
220
+ * Get logs for a specific VNC process
221
+ * @summary Get process logs
222
+ * @param {string} processName
223
+ * @param {string} sandboxId
224
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ getProcessLogs: (processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
229
+ /**
230
+ * Get status of a specific VNC process
231
+ * @summary Get process status
232
+ * @param {string} processName
233
+ * @param {string} sandboxId
234
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ getProcessStatus: (processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
142
239
  /**
143
240
  *
144
241
  * @summary Get sandbox project dir
@@ -181,6 +278,15 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
181
278
  * @throws {RequiredError}
182
279
  */
183
280
  getSessionCommandLogs: (sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
281
+ /**
282
+ * Get list of open windows
283
+ * @summary Get windows
284
+ * @param {string} sandboxId
285
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ getWindows: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
184
290
  /**
185
291
  * Add files to git commit
186
292
  * @summary Add files
@@ -395,6 +501,36 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
395
501
  * @throws {RequiredError}
396
502
  */
397
503
  moveFile: (sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
504
+ /**
505
+ * Move mouse cursor to specified coordinates
506
+ * @summary Move mouse
507
+ * @param {string} sandboxId
508
+ * @param {MouseMoveRequest} mouseMoveRequest
509
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
510
+ * @param {*} [options] Override http request option.
511
+ * @throws {RequiredError}
512
+ */
513
+ moveMouse: (sandboxId: string, mouseMoveRequest: MouseMoveRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
514
+ /**
515
+ * Press a hotkey combination
516
+ * @summary Press hotkey
517
+ * @param {string} sandboxId
518
+ * @param {KeyboardHotkeyRequest} keyboardHotkeyRequest
519
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
520
+ * @param {*} [options] Override http request option.
521
+ * @throws {RequiredError}
522
+ */
523
+ pressHotkey: (sandboxId: string, keyboardHotkeyRequest: KeyboardHotkeyRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
524
+ /**
525
+ * Press a key with optional modifiers
526
+ * @summary Press key
527
+ * @param {string} sandboxId
528
+ * @param {KeyboardPressRequest} keyboardPressRequest
529
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ pressKey: (sandboxId: string, keyboardPressRequest: KeyboardPressRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
398
534
  /**
399
535
  * Replace text/pattern in multiple files inside sandbox
400
536
  * @summary Replace in files
@@ -405,6 +541,26 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
405
541
  * @throws {RequiredError}
406
542
  */
407
543
  replaceInFiles: (sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
544
+ /**
545
+ * Restart a specific VNC process
546
+ * @summary Restart process
547
+ * @param {string} processName
548
+ * @param {string} sandboxId
549
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ restartProcess: (processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
554
+ /**
555
+ * Scroll mouse at specified coordinates
556
+ * @summary Scroll mouse
557
+ * @param {string} sandboxId
558
+ * @param {MouseScrollRequest} mouseScrollRequest
559
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
560
+ * @param {*} [options] Override http request option.
561
+ * @throws {RequiredError}
562
+ */
563
+ scrollMouse: (sandboxId: string, mouseScrollRequest: MouseScrollRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
408
564
  /**
409
565
  * Search for files inside sandbox
410
566
  * @summary Search files
@@ -429,6 +585,88 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
429
585
  * @throws {RequiredError}
430
586
  */
431
587
  setFilePermissions: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
588
+ /**
589
+ * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
590
+ * @summary Start computer use processes
591
+ * @param {string} sandboxId
592
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ */
596
+ startComputerUse: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
597
+ /**
598
+ * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
599
+ * @summary Stop computer use processes
600
+ * @param {string} sandboxId
601
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
602
+ * @param {*} [options] Override http request option.
603
+ * @throws {RequiredError}
604
+ */
605
+ stopComputerUse: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
606
+ /**
607
+ * Take a compressed screenshot of a specific region
608
+ * @summary Take compressed region screenshot
609
+ * @param {string} sandboxId
610
+ * @param {number} height
611
+ * @param {number} width
612
+ * @param {number} y
613
+ * @param {number} x
614
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
615
+ * @param {number} [scale]
616
+ * @param {number} [quality]
617
+ * @param {string} [format]
618
+ * @param {boolean} [showCursor]
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ takeCompressedRegionScreenshot: (sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
623
+ /**
624
+ * Take a compressed screenshot with format, quality, and scale options
625
+ * @summary Take compressed screenshot
626
+ * @param {string} sandboxId
627
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
628
+ * @param {number} [scale]
629
+ * @param {number} [quality]
630
+ * @param {string} [format]
631
+ * @param {boolean} [showCursor]
632
+ * @param {*} [options] Override http request option.
633
+ * @throws {RequiredError}
634
+ */
635
+ takeCompressedScreenshot: (sandboxId: string, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
636
+ /**
637
+ * Take a screenshot of a specific region
638
+ * @summary Take region screenshot
639
+ * @param {string} sandboxId
640
+ * @param {number} height
641
+ * @param {number} width
642
+ * @param {number} y
643
+ * @param {number} x
644
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
645
+ * @param {boolean} [showCursor]
646
+ * @param {*} [options] Override http request option.
647
+ * @throws {RequiredError}
648
+ */
649
+ takeRegionScreenshot: (sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
650
+ /**
651
+ * Take a screenshot of the entire screen
652
+ * @summary Take screenshot
653
+ * @param {string} sandboxId
654
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
655
+ * @param {boolean} [showCursor]
656
+ * @param {*} [options] Override http request option.
657
+ * @throws {RequiredError}
658
+ */
659
+ takeScreenshot: (sandboxId: string, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
660
+ /**
661
+ * Type text using keyboard
662
+ * @summary Type text
663
+ * @param {string} sandboxId
664
+ * @param {KeyboardTypeRequest} keyboardTypeRequest
665
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ */
669
+ typeText: (sandboxId: string, keyboardTypeRequest: KeyboardTypeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
432
670
  /**
433
671
  * Upload file inside sandbox
434
672
  * @summary Upload file
@@ -456,6 +694,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
456
694
  * @export
457
695
  */
458
696
  export declare const ToolboxApiFp: (configuration?: Configuration) => {
697
+ /**
698
+ * Click mouse at specified coordinates
699
+ * @summary Click mouse
700
+ * @param {string} sandboxId
701
+ * @param {MouseClickRequest} mouseClickRequest
702
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
703
+ * @param {*} [options] Override http request option.
704
+ * @throws {RequiredError}
705
+ */
706
+ clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseClickResponse>>;
459
707
  /**
460
708
  * Create folder inside sandbox
461
709
  * @summary Create folder
@@ -507,6 +755,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
507
755
  * @throws {RequiredError}
508
756
  */
509
757
  downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
758
+ /**
759
+ * Drag mouse from start to end coordinates
760
+ * @summary Drag mouse
761
+ * @param {string} sandboxId
762
+ * @param {MouseDragRequest} mouseDragRequest
763
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
764
+ * @param {*} [options] Override http request option.
765
+ * @throws {RequiredError}
766
+ */
767
+ dragMouse(sandboxId: string, mouseDragRequest: MouseDragRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseDragResponse>>;
510
768
  /**
511
769
  * Execute command synchronously inside sandbox
512
770
  * @summary Execute command
@@ -539,6 +797,24 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
539
797
  * @throws {RequiredError}
540
798
  */
541
799
  findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>>;
800
+ /**
801
+ * Get status of all VNC desktop processes
802
+ * @summary Get computer use status
803
+ * @param {string} sandboxId
804
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
805
+ * @param {*} [options] Override http request option.
806
+ * @throws {RequiredError}
807
+ */
808
+ getComputerUseStatus(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
809
+ /**
810
+ * Get information about displays
811
+ * @summary Get display info
812
+ * @param {string} sandboxId
813
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
814
+ * @param {*} [options] Override http request option.
815
+ * @throws {RequiredError}
816
+ */
817
+ getDisplayInfo(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisplayInfoResponse>>;
542
818
  /**
543
819
  * Get file info inside sandbox
544
820
  * @summary Get file info
@@ -549,6 +825,45 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
549
825
  * @throws {RequiredError}
550
826
  */
551
827
  getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>>;
828
+ /**
829
+ * Get current mouse cursor position
830
+ * @summary Get mouse position
831
+ * @param {string} sandboxId
832
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
833
+ * @param {*} [options] Override http request option.
834
+ * @throws {RequiredError}
835
+ */
836
+ getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MousePosition>>;
837
+ /**
838
+ * Get error logs for a specific VNC process
839
+ * @summary Get process errors
840
+ * @param {string} processName
841
+ * @param {string} sandboxId
842
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
843
+ * @param {*} [options] Override http request option.
844
+ * @throws {RequiredError}
845
+ */
846
+ getProcessErrors(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
847
+ /**
848
+ * Get logs for a specific VNC process
849
+ * @summary Get process logs
850
+ * @param {string} processName
851
+ * @param {string} sandboxId
852
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
853
+ * @param {*} [options] Override http request option.
854
+ * @throws {RequiredError}
855
+ */
856
+ getProcessLogs(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
857
+ /**
858
+ * Get status of a specific VNC process
859
+ * @summary Get process status
860
+ * @param {string} processName
861
+ * @param {string} sandboxId
862
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
863
+ * @param {*} [options] Override http request option.
864
+ * @throws {RequiredError}
865
+ */
866
+ getProcessStatus(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
552
867
  /**
553
868
  *
554
869
  * @summary Get sandbox project dir
@@ -591,6 +906,15 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
591
906
  * @throws {RequiredError}
592
907
  */
593
908
  getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
909
+ /**
910
+ * Get list of open windows
911
+ * @summary Get windows
912
+ * @param {string} sandboxId
913
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ getWindows(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WindowsResponse>>;
594
918
  /**
595
919
  * Add files to git commit
596
920
  * @summary Add files
@@ -805,6 +1129,36 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
805
1129
  * @throws {RequiredError}
806
1130
  */
807
1131
  moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1132
+ /**
1133
+ * Move mouse cursor to specified coordinates
1134
+ * @summary Move mouse
1135
+ * @param {string} sandboxId
1136
+ * @param {MouseMoveRequest} mouseMoveRequest
1137
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1138
+ * @param {*} [options] Override http request option.
1139
+ * @throws {RequiredError}
1140
+ */
1141
+ moveMouse(sandboxId: string, mouseMoveRequest: MouseMoveRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseMoveResponse>>;
1142
+ /**
1143
+ * Press a hotkey combination
1144
+ * @summary Press hotkey
1145
+ * @param {string} sandboxId
1146
+ * @param {KeyboardHotkeyRequest} keyboardHotkeyRequest
1147
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1148
+ * @param {*} [options] Override http request option.
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ pressHotkey(sandboxId: string, keyboardHotkeyRequest: KeyboardHotkeyRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyboardHotkeyResponse>>;
1152
+ /**
1153
+ * Press a key with optional modifiers
1154
+ * @summary Press key
1155
+ * @param {string} sandboxId
1156
+ * @param {KeyboardPressRequest} keyboardPressRequest
1157
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ */
1161
+ pressKey(sandboxId: string, keyboardPressRequest: KeyboardPressRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyboardPressResponse>>;
808
1162
  /**
809
1163
  * Replace text/pattern in multiple files inside sandbox
810
1164
  * @summary Replace in files
@@ -815,6 +1169,26 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
815
1169
  * @throws {RequiredError}
816
1170
  */
817
1171
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
1172
+ /**
1173
+ * Restart a specific VNC process
1174
+ * @summary Restart process
1175
+ * @param {string} processName
1176
+ * @param {string} sandboxId
1177
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ restartProcess(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1182
+ /**
1183
+ * Scroll mouse at specified coordinates
1184
+ * @summary Scroll mouse
1185
+ * @param {string} sandboxId
1186
+ * @param {MouseScrollRequest} mouseScrollRequest
1187
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1188
+ * @param {*} [options] Override http request option.
1189
+ * @throws {RequiredError}
1190
+ */
1191
+ scrollMouse(sandboxId: string, mouseScrollRequest: MouseScrollRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseScrollResponse>>;
818
1192
  /**
819
1193
  * Search for files inside sandbox
820
1194
  * @summary Search files
@@ -840,93 +1214,195 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
840
1214
  */
841
1215
  setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
842
1216
  /**
843
- * Upload file inside sandbox
844
- * @summary Upload file
1217
+ * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
1218
+ * @summary Start computer use processes
845
1219
  * @param {string} sandboxId
846
- * @param {string} path
847
1220
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
848
- * @param {File} [file]
849
1221
  * @param {*} [options] Override http request option.
850
- * @deprecated
851
1222
  * @throws {RequiredError}
852
1223
  */
853
- uploadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1224
+ startComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
854
1225
  /**
855
- * Upload multiple files inside sandbox
856
- * @summary Upload multiple files
1226
+ * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
1227
+ * @summary Stop computer use processes
857
1228
  * @param {string} sandboxId
858
1229
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
859
1230
  * @param {*} [options] Override http request option.
860
1231
  * @throws {RequiredError}
861
1232
  */
862
- uploadFiles(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
863
- };
864
- /**
865
- * ToolboxApi - factory interface
866
- * @export
867
- */
868
- export declare const ToolboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1233
+ stopComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
869
1234
  /**
870
- * Create folder inside sandbox
871
- * @summary Create folder
1235
+ * Take a compressed screenshot of a specific region
1236
+ * @summary Take compressed region screenshot
872
1237
  * @param {string} sandboxId
873
- * @param {string} path
874
- * @param {string} mode
1238
+ * @param {number} height
1239
+ * @param {number} width
1240
+ * @param {number} y
1241
+ * @param {number} x
875
1242
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1243
+ * @param {number} [scale]
1244
+ * @param {number} [quality]
1245
+ * @param {string} [format]
1246
+ * @param {boolean} [showCursor]
876
1247
  * @param {*} [options] Override http request option.
877
1248
  * @throws {RequiredError}
878
1249
  */
879
- createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1250
+ takeCompressedRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompressedScreenshotResponse>>;
880
1251
  /**
881
- * Create a new session in the sandbox
882
- * @summary Create session
1252
+ * Take a compressed screenshot with format, quality, and scale options
1253
+ * @summary Take compressed screenshot
883
1254
  * @param {string} sandboxId
884
- * @param {CreateSessionRequest} createSessionRequest
885
1255
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1256
+ * @param {number} [scale]
1257
+ * @param {number} [quality]
1258
+ * @param {string} [format]
1259
+ * @param {boolean} [showCursor]
886
1260
  * @param {*} [options] Override http request option.
887
1261
  * @throws {RequiredError}
888
1262
  */
889
- createSession(sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1263
+ takeCompressedScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompressedScreenshotResponse>>;
890
1264
  /**
891
- * Delete file inside sandbox
892
- * @summary Delete file
1265
+ * Take a screenshot of a specific region
1266
+ * @summary Take region screenshot
893
1267
  * @param {string} sandboxId
894
- * @param {string} path
1268
+ * @param {number} height
1269
+ * @param {number} width
1270
+ * @param {number} y
1271
+ * @param {number} x
895
1272
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1273
+ * @param {boolean} [showCursor]
896
1274
  * @param {*} [options] Override http request option.
897
1275
  * @throws {RequiredError}
898
1276
  */
899
- deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1277
+ takeRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegionScreenshotResponse>>;
900
1278
  /**
901
- * Delete a specific session
902
- * @summary Delete session
1279
+ * Take a screenshot of the entire screen
1280
+ * @summary Take screenshot
903
1281
  * @param {string} sandboxId
904
- * @param {string} sessionId
905
1282
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1283
+ * @param {boolean} [showCursor]
906
1284
  * @param {*} [options] Override http request option.
907
1285
  * @throws {RequiredError}
908
1286
  */
909
- deleteSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1287
+ takeScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScreenshotResponse>>;
910
1288
  /**
911
- * Download file from sandbox
912
- * @summary Download file
1289
+ * Type text using keyboard
1290
+ * @summary Type text
913
1291
  * @param {string} sandboxId
914
- * @param {string} path
1292
+ * @param {KeyboardTypeRequest} keyboardTypeRequest
915
1293
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
916
1294
  * @param {*} [options] Override http request option.
917
1295
  * @throws {RequiredError}
918
1296
  */
919
- downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1297
+ typeText(sandboxId: string, keyboardTypeRequest: KeyboardTypeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyboardTypeResponse>>;
920
1298
  /**
921
- * Execute command synchronously inside sandbox
922
- * @summary Execute command
1299
+ * Upload file inside sandbox
1300
+ * @summary Upload file
923
1301
  * @param {string} sandboxId
924
- * @param {ExecuteRequest} executeRequest
1302
+ * @param {string} path
925
1303
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1304
+ * @param {File} [file]
926
1305
  * @param {*} [options] Override http request option.
1306
+ * @deprecated
927
1307
  * @throws {RequiredError}
928
1308
  */
929
- executeCommand(sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
1309
+ uploadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1310
+ /**
1311
+ * Upload multiple files inside sandbox
1312
+ * @summary Upload multiple files
1313
+ * @param {string} sandboxId
1314
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ uploadFiles(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1319
+ };
1320
+ /**
1321
+ * ToolboxApi - factory interface
1322
+ * @export
1323
+ */
1324
+ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1325
+ /**
1326
+ * Click mouse at specified coordinates
1327
+ * @summary Click mouse
1328
+ * @param {string} sandboxId
1329
+ * @param {MouseClickRequest} mouseClickRequest
1330
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ */
1334
+ clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MouseClickResponse>;
1335
+ /**
1336
+ * Create folder inside sandbox
1337
+ * @summary Create folder
1338
+ * @param {string} sandboxId
1339
+ * @param {string} path
1340
+ * @param {string} mode
1341
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1346
+ /**
1347
+ * Create a new session in the sandbox
1348
+ * @summary Create session
1349
+ * @param {string} sandboxId
1350
+ * @param {CreateSessionRequest} createSessionRequest
1351
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1352
+ * @param {*} [options] Override http request option.
1353
+ * @throws {RequiredError}
1354
+ */
1355
+ createSession(sandboxId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1356
+ /**
1357
+ * Delete file inside sandbox
1358
+ * @summary Delete file
1359
+ * @param {string} sandboxId
1360
+ * @param {string} path
1361
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1366
+ /**
1367
+ * Delete a specific session
1368
+ * @summary Delete session
1369
+ * @param {string} sandboxId
1370
+ * @param {string} sessionId
1371
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1372
+ * @param {*} [options] Override http request option.
1373
+ * @throws {RequiredError}
1374
+ */
1375
+ deleteSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1376
+ /**
1377
+ * Download file from sandbox
1378
+ * @summary Download file
1379
+ * @param {string} sandboxId
1380
+ * @param {string} path
1381
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1382
+ * @param {*} [options] Override http request option.
1383
+ * @throws {RequiredError}
1384
+ */
1385
+ downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1386
+ /**
1387
+ * Drag mouse from start to end coordinates
1388
+ * @summary Drag mouse
1389
+ * @param {string} sandboxId
1390
+ * @param {MouseDragRequest} mouseDragRequest
1391
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1392
+ * @param {*} [options] Override http request option.
1393
+ * @throws {RequiredError}
1394
+ */
1395
+ dragMouse(sandboxId: string, mouseDragRequest: MouseDragRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MouseDragResponse>;
1396
+ /**
1397
+ * Execute command synchronously inside sandbox
1398
+ * @summary Execute command
1399
+ * @param {string} sandboxId
1400
+ * @param {ExecuteRequest} executeRequest
1401
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1402
+ * @param {*} [options] Override http request option.
1403
+ * @throws {RequiredError}
1404
+ */
1405
+ executeCommand(sandboxId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
930
1406
  /**
931
1407
  * Execute a command in a specific session
932
1408
  * @summary Execute command in session
@@ -949,6 +1425,24 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
949
1425
  * @throws {RequiredError}
950
1426
  */
951
1427
  findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>>;
1428
+ /**
1429
+ * Get status of all VNC desktop processes
1430
+ * @summary Get computer use status
1431
+ * @param {string} sandboxId
1432
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1433
+ * @param {*} [options] Override http request option.
1434
+ * @throws {RequiredError}
1435
+ */
1436
+ getComputerUseStatus(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1437
+ /**
1438
+ * Get information about displays
1439
+ * @summary Get display info
1440
+ * @param {string} sandboxId
1441
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1442
+ * @param {*} [options] Override http request option.
1443
+ * @throws {RequiredError}
1444
+ */
1445
+ getDisplayInfo(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<DisplayInfoResponse>;
952
1446
  /**
953
1447
  * Get file info inside sandbox
954
1448
  * @summary Get file info
@@ -959,6 +1453,45 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
959
1453
  * @throws {RequiredError}
960
1454
  */
961
1455
  getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo>;
1456
+ /**
1457
+ * Get current mouse cursor position
1458
+ * @summary Get mouse position
1459
+ * @param {string} sandboxId
1460
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1461
+ * @param {*} [options] Override http request option.
1462
+ * @throws {RequiredError}
1463
+ */
1464
+ getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MousePosition>;
1465
+ /**
1466
+ * Get error logs for a specific VNC process
1467
+ * @summary Get process errors
1468
+ * @param {string} processName
1469
+ * @param {string} sandboxId
1470
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1471
+ * @param {*} [options] Override http request option.
1472
+ * @throws {RequiredError}
1473
+ */
1474
+ getProcessErrors(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1475
+ /**
1476
+ * Get logs for a specific VNC process
1477
+ * @summary Get process logs
1478
+ * @param {string} processName
1479
+ * @param {string} sandboxId
1480
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ getProcessLogs(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1485
+ /**
1486
+ * Get status of a specific VNC process
1487
+ * @summary Get process status
1488
+ * @param {string} processName
1489
+ * @param {string} sandboxId
1490
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1491
+ * @param {*} [options] Override http request option.
1492
+ * @throws {RequiredError}
1493
+ */
1494
+ getProcessStatus(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
962
1495
  /**
963
1496
  *
964
1497
  * @summary Get sandbox project dir
@@ -1001,6 +1534,15 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1001
1534
  * @throws {RequiredError}
1002
1535
  */
1003
1536
  getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1537
+ /**
1538
+ * Get list of open windows
1539
+ * @summary Get windows
1540
+ * @param {string} sandboxId
1541
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ getWindows(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<WindowsResponse>;
1004
1546
  /**
1005
1547
  * Add files to git commit
1006
1548
  * @summary Add files
@@ -1215,6 +1757,36 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1215
1757
  * @throws {RequiredError}
1216
1758
  */
1217
1759
  moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1760
+ /**
1761
+ * Move mouse cursor to specified coordinates
1762
+ * @summary Move mouse
1763
+ * @param {string} sandboxId
1764
+ * @param {MouseMoveRequest} mouseMoveRequest
1765
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1766
+ * @param {*} [options] Override http request option.
1767
+ * @throws {RequiredError}
1768
+ */
1769
+ moveMouse(sandboxId: string, mouseMoveRequest: MouseMoveRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MouseMoveResponse>;
1770
+ /**
1771
+ * Press a hotkey combination
1772
+ * @summary Press hotkey
1773
+ * @param {string} sandboxId
1774
+ * @param {KeyboardHotkeyRequest} keyboardHotkeyRequest
1775
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1776
+ * @param {*} [options] Override http request option.
1777
+ * @throws {RequiredError}
1778
+ */
1779
+ pressHotkey(sandboxId: string, keyboardHotkeyRequest: KeyboardHotkeyRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<KeyboardHotkeyResponse>;
1780
+ /**
1781
+ * Press a key with optional modifiers
1782
+ * @summary Press key
1783
+ * @param {string} sandboxId
1784
+ * @param {KeyboardPressRequest} keyboardPressRequest
1785
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1786
+ * @param {*} [options] Override http request option.
1787
+ * @throws {RequiredError}
1788
+ */
1789
+ pressKey(sandboxId: string, keyboardPressRequest: KeyboardPressRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<KeyboardPressResponse>;
1218
1790
  /**
1219
1791
  * Replace text/pattern in multiple files inside sandbox
1220
1792
  * @summary Replace in files
@@ -1225,6 +1797,26 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1225
1797
  * @throws {RequiredError}
1226
1798
  */
1227
1799
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
1800
+ /**
1801
+ * Restart a specific VNC process
1802
+ * @summary Restart process
1803
+ * @param {string} processName
1804
+ * @param {string} sandboxId
1805
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1806
+ * @param {*} [options] Override http request option.
1807
+ * @throws {RequiredError}
1808
+ */
1809
+ restartProcess(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1810
+ /**
1811
+ * Scroll mouse at specified coordinates
1812
+ * @summary Scroll mouse
1813
+ * @param {string} sandboxId
1814
+ * @param {MouseScrollRequest} mouseScrollRequest
1815
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ scrollMouse(sandboxId: string, mouseScrollRequest: MouseScrollRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MouseScrollResponse>;
1228
1820
  /**
1229
1821
  * Search for files inside sandbox
1230
1822
  * @summary Search files
@@ -1249,6 +1841,88 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1249
1841
  * @throws {RequiredError}
1250
1842
  */
1251
1843
  setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1844
+ /**
1845
+ * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
1846
+ * @summary Start computer use processes
1847
+ * @param {string} sandboxId
1848
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1849
+ * @param {*} [options] Override http request option.
1850
+ * @throws {RequiredError}
1851
+ */
1852
+ startComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1853
+ /**
1854
+ * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
1855
+ * @summary Stop computer use processes
1856
+ * @param {string} sandboxId
1857
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1858
+ * @param {*} [options] Override http request option.
1859
+ * @throws {RequiredError}
1860
+ */
1861
+ stopComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1862
+ /**
1863
+ * Take a compressed screenshot of a specific region
1864
+ * @summary Take compressed region screenshot
1865
+ * @param {string} sandboxId
1866
+ * @param {number} height
1867
+ * @param {number} width
1868
+ * @param {number} y
1869
+ * @param {number} x
1870
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1871
+ * @param {number} [scale]
1872
+ * @param {number} [quality]
1873
+ * @param {string} [format]
1874
+ * @param {boolean} [showCursor]
1875
+ * @param {*} [options] Override http request option.
1876
+ * @throws {RequiredError}
1877
+ */
1878
+ takeCompressedRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<CompressedScreenshotResponse>;
1879
+ /**
1880
+ * Take a compressed screenshot with format, quality, and scale options
1881
+ * @summary Take compressed screenshot
1882
+ * @param {string} sandboxId
1883
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1884
+ * @param {number} [scale]
1885
+ * @param {number} [quality]
1886
+ * @param {string} [format]
1887
+ * @param {boolean} [showCursor]
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ */
1891
+ takeCompressedScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<CompressedScreenshotResponse>;
1892
+ /**
1893
+ * Take a screenshot of a specific region
1894
+ * @summary Take region screenshot
1895
+ * @param {string} sandboxId
1896
+ * @param {number} height
1897
+ * @param {number} width
1898
+ * @param {number} y
1899
+ * @param {number} x
1900
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1901
+ * @param {boolean} [showCursor]
1902
+ * @param {*} [options] Override http request option.
1903
+ * @throws {RequiredError}
1904
+ */
1905
+ takeRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<RegionScreenshotResponse>;
1906
+ /**
1907
+ * Take a screenshot of the entire screen
1908
+ * @summary Take screenshot
1909
+ * @param {string} sandboxId
1910
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1911
+ * @param {boolean} [showCursor]
1912
+ * @param {*} [options] Override http request option.
1913
+ * @throws {RequiredError}
1914
+ */
1915
+ takeScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScreenshotResponse>;
1916
+ /**
1917
+ * Type text using keyboard
1918
+ * @summary Type text
1919
+ * @param {string} sandboxId
1920
+ * @param {KeyboardTypeRequest} keyboardTypeRequest
1921
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1922
+ * @param {*} [options] Override http request option.
1923
+ * @throws {RequiredError}
1924
+ */
1925
+ typeText(sandboxId: string, keyboardTypeRequest: KeyboardTypeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<KeyboardTypeResponse>;
1252
1926
  /**
1253
1927
  * Upload file inside sandbox
1254
1928
  * @summary Upload file
@@ -1278,6 +1952,17 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1278
1952
  * @extends {BaseAPI}
1279
1953
  */
1280
1954
  export declare class ToolboxApi extends BaseAPI {
1955
+ /**
1956
+ * Click mouse at specified coordinates
1957
+ * @summary Click mouse
1958
+ * @param {string} sandboxId
1959
+ * @param {MouseClickRequest} mouseClickRequest
1960
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ * @memberof ToolboxApi
1964
+ */
1965
+ clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseClickResponse, any>>;
1281
1966
  /**
1282
1967
  * Create folder inside sandbox
1283
1968
  * @summary Create folder
@@ -1334,6 +2019,17 @@ export declare class ToolboxApi extends BaseAPI {
1334
2019
  * @memberof ToolboxApi
1335
2020
  */
1336
2021
  downloadFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
2022
+ /**
2023
+ * Drag mouse from start to end coordinates
2024
+ * @summary Drag mouse
2025
+ * @param {string} sandboxId
2026
+ * @param {MouseDragRequest} mouseDragRequest
2027
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2028
+ * @param {*} [options] Override http request option.
2029
+ * @throws {RequiredError}
2030
+ * @memberof ToolboxApi
2031
+ */
2032
+ dragMouse(sandboxId: string, mouseDragRequest: MouseDragRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseDragResponse, any>>;
1337
2033
  /**
1338
2034
  * Execute command synchronously inside sandbox
1339
2035
  * @summary Execute command
@@ -1369,6 +2065,26 @@ export declare class ToolboxApi extends BaseAPI {
1369
2065
  * @memberof ToolboxApi
1370
2066
  */
1371
2067
  findInFiles(sandboxId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Match[], any>>;
2068
+ /**
2069
+ * Get status of all VNC desktop processes
2070
+ * @summary Get computer use status
2071
+ * @param {string} sandboxId
2072
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2073
+ * @param {*} [options] Override http request option.
2074
+ * @throws {RequiredError}
2075
+ * @memberof ToolboxApi
2076
+ */
2077
+ getComputerUseStatus(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2078
+ /**
2079
+ * Get information about displays
2080
+ * @summary Get display info
2081
+ * @param {string} sandboxId
2082
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2083
+ * @param {*} [options] Override http request option.
2084
+ * @throws {RequiredError}
2085
+ * @memberof ToolboxApi
2086
+ */
2087
+ getDisplayInfo(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisplayInfoResponse, any>>;
1372
2088
  /**
1373
2089
  * Get file info inside sandbox
1374
2090
  * @summary Get file info
@@ -1380,6 +2096,49 @@ export declare class ToolboxApi extends BaseAPI {
1380
2096
  * @memberof ToolboxApi
1381
2097
  */
1382
2098
  getFileInfo(sandboxId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo, any>>;
2099
+ /**
2100
+ * Get current mouse cursor position
2101
+ * @summary Get mouse position
2102
+ * @param {string} sandboxId
2103
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ * @memberof ToolboxApi
2107
+ */
2108
+ getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MousePosition, any>>;
2109
+ /**
2110
+ * Get error logs for a specific VNC process
2111
+ * @summary Get process errors
2112
+ * @param {string} processName
2113
+ * @param {string} sandboxId
2114
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2115
+ * @param {*} [options] Override http request option.
2116
+ * @throws {RequiredError}
2117
+ * @memberof ToolboxApi
2118
+ */
2119
+ getProcessErrors(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2120
+ /**
2121
+ * Get logs for a specific VNC process
2122
+ * @summary Get process logs
2123
+ * @param {string} processName
2124
+ * @param {string} sandboxId
2125
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ * @memberof ToolboxApi
2129
+ */
2130
+ getProcessLogs(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2131
+ /**
2132
+ * Get status of a specific VNC process
2133
+ * @summary Get process status
2134
+ * @param {string} processName
2135
+ * @param {string} sandboxId
2136
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2137
+ * @param {*} [options] Override http request option.
2138
+ * @throws {RequiredError}
2139
+ * @memberof ToolboxApi
2140
+ */
2141
+ getProcessStatus(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1383
2142
  /**
1384
2143
  *
1385
2144
  * @summary Get sandbox project dir
@@ -1426,6 +2185,16 @@ export declare class ToolboxApi extends BaseAPI {
1426
2185
  * @memberof ToolboxApi
1427
2186
  */
1428
2187
  getSessionCommandLogs(sandboxId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
2188
+ /**
2189
+ * Get list of open windows
2190
+ * @summary Get windows
2191
+ * @param {string} sandboxId
2192
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2193
+ * @param {*} [options] Override http request option.
2194
+ * @throws {RequiredError}
2195
+ * @memberof ToolboxApi
2196
+ */
2197
+ getWindows(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WindowsResponse, any>>;
1429
2198
  /**
1430
2199
  * Add files to git commit
1431
2200
  * @summary Add files
@@ -1661,6 +2430,39 @@ export declare class ToolboxApi extends BaseAPI {
1661
2430
  * @memberof ToolboxApi
1662
2431
  */
1663
2432
  moveFile(sandboxId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2433
+ /**
2434
+ * Move mouse cursor to specified coordinates
2435
+ * @summary Move mouse
2436
+ * @param {string} sandboxId
2437
+ * @param {MouseMoveRequest} mouseMoveRequest
2438
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2439
+ * @param {*} [options] Override http request option.
2440
+ * @throws {RequiredError}
2441
+ * @memberof ToolboxApi
2442
+ */
2443
+ moveMouse(sandboxId: string, mouseMoveRequest: MouseMoveRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseMoveResponse, any>>;
2444
+ /**
2445
+ * Press a hotkey combination
2446
+ * @summary Press hotkey
2447
+ * @param {string} sandboxId
2448
+ * @param {KeyboardHotkeyRequest} keyboardHotkeyRequest
2449
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2450
+ * @param {*} [options] Override http request option.
2451
+ * @throws {RequiredError}
2452
+ * @memberof ToolboxApi
2453
+ */
2454
+ pressHotkey(sandboxId: string, keyboardHotkeyRequest: KeyboardHotkeyRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyboardHotkeyResponse, any>>;
2455
+ /**
2456
+ * Press a key with optional modifiers
2457
+ * @summary Press key
2458
+ * @param {string} sandboxId
2459
+ * @param {KeyboardPressRequest} keyboardPressRequest
2460
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2461
+ * @param {*} [options] Override http request option.
2462
+ * @throws {RequiredError}
2463
+ * @memberof ToolboxApi
2464
+ */
2465
+ pressKey(sandboxId: string, keyboardPressRequest: KeyboardPressRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyboardPressResponse, any>>;
1664
2466
  /**
1665
2467
  * Replace text/pattern in multiple files inside sandbox
1666
2468
  * @summary Replace in files
@@ -1672,6 +2474,28 @@ export declare class ToolboxApi extends BaseAPI {
1672
2474
  * @memberof ToolboxApi
1673
2475
  */
1674
2476
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any>>;
2477
+ /**
2478
+ * Restart a specific VNC process
2479
+ * @summary Restart process
2480
+ * @param {string} processName
2481
+ * @param {string} sandboxId
2482
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ * @memberof ToolboxApi
2486
+ */
2487
+ restartProcess(processName: string, sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2488
+ /**
2489
+ * Scroll mouse at specified coordinates
2490
+ * @summary Scroll mouse
2491
+ * @param {string} sandboxId
2492
+ * @param {MouseScrollRequest} mouseScrollRequest
2493
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2494
+ * @param {*} [options] Override http request option.
2495
+ * @throws {RequiredError}
2496
+ * @memberof ToolboxApi
2497
+ */
2498
+ scrollMouse(sandboxId: string, mouseScrollRequest: MouseScrollRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseScrollResponse, any>>;
1675
2499
  /**
1676
2500
  * Search for files inside sandbox
1677
2501
  * @summary Search files
@@ -1698,6 +2522,95 @@ export declare class ToolboxApi extends BaseAPI {
1698
2522
  * @memberof ToolboxApi
1699
2523
  */
1700
2524
  setFilePermissions(sandboxId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2525
+ /**
2526
+ * Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
2527
+ * @summary Start computer use processes
2528
+ * @param {string} sandboxId
2529
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2530
+ * @param {*} [options] Override http request option.
2531
+ * @throws {RequiredError}
2532
+ * @memberof ToolboxApi
2533
+ */
2534
+ startComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2535
+ /**
2536
+ * Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)
2537
+ * @summary Stop computer use processes
2538
+ * @param {string} sandboxId
2539
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2540
+ * @param {*} [options] Override http request option.
2541
+ * @throws {RequiredError}
2542
+ * @memberof ToolboxApi
2543
+ */
2544
+ stopComputerUse(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2545
+ /**
2546
+ * Take a compressed screenshot of a specific region
2547
+ * @summary Take compressed region screenshot
2548
+ * @param {string} sandboxId
2549
+ * @param {number} height
2550
+ * @param {number} width
2551
+ * @param {number} y
2552
+ * @param {number} x
2553
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2554
+ * @param {number} [scale]
2555
+ * @param {number} [quality]
2556
+ * @param {string} [format]
2557
+ * @param {boolean} [showCursor]
2558
+ * @param {*} [options] Override http request option.
2559
+ * @throws {RequiredError}
2560
+ * @memberof ToolboxApi
2561
+ */
2562
+ takeCompressedRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompressedScreenshotResponse, any>>;
2563
+ /**
2564
+ * Take a compressed screenshot with format, quality, and scale options
2565
+ * @summary Take compressed screenshot
2566
+ * @param {string} sandboxId
2567
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2568
+ * @param {number} [scale]
2569
+ * @param {number} [quality]
2570
+ * @param {string} [format]
2571
+ * @param {boolean} [showCursor]
2572
+ * @param {*} [options] Override http request option.
2573
+ * @throws {RequiredError}
2574
+ * @memberof ToolboxApi
2575
+ */
2576
+ takeCompressedScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, scale?: number, quality?: number, format?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompressedScreenshotResponse, any>>;
2577
+ /**
2578
+ * Take a screenshot of a specific region
2579
+ * @summary Take region screenshot
2580
+ * @param {string} sandboxId
2581
+ * @param {number} height
2582
+ * @param {number} width
2583
+ * @param {number} y
2584
+ * @param {number} x
2585
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2586
+ * @param {boolean} [showCursor]
2587
+ * @param {*} [options] Override http request option.
2588
+ * @throws {RequiredError}
2589
+ * @memberof ToolboxApi
2590
+ */
2591
+ takeRegionScreenshot(sandboxId: string, height: number, width: number, y: number, x: number, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegionScreenshotResponse, any>>;
2592
+ /**
2593
+ * Take a screenshot of the entire screen
2594
+ * @summary Take screenshot
2595
+ * @param {string} sandboxId
2596
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2597
+ * @param {boolean} [showCursor]
2598
+ * @param {*} [options] Override http request option.
2599
+ * @throws {RequiredError}
2600
+ * @memberof ToolboxApi
2601
+ */
2602
+ takeScreenshot(sandboxId: string, xDaytonaOrganizationID?: string, showCursor?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScreenshotResponse, any>>;
2603
+ /**
2604
+ * Type text using keyboard
2605
+ * @summary Type text
2606
+ * @param {string} sandboxId
2607
+ * @param {KeyboardTypeRequest} keyboardTypeRequest
2608
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2609
+ * @param {*} [options] Override http request option.
2610
+ * @throws {RequiredError}
2611
+ * @memberof ToolboxApi
2612
+ */
2613
+ typeText(sandboxId: string, keyboardTypeRequest: KeyboardTypeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyboardTypeResponse, any>>;
1701
2614
  /**
1702
2615
  * Upload file inside sandbox
1703
2616
  * @summary Upload file