@daytonaio/api-client 0.2.3 → 0.3.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/README.md +2 -2
- package/api/default-api.ts +254 -560
- package/dist/api/default-api.d.ts +144 -298
- package/dist/api/default-api.js +272 -570
- package/dist/api/docker-registry-api.js +6 -6
- package/dist/esm/api/default-api.d.ts +144 -298
- package/dist/esm/api/default-api.js +272 -570
- package/dist/esm/api/docker-registry-api.js +6 -6
- package/dist/esm/models/create-workspace-dto.d.ts +24 -0
- package/dist/esm/models/workspace-dto.d.ts +24 -0
- package/dist/models/create-workspace-dto.d.ts +24 -0
- package/dist/models/workspace-dto.d.ts +24 -0
- package/models/create-workspace-dto.ts +24 -0
- package/models/workspace-dto.ts +24 -0
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
dockerRegistryControllerFindAll: (...
|
|
74
|
+
dockerRegistryControllerFindAll: (...args_2) => __awaiter(this, [...args_2], void 0, function* (options = {}) {
|
|
75
75
|
const localVarPath = `/docker-registry`;
|
|
76
76
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
77
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -100,7 +100,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
dockerRegistryControllerFindOne: (id_1, ...
|
|
103
|
+
dockerRegistryControllerFindOne: (id_1, ...args_3) => __awaiter(this, [id_1, ...args_3], void 0, function* (id, options = {}) {
|
|
104
104
|
// verify required parameter 'id' is not null or undefined
|
|
105
105
|
assertParamExists('dockerRegistryControllerFindOne', 'id', id);
|
|
106
106
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -131,7 +131,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
131
131
|
* @param {*} [options] Override http request option.
|
|
132
132
|
* @throws {RequiredError}
|
|
133
133
|
*/
|
|
134
|
-
dockerRegistryControllerGetDefault: (...
|
|
134
|
+
dockerRegistryControllerGetDefault: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
|
|
135
135
|
const localVarPath = `/docker-registry/default`;
|
|
136
136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
137
137
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -160,7 +160,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
*/
|
|
163
|
-
dockerRegistryControllerRemove: (
|
|
163
|
+
dockerRegistryControllerRemove: (id_2, ...args_5) => __awaiter(this, [id_2, ...args_5], void 0, function* (id, options = {}) {
|
|
164
164
|
// verify required parameter 'id' is not null or undefined
|
|
165
165
|
assertParamExists('dockerRegistryControllerRemove', 'id', id);
|
|
166
166
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -192,7 +192,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
195
|
-
dockerRegistryControllerSetDefault: (
|
|
195
|
+
dockerRegistryControllerSetDefault: (id_3, ...args_6) => __awaiter(this, [id_3, ...args_6], void 0, function* (id, options = {}) {
|
|
196
196
|
// verify required parameter 'id' is not null or undefined
|
|
197
197
|
assertParamExists('dockerRegistryControllerSetDefault', 'id', id);
|
|
198
198
|
const localVarPath = `/docker-registry/{id}/set-default`
|
|
@@ -225,7 +225,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
|
-
dockerRegistryControllerUpdate: (
|
|
228
|
+
dockerRegistryControllerUpdate: (id_4, updateDockerRegistryDto_1, ...args_7) => __awaiter(this, [id_4, updateDockerRegistryDto_1, ...args_7], void 0, function* (id, updateDockerRegistryDto, options = {}) {
|
|
229
229
|
// verify required parameter 'id' is not null or undefined
|
|
230
230
|
assertParamExists('dockerRegistryControllerUpdate', 'id', id);
|
|
231
231
|
// verify required parameter 'updateDockerRegistryDto' is not null or undefined
|
|
@@ -59,6 +59,30 @@ export interface CreateWorkspaceDto {
|
|
|
59
59
|
* @memberof CreateWorkspaceDto
|
|
60
60
|
*/
|
|
61
61
|
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
62
|
+
/**
|
|
63
|
+
* CPU cores allocated to the workspace
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof CreateWorkspaceDto
|
|
66
|
+
*/
|
|
67
|
+
'cpu'?: number;
|
|
68
|
+
/**
|
|
69
|
+
* GPU units allocated to the workspace
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof CreateWorkspaceDto
|
|
72
|
+
*/
|
|
73
|
+
'gpu'?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Memory allocated to the workspace in MB
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof CreateWorkspaceDto
|
|
78
|
+
*/
|
|
79
|
+
'memory'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Disk space allocated to the workspace in GB
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof CreateWorkspaceDto
|
|
84
|
+
*/
|
|
85
|
+
'disk'?: number;
|
|
62
86
|
}
|
|
63
87
|
export declare const CreateWorkspaceDtoClassEnum: {
|
|
64
88
|
readonly Small: "small";
|
|
@@ -60,4 +60,28 @@ export interface WorkspaceDto {
|
|
|
60
60
|
* @memberof WorkspaceDto
|
|
61
61
|
*/
|
|
62
62
|
'info'?: WorkspaceInfoDto;
|
|
63
|
+
/**
|
|
64
|
+
* The CPU quota for the workspace
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof WorkspaceDto
|
|
67
|
+
*/
|
|
68
|
+
'cpu': number;
|
|
69
|
+
/**
|
|
70
|
+
* The GPU quota for the workspace
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof WorkspaceDto
|
|
73
|
+
*/
|
|
74
|
+
'gpu': number;
|
|
75
|
+
/**
|
|
76
|
+
* The memory quota for the workspace
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof WorkspaceDto
|
|
79
|
+
*/
|
|
80
|
+
'memory': number;
|
|
81
|
+
/**
|
|
82
|
+
* The disk quota for the workspace
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof WorkspaceDto
|
|
85
|
+
*/
|
|
86
|
+
'disk': number;
|
|
63
87
|
}
|
|
@@ -59,6 +59,30 @@ export interface CreateWorkspaceDto {
|
|
|
59
59
|
* @memberof CreateWorkspaceDto
|
|
60
60
|
*/
|
|
61
61
|
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
62
|
+
/**
|
|
63
|
+
* CPU cores allocated to the workspace
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof CreateWorkspaceDto
|
|
66
|
+
*/
|
|
67
|
+
'cpu'?: number;
|
|
68
|
+
/**
|
|
69
|
+
* GPU units allocated to the workspace
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof CreateWorkspaceDto
|
|
72
|
+
*/
|
|
73
|
+
'gpu'?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Memory allocated to the workspace in MB
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof CreateWorkspaceDto
|
|
78
|
+
*/
|
|
79
|
+
'memory'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Disk space allocated to the workspace in GB
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof CreateWorkspaceDto
|
|
84
|
+
*/
|
|
85
|
+
'disk'?: number;
|
|
62
86
|
}
|
|
63
87
|
export declare const CreateWorkspaceDtoClassEnum: {
|
|
64
88
|
readonly Small: "small";
|
|
@@ -60,4 +60,28 @@ export interface WorkspaceDto {
|
|
|
60
60
|
* @memberof WorkspaceDto
|
|
61
61
|
*/
|
|
62
62
|
'info'?: WorkspaceInfoDto;
|
|
63
|
+
/**
|
|
64
|
+
* The CPU quota for the workspace
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof WorkspaceDto
|
|
67
|
+
*/
|
|
68
|
+
'cpu': number;
|
|
69
|
+
/**
|
|
70
|
+
* The GPU quota for the workspace
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof WorkspaceDto
|
|
73
|
+
*/
|
|
74
|
+
'gpu': number;
|
|
75
|
+
/**
|
|
76
|
+
* The memory quota for the workspace
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof WorkspaceDto
|
|
79
|
+
*/
|
|
80
|
+
'memory': number;
|
|
81
|
+
/**
|
|
82
|
+
* The disk quota for the workspace
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof WorkspaceDto
|
|
85
|
+
*/
|
|
86
|
+
'disk': number;
|
|
63
87
|
}
|
|
@@ -62,6 +62,30 @@ export interface CreateWorkspaceDto {
|
|
|
62
62
|
* @memberof CreateWorkspaceDto
|
|
63
63
|
*/
|
|
64
64
|
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
65
|
+
/**
|
|
66
|
+
* CPU cores allocated to the workspace
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof CreateWorkspaceDto
|
|
69
|
+
*/
|
|
70
|
+
'cpu'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* GPU units allocated to the workspace
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof CreateWorkspaceDto
|
|
75
|
+
*/
|
|
76
|
+
'gpu'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Memory allocated to the workspace in MB
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof CreateWorkspaceDto
|
|
81
|
+
*/
|
|
82
|
+
'memory'?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Disk space allocated to the workspace in GB
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof CreateWorkspaceDto
|
|
87
|
+
*/
|
|
88
|
+
'disk'?: number;
|
|
65
89
|
}
|
|
66
90
|
|
|
67
91
|
export const CreateWorkspaceDtoClassEnum = {
|
package/models/workspace-dto.ts
CHANGED
|
@@ -65,5 +65,29 @@ export interface WorkspaceDto {
|
|
|
65
65
|
* @memberof WorkspaceDto
|
|
66
66
|
*/
|
|
67
67
|
'info'?: WorkspaceInfoDto;
|
|
68
|
+
/**
|
|
69
|
+
* The CPU quota for the workspace
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof WorkspaceDto
|
|
72
|
+
*/
|
|
73
|
+
'cpu': number;
|
|
74
|
+
/**
|
|
75
|
+
* The GPU quota for the workspace
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof WorkspaceDto
|
|
78
|
+
*/
|
|
79
|
+
'gpu': number;
|
|
80
|
+
/**
|
|
81
|
+
* The memory quota for the workspace
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof WorkspaceDto
|
|
84
|
+
*/
|
|
85
|
+
'memory': number;
|
|
86
|
+
/**
|
|
87
|
+
* The disk quota for the workspace
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof WorkspaceDto
|
|
90
|
+
*/
|
|
91
|
+
'disk': number;
|
|
68
92
|
}
|
|
69
93
|
|