@daytonaio/toolbox-api-client 0.129.0 → 0.131.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.
@@ -56,6 +56,34 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
56
56
  options: localVarRequestOptions,
57
57
  };
58
58
  },
59
+ /**
60
+ * Delete a recording file by ID
61
+ * @summary Delete a recording
62
+ * @param {string} id Recording ID
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ deleteRecording: async (id, options = {}) => {
67
+ // verify required parameter 'id' is not null or undefined
68
+ (0, common_1.assertParamExists)('deleteRecording', 'id', id);
69
+ const localVarPath = `/computeruse/recordings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
70
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
71
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
72
+ let baseOptions;
73
+ if (configuration) {
74
+ baseOptions = configuration.baseOptions;
75
+ }
76
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
77
+ const localVarHeaderParameter = {};
78
+ const localVarQueryParameter = {};
79
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
80
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
82
+ return {
83
+ url: (0, common_1.toPathString)(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
59
87
  /**
60
88
  * Drag the mouse from start to end coordinates
61
89
  * @summary Drag mouse
@@ -270,6 +298,34 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
270
298
  options: localVarRequestOptions,
271
299
  };
272
300
  },
301
+ /**
302
+ * Get details of a specific recording by ID
303
+ * @summary Get recording details
304
+ * @param {string} id Recording ID
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ getRecording: async (id, options = {}) => {
309
+ // verify required parameter 'id' is not null or undefined
310
+ (0, common_1.assertParamExists)('getRecording', 'id', id);
311
+ const localVarPath = `/computeruse/recordings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
312
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
313
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
314
+ let baseOptions;
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ }
318
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
319
+ const localVarHeaderParameter = {};
320
+ const localVarQueryParameter = {};
321
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
322
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
323
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
324
+ return {
325
+ url: (0, common_1.toPathString)(localVarUrlObj),
326
+ options: localVarRequestOptions,
327
+ };
328
+ },
273
329
  /**
274
330
  * Get information about all open windows
275
331
  * @summary Get windows information
@@ -295,6 +351,31 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
295
351
  options: localVarRequestOptions,
296
352
  };
297
353
  },
354
+ /**
355
+ * Get a list of all recordings (active and completed)
356
+ * @summary List all recordings
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ listRecordings: async (options = {}) => {
361
+ const localVarPath = `/computeruse/recordings`;
362
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
363
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
364
+ let baseOptions;
365
+ if (configuration) {
366
+ baseOptions = configuration.baseOptions;
367
+ }
368
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
369
+ const localVarHeaderParameter = {};
370
+ const localVarQueryParameter = {};
371
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
373
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
374
+ return {
375
+ url: (0, common_1.toPathString)(localVarUrlObj),
376
+ options: localVarRequestOptions,
377
+ };
378
+ },
298
379
  /**
299
380
  * Move the mouse cursor to the specified coordinates
300
381
  * @summary Move mouse cursor
@@ -468,6 +549,34 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
468
549
  options: localVarRequestOptions,
469
550
  };
470
551
  },
552
+ /**
553
+ * Start a new screen recording session
554
+ * @summary Start a new recording
555
+ * @param {StartRecordingRequest} [request] Recording options
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ */
559
+ startRecording: async (request, options = {}) => {
560
+ const localVarPath = `/computeruse/recordings/start`;
561
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
562
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
563
+ let baseOptions;
564
+ if (configuration) {
565
+ baseOptions = configuration.baseOptions;
566
+ }
567
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
568
+ const localVarHeaderParameter = {};
569
+ const localVarQueryParameter = {};
570
+ localVarHeaderParameter['Content-Type'] = 'application/json';
571
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
572
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
573
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
574
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
575
+ return {
576
+ url: (0, common_1.toPathString)(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ };
579
+ },
471
580
  /**
472
581
  * Stop all computer use processes and return their status
473
582
  * @summary Stop computer use processes
@@ -493,6 +602,36 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
493
602
  options: localVarRequestOptions,
494
603
  };
495
604
  },
605
+ /**
606
+ * Stop an active screen recording session
607
+ * @summary Stop a recording
608
+ * @param {StopRecordingRequest} request Recording ID to stop
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ stopRecording: async (request, options = {}) => {
613
+ // verify required parameter 'request' is not null or undefined
614
+ (0, common_1.assertParamExists)('stopRecording', 'request', request);
615
+ const localVarPath = `/computeruse/recordings/stop`;
616
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
617
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
618
+ let baseOptions;
619
+ if (configuration) {
620
+ baseOptions = configuration.baseOptions;
621
+ }
622
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
623
+ const localVarHeaderParameter = {};
624
+ const localVarQueryParameter = {};
625
+ localVarHeaderParameter['Content-Type'] = 'application/json';
626
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
627
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
628
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
629
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
630
+ return {
631
+ url: (0, common_1.toPathString)(localVarUrlObj),
632
+ options: localVarRequestOptions,
633
+ };
634
+ },
496
635
  /**
497
636
  * Take a compressed screenshot of a specific region of the screen
498
637
  * @summary Take a compressed region screenshot
@@ -734,6 +873,19 @@ const ComputerUseApiFp = function (configuration) {
734
873
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.click']?.[localVarOperationServerIndex]?.url;
735
874
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
736
875
  },
876
+ /**
877
+ * Delete a recording file by ID
878
+ * @summary Delete a recording
879
+ * @param {string} id Recording ID
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ async deleteRecording(id, options) {
884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(id, options);
885
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
886
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.deleteRecording']?.[localVarOperationServerIndex]?.url;
887
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
888
+ },
737
889
  /**
738
890
  * Drag the mouse from start to end coordinates
739
891
  * @summary Drag mouse
@@ -834,6 +986,19 @@ const ComputerUseApiFp = function (configuration) {
834
986
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getProcessStatus']?.[localVarOperationServerIndex]?.url;
835
987
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
836
988
  },
989
+ /**
990
+ * Get details of a specific recording by ID
991
+ * @summary Get recording details
992
+ * @param {string} id Recording ID
993
+ * @param {*} [options] Override http request option.
994
+ * @throws {RequiredError}
995
+ */
996
+ async getRecording(id, options) {
997
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(id, options);
998
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
999
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getRecording']?.[localVarOperationServerIndex]?.url;
1000
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1001
+ },
837
1002
  /**
838
1003
  * Get information about all open windows
839
1004
  * @summary Get windows information
@@ -846,6 +1011,18 @@ const ComputerUseApiFp = function (configuration) {
846
1011
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getWindows']?.[localVarOperationServerIndex]?.url;
847
1012
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
848
1013
  },
1014
+ /**
1015
+ * Get a list of all recordings (active and completed)
1016
+ * @summary List all recordings
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ async listRecordings(options) {
1021
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRecordings(options);
1022
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1023
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.listRecordings']?.[localVarOperationServerIndex]?.url;
1024
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1025
+ },
849
1026
  /**
850
1027
  * Move the mouse cursor to the specified coordinates
851
1028
  * @summary Move mouse cursor
@@ -923,6 +1100,19 @@ const ComputerUseApiFp = function (configuration) {
923
1100
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.startComputerUse']?.[localVarOperationServerIndex]?.url;
924
1101
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
925
1102
  },
1103
+ /**
1104
+ * Start a new screen recording session
1105
+ * @summary Start a new recording
1106
+ * @param {StartRecordingRequest} [request] Recording options
1107
+ * @param {*} [options] Override http request option.
1108
+ * @throws {RequiredError}
1109
+ */
1110
+ async startRecording(request, options) {
1111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.startRecording(request, options);
1112
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1113
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.startRecording']?.[localVarOperationServerIndex]?.url;
1114
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1115
+ },
926
1116
  /**
927
1117
  * Stop all computer use processes and return their status
928
1118
  * @summary Stop computer use processes
@@ -935,6 +1125,19 @@ const ComputerUseApiFp = function (configuration) {
935
1125
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.stopComputerUse']?.[localVarOperationServerIndex]?.url;
936
1126
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
937
1127
  },
1128
+ /**
1129
+ * Stop an active screen recording session
1130
+ * @summary Stop a recording
1131
+ * @param {StopRecordingRequest} request Recording ID to stop
1132
+ * @param {*} [options] Override http request option.
1133
+ * @throws {RequiredError}
1134
+ */
1135
+ async stopRecording(request, options) {
1136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopRecording(request, options);
1137
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1138
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.stopRecording']?.[localVarOperationServerIndex]?.url;
1139
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1140
+ },
938
1141
  /**
939
1142
  * Take a compressed screenshot of a specific region of the screen
940
1143
  * @summary Take a compressed region screenshot
@@ -1034,6 +1237,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1034
1237
  click(request, options) {
1035
1238
  return localVarFp.click(request, options).then((request) => request(axios, basePath));
1036
1239
  },
1240
+ /**
1241
+ * Delete a recording file by ID
1242
+ * @summary Delete a recording
1243
+ * @param {string} id Recording ID
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ deleteRecording(id, options) {
1248
+ return localVarFp.deleteRecording(id, options).then((request) => request(axios, basePath));
1249
+ },
1037
1250
  /**
1038
1251
  * Drag the mouse from start to end coordinates
1039
1252
  * @summary Drag mouse
@@ -1110,6 +1323,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1110
1323
  getProcessStatus(processName, options) {
1111
1324
  return localVarFp.getProcessStatus(processName, options).then((request) => request(axios, basePath));
1112
1325
  },
1326
+ /**
1327
+ * Get details of a specific recording by ID
1328
+ * @summary Get recording details
1329
+ * @param {string} id Recording ID
1330
+ * @param {*} [options] Override http request option.
1331
+ * @throws {RequiredError}
1332
+ */
1333
+ getRecording(id, options) {
1334
+ return localVarFp.getRecording(id, options).then((request) => request(axios, basePath));
1335
+ },
1113
1336
  /**
1114
1337
  * Get information about all open windows
1115
1338
  * @summary Get windows information
@@ -1119,6 +1342,15 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1119
1342
  getWindows(options) {
1120
1343
  return localVarFp.getWindows(options).then((request) => request(axios, basePath));
1121
1344
  },
1345
+ /**
1346
+ * Get a list of all recordings (active and completed)
1347
+ * @summary List all recordings
1348
+ * @param {*} [options] Override http request option.
1349
+ * @throws {RequiredError}
1350
+ */
1351
+ listRecordings(options) {
1352
+ return localVarFp.listRecordings(options).then((request) => request(axios, basePath));
1353
+ },
1122
1354
  /**
1123
1355
  * Move the mouse cursor to the specified coordinates
1124
1356
  * @summary Move mouse cursor
@@ -1178,6 +1410,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1178
1410
  startComputerUse(options) {
1179
1411
  return localVarFp.startComputerUse(options).then((request) => request(axios, basePath));
1180
1412
  },
1413
+ /**
1414
+ * Start a new screen recording session
1415
+ * @summary Start a new recording
1416
+ * @param {StartRecordingRequest} [request] Recording options
1417
+ * @param {*} [options] Override http request option.
1418
+ * @throws {RequiredError}
1419
+ */
1420
+ startRecording(request, options) {
1421
+ return localVarFp.startRecording(request, options).then((request) => request(axios, basePath));
1422
+ },
1181
1423
  /**
1182
1424
  * Stop all computer use processes and return their status
1183
1425
  * @summary Stop computer use processes
@@ -1187,6 +1429,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1187
1429
  stopComputerUse(options) {
1188
1430
  return localVarFp.stopComputerUse(options).then((request) => request(axios, basePath));
1189
1431
  },
1432
+ /**
1433
+ * Stop an active screen recording session
1434
+ * @summary Stop a recording
1435
+ * @param {StopRecordingRequest} request Recording ID to stop
1436
+ * @param {*} [options] Override http request option.
1437
+ * @throws {RequiredError}
1438
+ */
1439
+ stopRecording(request, options) {
1440
+ return localVarFp.stopRecording(request, options).then((request) => request(axios, basePath));
1441
+ },
1190
1442
  /**
1191
1443
  * Take a compressed screenshot of a specific region of the screen
1192
1444
  * @summary Take a compressed region screenshot
@@ -1280,6 +1532,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1280
1532
  .click(request, options)
1281
1533
  .then((request) => request(this.axios, this.basePath));
1282
1534
  }
1535
+ /**
1536
+ * Delete a recording file by ID
1537
+ * @summary Delete a recording
1538
+ * @param {string} id Recording ID
1539
+ * @param {*} [options] Override http request option.
1540
+ * @throws {RequiredError}
1541
+ * @memberof ComputerUseApi
1542
+ */
1543
+ deleteRecording(id, options) {
1544
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1545
+ .deleteRecording(id, options)
1546
+ .then((request) => request(this.axios, this.basePath));
1547
+ }
1283
1548
  /**
1284
1549
  * Drag the mouse from start to end coordinates
1285
1550
  * @summary Drag mouse
@@ -1380,6 +1645,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1380
1645
  .getProcessStatus(processName, options)
1381
1646
  .then((request) => request(this.axios, this.basePath));
1382
1647
  }
1648
+ /**
1649
+ * Get details of a specific recording by ID
1650
+ * @summary Get recording details
1651
+ * @param {string} id Recording ID
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ * @memberof ComputerUseApi
1655
+ */
1656
+ getRecording(id, options) {
1657
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1658
+ .getRecording(id, options)
1659
+ .then((request) => request(this.axios, this.basePath));
1660
+ }
1383
1661
  /**
1384
1662
  * Get information about all open windows
1385
1663
  * @summary Get windows information
@@ -1392,6 +1670,18 @@ class ComputerUseApi extends base_1.BaseAPI {
1392
1670
  .getWindows(options)
1393
1671
  .then((request) => request(this.axios, this.basePath));
1394
1672
  }
1673
+ /**
1674
+ * Get a list of all recordings (active and completed)
1675
+ * @summary List all recordings
1676
+ * @param {*} [options] Override http request option.
1677
+ * @throws {RequiredError}
1678
+ * @memberof ComputerUseApi
1679
+ */
1680
+ listRecordings(options) {
1681
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1682
+ .listRecordings(options)
1683
+ .then((request) => request(this.axios, this.basePath));
1684
+ }
1395
1685
  /**
1396
1686
  * Move the mouse cursor to the specified coordinates
1397
1687
  * @summary Move mouse cursor
@@ -1469,6 +1759,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1469
1759
  .startComputerUse(options)
1470
1760
  .then((request) => request(this.axios, this.basePath));
1471
1761
  }
1762
+ /**
1763
+ * Start a new screen recording session
1764
+ * @summary Start a new recording
1765
+ * @param {StartRecordingRequest} [request] Recording options
1766
+ * @param {*} [options] Override http request option.
1767
+ * @throws {RequiredError}
1768
+ * @memberof ComputerUseApi
1769
+ */
1770
+ startRecording(request, options) {
1771
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1772
+ .startRecording(request, options)
1773
+ .then((request) => request(this.axios, this.basePath));
1774
+ }
1472
1775
  /**
1473
1776
  * Stop all computer use processes and return their status
1474
1777
  * @summary Stop computer use processes
@@ -1481,6 +1784,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1481
1784
  .stopComputerUse(options)
1482
1785
  .then((request) => request(this.axios, this.basePath));
1483
1786
  }
1787
+ /**
1788
+ * Stop an active screen recording session
1789
+ * @summary Stop a recording
1790
+ * @param {StopRecordingRequest} request Recording ID to stop
1791
+ * @param {*} [options] Override http request option.
1792
+ * @throws {RequiredError}
1793
+ * @memberof ComputerUseApi
1794
+ */
1795
+ stopRecording(request, options) {
1796
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1797
+ .stopRecording(request, options)
1798
+ .then((request) => request(this.axios, this.basePath));
1799
+ }
1484
1800
  /**
1485
1801
  * Take a compressed screenshot of a specific region of the screen
1486
1802
  * @summary Take a compressed region screenshot