@daytonaio/api-client 0.13.0 → 0.15.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 +19 -0
- package/README.md +2 -2
- package/api/api-keys-api.ts +60 -28
- package/api/docker-registry-api.ts +182 -58
- package/api/images-api.ts +60 -28
- package/api/organizations-api.ts +1858 -0
- package/api/toolbox-api.ts +548 -252
- package/api/users-api.ts +14 -14
- package/api/workspace-api.ts +334 -161
- package/api.ts +1 -0
- package/dist/api/api-keys-api.d.ts +32 -16
- package/dist/api/api-keys-api.js +56 -28
- package/dist/api/docker-registry-api.d.ts +98 -40
- package/dist/api/docker-registry-api.js +169 -58
- package/dist/api/images-api.d.ts +32 -16
- package/dist/api/images-api.js +56 -28
- package/dist/api/organizations-api.d.ts +856 -0
- package/dist/api/organizations-api.js +1741 -0
- package/dist/api/toolbox-api.d.ts +292 -144
- package/dist/api/toolbox-api.js +511 -252
- package/dist/api/users-api.d.ts +9 -9
- package/dist/api/users-api.js +13 -13
- package/dist/api/workspace-api.d.ts +182 -97
- package/dist/api/workspace-api.js +319 -162
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/api-keys-api.d.ts +32 -16
- package/dist/esm/api/api-keys-api.js +56 -28
- package/dist/esm/api/docker-registry-api.d.ts +98 -40
- package/dist/esm/api/docker-registry-api.js +169 -58
- package/dist/esm/api/images-api.d.ts +32 -16
- package/dist/esm/api/images-api.js +56 -28
- package/dist/esm/api/organizations-api.d.ts +856 -0
- package/dist/esm/api/organizations-api.js +1734 -0
- package/dist/esm/api/toolbox-api.d.ts +292 -144
- package/dist/esm/api/toolbox-api.js +511 -252
- package/dist/esm/api/users-api.d.ts +9 -9
- package/dist/esm/api/users-api.js +13 -13
- package/dist/esm/api/workspace-api.d.ts +182 -97
- package/dist/esm/api/workspace-api.js +319 -162
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/api-key-list.d.ts +15 -0
- package/dist/esm/models/api-key-list.js +8 -1
- package/dist/esm/models/api-key-response.d.ts +15 -0
- package/dist/esm/models/api-key-response.js +8 -1
- package/dist/esm/models/create-api-key.d.ts +15 -0
- package/dist/esm/models/create-api-key.js +8 -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-organization-invitation.d.ts +47 -0
- package/dist/esm/models/create-organization-invitation.js +17 -0
- package/dist/esm/models/create-organization-quota.d.ts +84 -0
- package/dist/esm/models/create-organization-quota.js +14 -0
- package/dist/esm/models/create-organization-role.d.ts +45 -0
- package/dist/esm/models/create-organization-role.js +21 -0
- package/dist/esm/models/create-organization.d.ts +90 -0
- package/dist/esm/models/create-organization.js +14 -0
- package/dist/esm/models/create-user.d.ts +13 -0
- package/dist/esm/models/create-workspace.d.ts +6 -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 +4 -12
- 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 +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/organization-invitation.d.ts +91 -0
- package/dist/esm/models/organization-invitation.js +23 -0
- package/dist/esm/models/organization-role.d.ts +69 -0
- package/dist/esm/models/organization-role.js +21 -0
- package/dist/esm/models/organization-user.d.ts +72 -0
- package/dist/esm/models/organization-user.js +17 -0
- package/dist/esm/models/organization.d.ts +54 -0
- package/dist/esm/models/organization.js +14 -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-assigned-organization-roles.d.ts +24 -0
- package/dist/esm/models/update-assigned-organization-roles.js +14 -0
- package/dist/esm/models/update-organization-invitation.d.ts +41 -0
- package/dist/esm/models/update-organization-invitation.js +17 -0
- package/dist/esm/models/update-organization-member-role.d.ts +29 -0
- package/dist/esm/models/update-organization-member-role.js +17 -0
- package/dist/esm/models/update-organization-quota.d.ts +84 -0
- package/dist/esm/models/update-organization-quota.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +45 -0
- package/dist/esm/models/update-organization-role.js +21 -0
- package/dist/esm/models/user-public-key.d.ts +30 -0
- package/dist/esm/models/user-public-key.js +14 -0
- package/dist/esm/models/user.d.ts +43 -0
- package/dist/esm/models/user.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 +12 -3
- package/dist/esm/models/workspace.js +7 -1
- package/dist/models/api-key-list.d.ts +15 -0
- package/dist/models/api-key-list.js +9 -0
- package/dist/models/api-key-response.d.ts +15 -0
- package/dist/models/api-key-response.js +9 -0
- package/dist/models/create-api-key.d.ts +15 -0
- package/dist/models/create-api-key.js +9 -0
- 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-organization-invitation.d.ts +47 -0
- package/dist/models/create-organization-invitation.js +20 -0
- package/dist/models/create-organization-quota.d.ts +84 -0
- package/dist/models/create-organization-quota.js +15 -0
- package/dist/models/create-organization-role.d.ts +45 -0
- package/dist/models/create-organization-role.js +24 -0
- package/dist/models/create-organization.d.ts +90 -0
- package/dist/models/create-organization.js +15 -0
- package/dist/models/create-user.d.ts +13 -0
- package/dist/models/create-workspace.d.ts +6 -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 +4 -12
- 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 +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/organization-invitation.d.ts +91 -0
- package/dist/models/organization-invitation.js +26 -0
- package/dist/models/organization-role.d.ts +69 -0
- package/dist/models/organization-role.js +24 -0
- package/dist/models/organization-user.d.ts +72 -0
- package/dist/models/organization-user.js +20 -0
- package/dist/models/organization.d.ts +54 -0
- package/dist/models/organization.js +15 -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-assigned-organization-roles.d.ts +24 -0
- package/dist/models/update-assigned-organization-roles.js +15 -0
- package/dist/models/update-organization-invitation.d.ts +41 -0
- package/dist/models/update-organization-invitation.js +20 -0
- package/dist/models/update-organization-member-role.d.ts +29 -0
- package/dist/models/update-organization-member-role.js +20 -0
- package/dist/models/update-organization-quota.d.ts +84 -0
- package/dist/models/update-organization-quota.js +15 -0
- package/dist/models/update-organization-role.d.ts +45 -0
- package/dist/models/update-organization-role.js +24 -0
- package/dist/models/user-public-key.d.ts +30 -0
- package/dist/models/user-public-key.js +15 -0
- package/dist/models/user.d.ts +43 -0
- package/dist/models/user.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 +12 -3
- package/dist/models/workspace.js +8 -0
- package/models/api-key-list.ts +18 -0
- package/models/api-key-response.ts +18 -0
- package/models/create-api-key.ts +18 -0
- package/models/create-docker-registry.ts +22 -0
- package/models/create-node.ts +76 -0
- package/models/create-organization-invitation.ts +56 -0
- package/models/create-organization-quota.ts +90 -0
- package/models/create-organization-role.ts +54 -0
- package/models/create-organization.ts +96 -0
- package/models/create-user.ts +15 -0
- package/models/create-workspace.ts +6 -6
- package/models/docker-registry.ts +16 -0
- package/models/image-dto.ts +6 -13
- package/models/image-state.ts +36 -0
- package/models/index.ts +18 -0
- package/models/organization-invitation.ts +103 -0
- package/models/organization-role.ts +78 -0
- package/models/organization-user.ts +83 -0
- package/models/organization.ts +60 -0
- package/models/registry-push-access-dto.ts +60 -0
- package/models/update-assigned-organization-roles.ts +30 -0
- package/models/update-organization-invitation.ts +50 -0
- package/models/update-organization-member-role.ts +38 -0
- package/models/update-organization-quota.ts +90 -0
- package/models/update-organization-role.ts +54 -0
- package/models/user-public-key.ts +36 -0
- package/models/user.ts +51 -0
- package/models/workspace-state.ts +43 -0
- package/models/workspace.ts +17 -3
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './api/api-keys-api';
|
|
|
13
13
|
export * from './api/docker-registry-api';
|
|
14
14
|
export * from './api/images-api';
|
|
15
15
|
export * from './api/nodes-api';
|
|
16
|
+
export * from './api/organizations-api';
|
|
16
17
|
export * from './api/toolbox-api';
|
|
17
18
|
export * from './api/users-api';
|
|
18
19
|
export * from './api/workspace-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -15,6 +15,7 @@ export * from './api/api-keys-api';
|
|
|
15
15
|
export * from './api/docker-registry-api';
|
|
16
16
|
export * from './api/images-api';
|
|
17
17
|
export * from './api/nodes-api';
|
|
18
|
+
export * from './api/organizations-api';
|
|
18
19
|
export * from './api/toolbox-api';
|
|
19
20
|
export * from './api/users-api';
|
|
20
21
|
export * from './api/workspace-api';
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -33,4 +33,19 @@ export interface ApiKeyList {
|
|
|
33
33
|
* @memberof ApiKeyList
|
|
34
34
|
*/
|
|
35
35
|
'createdAt': string;
|
|
36
|
+
/**
|
|
37
|
+
* The list of organization resource permissions assigned to the API key
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ApiKeyList
|
|
40
|
+
*/
|
|
41
|
+
'permissions': Array<ApiKeyListPermissionsEnum>;
|
|
36
42
|
}
|
|
43
|
+
export declare const ApiKeyListPermissionsEnum: {
|
|
44
|
+
readonly WRITEREGISTRIES: "write:registries";
|
|
45
|
+
readonly DELETEREGISTRIES: "delete:registries";
|
|
46
|
+
readonly WRITEIMAGES: "write:images";
|
|
47
|
+
readonly DELETEIMAGES: "delete:images";
|
|
48
|
+
readonly WRITESANDBOXES: "write:sandboxes";
|
|
49
|
+
readonly DELETESANDBOXES: "delete:sandboxes";
|
|
50
|
+
};
|
|
51
|
+
export type ApiKeyListPermissionsEnum = typeof ApiKeyListPermissionsEnum[keyof typeof ApiKeyListPermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const ApiKeyListPermissionsEnum = {
|
|
15
|
+
WRITEREGISTRIES: 'write:registries',
|
|
16
|
+
DELETEREGISTRIES: 'delete:registries',
|
|
17
|
+
WRITEIMAGES: 'write:images',
|
|
18
|
+
DELETEIMAGES: 'delete:images',
|
|
19
|
+
WRITESANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETESANDBOXES: 'delete:sandboxes'
|
|
21
|
+
};
|
|
@@ -33,4 +33,19 @@ export interface ApiKeyResponse {
|
|
|
33
33
|
* @memberof ApiKeyResponse
|
|
34
34
|
*/
|
|
35
35
|
'createdAt': string;
|
|
36
|
+
/**
|
|
37
|
+
* The list of organization resource permissions assigned to the API key
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ApiKeyResponse
|
|
40
|
+
*/
|
|
41
|
+
'permissions': Array<ApiKeyResponsePermissionsEnum>;
|
|
36
42
|
}
|
|
43
|
+
export declare const ApiKeyResponsePermissionsEnum: {
|
|
44
|
+
readonly WRITEREGISTRIES: "write:registries";
|
|
45
|
+
readonly DELETEREGISTRIES: "delete:registries";
|
|
46
|
+
readonly WRITEIMAGES: "write:images";
|
|
47
|
+
readonly DELETEIMAGES: "delete:images";
|
|
48
|
+
readonly WRITESANDBOXES: "write:sandboxes";
|
|
49
|
+
readonly DELETESANDBOXES: "delete:sandboxes";
|
|
50
|
+
};
|
|
51
|
+
export type ApiKeyResponsePermissionsEnum = typeof ApiKeyResponsePermissionsEnum[keyof typeof ApiKeyResponsePermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const ApiKeyResponsePermissionsEnum = {
|
|
15
|
+
WRITEREGISTRIES: 'write:registries',
|
|
16
|
+
DELETEREGISTRIES: 'delete:registries',
|
|
17
|
+
WRITEIMAGES: 'write:images',
|
|
18
|
+
DELETEIMAGES: 'delete:images',
|
|
19
|
+
WRITESANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETESANDBOXES: 'delete:sandboxes'
|
|
21
|
+
};
|
|
@@ -21,4 +21,19 @@ export interface CreateApiKey {
|
|
|
21
21
|
* @memberof CreateApiKey
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The list of organization resource permissions assigned to the API key
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CreateApiKey
|
|
28
|
+
*/
|
|
29
|
+
'permissions': Array<CreateApiKeyPermissionsEnum>;
|
|
24
30
|
}
|
|
31
|
+
export declare const CreateApiKeyPermissionsEnum: {
|
|
32
|
+
readonly WRITEREGISTRIES: "write:registries";
|
|
33
|
+
readonly DELETEREGISTRIES: "delete:registries";
|
|
34
|
+
readonly WRITEIMAGES: "write:images";
|
|
35
|
+
readonly DELETEIMAGES: "delete:images";
|
|
36
|
+
readonly WRITESANDBOXES: "write:sandboxes";
|
|
37
|
+
readonly DELETESANDBOXES: "delete:sandboxes";
|
|
38
|
+
};
|
|
39
|
+
export type CreateApiKeyPermissionsEnum = typeof CreateApiKeyPermissionsEnum[keyof typeof CreateApiKeyPermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const CreateApiKeyPermissionsEnum = {
|
|
15
|
+
WRITEREGISTRIES: 'write:registries',
|
|
16
|
+
DELETEREGISTRIES: 'delete:registries',
|
|
17
|
+
WRITEIMAGES: 'write:images',
|
|
18
|
+
DELETEIMAGES: 'delete:images',
|
|
19
|
+
WRITESANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETESANDBOXES: 'delete:sandboxes'
|
|
21
|
+
};
|
|
@@ -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 ORGANIZATION: "organization";
|
|
64
|
+
readonly PUBLIC: "public";
|
|
65
|
+
readonly TRANSIENT: "transient";
|
|
66
|
+
};
|
|
67
|
+
export type CreateDockerRegistryRegistryTypeEnum = typeof CreateDockerRegistryRegistryTypeEnum[keyof typeof CreateDockerRegistryRegistryTypeEnum];
|
|
@@ -11,4 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const CreateDockerRegistryRegistryTypeEnum = {
|
|
15
|
+
INTERNAL: 'internal',
|
|
16
|
+
ORGANIZATION: 'organization',
|
|
17
|
+
PUBLIC: 'public',
|
|
18
|
+
TRANSIENT: 'transient'
|
|
19
|
+
};
|
|
@@ -21,4 +21,76 @@ export interface CreateNode {
|
|
|
21
21
|
* @memberof CreateNode
|
|
22
22
|
*/
|
|
23
23
|
'domain': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateNode
|
|
28
|
+
*/
|
|
29
|
+
'apiUrl': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateNode
|
|
34
|
+
*/
|
|
35
|
+
'apiKey': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateNode
|
|
40
|
+
*/
|
|
41
|
+
'cpu': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateNode
|
|
46
|
+
*/
|
|
47
|
+
'memory': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreateNode
|
|
52
|
+
*/
|
|
53
|
+
'disk': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CreateNode
|
|
58
|
+
*/
|
|
59
|
+
'gpu': number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateNode
|
|
64
|
+
*/
|
|
65
|
+
'gpuType': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateNode
|
|
70
|
+
*/
|
|
71
|
+
'class': CreateNodeClassEnum;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CreateNode
|
|
76
|
+
*/
|
|
77
|
+
'capacity': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateNode
|
|
82
|
+
*/
|
|
83
|
+
'region': CreateNodeRegionEnum;
|
|
24
84
|
}
|
|
85
|
+
export declare const CreateNodeClassEnum: {
|
|
86
|
+
readonly SMALL: "small";
|
|
87
|
+
readonly MEDIUM: "medium";
|
|
88
|
+
readonly LARGE: "large";
|
|
89
|
+
};
|
|
90
|
+
export type CreateNodeClassEnum = typeof CreateNodeClassEnum[keyof typeof CreateNodeClassEnum];
|
|
91
|
+
export declare const CreateNodeRegionEnum: {
|
|
92
|
+
readonly EU: "eu";
|
|
93
|
+
readonly US: "us";
|
|
94
|
+
readonly ASIA: "asia";
|
|
95
|
+
};
|
|
96
|
+
export type CreateNodeRegionEnum = typeof CreateNodeRegionEnum[keyof typeof CreateNodeRegionEnum];
|
|
@@ -11,4 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const CreateNodeClassEnum = {
|
|
15
|
+
SMALL: 'small',
|
|
16
|
+
MEDIUM: 'medium',
|
|
17
|
+
LARGE: 'large'
|
|
18
|
+
};
|
|
19
|
+
export const CreateNodeRegionEnum = {
|
|
20
|
+
EU: 'eu',
|
|
21
|
+
US: 'us',
|
|
22
|
+
ASIA: 'asia'
|
|
23
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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 CreateOrganizationInvitation
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrganizationInvitation {
|
|
18
|
+
/**
|
|
19
|
+
* Email address of the invitee
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrganizationInvitation
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* Organization member role for the invitee
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateOrganizationInvitation
|
|
28
|
+
*/
|
|
29
|
+
'role': CreateOrganizationInvitationRoleEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Array of assigned role IDs for the invitee
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreateOrganizationInvitation
|
|
34
|
+
*/
|
|
35
|
+
'assignedRoleIds': Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Expiration date of the invitation
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateOrganizationInvitation
|
|
40
|
+
*/
|
|
41
|
+
'expiresAt'?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const CreateOrganizationInvitationRoleEnum: {
|
|
44
|
+
readonly OWNER: "owner";
|
|
45
|
+
readonly MEMBER: "member";
|
|
46
|
+
};
|
|
47
|
+
export type CreateOrganizationInvitationRoleEnum = typeof CreateOrganizationInvitationRoleEnum[keyof typeof CreateOrganizationInvitationRoleEnum];
|
|
@@ -0,0 +1,17 @@
|
|
|
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 const CreateOrganizationInvitationRoleEnum = {
|
|
15
|
+
OWNER: 'owner',
|
|
16
|
+
MEMBER: 'member'
|
|
17
|
+
};
|
|
@@ -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 CreateOrganizationQuota
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrganizationQuota {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreateOrganizationQuota
|
|
22
|
+
*/
|
|
23
|
+
'totalCpuQuota'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreateOrganizationQuota
|
|
28
|
+
*/
|
|
29
|
+
'totalMemoryQuota'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateOrganizationQuota
|
|
34
|
+
*/
|
|
35
|
+
'totalDiskQuota'?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateOrganizationQuota
|
|
40
|
+
*/
|
|
41
|
+
'maxCpuPerWorkspace'?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateOrganizationQuota
|
|
46
|
+
*/
|
|
47
|
+
'maxMemoryPerWorkspace'?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreateOrganizationQuota
|
|
52
|
+
*/
|
|
53
|
+
'maxDiskPerWorkspace'?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CreateOrganizationQuota
|
|
58
|
+
*/
|
|
59
|
+
'maxConcurrentWorkspaces'?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CreateOrganizationQuota
|
|
64
|
+
*/
|
|
65
|
+
'workspaceQuota'?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CreateOrganizationQuota
|
|
70
|
+
*/
|
|
71
|
+
'imageQuota'?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CreateOrganizationQuota
|
|
76
|
+
*/
|
|
77
|
+
'maxImageSize'?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof CreateOrganizationQuota
|
|
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,45 @@
|
|
|
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 CreateOrganizationRole
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrganizationRole {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the role
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrganizationRole
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The description of the role
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateOrganizationRole
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
* The list of permissions assigned to the role
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreateOrganizationRole
|
|
34
|
+
*/
|
|
35
|
+
'permissions': Array<CreateOrganizationRolePermissionsEnum>;
|
|
36
|
+
}
|
|
37
|
+
export declare const CreateOrganizationRolePermissionsEnum: {
|
|
38
|
+
readonly WRITEREGISTRIES: "write:registries";
|
|
39
|
+
readonly DELETEREGISTRIES: "delete:registries";
|
|
40
|
+
readonly WRITEIMAGES: "write:images";
|
|
41
|
+
readonly DELETEIMAGES: "delete:images";
|
|
42
|
+
readonly WRITESANDBOXES: "write:sandboxes";
|
|
43
|
+
readonly DELETESANDBOXES: "delete:sandboxes";
|
|
44
|
+
};
|
|
45
|
+
export type CreateOrganizationRolePermissionsEnum = typeof CreateOrganizationRolePermissionsEnum[keyof typeof CreateOrganizationRolePermissionsEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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 const CreateOrganizationRolePermissionsEnum = {
|
|
15
|
+
WRITEREGISTRIES: 'write:registries',
|
|
16
|
+
DELETEREGISTRIES: 'delete:registries',
|
|
17
|
+
WRITEIMAGES: 'write:images',
|
|
18
|
+
DELETEIMAGES: 'delete:images',
|
|
19
|
+
WRITESANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETESANDBOXES: 'delete:sandboxes'
|
|
21
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
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 CreateOrganization
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrganization {
|
|
18
|
+
/**
|
|
19
|
+
* The name of organization
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrganization
|
|
22
|
+
*/
|
|
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
|
+
}
|
|
@@ -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 {};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CreateOrganizationQuota } from './create-organization-quota';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,4 +28,16 @@ export interface CreateUser {
|
|
|
27
28
|
* @memberof CreateUser
|
|
28
29
|
*/
|
|
29
30
|
'name': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateUser
|
|
35
|
+
*/
|
|
36
|
+
'email'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CreateOrganizationQuota}
|
|
40
|
+
* @memberof CreateUser
|
|
41
|
+
*/
|
|
42
|
+
'personalOrganizationQuota'?: CreateOrganizationQuota;
|
|
30
43
|
}
|
|
@@ -105,14 +105,14 @@ export interface CreateWorkspace {
|
|
|
105
105
|
'autoStopInterval'?: number;
|
|
106
106
|
}
|
|
107
107
|
export declare const CreateWorkspaceClassEnum: {
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
108
|
+
readonly SMALL: "small";
|
|
109
|
+
readonly MEDIUM: "medium";
|
|
110
|
+
readonly LARGE: "large";
|
|
111
111
|
};
|
|
112
112
|
export type CreateWorkspaceClassEnum = typeof CreateWorkspaceClassEnum[keyof typeof CreateWorkspaceClassEnum];
|
|
113
113
|
export declare const CreateWorkspaceTargetEnum: {
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
114
|
+
readonly EU: "eu";
|
|
115
|
+
readonly US: "us";
|
|
116
|
+
readonly ASIA: "asia";
|
|
117
117
|
};
|
|
118
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
|
};
|