@daytonaio/api-client 0.16.0 → 0.17.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 +2 -0
- package/api/api-keys-api.ts +16 -0
- package/api/docker-registry-api.ts +28 -0
- package/api/images-api.ts +20 -0
- package/api/nodes-api.ts +12 -0
- package/api/organizations-api.ts +301 -0
- package/api/preview-api.ts +4 -0
- package/api/toolbox-api.ts +144 -0
- package/api/workspace-api.ts +62 -8
- package/dist/api/api-keys-api.js +12 -0
- package/dist/api/docker-registry-api.js +21 -0
- package/dist/api/images-api.js +15 -0
- package/dist/api/nodes-api.js +9 -0
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +219 -0
- package/dist/api/preview-api.js +3 -0
- package/dist/api/toolbox-api.js +108 -0
- package/dist/api/workspace-api.d.ts +9 -8
- package/dist/api/workspace-api.js +43 -4
- package/dist/esm/api/api-keys-api.js +13 -1
- package/dist/esm/api/docker-registry-api.js +22 -1
- package/dist/esm/api/images-api.js +16 -1
- package/dist/esm/api/nodes-api.js +10 -1
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +220 -1
- package/dist/esm/api/preview-api.js +4 -1
- package/dist/esm/api/toolbox-api.js +109 -1
- package/dist/esm/api/workspace-api.d.ts +9 -8
- package/dist/esm/api/workspace-api.js +44 -5
- package/dist/esm/models/create-image.d.ts +2 -2
- package/dist/esm/models/create-organization.d.ts +0 -66
- package/dist/esm/models/create-workspace.d.ts +0 -12
- package/dist/esm/models/image-dto.d.ts +2 -2
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/esm/models/list-workspaces-labels-parameter.js +14 -0
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization.d.ts +24 -0
- package/dist/esm/models/workspace-info.d.ts +2 -1
- package/dist/esm/models/workspace-state.d.ts +1 -1
- package/dist/esm/models/workspace-state.js +1 -1
- package/dist/esm/models/workspace.d.ts +7 -0
- package/dist/models/create-image.d.ts +2 -2
- package/dist/models/create-organization.d.ts +0 -66
- package/dist/models/create-workspace.d.ts +0 -12
- package/dist/models/image-dto.d.ts +2 -2
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/models/list-workspaces-labels-parameter.js +15 -0
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization.d.ts +24 -0
- package/dist/models/workspace-info.d.ts +2 -1
- package/dist/models/workspace-state.d.ts +1 -1
- package/dist/models/workspace-state.js +1 -1
- package/dist/models/workspace.d.ts +7 -0
- package/models/create-image.ts +2 -2
- package/models/create-organization.ts +0 -66
- package/models/create-workspace.ts +0 -12
- package/models/image-dto.ts +2 -2
- package/models/index.ts +2 -0
- package/models/list-workspaces-labels-parameter.ts +27 -0
- package/models/organization-suspension.ts +33 -0
- package/models/organization.ts +24 -0
- package/models/workspace-info.ts +2 -1
- package/models/workspace-state.ts +1 -1
- package/models/workspace.ts +7 -0
- package/package.json +1 -1
|
@@ -21,70 +21,4 @@ export interface CreateOrganization {
|
|
|
21
21
|
* @memberof CreateOrganization
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CreateOrganization
|
|
28
|
-
*/
|
|
29
|
-
totalCpuQuota?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CreateOrganization
|
|
34
|
-
*/
|
|
35
|
-
totalMemoryQuota?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CreateOrganization
|
|
40
|
-
*/
|
|
41
|
-
totalDiskQuota?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof CreateOrganization
|
|
46
|
-
*/
|
|
47
|
-
maxCpuPerWorkspace?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CreateOrganization
|
|
52
|
-
*/
|
|
53
|
-
maxMemoryPerWorkspace?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof CreateOrganization
|
|
58
|
-
*/
|
|
59
|
-
maxDiskPerWorkspace?: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof CreateOrganization
|
|
64
|
-
*/
|
|
65
|
-
maxConcurrentWorkspaces?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof CreateOrganization
|
|
70
|
-
*/
|
|
71
|
-
workspaceQuota?: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof CreateOrganization
|
|
76
|
-
*/
|
|
77
|
-
imageQuota?: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof CreateOrganization
|
|
82
|
-
*/
|
|
83
|
-
maxImageSize?: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof CreateOrganization
|
|
88
|
-
*/
|
|
89
|
-
totalImageSize?: number;
|
|
90
24
|
}
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
* @interface CreateWorkspace
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateWorkspace {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the workspace
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateWorkspace
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The name of the workspace
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateWorkspace
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
18
|
/**
|
|
31
19
|
* The image used for the workspace
|
|
32
20
|
* @type {string}
|
|
@@ -31,6 +31,7 @@ export * from './git-status';
|
|
|
31
31
|
export * from './image-dto';
|
|
32
32
|
export * from './image-state';
|
|
33
33
|
export * from './list-branch-response';
|
|
34
|
+
export * from './list-workspaces-labels-parameter';
|
|
34
35
|
export * from './lsp-completion-params';
|
|
35
36
|
export * from './lsp-document-request';
|
|
36
37
|
export * from './lsp-location';
|
|
@@ -40,6 +41,7 @@ export * from './match';
|
|
|
40
41
|
export * from './organization';
|
|
41
42
|
export * from './organization-invitation';
|
|
42
43
|
export * from './organization-role';
|
|
44
|
+
export * from './organization-suspension';
|
|
43
45
|
export * from './organization-user';
|
|
44
46
|
export * from './paginated-images-dto';
|
|
45
47
|
export * from './port-preview-url';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -31,6 +31,7 @@ export * from './git-status';
|
|
|
31
31
|
export * from './image-dto';
|
|
32
32
|
export * from './image-state';
|
|
33
33
|
export * from './list-branch-response';
|
|
34
|
+
export * from './list-workspaces-labels-parameter';
|
|
34
35
|
export * from './lsp-completion-params';
|
|
35
36
|
export * from './lsp-document-request';
|
|
36
37
|
export * from './lsp-location';
|
|
@@ -40,6 +41,7 @@ export * from './match';
|
|
|
40
41
|
export * from './organization';
|
|
41
42
|
export * from './organization-invitation';
|
|
42
43
|
export * from './organization-role';
|
|
44
|
+
export * from './organization-suspension';
|
|
43
45
|
export * from './organization-user';
|
|
44
46
|
export * from './paginated-images-dto';
|
|
45
47
|
export * from './port-preview-url';
|
|
@@ -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
|
+
* @interface ListWorkspacesLabelsParameter
|
|
16
|
+
*/
|
|
17
|
+
export interface ListWorkspacesLabelsParameter {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof ListWorkspacesLabelsParameter
|
|
22
|
+
*/
|
|
23
|
+
labels?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -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,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 OrganizationSuspension
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationSuspension {
|
|
18
|
+
/**
|
|
19
|
+
* Suspension reason
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationSuspension
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
/**
|
|
25
|
+
* Suspension until
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof OrganizationSuspension
|
|
28
|
+
*/
|
|
29
|
+
until: Date;
|
|
30
|
+
}
|
|
@@ -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 {};
|
|
@@ -51,4 +51,28 @@ export interface Organization {
|
|
|
51
51
|
* @memberof Organization
|
|
52
52
|
*/
|
|
53
53
|
updatedAt: Date;
|
|
54
|
+
/**
|
|
55
|
+
* Suspended flag
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Organization
|
|
58
|
+
*/
|
|
59
|
+
suspended: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Suspended at
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof Organization
|
|
64
|
+
*/
|
|
65
|
+
suspendedAt: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Suspended reason
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Organization
|
|
70
|
+
*/
|
|
71
|
+
suspensionReason: string;
|
|
72
|
+
/**
|
|
73
|
+
* Suspended until
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof Organization
|
|
76
|
+
*/
|
|
77
|
+
suspendedUntil: Date;
|
|
54
78
|
}
|
|
@@ -27,8 +27,15 @@ export interface Workspace {
|
|
|
27
27
|
* The name of the workspace
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof Workspace
|
|
30
|
+
* @deprecated
|
|
30
31
|
*/
|
|
31
32
|
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The organization ID of the workspace
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Workspace
|
|
37
|
+
*/
|
|
38
|
+
organizationId: string;
|
|
32
39
|
/**
|
|
33
40
|
* The image used for the workspace
|
|
34
41
|
* @type {string}
|
|
@@ -23,10 +23,10 @@ export interface CreateImage {
|
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The entrypoint command for the image
|
|
26
|
-
* @type {string}
|
|
26
|
+
* @type {Array<string>}
|
|
27
27
|
* @memberof CreateImage
|
|
28
28
|
*/
|
|
29
|
-
entrypoint?: string
|
|
29
|
+
entrypoint?: Array<string>;
|
|
30
30
|
/**
|
|
31
31
|
* Whether the image is general
|
|
32
32
|
* @type {boolean}
|
|
@@ -21,70 +21,4 @@ export interface CreateOrganization {
|
|
|
21
21
|
* @memberof CreateOrganization
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CreateOrganization
|
|
28
|
-
*/
|
|
29
|
-
totalCpuQuota?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CreateOrganization
|
|
34
|
-
*/
|
|
35
|
-
totalMemoryQuota?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CreateOrganization
|
|
40
|
-
*/
|
|
41
|
-
totalDiskQuota?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof CreateOrganization
|
|
46
|
-
*/
|
|
47
|
-
maxCpuPerWorkspace?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CreateOrganization
|
|
52
|
-
*/
|
|
53
|
-
maxMemoryPerWorkspace?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof CreateOrganization
|
|
58
|
-
*/
|
|
59
|
-
maxDiskPerWorkspace?: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof CreateOrganization
|
|
64
|
-
*/
|
|
65
|
-
maxConcurrentWorkspaces?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof CreateOrganization
|
|
70
|
-
*/
|
|
71
|
-
workspaceQuota?: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof CreateOrganization
|
|
76
|
-
*/
|
|
77
|
-
imageQuota?: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof CreateOrganization
|
|
82
|
-
*/
|
|
83
|
-
maxImageSize?: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof CreateOrganization
|
|
88
|
-
*/
|
|
89
|
-
totalImageSize?: number;
|
|
90
24
|
}
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
* @interface CreateWorkspace
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateWorkspace {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the workspace
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateWorkspace
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The name of the workspace
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateWorkspace
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
18
|
/**
|
|
31
19
|
* The image used for the workspace
|
|
32
20
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './git-status';
|
|
|
31
31
|
export * from './image-dto';
|
|
32
32
|
export * from './image-state';
|
|
33
33
|
export * from './list-branch-response';
|
|
34
|
+
export * from './list-workspaces-labels-parameter';
|
|
34
35
|
export * from './lsp-completion-params';
|
|
35
36
|
export * from './lsp-document-request';
|
|
36
37
|
export * from './lsp-location';
|
|
@@ -40,6 +41,7 @@ export * from './match';
|
|
|
40
41
|
export * from './organization';
|
|
41
42
|
export * from './organization-invitation';
|
|
42
43
|
export * from './organization-role';
|
|
44
|
+
export * from './organization-suspension';
|
|
43
45
|
export * from './organization-user';
|
|
44
46
|
export * from './paginated-images-dto';
|
|
45
47
|
export * from './port-preview-url';
|
package/dist/models/index.js
CHANGED
|
@@ -47,6 +47,7 @@ __exportStar(require("./git-status"), exports);
|
|
|
47
47
|
__exportStar(require("./image-dto"), exports);
|
|
48
48
|
__exportStar(require("./image-state"), exports);
|
|
49
49
|
__exportStar(require("./list-branch-response"), exports);
|
|
50
|
+
__exportStar(require("./list-workspaces-labels-parameter"), exports);
|
|
50
51
|
__exportStar(require("./lsp-completion-params"), exports);
|
|
51
52
|
__exportStar(require("./lsp-document-request"), exports);
|
|
52
53
|
__exportStar(require("./lsp-location"), exports);
|
|
@@ -56,6 +57,7 @@ __exportStar(require("./match"), exports);
|
|
|
56
57
|
__exportStar(require("./organization"), exports);
|
|
57
58
|
__exportStar(require("./organization-invitation"), exports);
|
|
58
59
|
__exportStar(require("./organization-role"), exports);
|
|
60
|
+
__exportStar(require("./organization-suspension"), exports);
|
|
59
61
|
__exportStar(require("./organization-user"), exports);
|
|
60
62
|
__exportStar(require("./paginated-images-dto"), exports);
|
|
61
63
|
__exportStar(require("./port-preview-url"), exports);
|
|
@@ -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
|
+
* @interface ListWorkspacesLabelsParameter
|
|
16
|
+
*/
|
|
17
|
+
export interface ListWorkspacesLabelsParameter {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof ListWorkspacesLabelsParameter
|
|
22
|
+
*/
|
|
23
|
+
labels?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -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 });
|
|
@@ -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 OrganizationSuspension
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationSuspension {
|
|
18
|
+
/**
|
|
19
|
+
* Suspension reason
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationSuspension
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
/**
|
|
25
|
+
* Suspension until
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof OrganizationSuspension
|
|
28
|
+
*/
|
|
29
|
+
until: Date;
|
|
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 });
|
|
@@ -51,4 +51,28 @@ export interface Organization {
|
|
|
51
51
|
* @memberof Organization
|
|
52
52
|
*/
|
|
53
53
|
updatedAt: Date;
|
|
54
|
+
/**
|
|
55
|
+
* Suspended flag
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Organization
|
|
58
|
+
*/
|
|
59
|
+
suspended: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Suspended at
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof Organization
|
|
64
|
+
*/
|
|
65
|
+
suspendedAt: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Suspended reason
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Organization
|
|
70
|
+
*/
|
|
71
|
+
suspensionReason: string;
|
|
72
|
+
/**
|
|
73
|
+
* Suspended until
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof Organization
|
|
76
|
+
*/
|
|
77
|
+
suspendedUntil: Date;
|
|
54
78
|
}
|
|
@@ -27,8 +27,15 @@ export interface Workspace {
|
|
|
27
27
|
* The name of the workspace
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof Workspace
|
|
30
|
+
* @deprecated
|
|
30
31
|
*/
|
|
31
32
|
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The organization ID of the workspace
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Workspace
|
|
37
|
+
*/
|
|
38
|
+
organizationId: string;
|
|
32
39
|
/**
|
|
33
40
|
* The image used for the workspace
|
|
34
41
|
* @type {string}
|
package/models/create-image.ts
CHANGED
|
@@ -26,10 +26,10 @@ export interface CreateImage {
|
|
|
26
26
|
name: string
|
|
27
27
|
/**
|
|
28
28
|
* The entrypoint command for the image
|
|
29
|
-
* @type {string}
|
|
29
|
+
* @type {Array<string>}
|
|
30
30
|
* @memberof CreateImage
|
|
31
31
|
*/
|
|
32
|
-
entrypoint?: string
|
|
32
|
+
entrypoint?: Array<string>
|
|
33
33
|
/**
|
|
34
34
|
* Whether the image is general
|
|
35
35
|
* @type {boolean}
|