@daytonaio/api-client 0.12.2 → 0.14.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/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/docker-registry-api.ts +68 -0
- package/api/users-api.ts +84 -0
- package/api/workspace-api.ts +153 -0
- package/dist/api/docker-registry-api.d.ts +30 -0
- package/dist/api/docker-registry-api.js +62 -0
- package/dist/api/users-api.d.ts +38 -0
- package/dist/api/users-api.js +77 -0
- package/dist/api/workspace-api.d.ts +70 -0
- package/dist/api/workspace-api.js +145 -0
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/docker-registry-api.d.ts +30 -0
- package/dist/esm/api/docker-registry-api.js +62 -0
- package/dist/esm/api/users-api.d.ts +38 -0
- package/dist/esm/api/users-api.js +77 -0
- package/dist/esm/api/workspace-api.d.ts +70 -0
- package/dist/esm/api/workspace-api.js +145 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/create-docker-registry.d.ts +19 -0
- package/dist/esm/models/create-docker-registry.js +6 -1
- package/dist/esm/models/create-node.d.ts +72 -0
- package/dist/esm/models/create-node.js +10 -1
- package/dist/esm/models/create-user.d.ts +66 -0
- package/dist/esm/models/create-workspace.d.ts +12 -6
- package/dist/esm/models/create-workspace.js +6 -6
- package/dist/esm/models/docker-registry.d.ts +13 -0
- package/dist/esm/models/docker-registry.js +6 -1
- package/dist/esm/models/image-dto.d.ts +3 -11
- package/dist/esm/models/image-dto.js +1 -8
- package/dist/esm/models/image-state.d.ts +26 -0
- package/dist/esm/models/image-state.js +27 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/registry-push-access-dto.d.ts +54 -0
- package/dist/esm/models/registry-push-access-dto.js +14 -0
- package/dist/esm/models/update-user-quota-dto.d.ts +84 -0
- package/dist/esm/models/update-user-quota-dto.js +14 -0
- package/dist/esm/models/workspace-state.d.ts +33 -0
- package/dist/esm/models/workspace-state.js +34 -0
- package/dist/esm/models/workspace.d.ts +18 -3
- package/dist/esm/models/workspace.js +7 -1
- package/dist/models/create-docker-registry.d.ts +19 -0
- package/dist/models/create-docker-registry.js +7 -0
- package/dist/models/create-node.d.ts +72 -0
- package/dist/models/create-node.js +11 -0
- package/dist/models/create-user.d.ts +66 -0
- package/dist/models/create-workspace.d.ts +12 -6
- package/dist/models/create-workspace.js +6 -6
- package/dist/models/docker-registry.d.ts +13 -0
- package/dist/models/docker-registry.js +7 -0
- package/dist/models/image-dto.d.ts +3 -11
- package/dist/models/image-dto.js +0 -9
- package/dist/models/image-state.d.ts +26 -0
- package/dist/models/image-state.js +30 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/registry-push-access-dto.d.ts +54 -0
- package/dist/models/registry-push-access-dto.js +15 -0
- package/dist/models/update-user-quota-dto.d.ts +84 -0
- package/dist/models/update-user-quota-dto.js +15 -0
- package/dist/models/workspace-state.d.ts +33 -0
- package/dist/models/workspace-state.js +37 -0
- package/dist/models/workspace.d.ts +18 -3
- package/dist/models/workspace.js +8 -0
- package/models/create-docker-registry.ts +22 -0
- package/models/create-node.ts +76 -0
- package/models/create-user.ts +66 -0
- package/models/create-workspace.ts +12 -6
- package/models/docker-registry.ts +16 -0
- package/models/image-dto.ts +5 -12
- package/models/image-state.ts +36 -0
- package/models/index.ts +4 -0
- package/models/registry-push-access-dto.ts +60 -0
- package/models/update-user-quota-dto.ts +90 -0
- package/models/workspace-state.ts +43 -0
- package/models/workspace.ts +23 -3
- package/package.json +1 -1
|
@@ -27,4 +27,70 @@ export interface CreateUser {
|
|
|
27
27
|
* @memberof CreateUser
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateUser
|
|
34
|
+
*/
|
|
35
|
+
'totalCpuQuota': number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateUser
|
|
40
|
+
*/
|
|
41
|
+
'totalMemoryQuota': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateUser
|
|
46
|
+
*/
|
|
47
|
+
'totalDiskQuota': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreateUser
|
|
52
|
+
*/
|
|
53
|
+
'maxCpuPerWorkspace': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CreateUser
|
|
58
|
+
*/
|
|
59
|
+
'maxMemoryPerWorkspace': number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CreateUser
|
|
64
|
+
*/
|
|
65
|
+
'maxDiskPerWorkspace': number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CreateUser
|
|
70
|
+
*/
|
|
71
|
+
'maxConcurrentWorkspaces': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CreateUser
|
|
76
|
+
*/
|
|
77
|
+
'workspaceQuota': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof CreateUser
|
|
82
|
+
*/
|
|
83
|
+
'imageQuota': number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof CreateUser
|
|
88
|
+
*/
|
|
89
|
+
'maxImageSize': number;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof CreateUser
|
|
94
|
+
*/
|
|
95
|
+
'totalImageSize': number;
|
|
30
96
|
}
|
|
@@ -97,16 +97,22 @@ export interface CreateWorkspace {
|
|
|
97
97
|
* @memberof CreateWorkspace
|
|
98
98
|
*/
|
|
99
99
|
'disk'?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Auto-stop interval in minutes (0 means disabled)
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof CreateWorkspace
|
|
104
|
+
*/
|
|
105
|
+
'autoStopInterval'?: number;
|
|
100
106
|
}
|
|
101
107
|
export declare const CreateWorkspaceClassEnum: {
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
108
|
+
readonly SMALL: "small";
|
|
109
|
+
readonly MEDIUM: "medium";
|
|
110
|
+
readonly LARGE: "large";
|
|
105
111
|
};
|
|
106
112
|
export type CreateWorkspaceClassEnum = typeof CreateWorkspaceClassEnum[keyof typeof CreateWorkspaceClassEnum];
|
|
107
113
|
export declare const CreateWorkspaceTargetEnum: {
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
114
|
+
readonly EU: "eu";
|
|
115
|
+
readonly US: "us";
|
|
116
|
+
readonly ASIA: "asia";
|
|
111
117
|
};
|
|
112
118
|
export type CreateWorkspaceTargetEnum = typeof CreateWorkspaceTargetEnum[keyof typeof CreateWorkspaceTargetEnum];
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export const CreateWorkspaceClassEnum = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
SMALL: 'small',
|
|
16
|
+
MEDIUM: 'medium',
|
|
17
|
+
LARGE: 'large'
|
|
18
18
|
};
|
|
19
19
|
export const CreateWorkspaceTargetEnum = {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
EU: 'eu',
|
|
21
|
+
US: 'us',
|
|
22
|
+
ASIA: 'asia'
|
|
23
23
|
};
|
|
@@ -45,6 +45,12 @@ export interface DockerRegistry {
|
|
|
45
45
|
* @memberof DockerRegistry
|
|
46
46
|
*/
|
|
47
47
|
'project': string;
|
|
48
|
+
/**
|
|
49
|
+
* Registry type
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DockerRegistry
|
|
52
|
+
*/
|
|
53
|
+
'registryType': DockerRegistryRegistryTypeEnum;
|
|
48
54
|
/**
|
|
49
55
|
* Creation timestamp
|
|
50
56
|
* @type {string}
|
|
@@ -58,3 +64,10 @@ export interface DockerRegistry {
|
|
|
58
64
|
*/
|
|
59
65
|
'updatedAt': string;
|
|
60
66
|
}
|
|
67
|
+
export declare const DockerRegistryRegistryTypeEnum: {
|
|
68
|
+
readonly INTERNAL: "internal";
|
|
69
|
+
readonly USER: "user";
|
|
70
|
+
readonly PUBLIC: "public";
|
|
71
|
+
readonly TRANSIENT: "transient";
|
|
72
|
+
};
|
|
73
|
+
export type DockerRegistryRegistryTypeEnum = typeof DockerRegistryRegistryTypeEnum[keyof typeof DockerRegistryRegistryTypeEnum];
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ImageState } from './image-state';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -41,10 +42,10 @@ export interface ImageDto {
|
|
|
41
42
|
'enabled': boolean;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
|
-
* @type {
|
|
45
|
+
* @type {ImageState}
|
|
45
46
|
* @memberof ImageDto
|
|
46
47
|
*/
|
|
47
|
-
'state':
|
|
48
|
+
'state': ImageState;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
51
|
* @type {number}
|
|
@@ -82,12 +83,3 @@ export interface ImageDto {
|
|
|
82
83
|
*/
|
|
83
84
|
'lastUsedAt': string | null;
|
|
84
85
|
}
|
|
85
|
-
export declare const ImageDtoStateEnum: {
|
|
86
|
-
readonly Pending: "pending";
|
|
87
|
-
readonly PullingImage: "pulling_image";
|
|
88
|
-
readonly Validating: "validating";
|
|
89
|
-
readonly Active: "active";
|
|
90
|
-
readonly Error: "error";
|
|
91
|
-
readonly Removing: "removing";
|
|
92
|
-
};
|
|
93
|
-
export type ImageDtoStateEnum = typeof ImageDtoStateEnum[keyof typeof ImageDtoStateEnum];
|
|
@@ -11,11 +11,4 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
Pending: 'pending',
|
|
16
|
-
PullingImage: 'pulling_image',
|
|
17
|
-
Validating: 'validating',
|
|
18
|
-
Active: 'active',
|
|
19
|
-
Error: 'error',
|
|
20
|
-
Removing: 'removing'
|
|
21
|
-
};
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ImageState: {
|
|
18
|
+
readonly PENDING: "pending";
|
|
19
|
+
readonly PULLING_IMAGE: "pulling_image";
|
|
20
|
+
readonly PENDING_VALIDATION: "pending_validation";
|
|
21
|
+
readonly VALIDATING: "validating";
|
|
22
|
+
readonly ACTIVE: "active";
|
|
23
|
+
readonly ERROR: "error";
|
|
24
|
+
readonly REMOVING: "removing";
|
|
25
|
+
};
|
|
26
|
+
export type ImageState = typeof ImageState[keyof typeof ImageState];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const ImageState = {
|
|
20
|
+
PENDING: 'pending',
|
|
21
|
+
PULLING_IMAGE: 'pulling_image',
|
|
22
|
+
PENDING_VALIDATION: 'pending_validation',
|
|
23
|
+
VALIDATING: 'validating',
|
|
24
|
+
ACTIVE: 'active',
|
|
25
|
+
ERROR: 'error',
|
|
26
|
+
REMOVING: 'removing'
|
|
27
|
+
};
|
|
@@ -25,6 +25,7 @@ export * from './git-commit-response';
|
|
|
25
25
|
export * from './git-repo-request';
|
|
26
26
|
export * from './git-status';
|
|
27
27
|
export * from './image-dto';
|
|
28
|
+
export * from './image-state';
|
|
28
29
|
export * from './list-branch-response';
|
|
29
30
|
export * from './lsp-completion-params';
|
|
30
31
|
export * from './lsp-document-request';
|
|
@@ -36,6 +37,7 @@ export * from './paginated-images-dto';
|
|
|
36
37
|
export * from './position';
|
|
37
38
|
export * from './project-dir-response';
|
|
38
39
|
export * from './range';
|
|
40
|
+
export * from './registry-push-access-dto';
|
|
39
41
|
export * from './replace-request';
|
|
40
42
|
export * from './replace-result';
|
|
41
43
|
export * from './search-files-response';
|
|
@@ -44,7 +46,9 @@ export * from './session-execute-request';
|
|
|
44
46
|
export * from './session-execute-response';
|
|
45
47
|
export * from './toggle-state';
|
|
46
48
|
export * from './update-docker-registry';
|
|
49
|
+
export * from './update-user-quota-dto';
|
|
47
50
|
export * from './usage-overview';
|
|
48
51
|
export * from './workspace';
|
|
49
52
|
export * from './workspace-info';
|
|
50
53
|
export * from './workspace-labels';
|
|
54
|
+
export * from './workspace-state';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export * from './git-commit-response';
|
|
|
25
25
|
export * from './git-repo-request';
|
|
26
26
|
export * from './git-status';
|
|
27
27
|
export * from './image-dto';
|
|
28
|
+
export * from './image-state';
|
|
28
29
|
export * from './list-branch-response';
|
|
29
30
|
export * from './lsp-completion-params';
|
|
30
31
|
export * from './lsp-document-request';
|
|
@@ -36,6 +37,7 @@ export * from './paginated-images-dto';
|
|
|
36
37
|
export * from './position';
|
|
37
38
|
export * from './project-dir-response';
|
|
38
39
|
export * from './range';
|
|
40
|
+
export * from './registry-push-access-dto';
|
|
39
41
|
export * from './replace-request';
|
|
40
42
|
export * from './replace-result';
|
|
41
43
|
export * from './search-files-response';
|
|
@@ -44,7 +46,9 @@ export * from './session-execute-request';
|
|
|
44
46
|
export * from './session-execute-response';
|
|
45
47
|
export * from './toggle-state';
|
|
46
48
|
export * from './update-docker-registry';
|
|
49
|
+
export * from './update-user-quota-dto';
|
|
47
50
|
export * from './usage-overview';
|
|
48
51
|
export * from './workspace';
|
|
49
52
|
export * from './workspace-info';
|
|
50
53
|
export * from './workspace-labels';
|
|
54
|
+
export * from './workspace-state';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RegistryPushAccessDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RegistryPushAccessDto {
|
|
18
|
+
/**
|
|
19
|
+
* Temporary username for registry authentication
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegistryPushAccessDto
|
|
22
|
+
*/
|
|
23
|
+
'username': string;
|
|
24
|
+
/**
|
|
25
|
+
* Temporary secret for registry authentication
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegistryPushAccessDto
|
|
28
|
+
*/
|
|
29
|
+
'secret': string;
|
|
30
|
+
/**
|
|
31
|
+
* Registry URL
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RegistryPushAccessDto
|
|
34
|
+
*/
|
|
35
|
+
'registryUrl': string;
|
|
36
|
+
/**
|
|
37
|
+
* Registry ID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RegistryPushAccessDto
|
|
40
|
+
*/
|
|
41
|
+
'registryId': string;
|
|
42
|
+
/**
|
|
43
|
+
* Registry project ID
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RegistryPushAccessDto
|
|
46
|
+
*/
|
|
47
|
+
'project': string;
|
|
48
|
+
/**
|
|
49
|
+
* Token expiration time in ISO format
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RegistryPushAccessDto
|
|
52
|
+
*/
|
|
53
|
+
'expiresAt': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateUserQuotaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateUserQuotaDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateUserQuotaDto
|
|
22
|
+
*/
|
|
23
|
+
'totalCpuQuota': number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UpdateUserQuotaDto
|
|
28
|
+
*/
|
|
29
|
+
'totalMemoryQuota': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateUserQuotaDto
|
|
34
|
+
*/
|
|
35
|
+
'totalDiskQuota': number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateUserQuotaDto
|
|
40
|
+
*/
|
|
41
|
+
'maxCpuPerWorkspace': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UpdateUserQuotaDto
|
|
46
|
+
*/
|
|
47
|
+
'maxMemoryPerWorkspace': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UpdateUserQuotaDto
|
|
52
|
+
*/
|
|
53
|
+
'maxDiskPerWorkspace': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UpdateUserQuotaDto
|
|
58
|
+
*/
|
|
59
|
+
'maxConcurrentWorkspaces': number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof UpdateUserQuotaDto
|
|
64
|
+
*/
|
|
65
|
+
'workspaceQuota': number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof UpdateUserQuotaDto
|
|
70
|
+
*/
|
|
71
|
+
'imageQuota': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof UpdateUserQuotaDto
|
|
76
|
+
*/
|
|
77
|
+
'maxImageSize': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof UpdateUserQuotaDto
|
|
82
|
+
*/
|
|
83
|
+
'totalImageSize': number;
|
|
84
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Workspaces
|
|
3
|
+
* Daytona Workspaces API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const WorkspaceState: {
|
|
18
|
+
readonly CREATING: "creating";
|
|
19
|
+
readonly RESTORING: "restoring";
|
|
20
|
+
readonly DESTROYED: "destroyed";
|
|
21
|
+
readonly DESTROYING: "destroying";
|
|
22
|
+
readonly STARTED: "started";
|
|
23
|
+
readonly STOPPED: "stopped";
|
|
24
|
+
readonly STARTING: "starting";
|
|
25
|
+
readonly STOPPING: "stopping";
|
|
26
|
+
readonly RESIZING: "resizing";
|
|
27
|
+
readonly ERROR: "error";
|
|
28
|
+
readonly UNKNOWN: "unknown";
|
|
29
|
+
readonly PULLING_IMAGE: "pulling_image";
|
|
30
|
+
readonly ARCHIVING: "archiving";
|
|
31
|
+
readonly ARCHIVED: "archived";
|
|
32
|
+
};
|
|
33
|
+
export type WorkspaceState = typeof WorkspaceState[keyof typeof WorkspaceState];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const WorkspaceState = {
|
|
20
|
+
CREATING: 'creating',
|
|
21
|
+
RESTORING: 'restoring',
|
|
22
|
+
DESTROYED: 'destroyed',
|
|
23
|
+
DESTROYING: 'destroying',
|
|
24
|
+
STARTED: 'started',
|
|
25
|
+
STOPPED: 'stopped',
|
|
26
|
+
STARTING: 'starting',
|
|
27
|
+
STOPPING: 'stopping',
|
|
28
|
+
RESIZING: 'resizing',
|
|
29
|
+
ERROR: 'error',
|
|
30
|
+
UNKNOWN: 'unknown',
|
|
31
|
+
PULLING_IMAGE: 'pulling_image',
|
|
32
|
+
ARCHIVING: 'archiving',
|
|
33
|
+
ARCHIVED: 'archived'
|
|
34
|
+
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { WorkspaceInfo } from './workspace-info';
|
|
13
|
+
import type { WorkspaceState } from './workspace-state';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -100,10 +101,10 @@ export interface Workspace {
|
|
|
100
101
|
'disk'?: number;
|
|
101
102
|
/**
|
|
102
103
|
* The state of the workspace
|
|
103
|
-
* @type {
|
|
104
|
+
* @type {WorkspaceState}
|
|
104
105
|
* @memberof Workspace
|
|
105
106
|
*/
|
|
106
|
-
'state'?:
|
|
107
|
+
'state'?: WorkspaceState;
|
|
107
108
|
/**
|
|
108
109
|
* The error reason of the workspace
|
|
109
110
|
* @type {string}
|
|
@@ -115,11 +116,25 @@ export interface Workspace {
|
|
|
115
116
|
* @type {string}
|
|
116
117
|
* @memberof Workspace
|
|
117
118
|
*/
|
|
118
|
-
'snapshotState'?:
|
|
119
|
+
'snapshotState'?: WorkspaceSnapshotStateEnum;
|
|
119
120
|
/**
|
|
120
121
|
* The creation timestamp of the last snapshot
|
|
121
122
|
* @type {string}
|
|
122
123
|
* @memberof Workspace
|
|
123
124
|
*/
|
|
124
125
|
'snapshotCreatedAt'?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Auto-stop interval in minutes (0 means disabled)
|
|
128
|
+
* @type {number}
|
|
129
|
+
* @memberof Workspace
|
|
130
|
+
*/
|
|
131
|
+
'autoStopInterval'?: number;
|
|
125
132
|
}
|
|
133
|
+
export declare const WorkspaceSnapshotStateEnum: {
|
|
134
|
+
readonly NONE: "None";
|
|
135
|
+
readonly PENDING: "Pending";
|
|
136
|
+
readonly IN_PROGRESS: "InProgress";
|
|
137
|
+
readonly COMPLETED: "Completed";
|
|
138
|
+
readonly ERROR: "Error";
|
|
139
|
+
};
|
|
140
|
+
export type WorkspaceSnapshotStateEnum = typeof WorkspaceSnapshotStateEnum[keyof typeof WorkspaceSnapshotStateEnum];
|
|
@@ -11,4 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const WorkspaceSnapshotStateEnum = {
|
|
15
|
+
NONE: 'None',
|
|
16
|
+
PENDING: 'Pending',
|
|
17
|
+
IN_PROGRESS: 'InProgress',
|
|
18
|
+
COMPLETED: 'Completed',
|
|
19
|
+
ERROR: 'Error'
|
|
20
|
+
};
|
|
@@ -45,4 +45,23 @@ export interface CreateDockerRegistry {
|
|
|
45
45
|
* @memberof CreateDockerRegistry
|
|
46
46
|
*/
|
|
47
47
|
'project': string;
|
|
48
|
+
/**
|
|
49
|
+
* Registry type
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDockerRegistry
|
|
52
|
+
*/
|
|
53
|
+
'registryType': CreateDockerRegistryRegistryTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Set as default registry
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof CreateDockerRegistry
|
|
58
|
+
*/
|
|
59
|
+
'isDefault': boolean;
|
|
48
60
|
}
|
|
61
|
+
export declare const CreateDockerRegistryRegistryTypeEnum: {
|
|
62
|
+
readonly INTERNAL: "internal";
|
|
63
|
+
readonly USER: "user";
|
|
64
|
+
readonly PUBLIC: "public";
|
|
65
|
+
readonly TRANSIENT: "transient";
|
|
66
|
+
};
|
|
67
|
+
export type CreateDockerRegistryRegistryTypeEnum = typeof CreateDockerRegistryRegistryTypeEnum[keyof typeof CreateDockerRegistryRegistryTypeEnum];
|
|
@@ -13,3 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateDockerRegistryRegistryTypeEnum = void 0;
|
|
17
|
+
exports.CreateDockerRegistryRegistryTypeEnum = {
|
|
18
|
+
INTERNAL: 'internal',
|
|
19
|
+
USER: 'user',
|
|
20
|
+
PUBLIC: 'public',
|
|
21
|
+
TRANSIENT: 'transient'
|
|
22
|
+
};
|