@daytonaio/api-client 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -1
- package/README.md +2 -2
- package/api/toolbox-api.ts +419 -0
- package/api/users-api.ts +68 -0
- package/api/workspace-api.ts +78 -0
- package/api.ts +0 -1
- package/dist/api/toolbox-api.d.ts +193 -0
- package/dist/api/toolbox-api.js +389 -0
- package/dist/api/users-api.d.ts +30 -0
- package/dist/api/users-api.js +62 -0
- package/dist/api/workspace-api.d.ts +33 -0
- package/dist/api/workspace-api.js +73 -0
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/esm/api/toolbox-api.d.ts +193 -0
- package/dist/esm/api/toolbox-api.js +389 -0
- package/dist/esm/api/users-api.d.ts +30 -0
- package/dist/esm/api/users-api.js +62 -0
- package/dist/esm/api/workspace-api.d.ts +33 -0
- package/dist/esm/api/workspace-api.js +73 -0
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/models/command.d.ts +42 -0
- package/dist/esm/models/command.js +14 -0
- package/dist/esm/models/create-session-request.d.ts +24 -0
- package/dist/esm/models/create-session-request.js +14 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/session-execute-request.d.ts +30 -0
- package/dist/esm/models/session-execute-request.js +14 -0
- package/dist/esm/models/session-execute-response.d.ts +36 -0
- package/dist/esm/models/session-execute-response.js +14 -0
- package/dist/esm/models/session.d.ts +31 -0
- package/dist/esm/models/session.js +14 -0
- package/dist/esm/models/usage-overview.d.ts +84 -0
- package/dist/esm/models/usage-overview.js +14 -0
- package/dist/models/command.d.ts +42 -0
- package/dist/models/command.js +15 -0
- package/dist/models/create-session-request.d.ts +24 -0
- package/dist/models/create-session-request.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/session-execute-request.d.ts +30 -0
- package/dist/models/session-execute-request.js +15 -0
- package/dist/models/session-execute-response.d.ts +36 -0
- package/dist/models/session-execute-response.js +15 -0
- package/dist/models/session.d.ts +31 -0
- package/dist/models/session.js +15 -0
- package/dist/models/usage-overview.d.ts +84 -0
- package/dist/models/usage-overview.js +15 -0
- package/models/command.ts +48 -0
- package/models/create-session-request.ts +30 -0
- package/models/index.ts +6 -0
- package/models/session-execute-request.ts +36 -0
- package/models/session-execute-response.ts +42 -0
- package/models/session.ts +39 -0
- package/models/usage-overview.ts +90 -0
- package/package.json +1 -1
- package/api/app-api.ts +0 -118
- package/dist/api/app-api.d.ts +0 -65
- package/dist/api/app-api.js +0 -124
- package/dist/esm/api/app-api.d.ts +0 -65
- package/dist/esm/api/app-api.js +0 -117
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Command
|
|
16
|
+
*/
|
|
17
|
+
export interface Command {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the command
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Command
|
|
22
|
+
*/
|
|
23
|
+
'cmdId': string;
|
|
24
|
+
/**
|
|
25
|
+
* The command that was executed
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Command
|
|
28
|
+
*/
|
|
29
|
+
'command': string;
|
|
30
|
+
/**
|
|
31
|
+
* The output of the command
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Command
|
|
34
|
+
*/
|
|
35
|
+
'output': string;
|
|
36
|
+
/**
|
|
37
|
+
* The exit code of the command
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Command
|
|
40
|
+
*/
|
|
41
|
+
'exitCode': number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateSessionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateSessionRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the session
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateSessionRequest
|
|
22
|
+
*/
|
|
23
|
+
'sessionId': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './api-key-list';
|
|
2
2
|
export * from './api-key-response';
|
|
3
|
+
export * from './command';
|
|
3
4
|
export * from './create-api-key';
|
|
4
5
|
export * from './create-docker-registry';
|
|
5
6
|
export * from './create-node';
|
|
7
|
+
export * from './create-session-request';
|
|
6
8
|
export * from './create-user';
|
|
7
9
|
export * from './create-workspace';
|
|
8
10
|
export * from './execute-request';
|
|
@@ -23,7 +25,11 @@ export * from './project-dir-response';
|
|
|
23
25
|
export * from './replace-request';
|
|
24
26
|
export * from './replace-result';
|
|
25
27
|
export * from './search-files-response';
|
|
28
|
+
export * from './session';
|
|
29
|
+
export * from './session-execute-request';
|
|
30
|
+
export * from './session-execute-response';
|
|
26
31
|
export * from './update-docker-registry';
|
|
32
|
+
export * from './usage-overview';
|
|
27
33
|
export * from './workspace';
|
|
28
34
|
export * from './workspace-info';
|
|
29
35
|
export * from './workspace-labels';
|
package/dist/models/index.js
CHANGED
|
@@ -16,9 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./api-key-list"), exports);
|
|
18
18
|
__exportStar(require("./api-key-response"), exports);
|
|
19
|
+
__exportStar(require("./command"), exports);
|
|
19
20
|
__exportStar(require("./create-api-key"), exports);
|
|
20
21
|
__exportStar(require("./create-docker-registry"), exports);
|
|
21
22
|
__exportStar(require("./create-node"), exports);
|
|
23
|
+
__exportStar(require("./create-session-request"), exports);
|
|
22
24
|
__exportStar(require("./create-user"), exports);
|
|
23
25
|
__exportStar(require("./create-workspace"), exports);
|
|
24
26
|
__exportStar(require("./execute-request"), exports);
|
|
@@ -39,7 +41,11 @@ __exportStar(require("./project-dir-response"), exports);
|
|
|
39
41
|
__exportStar(require("./replace-request"), exports);
|
|
40
42
|
__exportStar(require("./replace-result"), exports);
|
|
41
43
|
__exportStar(require("./search-files-response"), exports);
|
|
44
|
+
__exportStar(require("./session"), exports);
|
|
45
|
+
__exportStar(require("./session-execute-request"), exports);
|
|
46
|
+
__exportStar(require("./session-execute-response"), exports);
|
|
42
47
|
__exportStar(require("./update-docker-registry"), exports);
|
|
48
|
+
__exportStar(require("./usage-overview"), exports);
|
|
43
49
|
__exportStar(require("./workspace"), exports);
|
|
44
50
|
__exportStar(require("./workspace-info"), exports);
|
|
45
51
|
__exportStar(require("./workspace-labels"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SessionExecuteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionExecuteRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The command to execute
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SessionExecuteRequest
|
|
22
|
+
*/
|
|
23
|
+
'command': string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether to execute the command asynchronously
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SessionExecuteRequest
|
|
28
|
+
*/
|
|
29
|
+
'async'?: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SessionExecuteResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionExecuteResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the executed command
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SessionExecuteResponse
|
|
22
|
+
*/
|
|
23
|
+
'cmdId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The output of the executed command
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SessionExecuteResponse
|
|
28
|
+
*/
|
|
29
|
+
'output'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The exit code of the executed command
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SessionExecuteResponse
|
|
34
|
+
*/
|
|
35
|
+
'exitCode'?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Command } from './command';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Session
|
|
17
|
+
*/
|
|
18
|
+
export interface Session {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the session
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Session
|
|
23
|
+
*/
|
|
24
|
+
'sessionId': string;
|
|
25
|
+
/**
|
|
26
|
+
* The list of commands executed in this session
|
|
27
|
+
* @type {Array<Command>}
|
|
28
|
+
* @memberof Session
|
|
29
|
+
*/
|
|
30
|
+
'commands': Array<Command>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UsageOverview
|
|
16
|
+
*/
|
|
17
|
+
export interface UsageOverview {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UsageOverview
|
|
22
|
+
*/
|
|
23
|
+
'totalCpuQuota': number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UsageOverview
|
|
28
|
+
*/
|
|
29
|
+
'totalGpuQuota': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UsageOverview
|
|
34
|
+
*/
|
|
35
|
+
'totalMemoryQuota': number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UsageOverview
|
|
40
|
+
*/
|
|
41
|
+
'totalDiskQuota': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UsageOverview
|
|
46
|
+
*/
|
|
47
|
+
'totalWorkspaceQuota': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UsageOverview
|
|
52
|
+
*/
|
|
53
|
+
'concurrentWorkspaceQuota': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UsageOverview
|
|
58
|
+
*/
|
|
59
|
+
'currentCpuUsage': number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof UsageOverview
|
|
64
|
+
*/
|
|
65
|
+
'currentMemoryUsage': number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof UsageOverview
|
|
70
|
+
*/
|
|
71
|
+
'currentDiskUsage': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof UsageOverview
|
|
76
|
+
*/
|
|
77
|
+
'currentWorkspaces': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof UsageOverview
|
|
82
|
+
*/
|
|
83
|
+
'concurrentWorkspaces': number;
|
|
84
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Command
|
|
21
|
+
*/
|
|
22
|
+
export interface Command {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the command
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof Command
|
|
27
|
+
*/
|
|
28
|
+
'cmdId': string;
|
|
29
|
+
/**
|
|
30
|
+
* The command that was executed
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Command
|
|
33
|
+
*/
|
|
34
|
+
'command': string;
|
|
35
|
+
/**
|
|
36
|
+
* The output of the command
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Command
|
|
39
|
+
*/
|
|
40
|
+
'output': string;
|
|
41
|
+
/**
|
|
42
|
+
* The exit code of the command
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof Command
|
|
45
|
+
*/
|
|
46
|
+
'exitCode': number;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateSessionRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSessionRequest {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the session
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateSessionRequest
|
|
27
|
+
*/
|
|
28
|
+
'sessionId': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './api-key-list';
|
|
2
2
|
export * from './api-key-response';
|
|
3
|
+
export * from './command';
|
|
3
4
|
export * from './create-api-key';
|
|
4
5
|
export * from './create-docker-registry';
|
|
5
6
|
export * from './create-node';
|
|
7
|
+
export * from './create-session-request';
|
|
6
8
|
export * from './create-user';
|
|
7
9
|
export * from './create-workspace';
|
|
8
10
|
export * from './execute-request';
|
|
@@ -23,7 +25,11 @@ export * from './project-dir-response';
|
|
|
23
25
|
export * from './replace-request';
|
|
24
26
|
export * from './replace-result';
|
|
25
27
|
export * from './search-files-response';
|
|
28
|
+
export * from './session';
|
|
29
|
+
export * from './session-execute-request';
|
|
30
|
+
export * from './session-execute-response';
|
|
26
31
|
export * from './update-docker-registry';
|
|
32
|
+
export * from './usage-overview';
|
|
27
33
|
export * from './workspace';
|
|
28
34
|
export * from './workspace-info';
|
|
29
35
|
export * from './workspace-labels';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SessionExecuteRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface SessionExecuteRequest {
|
|
23
|
+
/**
|
|
24
|
+
* The command to execute
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SessionExecuteRequest
|
|
27
|
+
*/
|
|
28
|
+
'command': string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to execute the command asynchronously
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof SessionExecuteRequest
|
|
33
|
+
*/
|
|
34
|
+
'async'?: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SessionExecuteResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface SessionExecuteResponse {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the executed command
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SessionExecuteResponse
|
|
27
|
+
*/
|
|
28
|
+
'cmdId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The output of the executed command
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SessionExecuteResponse
|
|
33
|
+
*/
|
|
34
|
+
'output'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The exit code of the executed command
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof SessionExecuteResponse
|
|
39
|
+
*/
|
|
40
|
+
'exitCode'?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Command } from './command';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface Session
|
|
24
|
+
*/
|
|
25
|
+
export interface Session {
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the session
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof Session
|
|
30
|
+
*/
|
|
31
|
+
'sessionId': string;
|
|
32
|
+
/**
|
|
33
|
+
* The list of commands executed in this session
|
|
34
|
+
* @type {Array<Command>}
|
|
35
|
+
* @memberof Session
|
|
36
|
+
*/
|
|
37
|
+
'commands': Array<Command>;
|
|
38
|
+
}
|
|
39
|
+
|