@daytonaio/toolbox-api-client 0.175.1-alpha.1 → 0.178.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 +1 -1
- package/src/api/computer-use-api.d.ts +174 -0
- package/src/api/computer-use-api.js +333 -0
- package/src/api/computer-use-api.js.map +1 -1
- package/src/models/accessibility-bounds.d.ts +17 -0
- package/src/models/accessibility-bounds.js +16 -0
- package/src/models/accessibility-bounds.js.map +1 -0
- package/src/models/accessibility-invoke-request.d.ts +15 -0
- package/src/models/accessibility-invoke-request.js +16 -0
- package/src/models/accessibility-invoke-request.js.map +1 -0
- package/src/models/accessibility-node-request.d.ts +14 -0
- package/src/models/accessibility-node-request.js +16 -0
- package/src/models/accessibility-node-request.js.map +1 -0
- package/src/models/accessibility-nodes-response.d.ts +16 -0
- package/src/models/accessibility-nodes-response.js +16 -0
- package/src/models/accessibility-nodes-response.js.map +1 -0
- package/src/models/accessibility-set-value-request.d.ts +15 -0
- package/src/models/accessibility-set-value-request.js +16 -0
- package/src/models/accessibility-set-value-request.js.map +1 -0
- package/src/models/accessibility-tree-response.d.ts +16 -0
- package/src/models/accessibility-tree-response.js +16 -0
- package/src/models/accessibility-tree-response.js.map +1 -0
- package/src/models/computer-use-accessibility-node.d.ts +22 -0
- package/src/models/computer-use-accessibility-node.js +16 -0
- package/src/models/computer-use-accessibility-node.js.map +1 -0
- package/src/models/find-accessibility-nodes-request.d.ts +23 -0
- package/src/models/find-accessibility-nodes-request.js +16 -0
- package/src/models/find-accessibility-nodes-request.js.map +1 -0
- package/src/models/index.d.ts +8 -0
- package/src/models/index.js +8 -0
- package/src/models/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -12,10 +12,16 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AccessibilityInvokeRequest } from '../models';
|
|
16
|
+
import type { AccessibilityNodeRequest } from '../models';
|
|
17
|
+
import type { AccessibilityNodesResponse } from '../models';
|
|
18
|
+
import type { AccessibilitySetValueRequest } from '../models';
|
|
19
|
+
import type { AccessibilityTreeResponse } from '../models';
|
|
15
20
|
import type { ComputerUseStartResponse } from '../models';
|
|
16
21
|
import type { ComputerUseStatusResponse } from '../models';
|
|
17
22
|
import type { ComputerUseStopResponse } from '../models';
|
|
18
23
|
import type { DisplayInfoResponse } from '../models';
|
|
24
|
+
import type { FindAccessibilityNodesRequest } from '../models';
|
|
19
25
|
import type { KeyboardHotkeyRequest } from '../models';
|
|
20
26
|
import type { KeyboardPressRequest } from '../models';
|
|
21
27
|
import type { KeyboardTypeRequest } from '../models';
|
|
@@ -73,6 +79,32 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
|
|
|
73
79
|
* @throws {RequiredError}
|
|
74
80
|
*/
|
|
75
81
|
drag: (request: MouseDragRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
|
+
/**
|
|
83
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
84
|
+
* @summary Find accessibility nodes
|
|
85
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
findAccessibilityNodes: (request: FindAccessibilityNodesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
|
+
/**
|
|
91
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
92
|
+
* @summary Focus an accessibility node
|
|
93
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
focusAccessibilityNode: (request: AccessibilityNodeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
|
+
/**
|
|
99
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
100
|
+
* @summary Get accessibility tree
|
|
101
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
102
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
103
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getAccessibilityTree: (scope?: string, pid?: number, maxDepth?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
108
|
/**
|
|
77
109
|
* Get the status of all computer use processes
|
|
78
110
|
* @summary Get computer use process status
|
|
@@ -140,6 +172,14 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
|
|
|
140
172
|
* @throws {RequiredError}
|
|
141
173
|
*/
|
|
142
174
|
getWindows: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
175
|
+
/**
|
|
176
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
177
|
+
* @summary Invoke an action on an accessibility node
|
|
178
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
invokeAccessibilityNode: (request: AccessibilityInvokeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
183
|
/**
|
|
144
184
|
* Get a list of all recordings (active and completed)
|
|
145
185
|
* @summary List all recordings
|
|
@@ -187,6 +227,14 @@ export declare const ComputerUseApiAxiosParamCreator: (configuration?: Configura
|
|
|
187
227
|
* @throws {RequiredError}
|
|
188
228
|
*/
|
|
189
229
|
scroll: (request: MouseScrollRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
230
|
+
/**
|
|
231
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
232
|
+
* @summary Set the value of an accessibility node
|
|
233
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
setAccessibilityNodeValue: (request: AccessibilitySetValueRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
190
238
|
/**
|
|
191
239
|
* Start all computer use processes and return their status
|
|
192
240
|
* @summary Start computer use processes
|
|
@@ -308,6 +356,32 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
|
|
|
308
356
|
* @throws {RequiredError}
|
|
309
357
|
*/
|
|
310
358
|
drag(request: MouseDragRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseDragResponse>>;
|
|
359
|
+
/**
|
|
360
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
361
|
+
* @summary Find accessibility nodes
|
|
362
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
findAccessibilityNodes(request: FindAccessibilityNodesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessibilityNodesResponse>>;
|
|
367
|
+
/**
|
|
368
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
369
|
+
* @summary Focus an accessibility node
|
|
370
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
focusAccessibilityNode(request: AccessibilityNodeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
375
|
+
/**
|
|
376
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
377
|
+
* @summary Get accessibility tree
|
|
378
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
379
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
380
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
getAccessibilityTree(scope?: string, pid?: number, maxDepth?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessibilityTreeResponse>>;
|
|
311
385
|
/**
|
|
312
386
|
* Get the status of all computer use processes
|
|
313
387
|
* @summary Get computer use process status
|
|
@@ -375,6 +449,14 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
|
|
|
375
449
|
* @throws {RequiredError}
|
|
376
450
|
*/
|
|
377
451
|
getWindows(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WindowsResponse>>;
|
|
452
|
+
/**
|
|
453
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
454
|
+
* @summary Invoke an action on an accessibility node
|
|
455
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
invokeAccessibilityNode(request: AccessibilityInvokeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
378
460
|
/**
|
|
379
461
|
* Get a list of all recordings (active and completed)
|
|
380
462
|
* @summary List all recordings
|
|
@@ -422,6 +504,14 @@ export declare const ComputerUseApiFp: (configuration?: Configuration) => {
|
|
|
422
504
|
* @throws {RequiredError}
|
|
423
505
|
*/
|
|
424
506
|
scroll(request: MouseScrollRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScrollResponse>>;
|
|
507
|
+
/**
|
|
508
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
509
|
+
* @summary Set the value of an accessibility node
|
|
510
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
setAccessibilityNodeValue(request: AccessibilitySetValueRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
425
515
|
/**
|
|
426
516
|
* Start all computer use processes and return their status
|
|
427
517
|
* @summary Start computer use processes
|
|
@@ -543,6 +633,32 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
|
|
|
543
633
|
* @throws {RequiredError}
|
|
544
634
|
*/
|
|
545
635
|
drag(request: MouseDragRequest, options?: RawAxiosRequestConfig): AxiosPromise<MouseDragResponse>;
|
|
636
|
+
/**
|
|
637
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
638
|
+
* @summary Find accessibility nodes
|
|
639
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
findAccessibilityNodes(request: FindAccessibilityNodesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccessibilityNodesResponse>;
|
|
644
|
+
/**
|
|
645
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
646
|
+
* @summary Focus an accessibility node
|
|
647
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
focusAccessibilityNode(request: AccessibilityNodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
652
|
+
/**
|
|
653
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
654
|
+
* @summary Get accessibility tree
|
|
655
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
656
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
657
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
getAccessibilityTree(scope?: string, pid?: number, maxDepth?: number, options?: RawAxiosRequestConfig): AxiosPromise<AccessibilityTreeResponse>;
|
|
546
662
|
/**
|
|
547
663
|
* Get the status of all computer use processes
|
|
548
664
|
* @summary Get computer use process status
|
|
@@ -610,6 +726,14 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
|
|
|
610
726
|
* @throws {RequiredError}
|
|
611
727
|
*/
|
|
612
728
|
getWindows(options?: RawAxiosRequestConfig): AxiosPromise<WindowsResponse>;
|
|
729
|
+
/**
|
|
730
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
731
|
+
* @summary Invoke an action on an accessibility node
|
|
732
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
invokeAccessibilityNode(request: AccessibilityInvokeRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
613
737
|
/**
|
|
614
738
|
* Get a list of all recordings (active and completed)
|
|
615
739
|
* @summary List all recordings
|
|
@@ -657,6 +781,14 @@ export declare const ComputerUseApiFactory: (configuration?: Configuration, base
|
|
|
657
781
|
* @throws {RequiredError}
|
|
658
782
|
*/
|
|
659
783
|
scroll(request: MouseScrollRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScrollResponse>;
|
|
784
|
+
/**
|
|
785
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
786
|
+
* @summary Set the value of an accessibility node
|
|
787
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
*/
|
|
791
|
+
setAccessibilityNodeValue(request: AccessibilitySetValueRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
660
792
|
/**
|
|
661
793
|
* Start all computer use processes and return their status
|
|
662
794
|
* @summary Start computer use processes
|
|
@@ -778,6 +910,32 @@ export declare class ComputerUseApi extends BaseAPI {
|
|
|
778
910
|
* @throws {RequiredError}
|
|
779
911
|
*/
|
|
780
912
|
drag(request: MouseDragRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseDragResponse, any, {}>>;
|
|
913
|
+
/**
|
|
914
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
915
|
+
* @summary Find accessibility nodes
|
|
916
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
*/
|
|
920
|
+
findAccessibilityNodes(request: FindAccessibilityNodesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessibilityNodesResponse, any, {}>>;
|
|
921
|
+
/**
|
|
922
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
923
|
+
* @summary Focus an accessibility node
|
|
924
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
focusAccessibilityNode(request: AccessibilityNodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
929
|
+
/**
|
|
930
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
931
|
+
* @summary Get accessibility tree
|
|
932
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
933
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
934
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
getAccessibilityTree(scope?: string, pid?: number, maxDepth?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessibilityTreeResponse, any, {}>>;
|
|
781
939
|
/**
|
|
782
940
|
* Get the status of all computer use processes
|
|
783
941
|
* @summary Get computer use process status
|
|
@@ -845,6 +1003,14 @@ export declare class ComputerUseApi extends BaseAPI {
|
|
|
845
1003
|
* @throws {RequiredError}
|
|
846
1004
|
*/
|
|
847
1005
|
getWindows(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WindowsResponse, any, {}>>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
1008
|
+
* @summary Invoke an action on an accessibility node
|
|
1009
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
invokeAccessibilityNode(request: AccessibilityInvokeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
848
1014
|
/**
|
|
849
1015
|
* Get a list of all recordings (active and completed)
|
|
850
1016
|
* @summary List all recordings
|
|
@@ -892,6 +1058,14 @@ export declare class ComputerUseApi extends BaseAPI {
|
|
|
892
1058
|
* @throws {RequiredError}
|
|
893
1059
|
*/
|
|
894
1060
|
scroll(request: MouseScrollRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScrollResponse, any, {}>>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
1063
|
+
* @summary Set the value of an accessibility node
|
|
1064
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
setAccessibilityNodeValue(request: AccessibilitySetValueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
895
1069
|
/**
|
|
896
1070
|
* Start all computer use processes and return their status
|
|
897
1071
|
* @summary Start computer use processes
|