@daytonaio/api-client 0.17.1 → 0.18.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/.openapi-generator/FILES +8 -0
- package/api/images-api.ts +207 -0
- package/api/object-storage-api.ts +161 -0
- package/api/volumes-api.ts +584 -0
- package/api.ts +2 -0
- package/dist/api/images-api.d.ts +75 -0
- package/dist/api/images-api.js +164 -0
- package/dist/api/object-storage-api.d.ts +74 -0
- package/dist/api/object-storage-api.js +140 -0
- package/dist/api/volumes-api.d.ts +227 -0
- package/dist/api/volumes-api.js +465 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/images-api.d.ts +75 -0
- package/dist/esm/api/images-api.js +164 -0
- package/dist/esm/api/object-storage-api.d.ts +74 -0
- package/dist/esm/api/object-storage-api.js +133 -0
- package/dist/esm/api/volumes-api.d.ts +227 -0
- package/dist/esm/api/volumes-api.js +458 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/api-key-list.d.ts +3 -0
- package/dist/esm/models/api-key-list.js +3 -0
- package/dist/esm/models/api-key-response.d.ts +3 -0
- package/dist/esm/models/api-key-response.js +3 -0
- package/dist/esm/models/build-image.d.ts +31 -0
- package/dist/esm/models/build-image.js +14 -0
- package/dist/esm/models/create-api-key.d.ts +3 -0
- package/dist/esm/models/create-api-key.js +3 -0
- package/dist/esm/models/create-build-info.d.ts +30 -0
- package/dist/esm/models/create-build-info.js +14 -0
- package/dist/esm/models/create-organization-role.d.ts +3 -0
- package/dist/esm/models/create-organization-role.js +3 -0
- package/dist/esm/models/create-user.d.ts +6 -0
- package/dist/esm/models/create-volume.d.ts +24 -0
- package/dist/esm/models/create-volume.js +14 -0
- package/dist/esm/models/create-workspace.d.ts +14 -0
- package/dist/esm/models/image-state.d.ts +2 -0
- package/dist/esm/models/image-state.js +2 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/organization-role.d.ts +3 -0
- package/dist/esm/models/organization-role.js +3 -0
- package/dist/esm/models/storage-access-dto.d.ts +54 -0
- package/dist/esm/models/storage-access-dto.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +3 -0
- package/dist/esm/models/update-organization-role.js +3 -0
- package/dist/esm/models/volume-dto.d.ts +70 -0
- package/dist/esm/models/volume-dto.js +22 -0
- package/dist/esm/models/volume-mount-dto.d.ts +30 -0
- package/dist/esm/models/volume-mount-dto.js +2 -0
- package/dist/esm/models/workspace-state.d.ts +2 -0
- package/dist/esm/models/workspace-state.js +2 -0
- package/dist/esm/models/workspace-volume.d.ts +30 -0
- package/dist/esm/models/workspace-volume.js +14 -0
- package/dist/esm/models/workspace.d.ts +8 -1
- package/dist/models/api-key-list.d.ts +3 -0
- package/dist/models/api-key-list.js +3 -0
- package/dist/models/api-key-response.d.ts +3 -0
- package/dist/models/api-key-response.js +3 -0
- package/dist/models/build-image.d.ts +31 -0
- package/dist/models/build-image.js +15 -0
- package/dist/models/create-api-key.d.ts +3 -0
- package/dist/models/create-api-key.js +3 -0
- package/dist/models/create-build-info.d.ts +30 -0
- package/dist/models/create-build-info.js +15 -0
- package/dist/models/create-organization-role.d.ts +3 -0
- package/dist/models/create-organization-role.js +3 -0
- package/dist/models/create-user.d.ts +6 -0
- package/dist/models/create-volume.d.ts +24 -0
- package/dist/models/create-volume.js +15 -0
- package/dist/models/create-workspace.d.ts +14 -0
- package/dist/models/image-state.d.ts +2 -0
- package/dist/models/image-state.js +2 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/organization-role.d.ts +3 -0
- package/dist/models/organization-role.js +3 -0
- package/dist/models/storage-access-dto.d.ts +54 -0
- package/dist/models/storage-access-dto.js +15 -0
- package/dist/models/update-organization-role.d.ts +3 -0
- package/dist/models/update-organization-role.js +3 -0
- package/dist/models/volume-dto.d.ts +70 -0
- package/dist/models/volume-dto.js +25 -0
- package/dist/models/volume-mount-dto.d.ts +30 -0
- package/dist/models/volume-mount-dto.js +3 -0
- package/dist/models/workspace-state.d.ts +2 -0
- package/dist/models/workspace-state.js +2 -0
- package/dist/models/workspace-volume.d.ts +30 -0
- package/dist/models/workspace-volume.js +15 -0
- package/dist/models/workspace.d.ts +8 -1
- package/models/api-key-list.ts +3 -0
- package/models/api-key-response.ts +3 -0
- package/models/build-image.ts +37 -0
- package/models/create-api-key.ts +3 -0
- package/models/create-build-info.ts +33 -0
- package/models/create-organization-role.ts +3 -0
- package/models/create-user.ts +6 -0
- package/models/create-volume.ts +27 -0
- package/models/create-workspace.ts +19 -0
- package/models/image-state.ts +2 -0
- package/models/index.ts +6 -0
- package/models/organization-role.ts +3 -0
- package/models/storage-access-dto.ts +57 -0
- package/models/update-organization-role.ts +3 -0
- package/models/volume-dto.ts +75 -0
- package/models/volume-mount-dto.ts +33 -0
- package/models/workspace-state.ts +2 -0
- package/models/workspace-volume.ts +33 -0
- package/models/workspace.ts +10 -1
- package/package.json +1 -1
|
@@ -21,4 +21,7 @@ exports.CreateOrganizationRolePermissionsEnum = {
|
|
|
21
21
|
DELETE_IMAGES: 'delete:images',
|
|
22
22
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
23
23
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
24
|
+
READ_VOLUMES: 'read:volumes',
|
|
25
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
26
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
24
27
|
};
|
|
@@ -46,6 +46,12 @@ export interface CreateUser {
|
|
|
46
46
|
* @memberof CreateUser
|
|
47
47
|
*/
|
|
48
48
|
role?: CreateUserRoleEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof CreateUser
|
|
53
|
+
*/
|
|
54
|
+
emailVerified?: boolean;
|
|
49
55
|
}
|
|
50
56
|
export declare const CreateUserRoleEnum: {
|
|
51
57
|
readonly ADMIN: "admin";
|
|
@@ -0,0 +1,24 @@
|
|
|
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 CreateVolume
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateVolume {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateVolume
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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 });
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CreateBuildInfo } from './create-build-info';
|
|
13
|
+
import type { WorkspaceVolume } from './workspace-volume';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -91,6 +93,18 @@ export interface CreateWorkspace {
|
|
|
91
93
|
* @memberof CreateWorkspace
|
|
92
94
|
*/
|
|
93
95
|
autoStopInterval?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Array of volumes to attach to the workspace
|
|
98
|
+
* @type {Array<WorkspaceVolume>}
|
|
99
|
+
* @memberof CreateWorkspace
|
|
100
|
+
*/
|
|
101
|
+
volumes?: Array<WorkspaceVolume>;
|
|
102
|
+
/**
|
|
103
|
+
* Build information for the workspace
|
|
104
|
+
* @type {CreateBuildInfo}
|
|
105
|
+
* @memberof CreateWorkspace
|
|
106
|
+
*/
|
|
107
|
+
buildInfo?: CreateBuildInfo;
|
|
94
108
|
}
|
|
95
109
|
export declare const CreateWorkspaceClassEnum: {
|
|
96
110
|
readonly SMALL: "small";
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare const ImageState: {
|
|
18
|
+
readonly BUILD_PENDING: "build_pending";
|
|
19
|
+
readonly BUILDING: "building";
|
|
18
20
|
readonly PENDING: "pending";
|
|
19
21
|
readonly PULLING_IMAGE: "pulling_image";
|
|
20
22
|
readonly PENDING_VALIDATION: "pending_validation";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from './api-key-list';
|
|
2
2
|
export * from './api-key-response';
|
|
3
|
+
export * from './build-image';
|
|
3
4
|
export * from './command';
|
|
4
5
|
export * from './completion-context';
|
|
5
6
|
export * from './completion-item';
|
|
6
7
|
export * from './completion-list';
|
|
7
8
|
export * from './create-api-key';
|
|
9
|
+
export * from './create-build-info';
|
|
8
10
|
export * from './create-docker-registry';
|
|
9
11
|
export * from './create-image';
|
|
10
12
|
export * from './create-node';
|
|
@@ -14,6 +16,7 @@ export * from './create-organization-quota';
|
|
|
14
16
|
export * from './create-organization-role';
|
|
15
17
|
export * from './create-session-request';
|
|
16
18
|
export * from './create-user';
|
|
19
|
+
export * from './create-volume';
|
|
17
20
|
export * from './create-workspace';
|
|
18
21
|
export * from './docker-registry';
|
|
19
22
|
export * from './execute-request';
|
|
@@ -55,6 +58,7 @@ export * from './session';
|
|
|
55
58
|
export * from './session-execute-request';
|
|
56
59
|
export * from './session-execute-response';
|
|
57
60
|
export * from './set-image-general-status';
|
|
61
|
+
export * from './storage-access-dto';
|
|
58
62
|
export * from './toggle-state';
|
|
59
63
|
export * from './update-assigned-organization-roles';
|
|
60
64
|
export * from './update-docker-registry';
|
|
@@ -65,7 +69,9 @@ export * from './update-organization-role';
|
|
|
65
69
|
export * from './usage-overview';
|
|
66
70
|
export * from './user';
|
|
67
71
|
export * from './user-public-key';
|
|
72
|
+
export * from './volume-dto';
|
|
68
73
|
export * from './workspace';
|
|
69
74
|
export * from './workspace-info';
|
|
70
75
|
export * from './workspace-labels';
|
|
71
76
|
export * from './workspace-state';
|
|
77
|
+
export * from './workspace-volume';
|
package/dist/models/index.js
CHANGED
|
@@ -16,11 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./api-key-list"), exports);
|
|
18
18
|
__exportStar(require("./api-key-response"), exports);
|
|
19
|
+
__exportStar(require("./build-image"), exports);
|
|
19
20
|
__exportStar(require("./command"), exports);
|
|
20
21
|
__exportStar(require("./completion-context"), exports);
|
|
21
22
|
__exportStar(require("./completion-item"), exports);
|
|
22
23
|
__exportStar(require("./completion-list"), exports);
|
|
23
24
|
__exportStar(require("./create-api-key"), exports);
|
|
25
|
+
__exportStar(require("./create-build-info"), exports);
|
|
24
26
|
__exportStar(require("./create-docker-registry"), exports);
|
|
25
27
|
__exportStar(require("./create-image"), exports);
|
|
26
28
|
__exportStar(require("./create-node"), exports);
|
|
@@ -30,6 +32,7 @@ __exportStar(require("./create-organization-quota"), exports);
|
|
|
30
32
|
__exportStar(require("./create-organization-role"), exports);
|
|
31
33
|
__exportStar(require("./create-session-request"), exports);
|
|
32
34
|
__exportStar(require("./create-user"), exports);
|
|
35
|
+
__exportStar(require("./create-volume"), exports);
|
|
33
36
|
__exportStar(require("./create-workspace"), exports);
|
|
34
37
|
__exportStar(require("./docker-registry"), exports);
|
|
35
38
|
__exportStar(require("./execute-request"), exports);
|
|
@@ -71,6 +74,7 @@ __exportStar(require("./session"), exports);
|
|
|
71
74
|
__exportStar(require("./session-execute-request"), exports);
|
|
72
75
|
__exportStar(require("./session-execute-response"), exports);
|
|
73
76
|
__exportStar(require("./set-image-general-status"), exports);
|
|
77
|
+
__exportStar(require("./storage-access-dto"), exports);
|
|
74
78
|
__exportStar(require("./toggle-state"), exports);
|
|
75
79
|
__exportStar(require("./update-assigned-organization-roles"), exports);
|
|
76
80
|
__exportStar(require("./update-docker-registry"), exports);
|
|
@@ -81,7 +85,9 @@ __exportStar(require("./update-organization-role"), exports);
|
|
|
81
85
|
__exportStar(require("./usage-overview"), exports);
|
|
82
86
|
__exportStar(require("./user"), exports);
|
|
83
87
|
__exportStar(require("./user-public-key"), exports);
|
|
88
|
+
__exportStar(require("./volume-dto"), exports);
|
|
84
89
|
__exportStar(require("./workspace"), exports);
|
|
85
90
|
__exportStar(require("./workspace-info"), exports);
|
|
86
91
|
__exportStar(require("./workspace-labels"), exports);
|
|
87
92
|
__exportStar(require("./workspace-state"), exports);
|
|
93
|
+
__exportStar(require("./workspace-volume"), exports);
|
|
@@ -65,5 +65,8 @@ export declare const OrganizationRolePermissionsEnum: {
|
|
|
65
65
|
readonly DELETE_IMAGES: "delete:images";
|
|
66
66
|
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
67
67
|
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
68
|
+
readonly READ_VOLUMES: "read:volumes";
|
|
69
|
+
readonly WRITE_VOLUMES: "write:volumes";
|
|
70
|
+
readonly DELETE_VOLUMES: "delete:volumes";
|
|
68
71
|
};
|
|
69
72
|
export type OrganizationRolePermissionsEnum = (typeof OrganizationRolePermissionsEnum)[keyof typeof OrganizationRolePermissionsEnum];
|
|
@@ -21,4 +21,7 @@ exports.OrganizationRolePermissionsEnum = {
|
|
|
21
21
|
DELETE_IMAGES: 'delete:images',
|
|
22
22
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
23
23
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
24
|
+
READ_VOLUMES: 'read:volumes',
|
|
25
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
26
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
24
27
|
};
|
|
@@ -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 StorageAccessDto
|
|
16
|
+
*/
|
|
17
|
+
export interface StorageAccessDto {
|
|
18
|
+
/**
|
|
19
|
+
* Access key for storage authentication
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StorageAccessDto
|
|
22
|
+
*/
|
|
23
|
+
accessKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* Secret key for storage authentication
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StorageAccessDto
|
|
28
|
+
*/
|
|
29
|
+
secret: string;
|
|
30
|
+
/**
|
|
31
|
+
* Session token for storage authentication
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StorageAccessDto
|
|
34
|
+
*/
|
|
35
|
+
sessionToken: string;
|
|
36
|
+
/**
|
|
37
|
+
* Storage URL
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StorageAccessDto
|
|
40
|
+
*/
|
|
41
|
+
storageUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* Registry ID
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StorageAccessDto
|
|
46
|
+
*/
|
|
47
|
+
registryId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Organization ID
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof StorageAccessDto
|
|
52
|
+
*/
|
|
53
|
+
organizationId: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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 });
|
|
@@ -41,5 +41,8 @@ export declare const UpdateOrganizationRolePermissionsEnum: {
|
|
|
41
41
|
readonly DELETE_IMAGES: "delete:images";
|
|
42
42
|
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
43
43
|
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
44
|
+
readonly READ_VOLUMES: "read:volumes";
|
|
45
|
+
readonly WRITE_VOLUMES: "write:volumes";
|
|
46
|
+
readonly DELETE_VOLUMES: "delete:volumes";
|
|
44
47
|
};
|
|
45
48
|
export type UpdateOrganizationRolePermissionsEnum = (typeof UpdateOrganizationRolePermissionsEnum)[keyof typeof UpdateOrganizationRolePermissionsEnum];
|
|
@@ -21,4 +21,7 @@ exports.UpdateOrganizationRolePermissionsEnum = {
|
|
|
21
21
|
DELETE_IMAGES: 'delete:images',
|
|
22
22
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
23
23
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
24
|
+
READ_VOLUMES: 'read:volumes',
|
|
25
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
26
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
24
27
|
};
|
|
@@ -0,0 +1,70 @@
|
|
|
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 VolumeDto
|
|
16
|
+
*/
|
|
17
|
+
export interface VolumeDto {
|
|
18
|
+
/**
|
|
19
|
+
* Volume ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VolumeDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Volume name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VolumeDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Organization ID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VolumeDto
|
|
34
|
+
*/
|
|
35
|
+
organizationId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Volume state
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VolumeDto
|
|
40
|
+
*/
|
|
41
|
+
state: VolumeDtoStateEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Creation timestamp
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VolumeDto
|
|
46
|
+
*/
|
|
47
|
+
createdAt: string;
|
|
48
|
+
/**
|
|
49
|
+
* Last update timestamp
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof VolumeDto
|
|
52
|
+
*/
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
/**
|
|
55
|
+
* Last used timestamp
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof VolumeDto
|
|
58
|
+
*/
|
|
59
|
+
lastUsedAt: string;
|
|
60
|
+
}
|
|
61
|
+
export declare const VolumeDtoStateEnum: {
|
|
62
|
+
readonly CREATING: "creating";
|
|
63
|
+
readonly READY: "ready";
|
|
64
|
+
readonly PENDING_CREATE: "pending_create";
|
|
65
|
+
readonly PENDING_DELETE: "pending_delete";
|
|
66
|
+
readonly DELETING: "deleting";
|
|
67
|
+
readonly DELETED: "deleted";
|
|
68
|
+
readonly ERROR: "error";
|
|
69
|
+
};
|
|
70
|
+
export type VolumeDtoStateEnum = (typeof VolumeDtoStateEnum)[keyof typeof VolumeDtoStateEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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.VolumeDtoStateEnum = void 0;
|
|
17
|
+
exports.VolumeDtoStateEnum = {
|
|
18
|
+
CREATING: 'creating',
|
|
19
|
+
READY: 'ready',
|
|
20
|
+
PENDING_CREATE: 'pending_create',
|
|
21
|
+
PENDING_DELETE: 'pending_delete',
|
|
22
|
+
DELETING: 'deleting',
|
|
23
|
+
DELETED: 'deleted',
|
|
24
|
+
ERROR: 'error',
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 VolumeMountDto
|
|
16
|
+
*/
|
|
17
|
+
export interface VolumeMountDto {
|
|
18
|
+
/**
|
|
19
|
+
* Volume ID to mount
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VolumeMountDto
|
|
22
|
+
*/
|
|
23
|
+
volumeId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Path where to mount the volume
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VolumeMountDto
|
|
28
|
+
*/
|
|
29
|
+
path: string;
|
|
30
|
+
}
|
|
@@ -25,6 +25,8 @@ export declare const WorkspaceState: {
|
|
|
25
25
|
readonly STOPPING: "stopping";
|
|
26
26
|
readonly RESIZING: "resizing";
|
|
27
27
|
readonly ERROR: "error";
|
|
28
|
+
readonly PENDING_BUILD: "pending_build";
|
|
29
|
+
readonly BUILDING_IMAGE: "building_image";
|
|
28
30
|
readonly UNKNOWN: "unknown";
|
|
29
31
|
readonly PULLING_IMAGE: "pulling_image";
|
|
30
32
|
readonly ARCHIVING: "archiving";
|
|
@@ -0,0 +1,30 @@
|
|
|
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 WorkspaceVolume
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkspaceVolume {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the volume
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkspaceVolume
|
|
22
|
+
*/
|
|
23
|
+
volumeId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The mount path for the volume
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkspaceVolume
|
|
28
|
+
*/
|
|
29
|
+
mountPath: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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 });
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { WorkspaceInfo } from './workspace-info';
|
|
13
13
|
import type { WorkspaceState } from './workspace-state';
|
|
14
|
+
import type { WorkspaceVolume } from './workspace-volume';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -41,7 +42,7 @@ export interface Workspace {
|
|
|
41
42
|
* @type {string}
|
|
42
43
|
* @memberof Workspace
|
|
43
44
|
*/
|
|
44
|
-
image
|
|
45
|
+
image?: string;
|
|
45
46
|
/**
|
|
46
47
|
* The user associated with the project
|
|
47
48
|
* @type {string}
|
|
@@ -136,6 +137,12 @@ export interface Workspace {
|
|
|
136
137
|
* @memberof Workspace
|
|
137
138
|
*/
|
|
138
139
|
autoStopInterval?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Array of volumes attached to the workspace
|
|
142
|
+
* @type {Array<WorkspaceVolume>}
|
|
143
|
+
* @memberof Workspace
|
|
144
|
+
*/
|
|
145
|
+
volumes?: Array<WorkspaceVolume>;
|
|
139
146
|
}
|
|
140
147
|
export declare const WorkspaceSnapshotStateEnum: {
|
|
141
148
|
readonly NONE: "None";
|
package/models/api-key-list.ts
CHANGED
|
@@ -51,6 +51,9 @@ export const ApiKeyListPermissionsEnum = {
|
|
|
51
51
|
DELETE_IMAGES: 'delete:images',
|
|
52
52
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
53
53
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
54
|
+
READ_VOLUMES: 'read:volumes',
|
|
55
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
56
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
54
57
|
} as const
|
|
55
58
|
|
|
56
59
|
export type ApiKeyListPermissionsEnum = (typeof ApiKeyListPermissionsEnum)[keyof typeof ApiKeyListPermissionsEnum]
|
|
@@ -51,6 +51,9 @@ export const ApiKeyResponsePermissionsEnum = {
|
|
|
51
51
|
DELETE_IMAGES: 'delete:images',
|
|
52
52
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
53
53
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
54
|
+
READ_VOLUMES: 'read:volumes',
|
|
55
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
56
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
54
57
|
} as const
|
|
55
58
|
|
|
56
59
|
export type ApiKeyResponsePermissionsEnum =
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { CreateBuildInfo } from './create-build-info'
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface BuildImage
|
|
23
|
+
*/
|
|
24
|
+
export interface BuildImage {
|
|
25
|
+
/**
|
|
26
|
+
* The name of the image to build
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuildImage
|
|
29
|
+
*/
|
|
30
|
+
name: string
|
|
31
|
+
/**
|
|
32
|
+
* Build information for the image
|
|
33
|
+
* @type {CreateBuildInfo}
|
|
34
|
+
* @memberof BuildImage
|
|
35
|
+
*/
|
|
36
|
+
buildInfo: CreateBuildInfo
|
|
37
|
+
}
|
package/models/create-api-key.ts
CHANGED
|
@@ -39,6 +39,9 @@ export const CreateApiKeyPermissionsEnum = {
|
|
|
39
39
|
DELETE_IMAGES: 'delete:images',
|
|
40
40
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
41
41
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
42
|
+
READ_VOLUMES: 'read:volumes',
|
|
43
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
44
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
42
45
|
} as const
|
|
43
46
|
|
|
44
47
|
export type CreateApiKeyPermissionsEnum = (typeof CreateApiKeyPermissionsEnum)[keyof typeof CreateApiKeyPermissionsEnum]
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateBuildInfo
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateBuildInfo {
|
|
21
|
+
/**
|
|
22
|
+
* The Dockerfile content used for the build
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateBuildInfo
|
|
25
|
+
*/
|
|
26
|
+
dockerfileContent: string
|
|
27
|
+
/**
|
|
28
|
+
* The context hashes used for the build
|
|
29
|
+
* @type {Array<string>}
|
|
30
|
+
* @memberof CreateBuildInfo
|
|
31
|
+
*/
|
|
32
|
+
contextHashes?: Array<string>
|
|
33
|
+
}
|
|
@@ -45,6 +45,9 @@ export const CreateOrganizationRolePermissionsEnum = {
|
|
|
45
45
|
DELETE_IMAGES: 'delete:images',
|
|
46
46
|
WRITE_SANDBOXES: 'write:sandboxes',
|
|
47
47
|
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
48
|
+
READ_VOLUMES: 'read:volumes',
|
|
49
|
+
WRITE_VOLUMES: 'write:volumes',
|
|
50
|
+
DELETE_VOLUMES: 'delete:volumes',
|
|
48
51
|
} as const
|
|
49
52
|
|
|
50
53
|
export type CreateOrganizationRolePermissionsEnum =
|
package/models/create-user.ts
CHANGED