@daytonaio/api-client 0.106.4 → 0.107.0-rc.2
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/toolbox-api.d.ts +210 -0
- package/src/api/toolbox-api.js +425 -0
- package/src/api/toolbox-api.js.map +1 -1
- package/src/models/index.d.ts +5 -0
- package/src/models/index.js +5 -0
- package/src/models/index.js.map +1 -1
- package/src/models/pty-create-request.d.ts +54 -0
- package/src/models/pty-create-request.js +4 -0
- package/src/models/pty-create-request.js.map +1 -0
- package/src/models/pty-create-response.d.ts +24 -0
- package/src/models/pty-create-response.js +4 -0
- package/src/models/pty-create-response.js.map +1 -0
- package/src/models/pty-list-response.d.ts +25 -0
- package/src/models/pty-list-response.js +16 -0
- package/src/models/pty-list-response.js.map +1 -0
- package/src/models/pty-resize-request.d.ts +30 -0
- package/src/models/pty-resize-request.js +4 -0
- package/src/models/pty-resize-request.js.map +1 -0
- package/src/models/pty-session-info.d.ts +66 -0
- package/src/models/pty-session-info.js +4 -0
- package/src/models/pty-session-info.js.map +1 -0
- package/src/models/ptycreate-request.d.ts +60 -0
- package/src/models/ptycreate-request.js +4 -0
- package/src/models/ptycreate-request.js.map +1 -0
- package/src/models/ptycreate-response.d.ts +24 -0
- package/src/models/ptycreate-response.js +4 -0
- package/src/models/ptycreate-response.js.map +1 -0
- package/src/models/ptylist-response.d.ts +25 -0
- package/src/models/ptylist-response.js +16 -0
- package/src/models/ptylist-response.js.map +1 -0
- package/src/models/ptyresize-request.d.ts +30 -0
- package/src/models/ptyresize-request.js +4 -0
- package/src/models/ptyresize-request.js.map +1 -0
- package/src/models/ptysession-info.d.ts +66 -0
- package/src/models/ptysession-info.js +4 -0
- package/src/models/ptysession-info.js.map +1 -0
package/package.json
CHANGED
package/src/api/toolbox-api.d.ts
CHANGED
|
@@ -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';
|
|
@@ -94,6 +99,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
94
99
|
* @throws {RequiredError}
|
|
95
100
|
*/
|
|
96
101
|
createFolder: (sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a new PTY session in the sandbox
|
|
104
|
+
* @summary Create PTY session
|
|
105
|
+
* @param {string} sandboxId
|
|
106
|
+
* @param {PtyCreateRequest} ptyCreateRequest
|
|
107
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
createPTYSession: (sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
112
|
/**
|
|
98
113
|
* Create a new session in the sandbox
|
|
99
114
|
* @summary Create session
|
|
@@ -115,6 +130,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
115
130
|
* @throws {RequiredError}
|
|
116
131
|
*/
|
|
117
132
|
deleteFile: (sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
133
|
+
/**
|
|
134
|
+
* Delete a PTY session and terminate the associated process
|
|
135
|
+
* @summary Delete PTY session
|
|
136
|
+
* @param {string} sandboxId
|
|
137
|
+
* @param {string} sessionId
|
|
138
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
deletePTYSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
143
|
/**
|
|
119
144
|
* Delete a specific session
|
|
120
145
|
* @summary Delete session
|
|
@@ -225,6 +250,16 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
225
250
|
* @throws {RequiredError}
|
|
226
251
|
*/
|
|
227
252
|
getMousePosition: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
253
|
+
/**
|
|
254
|
+
* Get PTY session information by ID
|
|
255
|
+
* @summary Get PTY session
|
|
256
|
+
* @param {string} sandboxId
|
|
257
|
+
* @param {string} sessionId
|
|
258
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
getPTYSession: (sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
228
263
|
/**
|
|
229
264
|
* Get error logs for a specific VNC process
|
|
230
265
|
* @summary Get process errors
|
|
@@ -445,6 +480,15 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
445
480
|
* @throws {RequiredError}
|
|
446
481
|
*/
|
|
447
482
|
listFiles: (sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
483
|
+
/**
|
|
484
|
+
* List all active PTY sessions in the sandbox
|
|
485
|
+
* @summary List PTY sessions
|
|
486
|
+
* @param {string} sandboxId
|
|
487
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
488
|
+
* @param {*} [options] Override http request option.
|
|
489
|
+
* @throws {RequiredError}
|
|
490
|
+
*/
|
|
491
|
+
listPTYSessions: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
448
492
|
/**
|
|
449
493
|
* List all active sessions in the sandbox
|
|
450
494
|
* @summary List sessions
|
|
@@ -579,6 +623,17 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
579
623
|
* @throws {RequiredError}
|
|
580
624
|
*/
|
|
581
625
|
replaceInFiles: (sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
626
|
+
/**
|
|
627
|
+
* Resize a PTY session
|
|
628
|
+
* @summary Resize PTY session
|
|
629
|
+
* @param {string} sandboxId
|
|
630
|
+
* @param {string} sessionId
|
|
631
|
+
* @param {PtyResizeRequest} ptyResizeRequest
|
|
632
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
resizePTYSession: (sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
582
637
|
/**
|
|
583
638
|
* Restart a specific VNC process
|
|
584
639
|
* @summary Restart process
|
|
@@ -753,6 +808,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
753
808
|
* @throws {RequiredError}
|
|
754
809
|
*/
|
|
755
810
|
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
811
|
+
/**
|
|
812
|
+
* Create a new PTY session in the sandbox
|
|
813
|
+
* @summary Create PTY session
|
|
814
|
+
* @param {string} sandboxId
|
|
815
|
+
* @param {PtyCreateRequest} ptyCreateRequest
|
|
816
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
*/
|
|
820
|
+
createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyCreateResponse>>;
|
|
756
821
|
/**
|
|
757
822
|
* Create a new session in the sandbox
|
|
758
823
|
* @summary Create session
|
|
@@ -774,6 +839,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
774
839
|
* @throws {RequiredError}
|
|
775
840
|
*/
|
|
776
841
|
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
842
|
+
/**
|
|
843
|
+
* Delete a PTY session and terminate the associated process
|
|
844
|
+
* @summary Delete PTY session
|
|
845
|
+
* @param {string} sandboxId
|
|
846
|
+
* @param {string} sessionId
|
|
847
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
*/
|
|
851
|
+
deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
777
852
|
/**
|
|
778
853
|
* Delete a specific session
|
|
779
854
|
* @summary Delete session
|
|
@@ -884,6 +959,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
884
959
|
* @throws {RequiredError}
|
|
885
960
|
*/
|
|
886
961
|
getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MousePosition>>;
|
|
962
|
+
/**
|
|
963
|
+
* Get PTY session information by ID
|
|
964
|
+
* @summary Get PTY session
|
|
965
|
+
* @param {string} sandboxId
|
|
966
|
+
* @param {string} sessionId
|
|
967
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
968
|
+
* @param {*} [options] Override http request option.
|
|
969
|
+
* @throws {RequiredError}
|
|
970
|
+
*/
|
|
971
|
+
getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
|
|
887
972
|
/**
|
|
888
973
|
* Get error logs for a specific VNC process
|
|
889
974
|
* @summary Get process errors
|
|
@@ -1104,6 +1189,15 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
1104
1189
|
* @throws {RequiredError}
|
|
1105
1190
|
*/
|
|
1106
1191
|
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>>;
|
|
1192
|
+
/**
|
|
1193
|
+
* List all active PTY sessions in the sandbox
|
|
1194
|
+
* @summary List PTY sessions
|
|
1195
|
+
* @param {string} sandboxId
|
|
1196
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1197
|
+
* @param {*} [options] Override http request option.
|
|
1198
|
+
* @throws {RequiredError}
|
|
1199
|
+
*/
|
|
1200
|
+
listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtyListResponse>>;
|
|
1107
1201
|
/**
|
|
1108
1202
|
* List all active sessions in the sandbox
|
|
1109
1203
|
* @summary List sessions
|
|
@@ -1238,6 +1332,17 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
1238
1332
|
* @throws {RequiredError}
|
|
1239
1333
|
*/
|
|
1240
1334
|
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Resize a PTY session
|
|
1337
|
+
* @summary Resize PTY session
|
|
1338
|
+
* @param {string} sandboxId
|
|
1339
|
+
* @param {string} sessionId
|
|
1340
|
+
* @param {PtyResizeRequest} ptyResizeRequest
|
|
1341
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
*/
|
|
1345
|
+
resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PtySessionInfo>>;
|
|
1241
1346
|
/**
|
|
1242
1347
|
* Restart a specific VNC process
|
|
1243
1348
|
* @summary Restart process
|
|
@@ -1412,6 +1517,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
1412
1517
|
* @throws {RequiredError}
|
|
1413
1518
|
*/
|
|
1414
1519
|
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1520
|
+
/**
|
|
1521
|
+
* Create a new PTY session in the sandbox
|
|
1522
|
+
* @summary Create PTY session
|
|
1523
|
+
* @param {string} sandboxId
|
|
1524
|
+
* @param {PtyCreateRequest} ptyCreateRequest
|
|
1525
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1526
|
+
* @param {*} [options] Override http request option.
|
|
1527
|
+
* @throws {RequiredError}
|
|
1528
|
+
*/
|
|
1529
|
+
createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtyCreateResponse>;
|
|
1415
1530
|
/**
|
|
1416
1531
|
* Create a new session in the sandbox
|
|
1417
1532
|
* @summary Create session
|
|
@@ -1433,6 +1548,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
1433
1548
|
* @throws {RequiredError}
|
|
1434
1549
|
*/
|
|
1435
1550
|
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1551
|
+
/**
|
|
1552
|
+
* Delete a PTY session and terminate the associated process
|
|
1553
|
+
* @summary Delete PTY session
|
|
1554
|
+
* @param {string} sandboxId
|
|
1555
|
+
* @param {string} sessionId
|
|
1556
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1436
1561
|
/**
|
|
1437
1562
|
* Delete a specific session
|
|
1438
1563
|
* @summary Delete session
|
|
@@ -1543,6 +1668,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
1543
1668
|
* @throws {RequiredError}
|
|
1544
1669
|
*/
|
|
1545
1670
|
getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<MousePosition>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Get PTY session information by ID
|
|
1673
|
+
* @summary Get PTY session
|
|
1674
|
+
* @param {string} sandboxId
|
|
1675
|
+
* @param {string} sessionId
|
|
1676
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1677
|
+
* @param {*} [options] Override http request option.
|
|
1678
|
+
* @throws {RequiredError}
|
|
1679
|
+
*/
|
|
1680
|
+
getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
|
|
1546
1681
|
/**
|
|
1547
1682
|
* Get error logs for a specific VNC process
|
|
1548
1683
|
* @summary Get process errors
|
|
@@ -1763,6 +1898,15 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
1763
1898
|
* @throws {RequiredError}
|
|
1764
1899
|
*/
|
|
1765
1900
|
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>>;
|
|
1901
|
+
/**
|
|
1902
|
+
* List all active PTY sessions in the sandbox
|
|
1903
|
+
* @summary List PTY sessions
|
|
1904
|
+
* @param {string} sandboxId
|
|
1905
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1906
|
+
* @param {*} [options] Override http request option.
|
|
1907
|
+
* @throws {RequiredError}
|
|
1908
|
+
*/
|
|
1909
|
+
listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtyListResponse>;
|
|
1766
1910
|
/**
|
|
1767
1911
|
* List all active sessions in the sandbox
|
|
1768
1912
|
* @summary List sessions
|
|
@@ -1897,6 +2041,17 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
1897
2041
|
* @throws {RequiredError}
|
|
1898
2042
|
*/
|
|
1899
2043
|
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Resize a PTY session
|
|
2046
|
+
* @summary Resize PTY session
|
|
2047
|
+
* @param {string} sandboxId
|
|
2048
|
+
* @param {string} sessionId
|
|
2049
|
+
* @param {PtyResizeRequest} ptyResizeRequest
|
|
2050
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2051
|
+
* @param {*} [options] Override http request option.
|
|
2052
|
+
* @throws {RequiredError}
|
|
2053
|
+
*/
|
|
2054
|
+
resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PtySessionInfo>;
|
|
1900
2055
|
/**
|
|
1901
2056
|
* Restart a specific VNC process
|
|
1902
2057
|
* @summary Restart process
|
|
@@ -2075,6 +2230,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
2075
2230
|
* @memberof ToolboxApi
|
|
2076
2231
|
*/
|
|
2077
2232
|
createFolder(sandboxId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2233
|
+
/**
|
|
2234
|
+
* Create a new PTY session in the sandbox
|
|
2235
|
+
* @summary Create PTY session
|
|
2236
|
+
* @param {string} sandboxId
|
|
2237
|
+
* @param {PtyCreateRequest} ptyCreateRequest
|
|
2238
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof ToolboxApi
|
|
2242
|
+
*/
|
|
2243
|
+
createPTYSession(sandboxId: string, ptyCreateRequest: PtyCreateRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyCreateResponse, any, {}>>;
|
|
2078
2244
|
/**
|
|
2079
2245
|
* Create a new session in the sandbox
|
|
2080
2246
|
* @summary Create session
|
|
@@ -2098,6 +2264,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
2098
2264
|
* @memberof ToolboxApi
|
|
2099
2265
|
*/
|
|
2100
2266
|
deleteFile(sandboxId: string, path: string, xDaytonaOrganizationID?: string, recursive?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Delete a PTY session and terminate the associated process
|
|
2269
|
+
* @summary Delete PTY session
|
|
2270
|
+
* @param {string} sandboxId
|
|
2271
|
+
* @param {string} sessionId
|
|
2272
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2273
|
+
* @param {*} [options] Override http request option.
|
|
2274
|
+
* @throws {RequiredError}
|
|
2275
|
+
* @memberof ToolboxApi
|
|
2276
|
+
*/
|
|
2277
|
+
deletePTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2101
2278
|
/**
|
|
2102
2279
|
* Delete a specific session
|
|
2103
2280
|
* @summary Delete session
|
|
@@ -2219,6 +2396,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
2219
2396
|
* @memberof ToolboxApi
|
|
2220
2397
|
*/
|
|
2221
2398
|
getMousePosition(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MousePosition, any, {}>>;
|
|
2399
|
+
/**
|
|
2400
|
+
* Get PTY session information by ID
|
|
2401
|
+
* @summary Get PTY session
|
|
2402
|
+
* @param {string} sandboxId
|
|
2403
|
+
* @param {string} sessionId
|
|
2404
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2405
|
+
* @param {*} [options] Override http request option.
|
|
2406
|
+
* @throws {RequiredError}
|
|
2407
|
+
* @memberof ToolboxApi
|
|
2408
|
+
*/
|
|
2409
|
+
getPTYSession(sandboxId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
|
|
2222
2410
|
/**
|
|
2223
2411
|
* Get error logs for a specific VNC process
|
|
2224
2412
|
* @summary Get process errors
|
|
@@ -2461,6 +2649,16 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
2461
2649
|
* @memberof ToolboxApi
|
|
2462
2650
|
*/
|
|
2463
2651
|
listFiles(sandboxId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo[], any, {}>>;
|
|
2652
|
+
/**
|
|
2653
|
+
* List all active PTY sessions in the sandbox
|
|
2654
|
+
* @summary List PTY sessions
|
|
2655
|
+
* @param {string} sandboxId
|
|
2656
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
* @memberof ToolboxApi
|
|
2660
|
+
*/
|
|
2661
|
+
listPTYSessions(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyListResponse, any, {}>>;
|
|
2464
2662
|
/**
|
|
2465
2663
|
* List all active sessions in the sandbox
|
|
2466
2664
|
* @summary List sessions
|
|
@@ -2608,6 +2806,18 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
2608
2806
|
* @memberof ToolboxApi
|
|
2609
2807
|
*/
|
|
2610
2808
|
replaceInFiles(sandboxId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any, {}>>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Resize a PTY session
|
|
2811
|
+
* @summary Resize PTY session
|
|
2812
|
+
* @param {string} sandboxId
|
|
2813
|
+
* @param {string} sessionId
|
|
2814
|
+
* @param {PtyResizeRequest} ptyResizeRequest
|
|
2815
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2816
|
+
* @param {*} [options] Override http request option.
|
|
2817
|
+
* @throws {RequiredError}
|
|
2818
|
+
* @memberof ToolboxApi
|
|
2819
|
+
*/
|
|
2820
|
+
resizePTYSession(sandboxId: string, sessionId: string, ptyResizeRequest: PtyResizeRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
|
|
2611
2821
|
/**
|
|
2612
2822
|
* Restart a specific VNC process
|
|
2613
2823
|
* @summary Restart process
|