@daytonaio/api-client 0.183.0 → 0.184.0-alpha.1
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/admin-api.d.ts +0 -164
- package/src/api/admin-api.js +0 -324
- package/src/api/admin-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +4 -9
- package/src/api/sandbox-api.js +7 -14
- 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/index.d.ts +0 -1
- package/src/models/index.js +0 -1
- package/src/models/index.js.map +1 -1
- package/src/models/region-quota.d.ts +0 -2
- package/src/models/region-usage-overview.d.ts +0 -2
- package/src/models/runner-full.d.ts +2 -2
- package/src/models/runner.d.ts +2 -2
- package/src/models/sandbox-class.d.ts +6 -3
- package/src/models/sandbox-class.js +6 -3
- package/src/models/sandbox-class.js.map +1 -1
- package/src/models/sandbox-list-item.d.ts +3 -3
- package/src/models/sandbox-list-item.js +3 -3
- package/src/models/sandbox-list-item.js.map +1 -1
- package/src/models/sandbox.d.ts +7 -10
- package/src/models/sandbox.js +5 -5
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +0 -11
- package/src/models/snapshot-dto.js +0 -7
- package/src/models/snapshot-dto.js.map +1 -1
- package/src/models/update-organization-region-quota.d.ts +0 -2
- package/src/models/create-organization-region-quota.d.ts +0 -26
- package/src/models/create-organization-region-quota.js +0 -16
- package/src/models/create-organization-region-quota.js.map +0 -1
|
@@ -51,9 +51,9 @@ export interface RunnerFull {
|
|
|
51
51
|
*/
|
|
52
52
|
'gpuType'?: string;
|
|
53
53
|
/**
|
|
54
|
-
* The
|
|
54
|
+
* The class of the runner
|
|
55
55
|
*/
|
|
56
|
-
'
|
|
56
|
+
'class': SandboxClass;
|
|
57
57
|
/**
|
|
58
58
|
* Current CPU usage percentage
|
|
59
59
|
*/
|
package/src/models/runner.d.ts
CHANGED
|
@@ -9,10 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
* The class of the runner
|
|
14
|
+
*/
|
|
12
15
|
export declare const SandboxClass: {
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
+
readonly SMALL: "small";
|
|
17
|
+
readonly MEDIUM: "medium";
|
|
18
|
+
readonly LARGE: "large";
|
|
16
19
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
17
20
|
};
|
|
18
21
|
export type SandboxClass = typeof SandboxClass[keyof typeof SandboxClass];
|
|
@@ -14,10 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SandboxClass = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The class of the runner
|
|
19
|
+
*/
|
|
17
20
|
exports.SandboxClass = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
SMALL: 'small',
|
|
22
|
+
MEDIUM: 'medium',
|
|
23
|
+
LARGE: 'large',
|
|
21
24
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
22
25
|
};
|
|
23
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;;;
|
|
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"}
|
|
@@ -125,9 +125,9 @@ export interface SandboxListItem {
|
|
|
125
125
|
'toolboxProxyUrl': string;
|
|
126
126
|
}
|
|
127
127
|
export declare const SandboxListItemSandboxClassEnum: {
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
128
|
+
readonly SMALL: "small";
|
|
129
|
+
readonly MEDIUM: "medium";
|
|
130
|
+
readonly LARGE: "large";
|
|
131
131
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
132
132
|
};
|
|
133
133
|
export type SandboxListItemSandboxClassEnum = typeof SandboxListItemSandboxClassEnum[keyof typeof SandboxListItemSandboxClassEnum];
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SandboxListItemBackupStateEnum = exports.SandboxListItemSandboxClassEnum = void 0;
|
|
17
17
|
exports.SandboxListItemSandboxClassEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
SMALL: 'small',
|
|
19
|
+
MEDIUM: 'medium',
|
|
20
|
+
LARGE: 'large',
|
|
21
21
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
22
22
|
};
|
|
23
23
|
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,
|
|
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"}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -136,8 +136,9 @@ export interface Sandbox {
|
|
|
136
136
|
'lastActivityAt'?: string;
|
|
137
137
|
/**
|
|
138
138
|
* The class of the sandbox
|
|
139
|
+
* @deprecated
|
|
139
140
|
*/
|
|
140
|
-
'
|
|
141
|
+
'class'?: SandboxClassEnum;
|
|
141
142
|
/**
|
|
142
143
|
* The version of the daemon running in the sandbox
|
|
143
144
|
*/
|
|
@@ -146,10 +147,6 @@ export interface Sandbox {
|
|
|
146
147
|
* The runner ID of the sandbox
|
|
147
148
|
*/
|
|
148
149
|
'runnerId'?: string;
|
|
149
|
-
/**
|
|
150
|
-
* ID of the sandbox this sandbox is linked to. When set, the sandbox is co-located on the same runner as the linked sandbox.
|
|
151
|
-
*/
|
|
152
|
-
'linkedSandboxId'?: string;
|
|
153
150
|
/**
|
|
154
151
|
* The toolbox proxy URL for the sandbox
|
|
155
152
|
*/
|
|
@@ -164,10 +161,10 @@ export declare const SandboxBackupStateEnum: {
|
|
|
164
161
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
165
162
|
};
|
|
166
163
|
export type SandboxBackupStateEnum = typeof SandboxBackupStateEnum[keyof typeof SandboxBackupStateEnum];
|
|
167
|
-
export declare const
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
164
|
+
export declare const SandboxClassEnum: {
|
|
165
|
+
readonly SMALL: "small";
|
|
166
|
+
readonly MEDIUM: "medium";
|
|
167
|
+
readonly LARGE: "large";
|
|
171
168
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
172
169
|
};
|
|
173
|
-
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,15 +44,4 @@ export interface SnapshotDto {
|
|
|
44
44
|
* The snapshot reference
|
|
45
45
|
*/
|
|
46
46
|
'ref'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* The sandbox class of the snapshot
|
|
49
|
-
*/
|
|
50
|
-
'sandboxClass'?: SnapshotDtoSandboxClassEnum;
|
|
51
47
|
}
|
|
52
|
-
export declare const SnapshotDtoSandboxClassEnum: {
|
|
53
|
-
readonly LINUX_VM: "linux-vm";
|
|
54
|
-
readonly CONTAINER: "container";
|
|
55
|
-
readonly ANDROID: "android";
|
|
56
|
-
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
57
|
-
};
|
|
58
|
-
export type SnapshotDtoSandboxClassEnum = typeof SnapshotDtoSandboxClassEnum[keyof typeof SnapshotDtoSandboxClassEnum];
|
|
@@ -13,11 +13,4 @@
|
|
|
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
|
-
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
22
|
-
};
|
|
23
16
|
//# 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"}
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SandboxClass } from './sandbox-class';
|
|
13
12
|
export interface UpdateOrganizationRegionQuota {
|
|
14
|
-
'sandboxClass'?: SandboxClass;
|
|
15
13
|
'totalCpuQuota': number | null;
|
|
16
14
|
'totalMemoryQuota': number | null;
|
|
17
15
|
'totalDiskQuota': number | null;
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
import type { SandboxClass } from './sandbox-class';
|
|
13
|
-
export interface CreateOrganizationRegionQuota {
|
|
14
|
-
'sandboxClass': SandboxClass;
|
|
15
|
-
'totalCpuQuota': number;
|
|
16
|
-
'totalMemoryQuota': number;
|
|
17
|
-
'totalDiskQuota': number;
|
|
18
|
-
'totalGpuQuota': number;
|
|
19
|
-
'maxCpuPerSandbox'?: number | null;
|
|
20
|
-
'maxMemoryPerSandbox'?: number | null;
|
|
21
|
-
'maxDiskPerSandbox'?: number | null;
|
|
22
|
-
'maxDiskPerNonEphemeralSandbox'?: number | null;
|
|
23
|
-
'maxCpuPerGpuSandbox'?: number | null;
|
|
24
|
-
'maxMemoryPerGpuSandbox'?: number | null;
|
|
25
|
-
'maxDiskPerGpuSandbox'?: number | null;
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=create-organization-region-quota.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-organization-region-quota.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-organization-region-quota.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|