@daytonaio/toolbox-api-client 0.139.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.
@@ -56,6 +56,62 @@ 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
+ },
87
+ /**
88
+ * Download a recording by providing its ID
89
+ * @summary Download a recording
90
+ * @param {string} id Recording ID
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ downloadRecording: async (id, options = {}) => {
95
+ // verify required parameter 'id' is not null or undefined
96
+ (0, common_1.assertParamExists)('downloadRecording', 'id', id);
97
+ const localVarPath = `/computeruse/recordings/{id}/download`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
98
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
100
+ let baseOptions;
101
+ if (configuration) {
102
+ baseOptions = configuration.baseOptions;
103
+ }
104
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
105
+ const localVarHeaderParameter = {};
106
+ const localVarQueryParameter = {};
107
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
110
+ return {
111
+ url: (0, common_1.toPathString)(localVarUrlObj),
112
+ options: localVarRequestOptions,
113
+ };
114
+ },
59
115
  /**
60
116
  * Drag the mouse from start to end coordinates
61
117
  * @summary Drag mouse
@@ -270,6 +326,34 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
270
326
  options: localVarRequestOptions,
271
327
  };
272
328
  },
329
+ /**
330
+ * Get details of a specific recording by ID
331
+ * @summary Get recording details
332
+ * @param {string} id Recording ID
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ */
336
+ getRecording: async (id, options = {}) => {
337
+ // verify required parameter 'id' is not null or undefined
338
+ (0, common_1.assertParamExists)('getRecording', 'id', id);
339
+ const localVarPath = `/computeruse/recordings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
340
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
341
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
342
+ let baseOptions;
343
+ if (configuration) {
344
+ baseOptions = configuration.baseOptions;
345
+ }
346
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
347
+ const localVarHeaderParameter = {};
348
+ const localVarQueryParameter = {};
349
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
352
+ return {
353
+ url: (0, common_1.toPathString)(localVarUrlObj),
354
+ options: localVarRequestOptions,
355
+ };
356
+ },
273
357
  /**
274
358
  * Get information about all open windows
275
359
  * @summary Get windows information
@@ -295,6 +379,31 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
295
379
  options: localVarRequestOptions,
296
380
  };
297
381
  },
382
+ /**
383
+ * Get a list of all recordings (active and completed)
384
+ * @summary List all recordings
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ listRecordings: async (options = {}) => {
389
+ const localVarPath = `/computeruse/recordings`;
390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
391
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
392
+ let baseOptions;
393
+ if (configuration) {
394
+ baseOptions = configuration.baseOptions;
395
+ }
396
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
397
+ const localVarHeaderParameter = {};
398
+ const localVarQueryParameter = {};
399
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
401
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
402
+ return {
403
+ url: (0, common_1.toPathString)(localVarUrlObj),
404
+ options: localVarRequestOptions,
405
+ };
406
+ },
298
407
  /**
299
408
  * Move the mouse cursor to the specified coordinates
300
409
  * @summary Move mouse cursor
@@ -468,6 +577,34 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
468
577
  options: localVarRequestOptions,
469
578
  };
470
579
  },
580
+ /**
581
+ * Start a new screen recording session
582
+ * @summary Start a new recording
583
+ * @param {StartRecordingRequest} [request] Recording options
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ */
587
+ startRecording: async (request, options = {}) => {
588
+ const localVarPath = `/computeruse/recordings/start`;
589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
590
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
591
+ let baseOptions;
592
+ if (configuration) {
593
+ baseOptions = configuration.baseOptions;
594
+ }
595
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
596
+ const localVarHeaderParameter = {};
597
+ const localVarQueryParameter = {};
598
+ localVarHeaderParameter['Content-Type'] = 'application/json';
599
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
600
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
601
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
602
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
603
+ return {
604
+ url: (0, common_1.toPathString)(localVarUrlObj),
605
+ options: localVarRequestOptions,
606
+ };
607
+ },
471
608
  /**
472
609
  * Stop all computer use processes and return their status
473
610
  * @summary Stop computer use processes
@@ -493,6 +630,36 @@ const ComputerUseApiAxiosParamCreator = function (configuration) {
493
630
  options: localVarRequestOptions,
494
631
  };
495
632
  },
633
+ /**
634
+ * Stop an active screen recording session
635
+ * @summary Stop a recording
636
+ * @param {StopRecordingRequest} request Recording ID to stop
637
+ * @param {*} [options] Override http request option.
638
+ * @throws {RequiredError}
639
+ */
640
+ stopRecording: async (request, options = {}) => {
641
+ // verify required parameter 'request' is not null or undefined
642
+ (0, common_1.assertParamExists)('stopRecording', 'request', request);
643
+ const localVarPath = `/computeruse/recordings/stop`;
644
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
645
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
646
+ let baseOptions;
647
+ if (configuration) {
648
+ baseOptions = configuration.baseOptions;
649
+ }
650
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
651
+ const localVarHeaderParameter = {};
652
+ const localVarQueryParameter = {};
653
+ localVarHeaderParameter['Content-Type'] = 'application/json';
654
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
655
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
656
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
657
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
658
+ return {
659
+ url: (0, common_1.toPathString)(localVarUrlObj),
660
+ options: localVarRequestOptions,
661
+ };
662
+ },
496
663
  /**
497
664
  * Take a compressed screenshot of a specific region of the screen
498
665
  * @summary Take a compressed region screenshot
@@ -734,6 +901,32 @@ const ComputerUseApiFp = function (configuration) {
734
901
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.click']?.[localVarOperationServerIndex]?.url;
735
902
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
736
903
  },
904
+ /**
905
+ * Delete a recording file by ID
906
+ * @summary Delete a recording
907
+ * @param {string} id Recording ID
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ async deleteRecording(id, options) {
912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(id, options);
913
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
914
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.deleteRecording']?.[localVarOperationServerIndex]?.url;
915
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
916
+ },
917
+ /**
918
+ * Download a recording by providing its ID
919
+ * @summary Download a recording
920
+ * @param {string} id Recording ID
921
+ * @param {*} [options] Override http request option.
922
+ * @throws {RequiredError}
923
+ */
924
+ async downloadRecording(id, options) {
925
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadRecording(id, options);
926
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
927
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.downloadRecording']?.[localVarOperationServerIndex]?.url;
928
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
929
+ },
737
930
  /**
738
931
  * Drag the mouse from start to end coordinates
739
932
  * @summary Drag mouse
@@ -834,6 +1027,19 @@ const ComputerUseApiFp = function (configuration) {
834
1027
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getProcessStatus']?.[localVarOperationServerIndex]?.url;
835
1028
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
836
1029
  },
1030
+ /**
1031
+ * Get details of a specific recording by ID
1032
+ * @summary Get recording details
1033
+ * @param {string} id Recording ID
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ async getRecording(id, options) {
1038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(id, options);
1039
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1040
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getRecording']?.[localVarOperationServerIndex]?.url;
1041
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1042
+ },
837
1043
  /**
838
1044
  * Get information about all open windows
839
1045
  * @summary Get windows information
@@ -846,6 +1052,18 @@ const ComputerUseApiFp = function (configuration) {
846
1052
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.getWindows']?.[localVarOperationServerIndex]?.url;
847
1053
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
848
1054
  },
1055
+ /**
1056
+ * Get a list of all recordings (active and completed)
1057
+ * @summary List all recordings
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ */
1061
+ async listRecordings(options) {
1062
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRecordings(options);
1063
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1064
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.listRecordings']?.[localVarOperationServerIndex]?.url;
1065
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1066
+ },
849
1067
  /**
850
1068
  * Move the mouse cursor to the specified coordinates
851
1069
  * @summary Move mouse cursor
@@ -923,6 +1141,19 @@ const ComputerUseApiFp = function (configuration) {
923
1141
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.startComputerUse']?.[localVarOperationServerIndex]?.url;
924
1142
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
925
1143
  },
1144
+ /**
1145
+ * Start a new screen recording session
1146
+ * @summary Start a new recording
1147
+ * @param {StartRecordingRequest} [request] Recording options
1148
+ * @param {*} [options] Override http request option.
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ async startRecording(request, options) {
1152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.startRecording(request, options);
1153
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1154
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.startRecording']?.[localVarOperationServerIndex]?.url;
1155
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1156
+ },
926
1157
  /**
927
1158
  * Stop all computer use processes and return their status
928
1159
  * @summary Stop computer use processes
@@ -935,6 +1166,19 @@ const ComputerUseApiFp = function (configuration) {
935
1166
  const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.stopComputerUse']?.[localVarOperationServerIndex]?.url;
936
1167
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
937
1168
  },
1169
+ /**
1170
+ * Stop an active screen recording session
1171
+ * @summary Stop a recording
1172
+ * @param {StopRecordingRequest} request Recording ID to stop
1173
+ * @param {*} [options] Override http request option.
1174
+ * @throws {RequiredError}
1175
+ */
1176
+ async stopRecording(request, options) {
1177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopRecording(request, options);
1178
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1179
+ const localVarOperationServerBasePath = base_1.operationServerMap['ComputerUseApi.stopRecording']?.[localVarOperationServerIndex]?.url;
1180
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1181
+ },
938
1182
  /**
939
1183
  * Take a compressed screenshot of a specific region of the screen
940
1184
  * @summary Take a compressed region screenshot
@@ -1034,6 +1278,26 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1034
1278
  click(request, options) {
1035
1279
  return localVarFp.click(request, options).then((request) => request(axios, basePath));
1036
1280
  },
1281
+ /**
1282
+ * Delete a recording file by ID
1283
+ * @summary Delete a recording
1284
+ * @param {string} id Recording ID
1285
+ * @param {*} [options] Override http request option.
1286
+ * @throws {RequiredError}
1287
+ */
1288
+ deleteRecording(id, options) {
1289
+ return localVarFp.deleteRecording(id, options).then((request) => request(axios, basePath));
1290
+ },
1291
+ /**
1292
+ * Download a recording by providing its ID
1293
+ * @summary Download a recording
1294
+ * @param {string} id Recording ID
1295
+ * @param {*} [options] Override http request option.
1296
+ * @throws {RequiredError}
1297
+ */
1298
+ downloadRecording(id, options) {
1299
+ return localVarFp.downloadRecording(id, options).then((request) => request(axios, basePath));
1300
+ },
1037
1301
  /**
1038
1302
  * Drag the mouse from start to end coordinates
1039
1303
  * @summary Drag mouse
@@ -1110,6 +1374,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1110
1374
  getProcessStatus(processName, options) {
1111
1375
  return localVarFp.getProcessStatus(processName, options).then((request) => request(axios, basePath));
1112
1376
  },
1377
+ /**
1378
+ * Get details of a specific recording by ID
1379
+ * @summary Get recording details
1380
+ * @param {string} id Recording ID
1381
+ * @param {*} [options] Override http request option.
1382
+ * @throws {RequiredError}
1383
+ */
1384
+ getRecording(id, options) {
1385
+ return localVarFp.getRecording(id, options).then((request) => request(axios, basePath));
1386
+ },
1113
1387
  /**
1114
1388
  * Get information about all open windows
1115
1389
  * @summary Get windows information
@@ -1119,6 +1393,15 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1119
1393
  getWindows(options) {
1120
1394
  return localVarFp.getWindows(options).then((request) => request(axios, basePath));
1121
1395
  },
1396
+ /**
1397
+ * Get a list of all recordings (active and completed)
1398
+ * @summary List all recordings
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ */
1402
+ listRecordings(options) {
1403
+ return localVarFp.listRecordings(options).then((request) => request(axios, basePath));
1404
+ },
1122
1405
  /**
1123
1406
  * Move the mouse cursor to the specified coordinates
1124
1407
  * @summary Move mouse cursor
@@ -1178,6 +1461,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1178
1461
  startComputerUse(options) {
1179
1462
  return localVarFp.startComputerUse(options).then((request) => request(axios, basePath));
1180
1463
  },
1464
+ /**
1465
+ * Start a new screen recording session
1466
+ * @summary Start a new recording
1467
+ * @param {StartRecordingRequest} [request] Recording options
1468
+ * @param {*} [options] Override http request option.
1469
+ * @throws {RequiredError}
1470
+ */
1471
+ startRecording(request, options) {
1472
+ return localVarFp.startRecording(request, options).then((request) => request(axios, basePath));
1473
+ },
1181
1474
  /**
1182
1475
  * Stop all computer use processes and return their status
1183
1476
  * @summary Stop computer use processes
@@ -1187,6 +1480,16 @@ const ComputerUseApiFactory = function (configuration, basePath, axios) {
1187
1480
  stopComputerUse(options) {
1188
1481
  return localVarFp.stopComputerUse(options).then((request) => request(axios, basePath));
1189
1482
  },
1483
+ /**
1484
+ * Stop an active screen recording session
1485
+ * @summary Stop a recording
1486
+ * @param {StopRecordingRequest} request Recording ID to stop
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ */
1490
+ stopRecording(request, options) {
1491
+ return localVarFp.stopRecording(request, options).then((request) => request(axios, basePath));
1492
+ },
1190
1493
  /**
1191
1494
  * Take a compressed screenshot of a specific region of the screen
1192
1495
  * @summary Take a compressed region screenshot
@@ -1280,6 +1583,32 @@ class ComputerUseApi extends base_1.BaseAPI {
1280
1583
  .click(request, options)
1281
1584
  .then((request) => request(this.axios, this.basePath));
1282
1585
  }
1586
+ /**
1587
+ * Delete a recording file by ID
1588
+ * @summary Delete a recording
1589
+ * @param {string} id Recording ID
1590
+ * @param {*} [options] Override http request option.
1591
+ * @throws {RequiredError}
1592
+ * @memberof ComputerUseApi
1593
+ */
1594
+ deleteRecording(id, options) {
1595
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1596
+ .deleteRecording(id, options)
1597
+ .then((request) => request(this.axios, this.basePath));
1598
+ }
1599
+ /**
1600
+ * Download a recording by providing its ID
1601
+ * @summary Download a recording
1602
+ * @param {string} id Recording ID
1603
+ * @param {*} [options] Override http request option.
1604
+ * @throws {RequiredError}
1605
+ * @memberof ComputerUseApi
1606
+ */
1607
+ downloadRecording(id, options) {
1608
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1609
+ .downloadRecording(id, options)
1610
+ .then((request) => request(this.axios, this.basePath));
1611
+ }
1283
1612
  /**
1284
1613
  * Drag the mouse from start to end coordinates
1285
1614
  * @summary Drag mouse
@@ -1380,6 +1709,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1380
1709
  .getProcessStatus(processName, options)
1381
1710
  .then((request) => request(this.axios, this.basePath));
1382
1711
  }
1712
+ /**
1713
+ * Get details of a specific recording by ID
1714
+ * @summary Get recording details
1715
+ * @param {string} id Recording ID
1716
+ * @param {*} [options] Override http request option.
1717
+ * @throws {RequiredError}
1718
+ * @memberof ComputerUseApi
1719
+ */
1720
+ getRecording(id, options) {
1721
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1722
+ .getRecording(id, options)
1723
+ .then((request) => request(this.axios, this.basePath));
1724
+ }
1383
1725
  /**
1384
1726
  * Get information about all open windows
1385
1727
  * @summary Get windows information
@@ -1392,6 +1734,18 @@ class ComputerUseApi extends base_1.BaseAPI {
1392
1734
  .getWindows(options)
1393
1735
  .then((request) => request(this.axios, this.basePath));
1394
1736
  }
1737
+ /**
1738
+ * Get a list of all recordings (active and completed)
1739
+ * @summary List all recordings
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ * @memberof ComputerUseApi
1743
+ */
1744
+ listRecordings(options) {
1745
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1746
+ .listRecordings(options)
1747
+ .then((request) => request(this.axios, this.basePath));
1748
+ }
1395
1749
  /**
1396
1750
  * Move the mouse cursor to the specified coordinates
1397
1751
  * @summary Move mouse cursor
@@ -1469,6 +1823,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1469
1823
  .startComputerUse(options)
1470
1824
  .then((request) => request(this.axios, this.basePath));
1471
1825
  }
1826
+ /**
1827
+ * Start a new screen recording session
1828
+ * @summary Start a new recording
1829
+ * @param {StartRecordingRequest} [request] Recording options
1830
+ * @param {*} [options] Override http request option.
1831
+ * @throws {RequiredError}
1832
+ * @memberof ComputerUseApi
1833
+ */
1834
+ startRecording(request, options) {
1835
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1836
+ .startRecording(request, options)
1837
+ .then((request) => request(this.axios, this.basePath));
1838
+ }
1472
1839
  /**
1473
1840
  * Stop all computer use processes and return their status
1474
1841
  * @summary Stop computer use processes
@@ -1481,6 +1848,19 @@ class ComputerUseApi extends base_1.BaseAPI {
1481
1848
  .stopComputerUse(options)
1482
1849
  .then((request) => request(this.axios, this.basePath));
1483
1850
  }
1851
+ /**
1852
+ * Stop an active screen recording session
1853
+ * @summary Stop a recording
1854
+ * @param {StopRecordingRequest} request Recording ID to stop
1855
+ * @param {*} [options] Override http request option.
1856
+ * @throws {RequiredError}
1857
+ * @memberof ComputerUseApi
1858
+ */
1859
+ stopRecording(request, options) {
1860
+ return (0, exports.ComputerUseApiFp)(this.configuration)
1861
+ .stopRecording(request, options)
1862
+ .then((request) => request(this.axios, this.basePath));
1863
+ }
1484
1864
  /**
1485
1865
  * Take a compressed screenshot of a specific region of the screen
1486
1866
  * @summary Take a compressed region screenshot