@daytonaio/api-client 0.183.0 → 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.
- package/package.json +1 -1
- package/src/models/create-organization-region-quota.d.ts +2 -0
- package/src/models/create-sandbox.d.ts +5 -0
- package/src/models/create-snapshot.d.ts +5 -0
- package/src/models/gpu-type.d.ts +17 -0
- package/src/models/gpu-type.js +22 -0
- package/src/models/gpu-type.js.map +1 -0
- package/src/models/index.d.ts +1 -0
- package/src/models/index.js +1 -0
- package/src/models/index.js.map +1 -1
- package/src/models/region-quota.d.ts +2 -0
- package/src/models/region-usage-overview.d.ts +2 -0
- package/src/models/sandbox-class.d.ts +1 -0
- package/src/models/sandbox-class.js +1 -0
- package/src/models/sandbox-class.js.map +1 -1
- package/src/models/sandbox-list-item.d.ts +6 -0
- package/src/models/sandbox-list-item.js +1 -0
- package/src/models/sandbox-list-item.js.map +1 -1
- package/src/models/sandbox.d.ts +6 -0
- package/src/models/sandbox.js +1 -0
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +6 -0
- package/src/models/snapshot-dto.js +1 -0
- package/src/models/snapshot-dto.js.map +1 -1
- package/src/models/update-organization-region-quota.d.ts +2 -0
package/package.json
CHANGED
|
@@ -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 { SandboxClass } from './sandbox-class';
|
|
13
14
|
export interface CreateOrganizationRegionQuota {
|
|
14
15
|
'sandboxClass': SandboxClass;
|
|
@@ -16,6 +17,7 @@ export interface CreateOrganizationRegionQuota {
|
|
|
16
17
|
'totalMemoryQuota': number;
|
|
17
18
|
'totalDiskQuota': number;
|
|
18
19
|
'totalGpuQuota': number;
|
|
20
|
+
'allowedGpuTypes'?: Array<GpuType> | null;
|
|
19
21
|
'maxCpuPerSandbox'?: number | null;
|
|
20
22
|
'maxMemoryPerSandbox'?: number | null;
|
|
21
23
|
'maxDiskPerSandbox'?: number | null;
|
|
@@ -10,6 +10,7 @@
|
|
|
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';
|
|
13
14
|
import type { SandboxVolume } from './sandbox-volume';
|
|
14
15
|
export interface CreateSandbox {
|
|
15
16
|
/**
|
|
@@ -60,6 +61,10 @@ export interface CreateSandbox {
|
|
|
60
61
|
* GPU units allocated to the sandbox
|
|
61
62
|
*/
|
|
62
63
|
'gpu'?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Preferred GPU type for the sandbox. Accepts a single value or an ordered preference list — the scheduler tries each in order and pins the sandbox to the first that has capacity.
|
|
66
|
+
*/
|
|
67
|
+
'gpuType'?: Array<GpuType>;
|
|
63
68
|
/**
|
|
64
69
|
* Memory allocated to the sandbox in GB
|
|
65
70
|
*/
|
|
@@ -10,6 +10,7 @@
|
|
|
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';
|
|
13
14
|
import type { SandboxClass } from './sandbox-class';
|
|
14
15
|
export interface CreateSnapshot {
|
|
15
16
|
/**
|
|
@@ -32,6 +33,10 @@ export interface CreateSnapshot {
|
|
|
32
33
|
* GPU units allocated to the resulting sandbox
|
|
33
34
|
*/
|
|
34
35
|
'gpu'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Preferred GPU type for the resulting sandbox.
|
|
38
|
+
*/
|
|
39
|
+
'gpuType'?: Array<GpuType>;
|
|
35
40
|
/**
|
|
36
41
|
* Memory allocated to the resulting sandbox in GB
|
|
37
42
|
*/
|
|
@@ -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"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export * from './git-commit-response';
|
|
|
52
52
|
export * from './git-delete-branch-request';
|
|
53
53
|
export * from './git-repo-request';
|
|
54
54
|
export * from './git-status';
|
|
55
|
+
export * from './gpu-type';
|
|
55
56
|
export * from './health-controller-check200-response';
|
|
56
57
|
export * from './health-controller-check200-response-info-value';
|
|
57
58
|
export * from './health-controller-check503-response';
|
package/src/models/index.js
CHANGED
|
@@ -68,6 +68,7 @@ __exportStar(require("./git-commit-response"), exports);
|
|
|
68
68
|
__exportStar(require("./git-delete-branch-request"), exports);
|
|
69
69
|
__exportStar(require("./git-repo-request"), exports);
|
|
70
70
|
__exportStar(require("./git-status"), exports);
|
|
71
|
+
__exportStar(require("./gpu-type"), exports);
|
|
71
72
|
__exportStar(require("./health-controller-check200-response"), exports);
|
|
72
73
|
__exportStar(require("./health-controller-check200-response-info-value"), exports);
|
|
73
74
|
__exportStar(require("./health-controller-check503-response"), exports);
|
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,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;AACh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AAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,0CAAwB;AACxB,sDAAoC;AACpC,qDAAmC;AACnC,gEAA8C;AAC9C,2CAAyB;AACzB,iDAA+B;AAC/B,+DAA6C;AAC7C,gDAA8B;AAC9B,0DAAwC;AACxC,6DAA2C;AAC3C,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,iDAA+B;AAC/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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,yEAAuD;AACvD,iD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AAgC;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,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 { SandboxClass } from './sandbox-class';
|
|
13
14
|
export interface RegionQuota {
|
|
14
15
|
'organizationId': string;
|
|
@@ -18,6 +19,7 @@ export interface RegionQuota {
|
|
|
18
19
|
'totalMemoryQuota': number;
|
|
19
20
|
'totalDiskQuota': number;
|
|
20
21
|
'totalGpuQuota': number;
|
|
22
|
+
'allowedGpuTypes'?: Array<GpuType>;
|
|
21
23
|
'maxCpuPerSandbox': number | null;
|
|
22
24
|
'maxMemoryPerSandbox': number | null;
|
|
23
25
|
'maxDiskPerSandbox': number | null;
|
|
@@ -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 { SandboxClass } from './sandbox-class';
|
|
13
14
|
export interface RegionUsageOverview {
|
|
14
15
|
'regionId': string;
|
|
@@ -21,6 +22,7 @@ export interface RegionUsageOverview {
|
|
|
21
22
|
'currentDiskUsage': number;
|
|
22
23
|
'totalGpuQuota': number;
|
|
23
24
|
'currentGpuUsage': number;
|
|
25
|
+
'allowedGpuTypes'?: Array<GpuType>;
|
|
24
26
|
'maxCpuPerSandbox': number | null;
|
|
25
27
|
'maxMemoryPerSandbox': number | null;
|
|
26
28
|
'maxDiskPerSandbox': number | null;
|
|
@@ -13,6 +13,7 @@ export declare const SandboxClass: {
|
|
|
13
13
|
readonly LINUX_VM: "linux-vm";
|
|
14
14
|
readonly CONTAINER: "container";
|
|
15
15
|
readonly ANDROID: "android";
|
|
16
|
+
readonly WINDOWS: "windows";
|
|
16
17
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
17
18
|
};
|
|
18
19
|
export type SandboxClass = typeof SandboxClass[keyof typeof SandboxClass];
|
|
@@ -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;;;AAKU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,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
|
*/
|
|
@@ -128,6 +133,7 @@ export declare const SandboxListItemSandboxClassEnum: {
|
|
|
128
133
|
readonly LINUX_VM: "linux-vm";
|
|
129
134
|
readonly CONTAINER: "container";
|
|
130
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];
|
|
@@ -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;;;
|
|
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"}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -168,6 +173,7 @@ export declare const SandboxSandboxClassEnum: {
|
|
|
168
173
|
readonly LINUX_VM: "linux-vm";
|
|
169
174
|
readonly CONTAINER: "container";
|
|
170
175
|
readonly ANDROID: "android";
|
|
176
|
+
readonly WINDOWS: "windows";
|
|
171
177
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
172
178
|
};
|
|
173
179
|
export type SandboxSandboxClassEnum = typeof SandboxSandboxClassEnum[keyof typeof SandboxSandboxClassEnum];
|
package/src/models/sandbox.js
CHANGED
|
@@ -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;;;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;
|
|
@@ -53,6 +58,7 @@ export declare const SnapshotDtoSandboxClassEnum: {
|
|
|
53
58
|
readonly LINUX_VM: "linux-vm";
|
|
54
59
|
readonly CONTAINER: "container";
|
|
55
60
|
readonly ANDROID: "android";
|
|
61
|
+
readonly WINDOWS: "windows";
|
|
56
62
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
57
63
|
};
|
|
58
64
|
export type SnapshotDtoSandboxClassEnum = typeof SnapshotDtoSandboxClassEnum[keyof typeof SnapshotDtoSandboxClassEnum];
|
|
@@ -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,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 { SandboxClass } from './sandbox-class';
|
|
13
14
|
export interface UpdateOrganizationRegionQuota {
|
|
14
15
|
'sandboxClass'?: SandboxClass;
|
|
@@ -16,6 +17,7 @@ export interface UpdateOrganizationRegionQuota {
|
|
|
16
17
|
'totalMemoryQuota': number | null;
|
|
17
18
|
'totalDiskQuota': number | null;
|
|
18
19
|
'totalGpuQuota': number | null;
|
|
20
|
+
'allowedGpuTypes'?: Array<GpuType> | null;
|
|
19
21
|
'maxCpuPerSandbox'?: number | null;
|
|
20
22
|
'maxMemoryPerSandbox'?: number | null;
|
|
21
23
|
'maxDiskPerSandbox'?: number | null;
|