@daytonaio/api-client 0.179.0 → 0.180.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/sandbox-api.d.ts +135 -47
- package/src/api/sandbox-api.js +205 -53
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api.d.ts +0 -1
- package/src/api.js +0 -1
- package/src/api.js.map +1 -1
- package/src/models/index.d.ts +5 -5
- package/src/models/index.js +5 -5
- package/src/models/index.js.map +1 -1
- package/src/models/{workspace-port-preview-url.d.ts → list-sandboxes-response.d.ts} +6 -5
- package/src/models/{paginated-sandboxes.js → list-sandboxes-response.js} +1 -1
- package/src/models/list-sandboxes-response.js.map +1 -0
- package/src/models/{paginated-sandboxes.d.ts → paginated-sandboxes-deprecated.d.ts} +1 -1
- package/src/models/{workspace-port-preview-url.js → paginated-sandboxes-deprecated.js} +1 -1
- package/src/models/paginated-sandboxes-deprecated.js.map +1 -0
- package/src/models/{workspace.d.ts → sandbox-list-item.d.ts} +35 -89
- package/src/models/{create-workspace.js → sandbox-list-item.js} +9 -7
- package/src/models/sandbox-list-item.js.map +1 -0
- package/src/models/sandbox-list-sort-direction.d.ts +17 -0
- package/src/models/{sandbox-info.js → sandbox-list-sort-direction.js} +7 -1
- package/src/models/sandbox-list-sort-direction.js.map +1 -0
- package/src/models/sandbox-list-sort-field.d.ts +21 -0
- package/src/models/sandbox-list-sort-field.js +26 -0
- package/src/models/sandbox-list-sort-field.js.map +1 -0
- package/src/models/sandbox-state.d.ts +0 -3
- package/src/models/sandbox-state.js +0 -3
- package/src/models/sandbox-state.js.map +1 -1
- package/src/api/workspace-api.d.ts +0 -634
- package/src/api/workspace-api.js +0 -1206
- package/src/api/workspace-api.js.map +0 -1
- package/src/models/create-workspace.d.ts +0 -93
- package/src/models/create-workspace.js.map +0 -1
- package/src/models/paginated-sandboxes.js.map +0 -1
- package/src/models/sandbox-info.d.ts +0 -26
- package/src/models/sandbox-info.js.map +0 -1
- package/src/models/workspace-port-preview-url.js.map +0 -1
- package/src/models/workspace.js +0 -39
- package/src/models/workspace.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-sandboxes-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/list-sandboxes-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-sandboxes-deprecated.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-sandboxes-deprecated.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -9,12 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { BuildInfo } from './build-info';
|
|
13
12
|
import type { SandboxDesiredState } from './sandbox-desired-state';
|
|
14
|
-
import type { SandboxInfo } from './sandbox-info';
|
|
15
13
|
import type { SandboxState } from './sandbox-state';
|
|
16
|
-
|
|
17
|
-
export interface Workspace {
|
|
14
|
+
export interface SandboxListItem {
|
|
18
15
|
/**
|
|
19
16
|
* The ID of the sandbox
|
|
20
17
|
*/
|
|
@@ -28,41 +25,46 @@ export interface Workspace {
|
|
|
28
25
|
*/
|
|
29
26
|
'name': string;
|
|
30
27
|
/**
|
|
31
|
-
* The
|
|
28
|
+
* The target environment for the sandbox
|
|
32
29
|
*/
|
|
33
|
-
'
|
|
30
|
+
'target': string;
|
|
34
31
|
/**
|
|
35
|
-
* The
|
|
32
|
+
* The runner ID of the sandbox
|
|
36
33
|
*/
|
|
37
|
-
'
|
|
34
|
+
'runnerId'?: string;
|
|
38
35
|
/**
|
|
39
|
-
*
|
|
36
|
+
* The class of the sandbox
|
|
37
|
+
* @deprecated
|
|
40
38
|
*/
|
|
41
|
-
'
|
|
42
|
-
[key: string]: string;
|
|
43
|
-
};
|
|
39
|
+
'sandboxClass'?: SandboxListItemSandboxClassEnum;
|
|
44
40
|
/**
|
|
45
|
-
*
|
|
41
|
+
* The state of the sandbox
|
|
46
42
|
*/
|
|
47
|
-
'
|
|
48
|
-
[key: string]: string;
|
|
49
|
-
};
|
|
43
|
+
'state'?: SandboxState;
|
|
50
44
|
/**
|
|
51
|
-
*
|
|
45
|
+
* The desired state of the sandbox
|
|
52
46
|
*/
|
|
53
|
-
'
|
|
47
|
+
'desiredState'?: SandboxDesiredState;
|
|
54
48
|
/**
|
|
55
|
-
*
|
|
49
|
+
* The snapshot used for the sandbox
|
|
56
50
|
*/
|
|
57
|
-
'
|
|
51
|
+
'snapshot'?: string;
|
|
58
52
|
/**
|
|
59
|
-
*
|
|
53
|
+
* The user associated with the project
|
|
60
54
|
*/
|
|
61
|
-
'
|
|
55
|
+
'user': string;
|
|
62
56
|
/**
|
|
63
|
-
* The
|
|
57
|
+
* The error reason of the sandbox
|
|
64
58
|
*/
|
|
65
|
-
'
|
|
59
|
+
'errorReason'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the sandbox error is recoverable.
|
|
62
|
+
*/
|
|
63
|
+
'recoverable'?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the sandbox http preview is public
|
|
66
|
+
*/
|
|
67
|
+
'public': boolean;
|
|
66
68
|
/**
|
|
67
69
|
* The CPU quota for the sandbox
|
|
68
70
|
*/
|
|
@@ -80,29 +82,15 @@ export interface Workspace {
|
|
|
80
82
|
*/
|
|
81
83
|
'disk': number;
|
|
82
84
|
/**
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
'state'?: SandboxState;
|
|
86
|
-
/**
|
|
87
|
-
* The desired state of the sandbox
|
|
88
|
-
*/
|
|
89
|
-
'desiredState'?: SandboxDesiredState;
|
|
90
|
-
/**
|
|
91
|
-
* The error reason of the sandbox
|
|
92
|
-
*/
|
|
93
|
-
'errorReason'?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Whether the sandbox error is recoverable.
|
|
85
|
+
* Labels for the sandbox
|
|
96
86
|
*/
|
|
97
|
-
'
|
|
87
|
+
'labels': {
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
};
|
|
98
90
|
/**
|
|
99
91
|
* The state of the backup
|
|
100
92
|
*/
|
|
101
|
-
'backupState'?:
|
|
102
|
-
/**
|
|
103
|
-
* The creation timestamp of the last backup
|
|
104
|
-
*/
|
|
105
|
-
'backupCreatedAt'?: string;
|
|
93
|
+
'backupState'?: SandboxListItemBackupStateEnum;
|
|
106
94
|
/**
|
|
107
95
|
* Auto-stop interval in minutes (0 means disabled)
|
|
108
96
|
*/
|
|
@@ -115,14 +103,6 @@ export interface Workspace {
|
|
|
115
103
|
* Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
116
104
|
*/
|
|
117
105
|
'autoDeleteInterval'?: number;
|
|
118
|
-
/**
|
|
119
|
-
* Array of volumes attached to the sandbox
|
|
120
|
-
*/
|
|
121
|
-
'volumes'?: Array<SandboxVolume>;
|
|
122
|
-
/**
|
|
123
|
-
* Build information for the sandbox
|
|
124
|
-
*/
|
|
125
|
-
'buildInfo'?: BuildInfo;
|
|
126
106
|
/**
|
|
127
107
|
* The creation timestamp of the sandbox
|
|
128
108
|
*/
|
|
@@ -135,57 +115,23 @@ export interface Workspace {
|
|
|
135
115
|
* The last activity timestamp of the sandbox
|
|
136
116
|
*/
|
|
137
117
|
'lastActivityAt'?: string;
|
|
138
|
-
/**
|
|
139
|
-
* The class of the sandbox
|
|
140
|
-
* @deprecated
|
|
141
|
-
*/
|
|
142
|
-
'class'?: WorkspaceClassEnum;
|
|
143
118
|
/**
|
|
144
119
|
* The version of the daemon running in the sandbox
|
|
145
120
|
*/
|
|
146
121
|
'daemonVersion'?: string;
|
|
147
|
-
/**
|
|
148
|
-
* The runner ID of the sandbox
|
|
149
|
-
*/
|
|
150
|
-
'runnerId'?: string;
|
|
151
122
|
/**
|
|
152
123
|
* The toolbox proxy URL for the sandbox
|
|
153
124
|
*/
|
|
154
125
|
'toolboxProxyUrl': string;
|
|
155
|
-
/**
|
|
156
|
-
* The image used for the workspace
|
|
157
|
-
*/
|
|
158
|
-
'image'?: string;
|
|
159
|
-
/**
|
|
160
|
-
* The state of the snapshot
|
|
161
|
-
*/
|
|
162
|
-
'snapshotState'?: WorkspaceSnapshotStateEnum;
|
|
163
|
-
/**
|
|
164
|
-
* The creation timestamp of the last snapshot
|
|
165
|
-
*/
|
|
166
|
-
'snapshotCreatedAt'?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Additional information about the sandbox
|
|
169
|
-
*/
|
|
170
|
-
'info'?: SandboxInfo;
|
|
171
126
|
}
|
|
172
|
-
export declare const
|
|
173
|
-
readonly NONE: "None";
|
|
174
|
-
readonly PENDING: "Pending";
|
|
175
|
-
readonly IN_PROGRESS: "InProgress";
|
|
176
|
-
readonly COMPLETED: "Completed";
|
|
177
|
-
readonly ERROR: "Error";
|
|
178
|
-
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
179
|
-
};
|
|
180
|
-
export type WorkspaceBackupStateEnum = typeof WorkspaceBackupStateEnum[keyof typeof WorkspaceBackupStateEnum];
|
|
181
|
-
export declare const WorkspaceClassEnum: {
|
|
127
|
+
export declare const SandboxListItemSandboxClassEnum: {
|
|
182
128
|
readonly SMALL: "small";
|
|
183
129
|
readonly MEDIUM: "medium";
|
|
184
130
|
readonly LARGE: "large";
|
|
185
131
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
186
132
|
};
|
|
187
|
-
export type
|
|
188
|
-
export declare const
|
|
133
|
+
export type SandboxListItemSandboxClassEnum = typeof SandboxListItemSandboxClassEnum[keyof typeof SandboxListItemSandboxClassEnum];
|
|
134
|
+
export declare const SandboxListItemBackupStateEnum: {
|
|
189
135
|
readonly NONE: "None";
|
|
190
136
|
readonly PENDING: "Pending";
|
|
191
137
|
readonly IN_PROGRESS: "InProgress";
|
|
@@ -193,4 +139,4 @@ export declare const WorkspaceSnapshotStateEnum: {
|
|
|
193
139
|
readonly ERROR: "Error";
|
|
194
140
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
195
141
|
};
|
|
196
|
-
export type
|
|
142
|
+
export type SandboxListItemBackupStateEnum = typeof SandboxListItemBackupStateEnum[keyof typeof SandboxListItemBackupStateEnum];
|
|
@@ -13,17 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.SandboxListItemBackupStateEnum = exports.SandboxListItemSandboxClassEnum = void 0;
|
|
17
|
+
exports.SandboxListItemSandboxClassEnum = {
|
|
18
18
|
SMALL: 'small',
|
|
19
19
|
MEDIUM: 'medium',
|
|
20
20
|
LARGE: 'large',
|
|
21
21
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
22
22
|
};
|
|
23
|
-
exports.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
exports.SandboxListItemBackupStateEnum = {
|
|
24
|
+
NONE: 'None',
|
|
25
|
+
PENDING: 'Pending',
|
|
26
|
+
IN_PROGRESS: 'InProgress',
|
|
27
|
+
COMPLETED: 'Completed',
|
|
28
|
+
ERROR: 'Error',
|
|
27
29
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
28
30
|
};
|
|
29
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=sandbox-list-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-list-item.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-list-item.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA0HU,QAAA,+BAA+B,GAAG;IAC3C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC;AAGE,QAAA,8BAA8B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export declare const SandboxListSortDirection: {
|
|
13
|
+
readonly ASC: "asc";
|
|
14
|
+
readonly DESC: "desc";
|
|
15
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
16
|
+
};
|
|
17
|
+
export type SandboxListSortDirection = typeof SandboxListSortDirection[keyof typeof SandboxListSortDirection];
|
|
@@ -13,4 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
16
|
+
exports.SandboxListSortDirection = void 0;
|
|
17
|
+
exports.SandboxListSortDirection = {
|
|
18
|
+
ASC: 'asc',
|
|
19
|
+
DESC: 'desc',
|
|
20
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=sandbox-list-sort-direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-list-sort-direction.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-list-sort-direction.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKU,QAAA,wBAAwB,GAAG;IACpC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
export declare const SandboxListSortField: {
|
|
13
|
+
readonly NAME: "name";
|
|
14
|
+
readonly CPU: "cpu";
|
|
15
|
+
readonly MEMORY_GIB: "memoryGib";
|
|
16
|
+
readonly DISK_GIB: "diskGib";
|
|
17
|
+
readonly LAST_ACTIVITY_AT: "lastActivityAt";
|
|
18
|
+
readonly CREATED_AT: "createdAt";
|
|
19
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type SandboxListSortField = typeof SandboxListSortField[keyof typeof SandboxListSortField];
|
|
@@ -0,0 +1,26 @@
|
|
|
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.SandboxListSortField = void 0;
|
|
17
|
+
exports.SandboxListSortField = {
|
|
18
|
+
NAME: 'name',
|
|
19
|
+
CPU: 'cpu',
|
|
20
|
+
MEMORY_GIB: 'memoryGib',
|
|
21
|
+
DISK_GIB: 'diskGib',
|
|
22
|
+
LAST_ACTIVITY_AT: 'lastActivityAt',
|
|
23
|
+
CREATED_AT: 'createdAt',
|
|
24
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=sandbox-list-sort-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-list-sort-field.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-list-sort-field.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKU,QAAA,oBAAoB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,WAAW;IACvB,QAAQ,EAAE,SAAS;IACnB,gBAAgB,EAAE,gBAAgB;IAClC,UAAU,EAAE,WAAW;IACvB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|