@daytonaio/api-client 0.106.1 → 0.107.0-rc.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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/api/toolbox-api.d.ts +251 -0
  3. package/src/api/toolbox-api.js +510 -0
  4. package/src/api/toolbox-api.js.map +1 -1
  5. package/src/models/index.d.ts +5 -0
  6. package/src/models/index.js +5 -0
  7. package/src/models/index.js.map +1 -1
  8. package/src/models/pty-create-request.d.ts +54 -0
  9. package/src/models/pty-create-request.js +4 -0
  10. package/src/models/pty-create-request.js.map +1 -0
  11. package/src/models/pty-create-response.d.ts +24 -0
  12. package/src/models/pty-create-response.js +4 -0
  13. package/src/models/pty-create-response.js.map +1 -0
  14. package/src/models/pty-list-response.d.ts +25 -0
  15. package/src/models/pty-list-response.js +16 -0
  16. package/src/models/pty-list-response.js.map +1 -0
  17. package/src/models/pty-resize-request.d.ts +30 -0
  18. package/src/models/pty-resize-request.js +4 -0
  19. package/src/models/pty-resize-request.js.map +1 -0
  20. package/src/models/pty-session-info.d.ts +66 -0
  21. package/src/models/pty-session-info.js +4 -0
  22. package/src/models/pty-session-info.js.map +1 -0
  23. package/src/models/ptycreate-request.d.ts +60 -0
  24. package/src/models/ptycreate-request.js +4 -0
  25. package/src/models/ptycreate-request.js.map +1 -0
  26. package/src/models/ptycreate-response.d.ts +24 -0
  27. package/src/models/ptycreate-response.js +4 -0
  28. package/src/models/ptycreate-response.js.map +1 -0
  29. package/src/models/ptylist-response.d.ts +25 -0
  30. package/src/models/ptylist-response.js +16 -0
  31. package/src/models/ptylist-response.js.map +1 -0
  32. package/src/models/ptyresize-request.d.ts +30 -0
  33. package/src/models/ptyresize-request.js +4 -0
  34. package/src/models/ptyresize-request.js.map +1 -0
  35. package/src/models/ptysession-info.d.ts +66 -0
  36. package/src/models/ptysession-info.js +4 -0
  37. package/src/models/ptysession-info.js.map +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.106.1",
3
+ "version": "0.107.0-rc.1",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -57,6 +57,11 @@ import type { ProcessLogsResponse } from '../models';
57
57
  import type { ProcessRestartResponse } from '../models';
58
58
  import type { ProcessStatusResponse } from '../models';
59
59
  import type { ProjectDirResponse } from '../models';
60
+ import type { PtyCreateRequest } from '../models';
61
+ import type { PtyCreateResponse } from '../models';
62
+ import type { PtyListResponse } from '../models';
63
+ import type { PtyResizeRequest } from '../models';
64
+ import type { PtySessionInfo } from '../models';
60
65
  import type { RegionScreenshotResponse } from '../models';
61
66
  import type { ReplaceRequest } from '../models';
62
67
  import type { ReplaceResult } from '../models';
@@ -83,6 +88,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
83
88
  * @throws {RequiredError}
84
89
  */
85
90
  clickMouse: (sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
91
+ /**
92
+ * Upgrade HTTP connection to WebSocket for real-time PTY interaction
93
+ * @summary Connect to PTY session via WebSocket
94
+ * @param {string} sandboxId
95
+ * @param {string} sessionId
96
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ connectPTYSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
101
  /**
87
102
  * Create folder inside sandbox
88
103
  * @summary Create folder
@@ -94,6 +109,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
94
109
  * @throws {RequiredError}
95
110
  */
96
111
  createFolder: (sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
+ /**
113
+ * Create a new PTY session in the sandbox
114
+ * @summary Create PTY session
115
+ * @param {string} sandboxId
116
+ * @param {PtyCreateRequest} ptyCreateRequest
117
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ createPTYSession: (sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
97
122
  /**
98
123
  * Create a new session in the sandbox
99
124
  * @summary Create session
@@ -115,6 +140,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
115
140
  * @throws {RequiredError}
116
141
  */
117
142
  deleteFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
143
+ /**
144
+ * Delete a PTY session and terminate the associated process
145
+ * @summary Delete PTY session
146
+ * @param {string} sandboxId
147
+ * @param {string} sessionId
148
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ deletePTYSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
118
153
  /**
119
154
  * Delete a specific session
120
155
  * @summary Delete session
@@ -225,6 +260,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
225
260
  * @throws {RequiredError}
226
261
  */
227
262
  getMousePosition: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
263
+ /**
264
+ * Get PTY session information by ID
265
+ * @summary Get PTY session
266
+ * @param {string} sandboxId
267
+ * @param {string} sessionId
268
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ getPTYSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
228
273
  /**
229
274
  * Get error logs for a specific VNC process
230
275
  * @summary Get process errors
@@ -445,6 +490,15 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
445
490
  * @throws {RequiredError}
446
491
  */
447
492
  listFiles: (sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
493
+ /**
494
+ * List all active PTY sessions in the sandbox
495
+ * @summary List PTY sessions
496
+ * @param {string} sandboxId
497
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ */
501
+ listPTYSessions: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
448
502
  /**
449
503
  * List all active sessions in the sandbox
450
504
  * @summary List sessions
@@ -579,6 +633,17 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
579
633
  * @throws {RequiredError}
580
634
  */
581
635
  replaceInFiles: (sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
636
+ /**
637
+ * Resize a PTY session
638
+ * @summary Resize PTY session
639
+ * @param {string} sandboxId
640
+ * @param {string} sessionId
641
+ * @param {PtyResizeRequest} ptyResizeRequest
642
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
643
+ * @param {*} [options] Override http request option.
644
+ * @throws {RequiredError}
645
+ */
646
+ resizePTYSession: (sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
582
647
  /**
583
648
  * Restart a specific VNC process
584
649
  * @summary Restart process
@@ -742,6 +807,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
742
807
  * @throws {RequiredError}
743
808
  */
744
809
  clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MouseClickResponse>>;
810
+ /**
811
+ * Upgrade HTTP connection to WebSocket for real-time PTY interaction
812
+ * @summary Connect to PTY session via WebSocket
813
+ * @param {string} sandboxId
814
+ * @param {string} sessionId
815
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ connectPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
745
820
  /**
746
821
  * Create folder inside sandbox
747
822
  * @summary Create folder
@@ -753,6 +828,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
753
828
  * @throws {RequiredError}
754
829
  */
755
830
  createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
831
+ /**
832
+ * Create a new PTY session in the sandbox
833
+ * @summary Create PTY session
834
+ * @param {string} sandboxId
835
+ * @param {PtyCreateRequest} ptyCreateRequest
836
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
837
+ * @param {*} [options] Override http request option.
838
+ * @throws {RequiredError}
839
+ */
840
+ createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyCreateResponse>>;
756
841
  /**
757
842
  * Create a new session in the sandbox
758
843
  * @summary Create session
@@ -774,6 +859,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
774
859
  * @throws {RequiredError}
775
860
  */
776
861
  deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
862
+ /**
863
+ * Delete a PTY session and terminate the associated process
864
+ * @summary Delete PTY session
865
+ * @param {string} sandboxId
866
+ * @param {string} sessionId
867
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
777
872
  /**
778
873
  * Delete a specific session
779
874
  * @summary Delete session
@@ -884,6 +979,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
884
979
  * @throws {RequiredError}
885
980
  */
886
981
  getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MousePosition>>;
982
+ /**
983
+ * Get PTY session information by ID
984
+ * @summary Get PTY session
985
+ * @param {string} sandboxId
986
+ * @param {string} sessionId
987
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
988
+ * @param {*} [options] Override http request option.
989
+ * @throws {RequiredError}
990
+ */
991
+ getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
887
992
  /**
888
993
  * Get error logs for a specific VNC process
889
994
  * @summary Get process errors
@@ -1104,6 +1209,15 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
1104
1209
  * @throws {RequiredError}
1105
1210
  */
1106
1211
  listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>>;
1212
+ /**
1213
+ * List all active PTY sessions in the sandbox
1214
+ * @summary List PTY sessions
1215
+ * @param {string} sandboxId
1216
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1217
+ * @param {*} [options] Override http request option.
1218
+ * @throws {RequiredError}
1219
+ */
1220
+ listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyListResponse>>;
1107
1221
  /**
1108
1222
  * List all active sessions in the sandbox
1109
1223
  * @summary List sessions
@@ -1238,6 +1352,17 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
1238
1352
  * @throws {RequiredError}
1239
1353
  */
1240
1354
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
1355
+ /**
1356
+ * Resize a PTY session
1357
+ * @summary Resize PTY session
1358
+ * @param {string} sandboxId
1359
+ * @param {string} sessionId
1360
+ * @param {PtyResizeRequest} ptyResizeRequest
1361
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
1241
1366
  /**
1242
1367
  * Restart a specific VNC process
1243
1368
  * @summary Restart process
@@ -1401,6 +1526,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1401
1526
  * @throws {RequiredError}
1402
1527
  */
1403
1528
  clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MouseClickResponse>;
1529
+ /**
1530
+ * Upgrade HTTP connection to WebSocket for real-time PTY interaction
1531
+ * @summary Connect to PTY session via WebSocket
1532
+ * @param {string} sandboxId
1533
+ * @param {string} sessionId
1534
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1535
+ * @param {*} [options] Override http request option.
1536
+ * @throws {RequiredError}
1537
+ */
1538
+ connectPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1404
1539
  /**
1405
1540
  * Create folder inside sandbox
1406
1541
  * @summary Create folder
@@ -1412,6 +1547,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1412
1547
  * @throws {RequiredError}
1413
1548
  */
1414
1549
  createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1550
+ /**
1551
+ * Create a new PTY session in the sandbox
1552
+ * @summary Create PTY session
1553
+ * @param {string} sandboxId
1554
+ * @param {PtyCreateRequest} ptyCreateRequest
1555
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1556
+ * @param {*} [options] Override http request option.
1557
+ * @throws {RequiredError}
1558
+ */
1559
+ createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtyCreateResponse>;
1415
1560
  /**
1416
1561
  * Create a new session in the sandbox
1417
1562
  * @summary Create session
@@ -1433,6 +1578,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1433
1578
  * @throws {RequiredError}
1434
1579
  */
1435
1580
  deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1581
+ /**
1582
+ * Delete a PTY session and terminate the associated process
1583
+ * @summary Delete PTY session
1584
+ * @param {string} sandboxId
1585
+ * @param {string} sessionId
1586
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1587
+ * @param {*} [options] Override http request option.
1588
+ * @throws {RequiredError}
1589
+ */
1590
+ deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1436
1591
  /**
1437
1592
  * Delete a specific session
1438
1593
  * @summary Delete session
@@ -1543,6 +1698,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1543
1698
  * @throws {RequiredError}
1544
1699
  */
1545
1700
  getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MousePosition>;
1701
+ /**
1702
+ * Get PTY session information by ID
1703
+ * @summary Get PTY session
1704
+ * @param {string} sandboxId
1705
+ * @param {string} sessionId
1706
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1707
+ * @param {*} [options] Override http request option.
1708
+ * @throws {RequiredError}
1709
+ */
1710
+ getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
1546
1711
  /**
1547
1712
  * Get error logs for a specific VNC process
1548
1713
  * @summary Get process errors
@@ -1763,6 +1928,15 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1763
1928
  * @throws {RequiredError}
1764
1929
  */
1765
1930
  listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>>;
1931
+ /**
1932
+ * List all active PTY sessions in the sandbox
1933
+ * @summary List PTY sessions
1934
+ * @param {string} sandboxId
1935
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1936
+ * @param {*} [options] Override http request option.
1937
+ * @throws {RequiredError}
1938
+ */
1939
+ listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtyListResponse>;
1766
1940
  /**
1767
1941
  * List all active sessions in the sandbox
1768
1942
  * @summary List sessions
@@ -1897,6 +2071,17 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
1897
2071
  * @throws {RequiredError}
1898
2072
  */
1899
2073
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
2074
+ /**
2075
+ * Resize a PTY session
2076
+ * @summary Resize PTY session
2077
+ * @param {string} sandboxId
2078
+ * @param {string} sessionId
2079
+ * @param {PtyResizeRequest} ptyResizeRequest
2080
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2081
+ * @param {*} [options] Override http request option.
2082
+ * @throws {RequiredError}
2083
+ */
2084
+ resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
1900
2085
  /**
1901
2086
  * Restart a specific VNC process
1902
2087
  * @summary Restart process
@@ -2063,6 +2248,17 @@ export declare class ToolboxApi extends BaseAPI {
2063
2248
  * @memberof ToolboxApi
2064
2249
  */
2065
2250
  clickMouse(sandboxId: string, mouseClickRequest: MouseClickRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MouseClickResponse, any, {}>>;
2251
+ /**
2252
+ * Upgrade HTTP connection to WebSocket for real-time PTY interaction
2253
+ * @summary Connect to PTY session via WebSocket
2254
+ * @param {string} sandboxId
2255
+ * @param {string} sessionId
2256
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2257
+ * @param {*} [options] Override http request option.
2258
+ * @throws {RequiredError}
2259
+ * @memberof ToolboxApi
2260
+ */
2261
+ connectPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2066
2262
  /**
2067
2263
  * Create folder inside sandbox
2068
2264
  * @summary Create folder
@@ -2075,6 +2271,17 @@ export declare class ToolboxApi extends BaseAPI {
2075
2271
  * @memberof ToolboxApi
2076
2272
  */
2077
2273
  createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2274
+ /**
2275
+ * Create a new PTY session in the sandbox
2276
+ * @summary Create PTY session
2277
+ * @param {string} sandboxId
2278
+ * @param {PtyCreateRequest} ptyCreateRequest
2279
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2280
+ * @param {*} [options] Override http request option.
2281
+ * @throws {RequiredError}
2282
+ * @memberof ToolboxApi
2283
+ */
2284
+ createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyCreateResponse, any, {}>>;
2078
2285
  /**
2079
2286
  * Create a new session in the sandbox
2080
2287
  * @summary Create session
@@ -2098,6 +2305,17 @@ export declare class ToolboxApi extends BaseAPI {
2098
2305
  * @memberof ToolboxApi
2099
2306
  */
2100
2307
  deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2308
+ /**
2309
+ * Delete a PTY session and terminate the associated process
2310
+ * @summary Delete PTY session
2311
+ * @param {string} sandboxId
2312
+ * @param {string} sessionId
2313
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2314
+ * @param {*} [options] Override http request option.
2315
+ * @throws {RequiredError}
2316
+ * @memberof ToolboxApi
2317
+ */
2318
+ deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2101
2319
  /**
2102
2320
  * Delete a specific session
2103
2321
  * @summary Delete session
@@ -2219,6 +2437,17 @@ export declare class ToolboxApi extends BaseAPI {
2219
2437
  * @memberof ToolboxApi
2220
2438
  */
2221
2439
  getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MousePosition, any, {}>>;
2440
+ /**
2441
+ * Get PTY session information by ID
2442
+ * @summary Get PTY session
2443
+ * @param {string} sandboxId
2444
+ * @param {string} sessionId
2445
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2446
+ * @param {*} [options] Override http request option.
2447
+ * @throws {RequiredError}
2448
+ * @memberof ToolboxApi
2449
+ */
2450
+ getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
2222
2451
  /**
2223
2452
  * Get error logs for a specific VNC process
2224
2453
  * @summary Get process errors
@@ -2461,6 +2690,16 @@ export declare class ToolboxApi extends BaseAPI {
2461
2690
  * @memberof ToolboxApi
2462
2691
  */
2463
2692
  listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo[], any, {}>>;
2693
+ /**
2694
+ * List all active PTY sessions in the sandbox
2695
+ * @summary List PTY sessions
2696
+ * @param {string} sandboxId
2697
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ * @memberof ToolboxApi
2701
+ */
2702
+ listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyListResponse, any, {}>>;
2464
2703
  /**
2465
2704
  * List all active sessions in the sandbox
2466
2705
  * @summary List sessions
@@ -2608,6 +2847,18 @@ export declare class ToolboxApi extends BaseAPI {
2608
2847
  * @memberof ToolboxApi
2609
2848
  */
2610
2849
  replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any, {}>>;
2850
+ /**
2851
+ * Resize a PTY session
2852
+ * @summary Resize PTY session
2853
+ * @param {string} sandboxId
2854
+ * @param {string} sessionId
2855
+ * @param {PtyResizeRequest} ptyResizeRequest
2856
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2857
+ * @param {*} [options] Override http request option.
2858
+ * @throws {RequiredError}
2859
+ * @memberof ToolboxApi
2860
+ */
2861
+ resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
2611
2862
  /**
2612
2863
  * Restart a specific VNC process
2613
2864
  * @summary Restart process