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

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