@daytonaio/api-client 0.171.0-rc.1 → 0.172.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/organizations-api.d.ts +68 -0
- package/src/api/organizations-api.js +140 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +8 -4
- package/src/api/sandbox-api.js +14 -7
- package/src/api/sandbox-api.js.map +1 -1
- package/src/models/create-sandbox.d.ts +11 -4
- package/src/models/create-sandbox.js +7 -0
- package/src/models/create-sandbox.js.map +1 -1
- package/src/models/create-snapshot.d.ts +0 -5
- package/src/models/create-workspace.d.ts +11 -0
- package/src/models/create-workspace.js +7 -1
- package/src/models/create-workspace.js.map +1 -1
- package/src/models/daytona-configuration.d.ts +0 -4
- package/src/models/organization.d.ts +5 -0
- package/src/models/runner-full.d.ts +2 -2
- package/src/models/runner.d.ts +2 -2
- package/src/models/sandbox-class.d.ts +4 -4
- package/src/models/sandbox-class.js +4 -4
- package/src/models/sandbox-class.js.map +1 -1
- package/src/models/sandbox.d.ts +7 -14
- package/src/models/sandbox.js +5 -5
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +0 -4
- package/src/models/workspace.d.ts +7 -14
- package/src/models/workspace.js +5 -5
- package/src/models/workspace.js.map +1 -1
package/src/models/runner.d.ts
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The class of the runner
|
|
14
14
|
*/
|
|
15
15
|
export declare const SandboxClass: {
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
16
|
+
readonly SMALL: "small";
|
|
17
|
+
readonly MEDIUM: "medium";
|
|
18
|
+
readonly LARGE: "large";
|
|
19
19
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
20
20
|
};
|
|
21
21
|
export type SandboxClass = typeof SandboxClass[keyof typeof SandboxClass];
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SandboxClass = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* The
|
|
18
|
+
* The class of the runner
|
|
19
19
|
*/
|
|
20
20
|
exports.SandboxClass = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
SMALL: 'small',
|
|
22
|
+
MEDIUM: 'medium',
|
|
23
|
+
LARGE: 'large',
|
|
24
24
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=sandbox-class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-class.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-class.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,YAAY,GAAG;IACxB,
|
|
1
|
+
{"version":3,"file":"sandbox-class.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-class.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,YAAY,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -136,12 +136,9 @@ export interface Sandbox {
|
|
|
136
136
|
'lastActivityAt'?: string;
|
|
137
137
|
/**
|
|
138
138
|
* The class of the sandbox
|
|
139
|
+
* @deprecated
|
|
139
140
|
*/
|
|
140
|
-
'
|
|
141
|
-
/**
|
|
142
|
-
* Whether the sandbox is an android-device sandbox (inherited from the source snapshot at creation time)
|
|
143
|
-
*/
|
|
144
|
-
'androidDevice'?: boolean;
|
|
141
|
+
'class'?: SandboxClassEnum;
|
|
145
142
|
/**
|
|
146
143
|
* The version of the daemon running in the sandbox
|
|
147
144
|
*/
|
|
@@ -150,10 +147,6 @@ export interface Sandbox {
|
|
|
150
147
|
* The runner ID of the sandbox
|
|
151
148
|
*/
|
|
152
149
|
'runnerId'?: string;
|
|
153
|
-
/**
|
|
154
|
-
* ID of the sandbox this sandbox is linked to. When set, the sandbox is co-located on the same runner as the linked sandbox.
|
|
155
|
-
*/
|
|
156
|
-
'linkedSandboxId'?: string;
|
|
157
150
|
/**
|
|
158
151
|
* The toolbox proxy URL for the sandbox
|
|
159
152
|
*/
|
|
@@ -168,10 +161,10 @@ export declare const SandboxBackupStateEnum: {
|
|
|
168
161
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
169
162
|
};
|
|
170
163
|
export type SandboxBackupStateEnum = typeof SandboxBackupStateEnum[keyof typeof SandboxBackupStateEnum];
|
|
171
|
-
export declare const
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
164
|
+
export declare const SandboxClassEnum: {
|
|
165
|
+
readonly SMALL: "small";
|
|
166
|
+
readonly MEDIUM: "medium";
|
|
167
|
+
readonly LARGE: "large";
|
|
175
168
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
176
169
|
};
|
|
177
|
-
export type
|
|
170
|
+
export type SandboxClassEnum = typeof SandboxClassEnum[keyof typeof SandboxClassEnum];
|
package/src/models/sandbox.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.SandboxClassEnum = exports.SandboxBackupStateEnum = void 0;
|
|
17
17
|
exports.SandboxBackupStateEnum = {
|
|
18
18
|
NONE: 'None',
|
|
19
19
|
PENDING: 'Pending',
|
|
@@ -22,10 +22,10 @@ exports.SandboxBackupStateEnum = {
|
|
|
22
22
|
ERROR: 'Error',
|
|
23
23
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
24
24
|
};
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
exports.SandboxClassEnum = {
|
|
26
|
+
SMALL: 'small',
|
|
27
|
+
MEDIUM: 'medium',
|
|
28
|
+
LARGE: 'large',
|
|
29
29
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=sandbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwJU,QAAA,sBAAsB,GAAG;IAClC,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;AAGE,QAAA,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -44,8 +44,4 @@ export interface SnapshotDto {
|
|
|
44
44
|
* The snapshot reference
|
|
45
45
|
*/
|
|
46
46
|
'ref'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Whether the snapshot is an android-device image. Sandboxes created from it inherit the flag and are provisioned via the android-device container flow on the runner.
|
|
49
|
-
*/
|
|
50
|
-
'androidDevice'?: boolean;
|
|
51
47
|
}
|
|
@@ -137,12 +137,9 @@ export interface Workspace {
|
|
|
137
137
|
'lastActivityAt'?: string;
|
|
138
138
|
/**
|
|
139
139
|
* The class of the sandbox
|
|
140
|
+
* @deprecated
|
|
140
141
|
*/
|
|
141
|
-
'
|
|
142
|
-
/**
|
|
143
|
-
* Whether the sandbox is an android-device sandbox (inherited from the source snapshot at creation time)
|
|
144
|
-
*/
|
|
145
|
-
'androidDevice'?: boolean;
|
|
142
|
+
'class'?: WorkspaceClassEnum;
|
|
146
143
|
/**
|
|
147
144
|
* The version of the daemon running in the sandbox
|
|
148
145
|
*/
|
|
@@ -151,10 +148,6 @@ export interface Workspace {
|
|
|
151
148
|
* The runner ID of the sandbox
|
|
152
149
|
*/
|
|
153
150
|
'runnerId'?: string;
|
|
154
|
-
/**
|
|
155
|
-
* ID of the sandbox this sandbox is linked to. When set, the sandbox is co-located on the same runner as the linked sandbox.
|
|
156
|
-
*/
|
|
157
|
-
'linkedSandboxId'?: string;
|
|
158
151
|
/**
|
|
159
152
|
* The toolbox proxy URL for the sandbox
|
|
160
153
|
*/
|
|
@@ -185,13 +178,13 @@ export declare const WorkspaceBackupStateEnum: {
|
|
|
185
178
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
186
179
|
};
|
|
187
180
|
export type WorkspaceBackupStateEnum = typeof WorkspaceBackupStateEnum[keyof typeof WorkspaceBackupStateEnum];
|
|
188
|
-
export declare const
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly
|
|
181
|
+
export declare const WorkspaceClassEnum: {
|
|
182
|
+
readonly SMALL: "small";
|
|
183
|
+
readonly MEDIUM: "medium";
|
|
184
|
+
readonly LARGE: "large";
|
|
192
185
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
193
186
|
};
|
|
194
|
-
export type
|
|
187
|
+
export type WorkspaceClassEnum = typeof WorkspaceClassEnum[keyof typeof WorkspaceClassEnum];
|
|
195
188
|
export declare const WorkspaceSnapshotStateEnum: {
|
|
196
189
|
readonly NONE: "None";
|
|
197
190
|
readonly PENDING: "Pending";
|
package/src/models/workspace.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WorkspaceSnapshotStateEnum = exports.
|
|
16
|
+
exports.WorkspaceSnapshotStateEnum = exports.WorkspaceClassEnum = exports.WorkspaceBackupStateEnum = void 0;
|
|
17
17
|
exports.WorkspaceBackupStateEnum = {
|
|
18
18
|
NONE: 'None',
|
|
19
19
|
PENDING: 'Pending',
|
|
@@ -22,10 +22,10 @@ exports.WorkspaceBackupStateEnum = {
|
|
|
22
22
|
ERROR: 'Error',
|
|
23
23
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
24
24
|
};
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
exports.WorkspaceClassEnum = {
|
|
26
|
+
SMALL: 'small',
|
|
27
|
+
MEDIUM: 'medium',
|
|
28
|
+
LARGE: 'large',
|
|
29
29
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
30
30
|
};
|
|
31
31
|
exports.WorkspaceSnapshotStateEnum = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2KU,QAAA,wBAAwB,GAAG;IACpC,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;AAGE,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC;AAGE,QAAA,0BAA0B,GAAG;IACtC,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"}
|