@daytonaio/api-client 0.184.0-alpha.1 → 0.184.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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/api/admin-api.d.ts +164 -0
  3. package/src/api/admin-api.js +324 -0
  4. package/src/api/admin-api.js.map +1 -1
  5. package/src/api/sandbox-api.d.ts +9 -4
  6. package/src/api/sandbox-api.js +14 -7
  7. package/src/api/sandbox-api.js.map +1 -1
  8. package/src/models/create-organization-region-quota.d.ts +28 -0
  9. package/src/models/create-organization-region-quota.js +16 -0
  10. package/src/models/create-organization-region-quota.js.map +1 -0
  11. package/src/models/create-sandbox.d.ts +9 -11
  12. package/src/models/create-sandbox.js +0 -7
  13. package/src/models/create-sandbox.js.map +1 -1
  14. package/src/models/create-snapshot.d.ts +10 -0
  15. package/src/models/gpu-type.d.ts +17 -0
  16. package/src/models/gpu-type.js +22 -0
  17. package/src/models/gpu-type.js.map +1 -0
  18. package/src/models/index.d.ts +2 -0
  19. package/src/models/index.js +2 -0
  20. package/src/models/index.js.map +1 -1
  21. package/src/models/region-quota.d.ts +4 -0
  22. package/src/models/region-usage-overview.d.ts +4 -0
  23. package/src/models/runner-full.d.ts +2 -2
  24. package/src/models/runner.d.ts +2 -2
  25. package/src/models/sandbox-class.d.ts +4 -6
  26. package/src/models/sandbox-class.js +4 -6
  27. package/src/models/sandbox-class.js.map +1 -1
  28. package/src/models/sandbox-list-item.d.ts +9 -3
  29. package/src/models/sandbox-list-item.js +4 -3
  30. package/src/models/sandbox-list-item.js.map +1 -1
  31. package/src/models/sandbox.d.ts +16 -7
  32. package/src/models/sandbox.js +6 -5
  33. package/src/models/sandbox.js.map +1 -1
  34. package/src/models/snapshot-dto.d.ts +17 -0
  35. package/src/models/snapshot-dto.js +8 -0
  36. package/src/models/snapshot-dto.js.map +1 -1
  37. package/src/models/update-organization-region-quota.d.ts +4 -0
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { CreateBuildInfo } from './create-build-info';
13
+ import type { GpuType } from './gpu-type';
14
+ import type { SandboxClass } from './sandbox-class';
13
15
  export interface CreateSnapshot {
14
16
  /**
15
17
  * The name of the snapshot
@@ -31,6 +33,10 @@ export interface CreateSnapshot {
31
33
  * GPU units allocated to the resulting sandbox
32
34
  */
33
35
  'gpu'?: number;
36
+ /**
37
+ * Preferred GPU type for the resulting sandbox.
38
+ */
39
+ 'gpuType'?: Array<GpuType>;
34
40
  /**
35
41
  * Memory allocated to the resulting sandbox in GB
36
42
  */
@@ -47,4 +53,8 @@ export interface CreateSnapshot {
47
53
  * ID of the region where the snapshot will be available. Defaults to organization default region if not specified.
48
54
  */
49
55
  'regionId'?: string;
56
+ /**
57
+ * Target sandbox class. Determines which runners can host sandboxes created from this snapshot.
58
+ */
59
+ 'sandboxClass'?: SandboxClass;
50
60
  }
@@ -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 GpuType: {
13
+ readonly H100: "H100";
14
+ readonly RTX_PRO_6000: "RTX-PRO-6000";
15
+ readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
16
+ };
17
+ export type GpuType = typeof GpuType[keyof typeof GpuType];
@@ -0,0 +1,22 @@
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.GpuType = void 0;
17
+ exports.GpuType = {
18
+ H100: 'H100',
19
+ RTX_PRO_6000: 'RTX-PRO-6000',
20
+ UNKNOWN_DEFAULT_OPEN_API: '11184809',
21
+ };
22
+ //# sourceMappingURL=gpu-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gpu-type.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/gpu-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKU,QAAA,OAAO,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
@@ -21,6 +21,7 @@ export * from './create-linked-account';
21
21
  export * from './create-organization';
22
22
  export * from './create-organization-invitation';
23
23
  export * from './create-organization-quota';
24
+ export * from './create-organization-region-quota';
24
25
  export * from './create-organization-role';
25
26
  export * from './create-region';
26
27
  export * from './create-region-response';
@@ -51,6 +52,7 @@ export * from './git-commit-response';
51
52
  export * from './git-delete-branch-request';
52
53
  export * from './git-repo-request';
53
54
  export * from './git-status';
55
+ export * from './gpu-type';
54
56
  export * from './health-controller-check200-response';
55
57
  export * from './health-controller-check200-response-info-value';
56
58
  export * from './health-controller-check503-response';
@@ -37,6 +37,7 @@ __exportStar(require("./create-linked-account"), exports);
37
37
  __exportStar(require("./create-organization"), exports);
38
38
  __exportStar(require("./create-organization-invitation"), exports);
39
39
  __exportStar(require("./create-organization-quota"), exports);
40
+ __exportStar(require("./create-organization-region-quota"), exports);
40
41
  __exportStar(require("./create-organization-role"), exports);
41
42
  __exportStar(require("./create-region"), exports);
42
43
  __exportStar(require("./create-region-response"), exports);
@@ -67,6 +68,7 @@ __exportStar(require("./git-commit-response"), exports);
67
68
  __exportStar(require("./git-delete-branch-request"), exports);
68
69
  __exportStar(require("./git-repo-request"), exports);
69
70
  __exportStar(require("./git-status"), exports);
71
+ __exportStar(require("./gpu-type"), exports);
70
72
  __exportStar(require("./health-controller-check200-response"), exports);
71
73
  __exportStar(require("./health-controller-check200-response-info-value"), exports);
72
74
  __exportStar(require("./health-controller-check503-response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,yEAAuD;AACvD,iDAA+B;AAC/B,iDAA+B;AAC/B,qDAAmC;AACnC,8CAA4B;AAC5B,+CAA6B;AAC7B,4CAA0B;AAC1B,uDAAqC;AACrC,oDAAkC;AAClC,oDAAkC;AAClC,mEAAiD;AACjD,gEAA8C;AAC9C,iEAA+C;AAC/C,+DAA6C;AAC7C,mDAAiC;AACjC,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,mEAAiD;AACjD,8DAA4C;AAC5C,6DAA2C;AAC3C,kDAAgC;AAChC,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,0DAAwC;AACxC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,uDAAqC;AACrC,yDAAuC;AACvC,sDAAoC;AACpC,oDAAkC;AAClC,uDAAqC;AACrC,wDAAsC;AACtC,8DAA4C;AAC5C,qDAAmC;AACnC,+CAA6B;AAC7B,wEAAsD;AACtD,mFAAiE;AACjE,wEAAsD;AACtD,wCAAsB;AACtB,+CAA6B;AAC7B,6CAA2B;AAC3B,4DAA0C;AAC1C,2DAAyC;AACzC,0DAAwC;AACxC,yDAAuC;AACvC,4DAA0C;AAC1C,8CAA4B;AAC5B,0DAAwC;AACxC,yDAAuC;AACvC,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DAA+B;AAC/B,iEAA+C;AAC/C,mDAAiC;AACjC,mDAAiC;AACjC,8DAA4C;AAC5C,uDAAqC;AACrC,sDAAoC;AACpC,+CAA6B;AAC7B,kDAAgC;AAChC,2DAAyC;AACzC,sDAAoC;AACpC,uEAAqD;AACrD,mEAAiD;AACjD,sEAAoD;AACpD,8DAA4C;AAC5C,qEAAmD;AACnD,6DAA2C;AAC3C,kDAAgC;AAChC,oEAAkD;AAClD,6DAA2C;AAC3C,wCAAsB;AACtB,yCAAuB;AACvB,2DAAyC;AACzC,oDAAkC;AAClC,+CAA6B;AAC7B,iDAA+B;AAC/B,8DAA4C;AAC5C,kDAAgC;AAChC,kEAAgD;AAChD,qDAAmC;AACnC,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,yEAAuD;AACvD,iDAA+B;AAC/B,iDAA+B;AAC/B,qDAAmC;AACnC,8CAA4B;AAC5B,+CAA6B;AAC7B,4CAA0B;AAC1B,uDAAqC;AACrC,oDAAkC;AAClC,oDAAkC;AAClC,mEAAiD;AACjD,gEAA8C;AAC9C,iEAA+C;AAC/C,+DAA6C;AAC7C,mDAAiC;AACjC,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,mEAAiD;AACjD,8DAA4C;AAC5C,qEAAmD;AACnD,6DAA2C;AAC3C,kDAAgC;AAChC,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,0DAAwC;AACxC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,uDAAqC;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/B,gDAA8B;AAC9B,0DAAwC;AACxC,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC;AACtC,iDAA+B;AAC/B,4CAA0B;AAC1B,kDAAgC;AAChC,0DAAwC;AACxC,mDAAiC;AACjC,sDAAoC;AACpC,gEAA8C;AAC9C,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,0DAAwC;AACxC,qDAAmC;AACnC,4CAA0B;AAC1B,4DAA0C;AAC1C,6DAA2C;AAC3C,oEAAkD;AAClD,4DAA0C;AAC1C,iDAA+B;AAC/B,iEAA+C;AAC/C,mDAAiC;AACjC,mDAAiC;AACjC,8DAA4C;AAC5C,uDAAqC;AACrC,sDAAoC;AACpC,+CAA6B;AAC7B,kDAAgC;AAChC,2DAAyC;AACzC,sDAAoC;AACpC,uEAAqD;AACrD,mEAAiD;AACjD,sEAAoD;AACpD,8DAA4C;AAC5C,qEAAmD;AACnD,6DAA2C;AAC3C,kDAAgC;AAChC,oEAAkD;AAClD,6DAA2C;AAC3C,wCAAsB;AACtB,yCAAuB;AACvB,2DAAyC;AACzC,oDAAkC;AAClC,+CAA6B;AAC7B,iDAA+B;AAC/B,8DAA4C;AAC5C,kDAAgC;AAChC,kEAAgD;AAChD,qDAAmC;AACnC,sDAAoC"}
@@ -9,13 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GpuType } from './gpu-type';
13
+ import type { SandboxClass } from './sandbox-class';
12
14
  export interface RegionQuota {
13
15
  'organizationId': string;
14
16
  'regionId': string;
17
+ 'sandboxClass': SandboxClass;
15
18
  'totalCpuQuota': number;
16
19
  'totalMemoryQuota': number;
17
20
  'totalDiskQuota': number;
18
21
  'totalGpuQuota': number;
22
+ 'allowedGpuTypes'?: Array<GpuType>;
19
23
  'maxCpuPerSandbox': number | null;
20
24
  'maxMemoryPerSandbox': number | null;
21
25
  'maxDiskPerSandbox': number | null;
@@ -9,8 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GpuType } from './gpu-type';
13
+ import type { SandboxClass } from './sandbox-class';
12
14
  export interface RegionUsageOverview {
13
15
  'regionId': string;
16
+ 'sandboxClass': SandboxClass;
14
17
  'totalCpuQuota': number;
15
18
  'currentCpuUsage': number;
16
19
  'totalMemoryQuota': number;
@@ -19,6 +22,7 @@ export interface RegionUsageOverview {
19
22
  'currentDiskUsage': number;
20
23
  'totalGpuQuota': number;
21
24
  'currentGpuUsage': number;
25
+ 'allowedGpuTypes'?: Array<GpuType>;
22
26
  'maxCpuPerSandbox': number | null;
23
27
  'maxMemoryPerSandbox': number | null;
24
28
  'maxDiskPerSandbox': number | null;
@@ -51,9 +51,9 @@ export interface RunnerFull {
51
51
  */
52
52
  'gpuType'?: string;
53
53
  /**
54
- * The class of the runner
54
+ * The sandbox class supported by this runner
55
55
  */
56
- 'class': SandboxClass;
56
+ 'sandboxClass'?: SandboxClass;
57
57
  /**
58
58
  * Current CPU usage percentage
59
59
  */
@@ -50,9 +50,9 @@ export interface Runner {
50
50
  */
51
51
  'gpuType'?: string;
52
52
  /**
53
- * The class of the runner
53
+ * The sandbox class supported by this runner
54
54
  */
55
- 'class': SandboxClass;
55
+ 'sandboxClass'?: SandboxClass;
56
56
  /**
57
57
  * Current CPU usage percentage
58
58
  */
@@ -9,13 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- * The class of the runner
14
- */
15
12
  export declare const SandboxClass: {
16
- readonly SMALL: "small";
17
- readonly MEDIUM: "medium";
18
- readonly LARGE: "large";
13
+ readonly LINUX_VM: "linux-vm";
14
+ readonly CONTAINER: "container";
15
+ readonly ANDROID: "android";
16
+ readonly WINDOWS: "windows";
19
17
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
20
18
  };
21
19
  export type SandboxClass = typeof SandboxClass[keyof typeof SandboxClass];
@@ -14,13 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SandboxClass = void 0;
17
- /**
18
- * The class of the runner
19
- */
20
17
  exports.SandboxClass = {
21
- SMALL: 'small',
22
- MEDIUM: 'medium',
23
- LARGE: 'large',
18
+ LINUX_VM: 'linux-vm',
19
+ CONTAINER: 'container',
20
+ ANDROID: 'android',
21
+ WINDOWS: 'windows',
24
22
  UNKNOWN_DEFAULT_OPEN_API: '11184809',
25
23
  };
26
24
  //# 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,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,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;;;AAKU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GpuType } from './gpu-type';
12
13
  import type { SandboxDesiredState } from './sandbox-desired-state';
13
14
  import type { SandboxState } from './sandbox-state';
14
15
  export interface SandboxListItem {
@@ -73,6 +74,10 @@ export interface SandboxListItem {
73
74
  * The GPU quota for the sandbox
74
75
  */
75
76
  'gpu': number;
77
+ /**
78
+ * The GPU type assigned to the sandbox
79
+ */
80
+ 'gpuType'?: GpuType;
76
81
  /**
77
82
  * The memory quota for the sandbox
78
83
  */
@@ -125,9 +130,10 @@ export interface SandboxListItem {
125
130
  'toolboxProxyUrl': string;
126
131
  }
127
132
  export declare const SandboxListItemSandboxClassEnum: {
128
- readonly SMALL: "small";
129
- readonly MEDIUM: "medium";
130
- readonly LARGE: "large";
133
+ readonly LINUX_VM: "linux-vm";
134
+ readonly CONTAINER: "container";
135
+ readonly ANDROID: "android";
136
+ readonly WINDOWS: "windows";
131
137
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
132
138
  };
133
139
  export type SandboxListItemSandboxClassEnum = typeof SandboxListItemSandboxClassEnum[keyof typeof SandboxListItemSandboxClassEnum];
@@ -15,9 +15,10 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SandboxListItemBackupStateEnum = exports.SandboxListItemSandboxClassEnum = void 0;
17
17
  exports.SandboxListItemSandboxClassEnum = {
18
- SMALL: 'small',
19
- MEDIUM: 'medium',
20
- LARGE: 'large',
18
+ LINUX_VM: 'linux-vm',
19
+ CONTAINER: 'container',
20
+ ANDROID: 'android',
21
+ WINDOWS: 'windows',
21
22
  UNKNOWN_DEFAULT_OPEN_API: '11184809',
22
23
  };
23
24
  exports.SandboxListItemBackupStateEnum = {
@@ -1 +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"}
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;;;AAiIU,QAAA,+BAA+B,GAAG;IAC3C,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,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"}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { BuildInfo } from './build-info';
13
+ import type { GpuType } from './gpu-type';
13
14
  import type { SandboxDesiredState } from './sandbox-desired-state';
14
15
  import type { SandboxState } from './sandbox-state';
15
16
  import type { SandboxVolume } from './sandbox-volume';
@@ -70,6 +71,10 @@ export interface Sandbox {
70
71
  * The GPU quota for the sandbox
71
72
  */
72
73
  'gpu': number;
74
+ /**
75
+ * The GPU type assigned to the sandbox
76
+ */
77
+ 'gpuType'?: GpuType;
73
78
  /**
74
79
  * The memory quota for the sandbox
75
80
  */
@@ -136,9 +141,8 @@ export interface Sandbox {
136
141
  'lastActivityAt'?: string;
137
142
  /**
138
143
  * The class of the sandbox
139
- * @deprecated
140
144
  */
141
- 'class'?: SandboxClassEnum;
145
+ 'sandboxClass'?: SandboxSandboxClassEnum;
142
146
  /**
143
147
  * The version of the daemon running in the sandbox
144
148
  */
@@ -147,6 +151,10 @@ export interface Sandbox {
147
151
  * The runner ID of the sandbox
148
152
  */
149
153
  '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;
150
158
  /**
151
159
  * The toolbox proxy URL for the sandbox
152
160
  */
@@ -161,10 +169,11 @@ export declare const SandboxBackupStateEnum: {
161
169
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
162
170
  };
163
171
  export type SandboxBackupStateEnum = typeof SandboxBackupStateEnum[keyof typeof SandboxBackupStateEnum];
164
- export declare const SandboxClassEnum: {
165
- readonly SMALL: "small";
166
- readonly MEDIUM: "medium";
167
- readonly LARGE: "large";
172
+ export declare const SandboxSandboxClassEnum: {
173
+ readonly LINUX_VM: "linux-vm";
174
+ readonly CONTAINER: "container";
175
+ readonly ANDROID: "android";
176
+ readonly WINDOWS: "windows";
168
177
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
169
178
  };
170
- export type SandboxClassEnum = typeof SandboxClassEnum[keyof typeof SandboxClassEnum];
179
+ export type SandboxSandboxClassEnum = typeof SandboxSandboxClassEnum[keyof typeof SandboxSandboxClassEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SandboxClassEnum = exports.SandboxBackupStateEnum = void 0;
16
+ exports.SandboxSandboxClassEnum = exports.SandboxBackupStateEnum = void 0;
17
17
  exports.SandboxBackupStateEnum = {
18
18
  NONE: 'None',
19
19
  PENDING: 'Pending',
@@ -22,10 +22,11 @@ exports.SandboxBackupStateEnum = {
22
22
  ERROR: 'Error',
23
23
  UNKNOWN_DEFAULT_OPEN_API: '11184809',
24
24
  };
25
- exports.SandboxClassEnum = {
26
- SMALL: 'small',
27
- MEDIUM: 'medium',
28
- LARGE: 'large',
25
+ exports.SandboxSandboxClassEnum = {
26
+ LINUX_VM: 'linux-vm',
27
+ CONTAINER: 'container',
28
+ ANDROID: 'android',
29
+ WINDOWS: 'windows',
29
30
  UNKNOWN_DEFAULT_OPEN_API: '11184809',
30
31
  };
31
32
  //# 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;;;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"}
1
+ {"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAkKU,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,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { BuildInfo } from './build-info';
13
+ import type { GpuType } from './gpu-type';
13
14
  import type { SnapshotState } from './snapshot-state';
14
15
  export interface SnapshotDto {
15
16
  'id': string;
@@ -22,6 +23,10 @@ export interface SnapshotDto {
22
23
  'entrypoint': Array<string> | null;
23
24
  'cpu': number;
24
25
  'gpu': number;
26
+ /**
27
+ * The GPU type assigned to the snapshot
28
+ */
29
+ 'gpuType'?: GpuType;
25
30
  'mem': number;
26
31
  'disk': number;
27
32
  'errorReason': string | null;
@@ -44,4 +49,16 @@ export interface SnapshotDto {
44
49
  * The snapshot reference
45
50
  */
46
51
  'ref'?: string;
52
+ /**
53
+ * The sandbox class of the snapshot
54
+ */
55
+ 'sandboxClass'?: SnapshotDtoSandboxClassEnum;
47
56
  }
57
+ export declare const SnapshotDtoSandboxClassEnum: {
58
+ readonly LINUX_VM: "linux-vm";
59
+ readonly CONTAINER: "container";
60
+ readonly ANDROID: "android";
61
+ readonly WINDOWS: "windows";
62
+ readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
63
+ };
64
+ export type SnapshotDtoSandboxClassEnum = typeof SnapshotDtoSandboxClassEnum[keyof typeof SnapshotDtoSandboxClassEnum];
@@ -13,4 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SnapshotDtoSandboxClassEnum = void 0;
17
+ exports.SnapshotDtoSandboxClassEnum = {
18
+ LINUX_VM: 'linux-vm',
19
+ CONTAINER: 'container',
20
+ ANDROID: 'android',
21
+ WINDOWS: 'windows',
22
+ UNKNOWN_DEFAULT_OPEN_API: '11184809',
23
+ };
16
24
  //# sourceMappingURL=snapshot-dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/snapshot-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
1
+ {"version":3,"file":"snapshot-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/snapshot-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwDU,QAAA,2BAA2B,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
@@ -9,11 +9,15 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GpuType } from './gpu-type';
13
+ import type { SandboxClass } from './sandbox-class';
12
14
  export interface UpdateOrganizationRegionQuota {
15
+ 'sandboxClass'?: SandboxClass;
13
16
  'totalCpuQuota': number | null;
14
17
  'totalMemoryQuota': number | null;
15
18
  'totalDiskQuota': number | null;
16
19
  'totalGpuQuota': number | null;
20
+ 'allowedGpuTypes'?: Array<GpuType> | null;
17
21
  'maxCpuPerSandbox'?: number | null;
18
22
  'maxMemoryPerSandbox'?: number | null;
19
23
  'maxDiskPerSandbox'?: number | null;