@daytonaio/toolbox-api-client 0.138.0 → 0.140.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/toolbox-api-client",
3
- "version": "0.138.0",
3
+ "version": "0.140.0",
4
4
  "description": "OpenAPI client for @daytonaio/toolbox-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -19,6 +19,7 @@ import type { DisplayInfoResponse } from '../models';
19
19
  import type { KeyboardHotkeyRequest } from '../models';
20
20
  import type { KeyboardPressRequest } from '../models';
21
21
  import type { KeyboardTypeRequest } from '../models';
22
+ import type { ListRecordingsResponse } from '../models';
22
23
  import type { MouseClickRequest } from '../models';
23
24
  import type { MouseClickResponse } from '../models';
24
25
  import type { MouseDragRequest } from '../models';
@@ -30,8 +31,11 @@ import type { ProcessErrorsResponse } from '../models';
30
31
  import type { ProcessLogsResponse } from '../models';
31
32
  import type { ProcessRestartResponse } from '../models';
32
33
  import type { ProcessStatusResponse } from '../models';
34
+ import type { Recording } from '../models';
33
35
  import type { ScreenshotResponse } from '../models';
34
36
  import type { ScrollResponse } from '../models';
37
+ import type { StartRecordingRequest } from '../models';
38
+ import type { StopRecordingRequest } from '../models';
35
39
  import type { WindowsResponse } from '../models';
36
40
  /**
37
41
  * ComputerUseApi - axios parameter creator
@@ -46,6 +50,22 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
46
50
  * @throws {RequiredError}
47
51
  */
48
52
  click: (request: MouseClickRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Delete a recording file by ID
55
+ * @summary Delete a recording
56
+ * @param {string} id Recording ID
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ deleteRecording: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
+ /**
62
+ * Download a recording by providing its ID
63
+ * @summary Download a recording
64
+ * @param {string} id Recording ID
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ downloadRecording: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
69
  /**
50
70
  * Drag the mouse from start to end coordinates
51
71
  * @summary Drag mouse
@@ -106,6 +126,14 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
106
126
  * @throws {RequiredError}
107
127
  */
108
128
  getProcessStatus: (processName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
129
+ /**
130
+ * Get details of a specific recording by ID
131
+ * @summary Get recording details
132
+ * @param {string} id Recording ID
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ getRecording: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
109
137
  /**
110
138
  * Get information about all open windows
111
139
  * @summary Get windows information
@@ -113,6 +141,13 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
113
141
  * @throws {RequiredError}
114
142
  */
115
143
  getWindows: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
144
+ /**
145
+ * Get a list of all recordings (active and completed)
146
+ * @summary List all recordings
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ listRecordings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
116
151
  /**
117
152
  * Move the mouse cursor to the specified coordinates
118
153
  * @summary Move mouse cursor
@@ -160,6 +195,14 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
160
195
  * @throws {RequiredError}
161
196
  */
162
197
  startComputerUse: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
198
+ /**
199
+ * Start a new screen recording session
200
+ * @summary Start a new recording
201
+ * @param {StartRecordingRequest} [request] Recording options
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ startRecording: (request?: StartRecordingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
163
206
  /**
164
207
  * Stop all computer use processes and return their status
165
208
  * @summary Stop computer use processes
@@ -167,6 +210,14 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
167
210
  * @throws {RequiredError}
168
211
  */
169
212
  stopComputerUse: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
213
+ /**
214
+ * Stop an active screen recording session
215
+ * @summary Stop a recording
216
+ * @param {StopRecordingRequest} request Recording ID to stop
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ stopRecording: (request: StopRecordingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
170
221
  /**
171
222
  * Take a compressed screenshot of a specific region of the screen
172
223
  * @summary Take a compressed region screenshot
@@ -235,6 +286,22 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
235
286
  * @throws {RequiredError}
236
287
  */
237
288
  click(request: MouseClickRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseClickResponse>>;
289
+ /**
290
+ * Delete a recording file by ID
291
+ * @summary Delete a recording
292
+ * @param {string} id Recording ID
293
+ * @param {*} [options] Override http request option.
294
+ * @throws {RequiredError}
295
+ */
296
+ deleteRecording(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
297
+ /**
298
+ * Download a recording by providing its ID
299
+ * @summary Download a recording
300
+ * @param {string} id Recording ID
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ downloadRecording(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
238
305
  /**
239
306
  * Drag the mouse from start to end coordinates
240
307
  * @summary Drag mouse
@@ -295,6 +362,14 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
295
362
  * @throws {RequiredError}
296
363
  */
297
364
  getProcessStatus(processName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProcessStatusResponse>>;
365
+ /**
366
+ * Get details of a specific recording by ID
367
+ * @summary Get recording details
368
+ * @param {string} id Recording ID
369
+ * @param {*} [options] Override http request option.
370
+ * @throws {RequiredError}
371
+ */
372
+ getRecording(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Recording>>;
298
373
  /**
299
374
  * Get information about all open windows
300
375
  * @summary Get windows information
@@ -302,6 +377,13 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
302
377
  * @throws {RequiredError}
303
378
  */
304
379
  getWindows(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WindowsResponse>>;
380
+ /**
381
+ * Get a list of all recordings (active and completed)
382
+ * @summary List all recordings
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ */
386
+ listRecordings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRecordingsResponse>>;
305
387
  /**
306
388
  * Move the mouse cursor to the specified coordinates
307
389
  * @summary Move mouse cursor
@@ -349,6 +431,14 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
349
431
  * @throws {RequiredError}
350
432
  */
351
433
  startComputerUse(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ComputerUseStartResponse>>;
434
+ /**
435
+ * Start a new screen recording session
436
+ * @summary Start a new recording
437
+ * @param {StartRecordingRequest} [request] Recording options
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ */
441
+ startRecording(request?: StartRecordingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Recording>>;
352
442
  /**
353
443
  * Stop all computer use processes and return their status
354
444
  * @summary Stop computer use processes
@@ -356,6 +446,14 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
356
446
  * @throws {RequiredError}
357
447
  */
358
448
  stopComputerUse(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ComputerUseStopResponse>>;
449
+ /**
450
+ * Stop an active screen recording session
451
+ * @summary Stop a recording
452
+ * @param {StopRecordingRequest} request Recording ID to stop
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ stopRecording(request: StopRecordingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Recording>>;
359
457
  /**
360
458
  * Take a compressed screenshot of a specific region of the screen
361
459
  * @summary Take a compressed region screenshot
@@ -424,6 +522,22 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
424
522
  * @throws {RequiredError}
425
523
  */
426
524
  click(request: MouseClickRequest, options?: RawAxiosRequestConfig): AxiosPromise<MouseClickResponse>;
525
+ /**
526
+ * Delete a recording file by ID
527
+ * @summary Delete a recording
528
+ * @param {string} id Recording ID
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ */
532
+ deleteRecording(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
533
+ /**
534
+ * Download a recording by providing its ID
535
+ * @summary Download a recording
536
+ * @param {string} id Recording ID
537
+ * @param {*} [options] Override http request option.
538
+ * @throws {RequiredError}
539
+ */
540
+ downloadRecording(id: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
427
541
  /**
428
542
  * Drag the mouse from start to end coordinates
429
543
  * @summary Drag mouse
@@ -484,6 +598,14 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
484
598
  * @throws {RequiredError}
485
599
  */
486
600
  getProcessStatus(processName: string, options?: RawAxiosRequestConfig): AxiosPromise<ProcessStatusResponse>;
601
+ /**
602
+ * Get details of a specific recording by ID
603
+ * @summary Get recording details
604
+ * @param {string} id Recording ID
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ */
608
+ getRecording(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Recording>;
487
609
  /**
488
610
  * Get information about all open windows
489
611
  * @summary Get windows information
@@ -491,6 +613,13 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
491
613
  * @throws {RequiredError}
492
614
  */
493
615
  getWindows(options?: RawAxiosRequestConfig): AxiosPromise<WindowsResponse>;
616
+ /**
617
+ * Get a list of all recordings (active and completed)
618
+ * @summary List all recordings
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ listRecordings(options?: RawAxiosRequestConfig): AxiosPromise<ListRecordingsResponse>;
494
623
  /**
495
624
  * Move the mouse cursor to the specified coordinates
496
625
  * @summary Move mouse cursor
@@ -538,6 +667,14 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
538
667
  * @throws {RequiredError}
539
668
  */
540
669
  startComputerUse(options?: RawAxiosRequestConfig): AxiosPromise<ComputerUseStartResponse>;
670
+ /**
671
+ * Start a new screen recording session
672
+ * @summary Start a new recording
673
+ * @param {StartRecordingRequest} [request] Recording options
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ startRecording(request?: StartRecordingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Recording>;
541
678
  /**
542
679
  * Stop all computer use processes and return their status
543
680
  * @summary Stop computer use processes
@@ -545,6 +682,14 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
545
682
  * @throws {RequiredError}
546
683
  */
547
684
  stopComputerUse(options?: RawAxiosRequestConfig): AxiosPromise<ComputerUseStopResponse>;
685
+ /**
686
+ * Stop an active screen recording session
687
+ * @summary Stop a recording
688
+ * @param {StopRecordingRequest} request Recording ID to stop
689
+ * @param {*} [options] Override http request option.
690
+ * @throws {RequiredError}
691
+ */
692
+ stopRecording(request: StopRecordingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Recording>;
548
693
  /**
549
694
  * Take a compressed screenshot of a specific region of the screen
550
695
  * @summary Take a compressed region screenshot
@@ -616,6 +761,24 @@ export declare class ComputerUseApi extends BaseAPI {
616
761
  * @memberof ComputerUseApi
617
762
  */
618
763
  click(request: MouseClickRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseClickResponse, any>>;
764
+ /**
765
+ * Delete a recording file by ID
766
+ * @summary Delete a recording
767
+ * @param {string} id Recording ID
768
+ * @param {*} [options] Override http request option.
769
+ * @throws {RequiredError}
770
+ * @memberof ComputerUseApi
771
+ */
772
+ deleteRecording(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
773
+ /**
774
+ * Download a recording by providing its ID
775
+ * @summary Download a recording
776
+ * @param {string} id Recording ID
777
+ * @param {*} [options] Override http request option.
778
+ * @throws {RequiredError}
779
+ * @memberof ComputerUseApi
780
+ */
781
+ downloadRecording(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
619
782
  /**
620
783
  * Drag the mouse from start to end coordinates
621
784
  * @summary Drag mouse
@@ -684,6 +847,15 @@ export declare class ComputerUseApi extends BaseAPI {
684
847
  * @memberof ComputerUseApi
685
848
  */
686
849
  getProcessStatus(processName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProcessStatusResponse, any>>;
850
+ /**
851
+ * Get details of a specific recording by ID
852
+ * @summary Get recording details
853
+ * @param {string} id Recording ID
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ * @memberof ComputerUseApi
857
+ */
858
+ getRecording(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Recording, any>>;
687
859
  /**
688
860
  * Get information about all open windows
689
861
  * @summary Get windows information
@@ -692,6 +864,14 @@ export declare class ComputerUseApi extends BaseAPI {
692
864
  * @memberof ComputerUseApi
693
865
  */
694
866
  getWindows(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WindowsResponse, any>>;
867
+ /**
868
+ * Get a list of all recordings (active and completed)
869
+ * @summary List all recordings
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ * @memberof ComputerUseApi
873
+ */
874
+ listRecordings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRecordingsResponse, any>>;
695
875
  /**
696
876
  * Move the mouse cursor to the specified coordinates
697
877
  * @summary Move mouse cursor
@@ -745,6 +925,15 @@ export declare class ComputerUseApi extends BaseAPI {
745
925
  * @memberof ComputerUseApi
746
926
  */
747
927
  startComputerUse(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ComputerUseStartResponse, any>>;
928
+ /**
929
+ * Start a new screen recording session
930
+ * @summary Start a new recording
931
+ * @param {StartRecordingRequest} [request] Recording options
932
+ * @param {*} [options] Override http request option.
933
+ * @throws {RequiredError}
934
+ * @memberof ComputerUseApi
935
+ */
936
+ startRecording(request?: StartRecordingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Recording, any>>;
748
937
  /**
749
938
  * Stop all computer use processes and return their status
750
939
  * @summary Stop computer use processes
@@ -753,6 +942,15 @@ export declare class ComputerUseApi extends BaseAPI {
753
942
  * @memberof ComputerUseApi
754
943
  */
755
944
  stopComputerUse(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ComputerUseStopResponse, any>>;
945
+ /**
946
+ * Stop an active screen recording session
947
+ * @summary Stop a recording
948
+ * @param {StopRecordingRequest} request Recording ID to stop
949
+ * @param {*} [options] Override http request option.
950
+ * @throws {RequiredError}
951
+ * @memberof ComputerUseApi
952
+ */
953
+ stopRecording(request: StopRecordingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Recording, any>>;
756
954
  /**
757
955
  * Take a compressed screenshot of a specific region of the screen
758
956
  * @summary Take a compressed region screenshot