@daytonaio/toolbox-api-client 0.175.0 → 0.176.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
|
@@ -147,6 +147,106 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
options: localVarRequestOptions,
|
|
148
148
|
};
|
|
149
149
|
},
|
|
150
|
+
/**
|
|
151
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
152
|
+
* @summary Find accessibility nodes
|
|
153
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
findAccessibilityNodes: async (request, options = {}) => {
|
|
158
|
+
// verify required parameter 'request' is not null or undefined
|
|
159
|
+
(0, common_1.assertParamExists)('findAccessibilityNodes', 'request', request);
|
|
160
|
+
const localVarPath = `/computeruse/a11y/find`;
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
168
|
+
const localVarHeaderParameter = {};
|
|
169
|
+
const localVarQueryParameter = {};
|
|
170
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
171
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
172
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
175
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
|
|
176
|
+
return {
|
|
177
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
183
|
+
* @summary Focus an accessibility node
|
|
184
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
focusAccessibilityNode: async (request, options = {}) => {
|
|
189
|
+
// verify required parameter 'request' is not null or undefined
|
|
190
|
+
(0, common_1.assertParamExists)('focusAccessibilityNode', 'request', request);
|
|
191
|
+
const localVarPath = `/computeruse/a11y/node/focus`;
|
|
192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
194
|
+
let baseOptions;
|
|
195
|
+
if (configuration) {
|
|
196
|
+
baseOptions = configuration.baseOptions;
|
|
197
|
+
}
|
|
198
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
199
|
+
const localVarHeaderParameter = {};
|
|
200
|
+
const localVarQueryParameter = {};
|
|
201
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
202
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
203
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
204
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
205
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
206
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
|
|
207
|
+
return {
|
|
208
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
209
|
+
options: localVarRequestOptions,
|
|
210
|
+
};
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
214
|
+
* @summary Get accessibility tree
|
|
215
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
216
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
217
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
getAccessibilityTree: async (scope, pid, maxDepth, options = {}) => {
|
|
222
|
+
const localVarPath = `/computeruse/a11y/tree`;
|
|
223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
225
|
+
let baseOptions;
|
|
226
|
+
if (configuration) {
|
|
227
|
+
baseOptions = configuration.baseOptions;
|
|
228
|
+
}
|
|
229
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
230
|
+
const localVarHeaderParameter = {};
|
|
231
|
+
const localVarQueryParameter = {};
|
|
232
|
+
if (scope !== undefined) {
|
|
233
|
+
localVarQueryParameter['scope'] = scope;
|
|
234
|
+
}
|
|
235
|
+
if (pid !== undefined) {
|
|
236
|
+
localVarQueryParameter['pid'] = pid;
|
|
237
|
+
}
|
|
238
|
+
if (maxDepth !== undefined) {
|
|
239
|
+
localVarQueryParameter['maxDepth'] = maxDepth;
|
|
240
|
+
}
|
|
241
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
242
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
245
|
+
return {
|
|
246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
},
|
|
150
250
|
/**
|
|
151
251
|
* Get the status of all computer use processes
|
|
152
252
|
* @summary Get computer use process status
|
|
@@ -397,6 +497,37 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
|
|
|
397
497
|
options: localVarRequestOptions,
|
|
398
498
|
};
|
|
399
499
|
},
|
|
500
|
+
/**
|
|
501
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
502
|
+
* @summary Invoke an action on an accessibility node
|
|
503
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
invokeAccessibilityNode: async (request, options = {}) => {
|
|
508
|
+
// verify required parameter 'request' is not null or undefined
|
|
509
|
+
(0, common_1.assertParamExists)('invokeAccessibilityNode', 'request', request);
|
|
510
|
+
const localVarPath = `/computeruse/a11y/node/invoke`;
|
|
511
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
512
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
513
|
+
let baseOptions;
|
|
514
|
+
if (configuration) {
|
|
515
|
+
baseOptions = configuration.baseOptions;
|
|
516
|
+
}
|
|
517
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
518
|
+
const localVarHeaderParameter = {};
|
|
519
|
+
const localVarQueryParameter = {};
|
|
520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
521
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
522
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
523
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
524
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
525
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
|
|
526
|
+
return {
|
|
527
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
528
|
+
options: localVarRequestOptions,
|
|
529
|
+
};
|
|
530
|
+
},
|
|
400
531
|
/**
|
|
401
532
|
* Get a list of all recordings (active and completed)
|
|
402
533
|
* @summary List all recordings
|
|
@@ -577,6 +708,37 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
|
|
|
577
708
|
options: localVarRequestOptions,
|
|
578
709
|
};
|
|
579
710
|
},
|
|
711
|
+
/**
|
|
712
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
713
|
+
* @summary Set the value of an accessibility node
|
|
714
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
setAccessibilityNodeValue: async (request, options = {}) => {
|
|
719
|
+
// verify required parameter 'request' is not null or undefined
|
|
720
|
+
(0, common_1.assertParamExists)('setAccessibilityNodeValue', 'request', request);
|
|
721
|
+
const localVarPath = `/computeruse/a11y/node/value`;
|
|
722
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
723
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
724
|
+
let baseOptions;
|
|
725
|
+
if (configuration) {
|
|
726
|
+
baseOptions = configuration.baseOptions;
|
|
727
|
+
}
|
|
728
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
729
|
+
const localVarHeaderParameter = {};
|
|
730
|
+
const localVarQueryParameter = {};
|
|
731
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
732
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
733
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
734
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
735
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
736
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
|
|
737
|
+
return {
|
|
738
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
739
|
+
options: localVarRequestOptions,
|
|
740
|
+
};
|
|
741
|
+
},
|
|
580
742
|
/**
|
|
581
743
|
* Start all computer use processes and return their status
|
|
582
744
|
* @summary Start computer use processes
|
|
@@ -973,6 +1135,47 @@ const ComputerUseApiFp = function (configuration) {
|
|
|
973
1135
|
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.drag']?.[localVarOperationServerIndex]?.url;
|
|
974
1136
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
975
1137
|
},
|
|
1138
|
+
/**
|
|
1139
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
1140
|
+
* @summary Find accessibility nodes
|
|
1141
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
1142
|
+
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @throws {RequiredError}
|
|
1144
|
+
*/
|
|
1145
|
+
async findAccessibilityNodes(request, options) {
|
|
1146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.findAccessibilityNodes(request, options);
|
|
1147
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1148
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.findAccessibilityNodes']?.[localVarOperationServerIndex]?.url;
|
|
1149
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1150
|
+
},
|
|
1151
|
+
/**
|
|
1152
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
1153
|
+
* @summary Focus an accessibility node
|
|
1154
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
async focusAccessibilityNode(request, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.focusAccessibilityNode(request, options);
|
|
1160
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1161
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.focusAccessibilityNode']?.[localVarOperationServerIndex]?.url;
|
|
1162
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
1166
|
+
* @summary Get accessibility tree
|
|
1167
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
1168
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
1169
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
1170
|
+
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @throws {RequiredError}
|
|
1172
|
+
*/
|
|
1173
|
+
async getAccessibilityTree(scope, pid, maxDepth, options) {
|
|
1174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessibilityTree(scope, pid, maxDepth, options);
|
|
1175
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1176
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getAccessibilityTree']?.[localVarOperationServerIndex]?.url;
|
|
1177
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1178
|
+
},
|
|
976
1179
|
/**
|
|
977
1180
|
* Get the status of all computer use processes
|
|
978
1181
|
* @summary Get computer use process status
|
|
@@ -1085,6 +1288,19 @@ const ComputerUseApiFp = function (configuration) {
|
|
|
1085
1288
|
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getWindows']?.[localVarOperationServerIndex]?.url;
|
|
1086
1289
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1087
1290
|
},
|
|
1291
|
+
/**
|
|
1292
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
1293
|
+
* @summary Invoke an action on an accessibility node
|
|
1294
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
1295
|
+
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @throws {RequiredError}
|
|
1297
|
+
*/
|
|
1298
|
+
async invokeAccessibilityNode(request, options) {
|
|
1299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.invokeAccessibilityNode(request, options);
|
|
1300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1301
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.invokeAccessibilityNode']?.[localVarOperationServerIndex]?.url;
|
|
1302
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1303
|
+
},
|
|
1088
1304
|
/**
|
|
1089
1305
|
* Get a list of all recordings (active and completed)
|
|
1090
1306
|
* @summary List all recordings
|
|
@@ -1162,6 +1378,19 @@ const ComputerUseApiFp = function (configuration) {
|
|
|
1162
1378
|
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.scroll']?.[localVarOperationServerIndex]?.url;
|
|
1163
1379
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1164
1380
|
},
|
|
1381
|
+
/**
|
|
1382
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
1383
|
+
* @summary Set the value of an accessibility node
|
|
1384
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
1385
|
+
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @throws {RequiredError}
|
|
1387
|
+
*/
|
|
1388
|
+
async setAccessibilityNodeValue(request, options) {
|
|
1389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAccessibilityNodeValue(request, options);
|
|
1390
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1391
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.setAccessibilityNodeValue']?.[localVarOperationServerIndex]?.url;
|
|
1392
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1393
|
+
},
|
|
1165
1394
|
/**
|
|
1166
1395
|
* Start all computer use processes and return their status
|
|
1167
1396
|
* @summary Start computer use processes
|
|
@@ -1340,6 +1569,38 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
|
|
|
1340
1569
|
drag(request, options) {
|
|
1341
1570
|
return localVarFp.drag(request, options).then((request) => request(axios, basePath));
|
|
1342
1571
|
},
|
|
1572
|
+
/**
|
|
1573
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
1574
|
+
* @summary Find accessibility nodes
|
|
1575
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
1576
|
+
* @param {*} [options] Override http request option.
|
|
1577
|
+
* @throws {RequiredError}
|
|
1578
|
+
*/
|
|
1579
|
+
findAccessibilityNodes(request, options) {
|
|
1580
|
+
return localVarFp.findAccessibilityNodes(request, options).then((request) => request(axios, basePath));
|
|
1581
|
+
},
|
|
1582
|
+
/**
|
|
1583
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
1584
|
+
* @summary Focus an accessibility node
|
|
1585
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
1586
|
+
* @param {*} [options] Override http request option.
|
|
1587
|
+
* @throws {RequiredError}
|
|
1588
|
+
*/
|
|
1589
|
+
focusAccessibilityNode(request, options) {
|
|
1590
|
+
return localVarFp.focusAccessibilityNode(request, options).then((request) => request(axios, basePath));
|
|
1591
|
+
},
|
|
1592
|
+
/**
|
|
1593
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
1594
|
+
* @summary Get accessibility tree
|
|
1595
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
1596
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
1597
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
1598
|
+
* @param {*} [options] Override http request option.
|
|
1599
|
+
* @throws {RequiredError}
|
|
1600
|
+
*/
|
|
1601
|
+
getAccessibilityTree(scope, pid, maxDepth, options) {
|
|
1602
|
+
return localVarFp.getAccessibilityTree(scope, pid, maxDepth, options).then((request) => request(axios, basePath));
|
|
1603
|
+
},
|
|
1343
1604
|
/**
|
|
1344
1605
|
* Get the status of all computer use processes
|
|
1345
1606
|
* @summary Get computer use process status
|
|
@@ -1425,6 +1686,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
|
|
|
1425
1686
|
getWindows(options) {
|
|
1426
1687
|
return localVarFp.getWindows(options).then((request) => request(axios, basePath));
|
|
1427
1688
|
},
|
|
1689
|
+
/**
|
|
1690
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
1691
|
+
* @summary Invoke an action on an accessibility node
|
|
1692
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
invokeAccessibilityNode(request, options) {
|
|
1697
|
+
return localVarFp.invokeAccessibilityNode(request, options).then((request) => request(axios, basePath));
|
|
1698
|
+
},
|
|
1428
1699
|
/**
|
|
1429
1700
|
* Get a list of all recordings (active and completed)
|
|
1430
1701
|
* @summary List all recordings
|
|
@@ -1484,6 +1755,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
|
|
|
1484
1755
|
scroll(request, options) {
|
|
1485
1756
|
return localVarFp.scroll(request, options).then((request) => request(axios, basePath));
|
|
1486
1757
|
},
|
|
1758
|
+
/**
|
|
1759
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
1760
|
+
* @summary Set the value of an accessibility node
|
|
1761
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
1762
|
+
* @param {*} [options] Override http request option.
|
|
1763
|
+
* @throws {RequiredError}
|
|
1764
|
+
*/
|
|
1765
|
+
setAccessibilityNodeValue(request, options) {
|
|
1766
|
+
return localVarFp.setAccessibilityNodeValue(request, options).then((request) => request(axios, basePath));
|
|
1767
|
+
},
|
|
1487
1768
|
/**
|
|
1488
1769
|
* Start all computer use processes and return their status
|
|
1489
1770
|
* @summary Start computer use processes
|
|
@@ -1633,6 +1914,38 @@ class ComputerUseApi extends base_1.BaseAPI {
|
|
|
1633
1914
|
drag(request, options) {
|
|
1634
1915
|
return (0, exports.ComputerUseApiFp)(this.configuration).drag(request, options).then((request) => request(this.axios, this.basePath));
|
|
1635
1916
|
}
|
|
1917
|
+
/**
|
|
1918
|
+
* Search the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
|
|
1919
|
+
* @summary Find accessibility nodes
|
|
1920
|
+
* @param {FindAccessibilityNodesRequest} request Find request
|
|
1921
|
+
* @param {*} [options] Override http request option.
|
|
1922
|
+
* @throws {RequiredError}
|
|
1923
|
+
*/
|
|
1924
|
+
findAccessibilityNodes(request, options) {
|
|
1925
|
+
return (0, exports.ComputerUseApiFp)(this.configuration).findAccessibilityNodes(request, options).then((request) => request(this.axios, this.basePath));
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Move keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
|
|
1929
|
+
* @summary Focus an accessibility node
|
|
1930
|
+
* @param {AccessibilityNodeRequest} request Node focus request
|
|
1931
|
+
* @param {*} [options] Override http request option.
|
|
1932
|
+
* @throws {RequiredError}
|
|
1933
|
+
*/
|
|
1934
|
+
focusAccessibilityNode(request, options) {
|
|
1935
|
+
return (0, exports.ComputerUseApiFp)(this.configuration).focusAccessibilityNode(request, options).then((request) => request(this.axios, this.basePath));
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Fetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
|
|
1939
|
+
* @summary Get accessibility tree
|
|
1940
|
+
* @param {string} [scope] Scope: focused | pid | all (default: focused)
|
|
1941
|
+
* @param {number} [pid] Process ID when scope=pid
|
|
1942
|
+
* @param {number} [maxDepth] Max tree depth (-1 unbounded, 0 root only; default -1)
|
|
1943
|
+
* @param {*} [options] Override http request option.
|
|
1944
|
+
* @throws {RequiredError}
|
|
1945
|
+
*/
|
|
1946
|
+
getAccessibilityTree(scope, pid, maxDepth, options) {
|
|
1947
|
+
return (0, exports.ComputerUseApiFp)(this.configuration).getAccessibilityTree(scope, pid, maxDepth, options).then((request) => request(this.axios, this.basePath));
|
|
1948
|
+
}
|
|
1636
1949
|
/**
|
|
1637
1950
|
* Get the status of all computer use processes
|
|
1638
1951
|
* @summary Get computer use process status
|
|
@@ -1718,6 +2031,16 @@ class ComputerUseApi extends base_1.BaseAPI {
|
|
|
1718
2031
|
getWindows(options) {
|
|
1719
2032
|
return (0, exports.ComputerUseApiFp)(this.configuration).getWindows(options).then((request) => request(this.axios, this.basePath));
|
|
1720
2033
|
}
|
|
2034
|
+
/**
|
|
2035
|
+
* Call an AT-SPI Action on the node. Leave action empty to invoke the node\'s primary (first) action.
|
|
2036
|
+
* @summary Invoke an action on an accessibility node
|
|
2037
|
+
* @param {AccessibilityInvokeRequest} request Invoke request
|
|
2038
|
+
* @param {*} [options] Override http request option.
|
|
2039
|
+
* @throws {RequiredError}
|
|
2040
|
+
*/
|
|
2041
|
+
invokeAccessibilityNode(request, options) {
|
|
2042
|
+
return (0, exports.ComputerUseApiFp)(this.configuration).invokeAccessibilityNode(request, options).then((request) => request(this.axios, this.basePath));
|
|
2043
|
+
}
|
|
1721
2044
|
/**
|
|
1722
2045
|
* Get a list of all recordings (active and completed)
|
|
1723
2046
|
* @summary List all recordings
|
|
@@ -1777,6 +2100,16 @@ class ComputerUseApi extends base_1.BaseAPI {
|
|
|
1777
2100
|
scroll(request, options) {
|
|
1778
2101
|
return (0, exports.ComputerUseApiFp)(this.configuration).scroll(request, options).then((request) => request(this.axios, this.basePath));
|
|
1779
2102
|
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Write the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
|
|
2105
|
+
* @summary Set the value of an accessibility node
|
|
2106
|
+
* @param {AccessibilitySetValueRequest} request Set value request
|
|
2107
|
+
* @param {*} [options] Override http request option.
|
|
2108
|
+
* @throws {RequiredError}
|
|
2109
|
+
*/
|
|
2110
|
+
setAccessibilityNodeValue(request, options) {
|
|
2111
|
+
return (0, exports.ComputerUseApiFp)(this.configuration).setAccessibilityNodeValue(request, options).then((request) => request(this.axios, this.basePath));
|
|
2112
|
+
}
|
|
1780
2113
|
/**
|
|
1781
2114
|
* Start all computer use processes and return their status
|
|
1782
2115
|
* @summary Start computer use processes
|