@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.
@@ -50,9 +50,9 @@ export interface Runner {
50
50
  */
51
51
  'gpuType'?: string;
52
52
  /**
53
- * The sandbox class supported by this runner
53
+ * The class of the runner
54
54
  */
55
- 'sandboxClass': SandboxClass;
55
+ 'class': SandboxClass;
56
56
  /**
57
57
  * Current CPU usage percentage
58
58
  */
@@ -10,12 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * The sandbox class supported by this runner
13
+ * The class of the runner
14
14
  */
15
15
  export declare const SandboxClass: {
16
- readonly LINUX_VM: "linux-vm";
17
- readonly ANDROID: "android";
18
- readonly CONTAINER: "container";
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 sandbox class supported by this runner
18
+ * The class of the runner
19
19
  */
20
20
  exports.SandboxClass = {
21
- LINUX_VM: 'linux-vm',
22
- ANDROID: 'android',
23
- CONTAINER: 'container',
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,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
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"}
@@ -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
- 'sandboxClass'?: SandboxSandboxClassEnum;
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 SandboxSandboxClassEnum: {
172
- readonly LINUX_VM: "linux-vm";
173
- readonly ANDROID: "android";
174
- readonly CONTAINER: "container";
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 SandboxSandboxClassEnum = typeof SandboxSandboxClassEnum[keyof typeof SandboxSandboxClassEnum];
170
+ export type SandboxClassEnum = typeof SandboxClassEnum[keyof typeof SandboxClassEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SandboxSandboxClassEnum = exports.SandboxBackupStateEnum = void 0;
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.SandboxSandboxClassEnum = {
26
- LINUX_VM: 'linux-vm',
27
- ANDROID: 'android',
28
- CONTAINER: 'container',
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;;;AA+JU,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,uBAAuB,GAAG;IACnC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
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
- 'sandboxClass'?: WorkspaceSandboxClassEnum;
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 WorkspaceSandboxClassEnum: {
189
- readonly LINUX_VM: "linux-vm";
190
- readonly ANDROID: "android";
191
- readonly CONTAINER: "container";
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 WorkspaceSandboxClassEnum = typeof WorkspaceSandboxClassEnum[keyof typeof WorkspaceSandboxClassEnum];
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";
@@ -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.WorkspaceSandboxClassEnum = exports.WorkspaceBackupStateEnum = void 0;
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.WorkspaceSandboxClassEnum = {
26
- LINUX_VM: 'linux-vm',
27
- ANDROID: 'android',
28
- CONTAINER: 'container',
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;;;AAkLU,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,yBAAyB,GAAG;IACrC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,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"}
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"}