@daytonaio/api-client 0.20.0 → 0.21.0-alpha.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/package.json +1 -1
- package/src/api/docker-registry-api.d.ts +4 -4
- package/src/api/docker-registry-api.js +4 -4
- package/src/api/preview-api.d.ts +40 -40
- package/src/api/preview-api.js +65 -65
- package/src/api/preview-api.js.map +1 -1
- package/src/api/runners-api.d.ts +136 -0
- package/src/api/{nodes-api.js → runners-api.js} +70 -70
- package/src/api/runners-api.js.map +1 -0
- package/src/api/sandbox-api.d.ts +598 -0
- package/src/api/sandbox-api.js +1212 -0
- package/src/api/sandbox-api.js.map +1 -0
- package/src/api/snapshots-api.d.ts +320 -0
- package/src/api/{images-api.js → snapshots-api.js} +162 -241
- package/src/api/snapshots-api.js.map +1 -0
- package/src/api/toolbox-api.d.ts +412 -412
- package/src/api/toolbox-api.js +676 -676
- package/src/api/toolbox-api.js.map +1 -1
- package/src/api/users-api.d.ts +67 -0
- package/src/api/users-api.js +138 -0
- package/src/api/users-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +207 -110
- package/src/api/workspace-api.js +322 -180
- package/src/api/workspace-api.js.map +1 -1
- package/src/api.d.ts +3 -2
- package/src/api.js +3 -2
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +2 -2
- package/src/models/api-key-list.js +2 -2
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +2 -2
- package/src/models/api-key-response.js +2 -2
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-snapshot.d.ts +55 -0
- package/src/models/{workspace-info.js → build-snapshot.js} +1 -1
- package/src/models/build-snapshot.js.map +1 -0
- package/src/models/create-api-key.d.ts +2 -2
- package/src/models/create-api-key.js +2 -2
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/{build-image.d.ts → create-linked-account.d.ts} +9 -10
- package/src/models/{paginated-images-dto.js → create-linked-account.js} +1 -1
- package/src/models/create-linked-account.js.map +1 -0
- package/src/models/create-organization-quota.d.ts +5 -5
- package/src/models/create-organization-role.d.ts +2 -2
- package/src/models/create-organization-role.js +2 -2
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/{create-node.d.ts → create-runner.d.ts} +19 -19
- package/src/models/{create-node.js → create-runner.js} +4 -4
- package/src/models/create-runner.js.map +1 -0
- package/src/models/create-sandbox.d.ts +126 -0
- package/src/models/create-sandbox.js +27 -0
- package/src/models/create-sandbox.js.map +1 -0
- package/src/models/create-snapshot.d.ts +73 -0
- package/src/models/create-snapshot.js +16 -0
- package/src/models/create-snapshot.js.map +1 -0
- package/src/models/create-workspace.d.ts +10 -4
- package/src/models/create-workspace.js.map +1 -1
- package/src/models/index.d.ts +13 -12
- package/src/models/index.js +13 -12
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +2 -2
- package/src/models/organization-role.js +2 -2
- package/src/models/organization-role.js.map +1 -1
- package/src/models/{paginated-images-dto.d.ts → paginated-snapshots-dto.d.ts} +9 -9
- package/src/models/paginated-snapshots-dto.js +16 -0
- package/src/models/paginated-snapshots-dto.js.map +1 -0
- package/src/models/{workspace-info.d.ts → sandbox-info.d.ts} +6 -6
- package/src/models/{image-dto.js → sandbox-info.js} +1 -1
- package/src/models/sandbox-info.js.map +1 -0
- package/src/models/{workspace-labels.d.ts → sandbox-labels.d.ts} +3 -3
- package/src/models/{create-image.js → sandbox-labels.js} +1 -1
- package/src/models/sandbox-labels.js.map +1 -0
- package/src/models/{workspace-state.d.ts → sandbox-state.d.ts} +5 -5
- package/src/models/{workspace-state.js → sandbox-state.js} +6 -6
- package/src/models/sandbox-state.js.map +1 -0
- package/src/models/{workspace-volume.d.ts → sandbox-volume.d.ts} +4 -4
- package/src/models/sandbox-volume.js +16 -0
- package/src/models/sandbox-volume.js.map +1 -0
- package/src/models/sandbox.d.ts +160 -0
- package/src/models/{workspace.js → sandbox.js} +3 -3
- package/src/models/sandbox.js.map +1 -0
- package/src/models/{set-image-general-status.d.ts → set-snapshot-general-status-dto.d.ts} +4 -4
- package/src/models/set-snapshot-general-status-dto.js +16 -0
- package/src/models/set-snapshot-general-status-dto.js.map +1 -0
- package/src/models/{image-dto.d.ts → snapshot-dto.d.ts} +47 -17
- package/src/models/{build-image.js → snapshot-dto.js} +1 -1
- package/src/models/snapshot-dto.js.map +1 -0
- package/src/models/{image-state.d.ts → snapshot-state.d.ts} +3 -3
- package/src/models/{image-state.js → snapshot-state.js} +4 -4
- package/src/models/snapshot-state.js.map +1 -0
- package/src/models/toggle-state.d.ts +1 -1
- package/src/models/update-organization-quota.d.ts +5 -5
- package/src/models/update-organization-role.d.ts +2 -2
- package/src/models/update-organization-role.js +2 -2
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/volume-dto.d.ts +1 -1
- package/src/api/images-api.d.ts +0 -358
- package/src/api/images-api.js.map +0 -1
- package/src/api/nodes-api.d.ts +0 -136
- package/src/api/nodes-api.js.map +0 -1
- package/src/models/build-image.js.map +0 -1
- package/src/models/create-image.d.ts +0 -36
- package/src/models/create-image.js.map +0 -1
- package/src/models/create-node.js.map +0 -1
- package/src/models/image-dto.js.map +0 -1
- package/src/models/image-state.js.map +0 -1
- package/src/models/paginated-images-dto.js.map +0 -1
- package/src/models/set-image-general-status.js +0 -16
- package/src/models/set-image-general-status.js.map +0 -1
- package/src/models/workspace-info.js.map +0 -1
- package/src/models/workspace-labels.js +0 -16
- package/src/models/workspace-labels.js.map +0 -1
- package/src/models/workspace-state.js.map +0 -1
- package/src/models/workspace-volume.js +0 -16
- package/src/models/workspace-volume.js.map +0 -1
- package/src/models/workspace.d.ts +0 -154
- package/src/models/workspace.js.map +0 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
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 { CreateBuildInfo } from './create-build-info';
|
|
13
|
+
import type { SandboxVolume } from './sandbox-volume';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CreateSandbox
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateSandbox {
|
|
20
|
+
/**
|
|
21
|
+
* The snapshot used for the sandbox
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreateSandbox
|
|
24
|
+
*/
|
|
25
|
+
snapshot?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The user associated with the project
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateSandbox
|
|
30
|
+
*/
|
|
31
|
+
user?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Environment variables for the sandbox
|
|
34
|
+
* @type {{ [key: string]: string; }}
|
|
35
|
+
* @memberof CreateSandbox
|
|
36
|
+
*/
|
|
37
|
+
env?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Labels for the sandbox
|
|
42
|
+
* @type {{ [key: string]: string; }}
|
|
43
|
+
* @memberof CreateSandbox
|
|
44
|
+
*/
|
|
45
|
+
labels?: {
|
|
46
|
+
[key: string]: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Whether the sandbox http preview is publicly accessible
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof CreateSandbox
|
|
52
|
+
*/
|
|
53
|
+
public?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The sandbox class type
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateSandbox
|
|
58
|
+
*/
|
|
59
|
+
class?: CreateSandboxClassEnum;
|
|
60
|
+
/**
|
|
61
|
+
* The target (region) where the sandbox will be created
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateSandbox
|
|
64
|
+
*/
|
|
65
|
+
target?: CreateSandboxTargetEnum;
|
|
66
|
+
/**
|
|
67
|
+
* CPU cores allocated to the sandbox
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CreateSandbox
|
|
70
|
+
*/
|
|
71
|
+
cpu?: number;
|
|
72
|
+
/**
|
|
73
|
+
* GPU units allocated to the sandbox
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CreateSandbox
|
|
76
|
+
*/
|
|
77
|
+
gpu?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Memory allocated to the sandbox in GB
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof CreateSandbox
|
|
82
|
+
*/
|
|
83
|
+
memory?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Disk space allocated to the sandbox in GB
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof CreateSandbox
|
|
88
|
+
*/
|
|
89
|
+
disk?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Auto-stop interval in minutes (0 means disabled)
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof CreateSandbox
|
|
94
|
+
*/
|
|
95
|
+
autoStopInterval?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof CreateSandbox
|
|
100
|
+
*/
|
|
101
|
+
autoArchiveInterval?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Array of volumes to attach to the sandbox
|
|
104
|
+
* @type {Array<SandboxVolume>}
|
|
105
|
+
* @memberof CreateSandbox
|
|
106
|
+
*/
|
|
107
|
+
volumes?: Array<SandboxVolume>;
|
|
108
|
+
/**
|
|
109
|
+
* Build information for the sandbox
|
|
110
|
+
* @type {CreateBuildInfo}
|
|
111
|
+
* @memberof CreateSandbox
|
|
112
|
+
*/
|
|
113
|
+
buildInfo?: CreateBuildInfo;
|
|
114
|
+
}
|
|
115
|
+
export declare const CreateSandboxClassEnum: {
|
|
116
|
+
readonly SMALL: "small";
|
|
117
|
+
readonly MEDIUM: "medium";
|
|
118
|
+
readonly LARGE: "large";
|
|
119
|
+
};
|
|
120
|
+
export type CreateSandboxClassEnum = (typeof CreateSandboxClassEnum)[keyof typeof CreateSandboxClassEnum];
|
|
121
|
+
export declare const CreateSandboxTargetEnum: {
|
|
122
|
+
readonly EU: "eu";
|
|
123
|
+
readonly US: "us";
|
|
124
|
+
readonly ASIA: "asia";
|
|
125
|
+
};
|
|
126
|
+
export type CreateSandboxTargetEnum = (typeof CreateSandboxTargetEnum)[keyof typeof CreateSandboxTargetEnum];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
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 });
|
|
16
|
+
exports.CreateSandboxTargetEnum = exports.CreateSandboxClassEnum = void 0;
|
|
17
|
+
exports.CreateSandboxClassEnum = {
|
|
18
|
+
SMALL: 'small',
|
|
19
|
+
MEDIUM: 'medium',
|
|
20
|
+
LARGE: 'large',
|
|
21
|
+
};
|
|
22
|
+
exports.CreateSandboxTargetEnum = {
|
|
23
|
+
EU: 'eu',
|
|
24
|
+
US: 'us',
|
|
25
|
+
ASIA: 'asia',
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=create-sandbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2GU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
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 { CreateBuildInfo } from './create-build-info';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateSnapshot
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateSnapshot {
|
|
19
|
+
/**
|
|
20
|
+
* The name of the snapshot
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateSnapshot
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The image name of the snapshot
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateSnapshot
|
|
29
|
+
*/
|
|
30
|
+
imageName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The entrypoint command for the snapshot
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof CreateSnapshot
|
|
35
|
+
*/
|
|
36
|
+
entrypoint?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the snapshot is general
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof CreateSnapshot
|
|
41
|
+
*/
|
|
42
|
+
general?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* CPU cores allocated to the resulting sandbox
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof CreateSnapshot
|
|
47
|
+
*/
|
|
48
|
+
cpu?: number;
|
|
49
|
+
/**
|
|
50
|
+
* GPU units allocated to the resulting sandbox
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof CreateSnapshot
|
|
53
|
+
*/
|
|
54
|
+
gpu?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Memory allocated to the resulting sandbox in GB
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof CreateSnapshot
|
|
59
|
+
*/
|
|
60
|
+
memory?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Disk space allocated to the sandbox in GB
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof CreateSnapshot
|
|
65
|
+
*/
|
|
66
|
+
disk?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Build information for the snapshot
|
|
69
|
+
* @type {CreateBuildInfo}
|
|
70
|
+
* @memberof CreateSnapshot
|
|
71
|
+
*/
|
|
72
|
+
buildInfo?: CreateBuildInfo;
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
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 });
|
|
16
|
+
//# sourceMappingURL=create-snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-snapshot.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-snapshot.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CreateBuildInfo } from './create-build-info';
|
|
13
|
-
import type {
|
|
13
|
+
import type { SandboxVolume } from './sandbox-volume';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -76,7 +76,7 @@ export interface CreateWorkspace {
|
|
|
76
76
|
*/
|
|
77
77
|
gpu?: number;
|
|
78
78
|
/**
|
|
79
|
-
* Memory allocated to the workspace in
|
|
79
|
+
* Memory allocated to the workspace in GB
|
|
80
80
|
* @type {number}
|
|
81
81
|
* @memberof CreateWorkspace
|
|
82
82
|
*/
|
|
@@ -93,12 +93,18 @@ export interface CreateWorkspace {
|
|
|
93
93
|
* @memberof CreateWorkspace
|
|
94
94
|
*/
|
|
95
95
|
autoStopInterval?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof CreateWorkspace
|
|
100
|
+
*/
|
|
101
|
+
autoArchiveInterval?: number;
|
|
96
102
|
/**
|
|
97
103
|
* Array of volumes to attach to the workspace
|
|
98
|
-
* @type {Array<
|
|
104
|
+
* @type {Array<SandboxVolume>}
|
|
99
105
|
* @memberof CreateWorkspace
|
|
100
106
|
*/
|
|
101
|
-
volumes?: Array<
|
|
107
|
+
volumes?: Array<SandboxVolume>;
|
|
102
108
|
/**
|
|
103
109
|
* Build information for the workspace
|
|
104
110
|
* @type {CreateBuildInfo}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"create-workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2GU,QAAA,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,yBAAyB,GAAG;IACvC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,CAAA"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './account-provider';
|
|
2
2
|
export * from './api-key-list';
|
|
3
3
|
export * from './api-key-response';
|
|
4
|
-
export * from './build-image';
|
|
5
4
|
export * from './command';
|
|
6
5
|
export * from './completion-context';
|
|
7
6
|
export * from './completion-item';
|
|
@@ -9,13 +8,15 @@ export * from './completion-list';
|
|
|
9
8
|
export * from './create-api-key';
|
|
10
9
|
export * from './create-build-info';
|
|
11
10
|
export * from './create-docker-registry';
|
|
12
|
-
export * from './create-
|
|
13
|
-
export * from './create-node';
|
|
11
|
+
export * from './create-linked-account';
|
|
14
12
|
export * from './create-organization';
|
|
15
13
|
export * from './create-organization-invitation';
|
|
16
14
|
export * from './create-organization-quota';
|
|
17
15
|
export * from './create-organization-role';
|
|
16
|
+
export * from './create-runner';
|
|
17
|
+
export * from './create-sandbox';
|
|
18
18
|
export * from './create-session-request';
|
|
19
|
+
export * from './create-snapshot';
|
|
19
20
|
export * from './create-user';
|
|
20
21
|
export * from './create-volume';
|
|
21
22
|
export * from './create-workspace';
|
|
@@ -34,8 +35,6 @@ export * from './git-commit-response';
|
|
|
34
35
|
export * from './git-delete-branch-request';
|
|
35
36
|
export * from './git-repo-request';
|
|
36
37
|
export * from './git-status';
|
|
37
|
-
export * from './image-dto';
|
|
38
|
-
export * from './image-state';
|
|
39
38
|
export * from './list-branch-response';
|
|
40
39
|
export * from './lsp-completion-params';
|
|
41
40
|
export * from './lsp-document-request';
|
|
@@ -48,7 +47,7 @@ export * from './organization-invitation';
|
|
|
48
47
|
export * from './organization-role';
|
|
49
48
|
export * from './organization-suspension';
|
|
50
49
|
export * from './organization-user';
|
|
51
|
-
export * from './paginated-
|
|
50
|
+
export * from './paginated-snapshots-dto';
|
|
52
51
|
export * from './port-preview-url';
|
|
53
52
|
export * from './position';
|
|
54
53
|
export * from './project-dir-response';
|
|
@@ -56,11 +55,18 @@ export * from './range';
|
|
|
56
55
|
export * from './registry-push-access-dto';
|
|
57
56
|
export * from './replace-request';
|
|
58
57
|
export * from './replace-result';
|
|
58
|
+
export * from './sandbox';
|
|
59
|
+
export * from './sandbox-info';
|
|
60
|
+
export * from './sandbox-labels';
|
|
61
|
+
export * from './sandbox-state';
|
|
62
|
+
export * from './sandbox-volume';
|
|
59
63
|
export * from './search-files-response';
|
|
60
64
|
export * from './session';
|
|
61
65
|
export * from './session-execute-request';
|
|
62
66
|
export * from './session-execute-response';
|
|
63
|
-
export * from './set-
|
|
67
|
+
export * from './set-snapshot-general-status-dto';
|
|
68
|
+
export * from './snapshot-dto';
|
|
69
|
+
export * from './snapshot-state';
|
|
64
70
|
export * from './storage-access-dto';
|
|
65
71
|
export * from './toggle-state';
|
|
66
72
|
export * from './update-assigned-organization-roles';
|
|
@@ -74,8 +80,3 @@ export * from './user';
|
|
|
74
80
|
export * from './user-public-key';
|
|
75
81
|
export * from './volume-dto';
|
|
76
82
|
export * from './volume-state';
|
|
77
|
-
export * from './workspace';
|
|
78
|
-
export * from './workspace-info';
|
|
79
|
-
export * from './workspace-labels';
|
|
80
|
-
export * from './workspace-state';
|
|
81
|
-
export * from './workspace-volume';
|
package/src/models/index.js
CHANGED
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./account-provider"), exports);
|
|
18
18
|
__exportStar(require("./api-key-list"), exports);
|
|
19
19
|
__exportStar(require("./api-key-response"), exports);
|
|
20
|
-
__exportStar(require("./build-image"), exports);
|
|
21
20
|
__exportStar(require("./command"), exports);
|
|
22
21
|
__exportStar(require("./completion-context"), exports);
|
|
23
22
|
__exportStar(require("./completion-item"), exports);
|
|
@@ -25,13 +24,15 @@ __exportStar(require("./completion-list"), exports);
|
|
|
25
24
|
__exportStar(require("./create-api-key"), exports);
|
|
26
25
|
__exportStar(require("./create-build-info"), exports);
|
|
27
26
|
__exportStar(require("./create-docker-registry"), exports);
|
|
28
|
-
__exportStar(require("./create-
|
|
29
|
-
__exportStar(require("./create-node"), exports);
|
|
27
|
+
__exportStar(require("./create-linked-account"), exports);
|
|
30
28
|
__exportStar(require("./create-organization"), exports);
|
|
31
29
|
__exportStar(require("./create-organization-invitation"), exports);
|
|
32
30
|
__exportStar(require("./create-organization-quota"), exports);
|
|
33
31
|
__exportStar(require("./create-organization-role"), exports);
|
|
32
|
+
__exportStar(require("./create-runner"), exports);
|
|
33
|
+
__exportStar(require("./create-sandbox"), exports);
|
|
34
34
|
__exportStar(require("./create-session-request"), exports);
|
|
35
|
+
__exportStar(require("./create-snapshot"), exports);
|
|
35
36
|
__exportStar(require("./create-user"), exports);
|
|
36
37
|
__exportStar(require("./create-volume"), exports);
|
|
37
38
|
__exportStar(require("./create-workspace"), exports);
|
|
@@ -50,8 +51,6 @@ __exportStar(require("./git-commit-response"), exports);
|
|
|
50
51
|
__exportStar(require("./git-delete-branch-request"), exports);
|
|
51
52
|
__exportStar(require("./git-repo-request"), exports);
|
|
52
53
|
__exportStar(require("./git-status"), exports);
|
|
53
|
-
__exportStar(require("./image-dto"), exports);
|
|
54
|
-
__exportStar(require("./image-state"), exports);
|
|
55
54
|
__exportStar(require("./list-branch-response"), exports);
|
|
56
55
|
__exportStar(require("./lsp-completion-params"), exports);
|
|
57
56
|
__exportStar(require("./lsp-document-request"), exports);
|
|
@@ -64,7 +63,7 @@ __exportStar(require("./organization-invitation"), exports);
|
|
|
64
63
|
__exportStar(require("./organization-role"), exports);
|
|
65
64
|
__exportStar(require("./organization-suspension"), exports);
|
|
66
65
|
__exportStar(require("./organization-user"), exports);
|
|
67
|
-
__exportStar(require("./paginated-
|
|
66
|
+
__exportStar(require("./paginated-snapshots-dto"), exports);
|
|
68
67
|
__exportStar(require("./port-preview-url"), exports);
|
|
69
68
|
__exportStar(require("./position"), exports);
|
|
70
69
|
__exportStar(require("./project-dir-response"), exports);
|
|
@@ -72,11 +71,18 @@ __exportStar(require("./range"), exports);
|
|
|
72
71
|
__exportStar(require("./registry-push-access-dto"), exports);
|
|
73
72
|
__exportStar(require("./replace-request"), exports);
|
|
74
73
|
__exportStar(require("./replace-result"), exports);
|
|
74
|
+
__exportStar(require("./sandbox"), exports);
|
|
75
|
+
__exportStar(require("./sandbox-info"), exports);
|
|
76
|
+
__exportStar(require("./sandbox-labels"), exports);
|
|
77
|
+
__exportStar(require("./sandbox-state"), exports);
|
|
78
|
+
__exportStar(require("./sandbox-volume"), exports);
|
|
75
79
|
__exportStar(require("./search-files-response"), exports);
|
|
76
80
|
__exportStar(require("./session"), exports);
|
|
77
81
|
__exportStar(require("./session-execute-request"), exports);
|
|
78
82
|
__exportStar(require("./session-execute-response"), exports);
|
|
79
|
-
__exportStar(require("./set-
|
|
83
|
+
__exportStar(require("./set-snapshot-general-status-dto"), exports);
|
|
84
|
+
__exportStar(require("./snapshot-dto"), exports);
|
|
85
|
+
__exportStar(require("./snapshot-state"), exports);
|
|
80
86
|
__exportStar(require("./storage-access-dto"), exports);
|
|
81
87
|
__exportStar(require("./toggle-state"), exports);
|
|
82
88
|
__exportStar(require("./update-assigned-organization-roles"), exports);
|
|
@@ -90,9 +96,4 @@ __exportStar(require("./user"), exports);
|
|
|
90
96
|
__exportStar(require("./user-public-key"), exports);
|
|
91
97
|
__exportStar(require("./volume-dto"), exports);
|
|
92
98
|
__exportStar(require("./volume-state"), exports);
|
|
93
|
-
__exportStar(require("./workspace"), exports);
|
|
94
|
-
__exportStar(require("./workspace-info"), exports);
|
|
95
|
-
__exportStar(require("./workspace-labels"), exports);
|
|
96
|
-
__exportStar(require("./workspace-state"), exports);
|
|
97
|
-
__exportStar(require("./workspace-volume"), exports);
|
|
98
99
|
//# sourceMappingURL=index.js.map
|
package/src/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,iDAA8B;AAC9B,qDAAkC;AAClC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,iDAA8B;AAC9B,qDAAkC;AAClC,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,mDAAgC;AAChC,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,wDAAqC;AACrC,mEAAgD;AAChD,8DAA2C;AAC3C,6DAA0C;AAC1C,kDAA+B;AAC/B,mDAAgC;AAChC,2DAAwC;AACxC,oDAAiC;AACjC,gDAA6B;AAC7B,kDAA+B;AAC/B,qDAAkC;AAClC,oDAAiC;AACjC,oDAAiC;AACjC,qDAAkC;AAClC,8CAA2B;AAC3B,gDAA6B;AAC7B,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,8DAA2C;AAC3C,qDAAkC;AAClC,+CAA4B;AAC5B,yDAAsC;AACtC,0DAAuC;AACvC,yDAAsC;AACtC,iDAA8B;AAC9B,uDAAoC;AACpC,+CAA4B;AAC5B,0CAAuB;AACvB,iDAA8B;AAC9B,4DAAyC;AACzC,sDAAmC;AACnC,4DAAyC;AACzC,sDAAmC;AACnC,4DAAyC;AACzC,qDAAkC;AAClC,6CAA0B;AAC1B,yDAAsC;AACtC,0CAAuB;AACvB,6DAA0C;AAC1C,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,iDAA8B;AAC9B,mDAAgC;AAChC,kDAA+B;AAC/B,mDAAgC;AAChC,0DAAuC;AACvC,4CAAyB;AACzB,4DAAyC;AACzC,6DAA0C;AAC1C,oEAAiD;AACjD,iDAA8B;AAC9B,mDAAgC;AAChC,uDAAoC;AACpC,iDAA8B;AAC9B,uEAAoD;AACpD,2DAAwC;AACxC,mEAAgD;AAChD,oEAAiD;AACjD,8DAA2C;AAC3C,6DAA0C;AAC1C,mDAAgC;AAChC,yCAAsB;AACtB,oDAAiC;AACjC,+CAA4B;AAC5B,iDAA8B"}
|
|
@@ -61,8 +61,8 @@ export interface OrganizationRole {
|
|
|
61
61
|
export declare const OrganizationRolePermissionsEnum: {
|
|
62
62
|
readonly WRITE_REGISTRIES: "write:registries";
|
|
63
63
|
readonly DELETE_REGISTRIES: "delete:registries";
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
64
|
+
readonly WRITE_SNAPSHOTS: "write:snapshots";
|
|
65
|
+
readonly DELETE_SNAPSHOTS: "delete:snapshots";
|
|
66
66
|
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
67
67
|
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
68
68
|
readonly READ_VOLUMES: "read:volumes";
|
|
@@ -17,8 +17,8 @@ exports.OrganizationRolePermissionsEnum = void 0;
|
|
|
17
17
|
exports.OrganizationRolePermissionsEnum = {
|
|
18
18
|
WRITE_REGISTRIES: 'write:registries',
|
|
19
19
|
DELETE_REGISTRIES: 'delete:registries',
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
WRITE_SNAPSHOTS: 'write:snapshots',
|
|
21
|
+
DELETE_SNAPSHOTS: 'delete:snapshots',
|
|
22
22
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
23
23
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
24
24
|
READ_VOLUMES: 'read:volumes',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAoDU,QAAA,+BAA+B,GAAG;IAC7C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,
|
|
1
|
+
{"version":3,"file":"organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAoDU,QAAA,+BAA+B,GAAG;IAC7C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
|
|
@@ -9,35 +9,35 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { SnapshotDto } from './snapshot-dto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PaginatedSnapshotsDto
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PaginatedSnapshotsDto {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
22
|
-
* @memberof
|
|
21
|
+
* @type {Array<SnapshotDto>}
|
|
22
|
+
* @memberof PaginatedSnapshotsDto
|
|
23
23
|
*/
|
|
24
|
-
items: Array<
|
|
24
|
+
items: Array<SnapshotDto>;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {number}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof PaginatedSnapshotsDto
|
|
29
29
|
*/
|
|
30
30
|
total: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {number}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof PaginatedSnapshotsDto
|
|
35
35
|
*/
|
|
36
36
|
page: number;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {number}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof PaginatedSnapshotsDto
|
|
41
41
|
*/
|
|
42
42
|
totalPages: number;
|
|
43
43
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
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 });
|
|
16
|
+
//# sourceMappingURL=paginated-snapshots-dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-snapshots-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-snapshots-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -12,26 +12,26 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SandboxInfo
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SandboxInfo {
|
|
18
18
|
/**
|
|
19
19
|
* The creation timestamp of the project
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SandboxInfo
|
|
22
22
|
*/
|
|
23
23
|
created: string;
|
|
24
24
|
/**
|
|
25
|
-
* Deprecated: The name of the
|
|
25
|
+
* Deprecated: The name of the sandbox
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SandboxInfo
|
|
28
28
|
* @deprecated
|
|
29
29
|
*/
|
|
30
30
|
name: string;
|
|
31
31
|
/**
|
|
32
32
|
* Additional metadata provided by the provider
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof SandboxInfo
|
|
35
35
|
*/
|
|
36
36
|
providerMetadata?: string;
|
|
37
37
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-info.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-info.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SandboxLabels
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SandboxLabels {
|
|
18
18
|
/**
|
|
19
19
|
* Key-value pairs of labels
|
|
20
20
|
* @type {{ [key: string]: string; }}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SandboxLabels
|
|
22
22
|
*/
|
|
23
23
|
labels: {
|
|
24
24
|
[key: string]: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-labels.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-labels.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The state of the
|
|
13
|
+
* The state of the sandbox
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const SandboxState: {
|
|
18
18
|
readonly CREATING: "creating";
|
|
19
19
|
readonly RESTORING: "restoring";
|
|
20
20
|
readonly DESTROYED: "destroyed";
|
|
@@ -25,10 +25,10 @@ export declare const WorkspaceState: {
|
|
|
25
25
|
readonly STOPPING: "stopping";
|
|
26
26
|
readonly ERROR: "error";
|
|
27
27
|
readonly PENDING_BUILD: "pending_build";
|
|
28
|
-
readonly
|
|
28
|
+
readonly BUILDING_SNAPSHOT: "building_snapshot";
|
|
29
29
|
readonly UNKNOWN: "unknown";
|
|
30
|
-
readonly
|
|
30
|
+
readonly PULLING_SNAPSHOT: "pulling_snapshot";
|
|
31
31
|
readonly ARCHIVING: "archiving";
|
|
32
32
|
readonly ARCHIVED: "archived";
|
|
33
33
|
};
|
|
34
|
-
export type
|
|
34
|
+
export type SandboxState = (typeof SandboxState)[keyof typeof SandboxState];
|