@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
|
@@ -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 ORGANIZATION: "organization";
|
|
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
|
|
@@ -26,7 +27,7 @@ export interface ImageDto {
|
|
|
26
27
|
* @type {string}
|
|
27
28
|
* @memberof ImageDto
|
|
28
29
|
*/
|
|
29
|
-
'
|
|
30
|
+
'organizationId'?: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
@@ -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
|
+
};
|
|
@@ -8,6 +8,10 @@ export * from './create-api-key';
|
|
|
8
8
|
export * from './create-docker-registry';
|
|
9
9
|
export * from './create-image';
|
|
10
10
|
export * from './create-node';
|
|
11
|
+
export * from './create-organization';
|
|
12
|
+
export * from './create-organization-invitation';
|
|
13
|
+
export * from './create-organization-quota';
|
|
14
|
+
export * from './create-organization-role';
|
|
11
15
|
export * from './create-session-request';
|
|
12
16
|
export * from './create-user';
|
|
13
17
|
export * from './create-workspace';
|
|
@@ -25,6 +29,7 @@ export * from './git-commit-response';
|
|
|
25
29
|
export * from './git-repo-request';
|
|
26
30
|
export * from './git-status';
|
|
27
31
|
export * from './image-dto';
|
|
32
|
+
export * from './image-state';
|
|
28
33
|
export * from './list-branch-response';
|
|
29
34
|
export * from './lsp-completion-params';
|
|
30
35
|
export * from './lsp-document-request';
|
|
@@ -32,10 +37,15 @@ export * from './lsp-location';
|
|
|
32
37
|
export * from './lsp-server-request';
|
|
33
38
|
export * from './lsp-symbol';
|
|
34
39
|
export * from './match';
|
|
40
|
+
export * from './organization';
|
|
41
|
+
export * from './organization-invitation';
|
|
42
|
+
export * from './organization-role';
|
|
43
|
+
export * from './organization-user';
|
|
35
44
|
export * from './paginated-images-dto';
|
|
36
45
|
export * from './position';
|
|
37
46
|
export * from './project-dir-response';
|
|
38
47
|
export * from './range';
|
|
48
|
+
export * from './registry-push-access-dto';
|
|
39
49
|
export * from './replace-request';
|
|
40
50
|
export * from './replace-result';
|
|
41
51
|
export * from './search-files-response';
|
|
@@ -43,8 +53,16 @@ export * from './session';
|
|
|
43
53
|
export * from './session-execute-request';
|
|
44
54
|
export * from './session-execute-response';
|
|
45
55
|
export * from './toggle-state';
|
|
56
|
+
export * from './update-assigned-organization-roles';
|
|
46
57
|
export * from './update-docker-registry';
|
|
58
|
+
export * from './update-organization-invitation';
|
|
59
|
+
export * from './update-organization-member-role';
|
|
60
|
+
export * from './update-organization-quota';
|
|
61
|
+
export * from './update-organization-role';
|
|
47
62
|
export * from './usage-overview';
|
|
63
|
+
export * from './user';
|
|
64
|
+
export * from './user-public-key';
|
|
48
65
|
export * from './workspace';
|
|
49
66
|
export * from './workspace-info';
|
|
50
67
|
export * from './workspace-labels';
|
|
68
|
+
export * from './workspace-state';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -8,6 +8,10 @@ export * from './create-api-key';
|
|
|
8
8
|
export * from './create-docker-registry';
|
|
9
9
|
export * from './create-image';
|
|
10
10
|
export * from './create-node';
|
|
11
|
+
export * from './create-organization';
|
|
12
|
+
export * from './create-organization-invitation';
|
|
13
|
+
export * from './create-organization-quota';
|
|
14
|
+
export * from './create-organization-role';
|
|
11
15
|
export * from './create-session-request';
|
|
12
16
|
export * from './create-user';
|
|
13
17
|
export * from './create-workspace';
|
|
@@ -25,6 +29,7 @@ export * from './git-commit-response';
|
|
|
25
29
|
export * from './git-repo-request';
|
|
26
30
|
export * from './git-status';
|
|
27
31
|
export * from './image-dto';
|
|
32
|
+
export * from './image-state';
|
|
28
33
|
export * from './list-branch-response';
|
|
29
34
|
export * from './lsp-completion-params';
|
|
30
35
|
export * from './lsp-document-request';
|
|
@@ -32,10 +37,15 @@ export * from './lsp-location';
|
|
|
32
37
|
export * from './lsp-server-request';
|
|
33
38
|
export * from './lsp-symbol';
|
|
34
39
|
export * from './match';
|
|
40
|
+
export * from './organization';
|
|
41
|
+
export * from './organization-invitation';
|
|
42
|
+
export * from './organization-role';
|
|
43
|
+
export * from './organization-user';
|
|
35
44
|
export * from './paginated-images-dto';
|
|
36
45
|
export * from './position';
|
|
37
46
|
export * from './project-dir-response';
|
|
38
47
|
export * from './range';
|
|
48
|
+
export * from './registry-push-access-dto';
|
|
39
49
|
export * from './replace-request';
|
|
40
50
|
export * from './replace-result';
|
|
41
51
|
export * from './search-files-response';
|
|
@@ -43,8 +53,16 @@ export * from './session';
|
|
|
43
53
|
export * from './session-execute-request';
|
|
44
54
|
export * from './session-execute-response';
|
|
45
55
|
export * from './toggle-state';
|
|
56
|
+
export * from './update-assigned-organization-roles';
|
|
46
57
|
export * from './update-docker-registry';
|
|
58
|
+
export * from './update-organization-invitation';
|
|
59
|
+
export * from './update-organization-member-role';
|
|
60
|
+
export * from './update-organization-quota';
|
|
61
|
+
export * from './update-organization-role';
|
|
47
62
|
export * from './usage-overview';
|
|
63
|
+
export * from './user';
|
|
64
|
+
export * from './user-public-key';
|
|
48
65
|
export * from './workspace';
|
|
49
66
|
export * from './workspace-info';
|
|
50
67
|
export * from './workspace-labels';
|
|
68
|
+
export * from './workspace-state';
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
import type { OrganizationRole } from './organization-role';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationInvitation
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationInvitation {
|
|
19
|
+
/**
|
|
20
|
+
* Invitation ID
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationInvitation
|
|
23
|
+
*/
|
|
24
|
+
'id': string;
|
|
25
|
+
/**
|
|
26
|
+
* Email address of the invitee
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationInvitation
|
|
29
|
+
*/
|
|
30
|
+
'email': string;
|
|
31
|
+
/**
|
|
32
|
+
* Organization ID
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationInvitation
|
|
35
|
+
*/
|
|
36
|
+
'organizationId': string;
|
|
37
|
+
/**
|
|
38
|
+
* Organization name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof OrganizationInvitation
|
|
41
|
+
*/
|
|
42
|
+
'organizationName': string;
|
|
43
|
+
/**
|
|
44
|
+
* Expiration date of the invitation
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof OrganizationInvitation
|
|
47
|
+
*/
|
|
48
|
+
'expiresAt': string;
|
|
49
|
+
/**
|
|
50
|
+
* Invitation status
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof OrganizationInvitation
|
|
53
|
+
*/
|
|
54
|
+
'status': OrganizationInvitationStatusEnum;
|
|
55
|
+
/**
|
|
56
|
+
* Member role
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof OrganizationInvitation
|
|
59
|
+
*/
|
|
60
|
+
'role': OrganizationInvitationRoleEnum;
|
|
61
|
+
/**
|
|
62
|
+
* Assigned roles
|
|
63
|
+
* @type {Array<OrganizationRole>}
|
|
64
|
+
* @memberof OrganizationInvitation
|
|
65
|
+
*/
|
|
66
|
+
'assignedRoles': Array<OrganizationRole>;
|
|
67
|
+
/**
|
|
68
|
+
* Creation timestamp
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof OrganizationInvitation
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': string;
|
|
73
|
+
/**
|
|
74
|
+
* Last update timestamp
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof OrganizationInvitation
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': string;
|
|
79
|
+
}
|
|
80
|
+
export declare const OrganizationInvitationStatusEnum: {
|
|
81
|
+
readonly PENDING: "pending";
|
|
82
|
+
readonly ACCEPTED: "accepted";
|
|
83
|
+
readonly DECLINED: "declined";
|
|
84
|
+
readonly CANCELLED: "cancelled";
|
|
85
|
+
};
|
|
86
|
+
export type OrganizationInvitationStatusEnum = typeof OrganizationInvitationStatusEnum[keyof typeof OrganizationInvitationStatusEnum];
|
|
87
|
+
export declare const OrganizationInvitationRoleEnum: {
|
|
88
|
+
readonly OWNER: "owner";
|
|
89
|
+
readonly MEMBER: "member";
|
|
90
|
+
};
|
|
91
|
+
export type OrganizationInvitationRoleEnum = typeof OrganizationInvitationRoleEnum[keyof typeof OrganizationInvitationRoleEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
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 OrganizationInvitationStatusEnum = {
|
|
15
|
+
PENDING: 'pending',
|
|
16
|
+
ACCEPTED: 'accepted',
|
|
17
|
+
DECLINED: 'declined',
|
|
18
|
+
CANCELLED: 'cancelled'
|
|
19
|
+
};
|
|
20
|
+
export const OrganizationInvitationRoleEnum = {
|
|
21
|
+
OWNER: 'owner',
|
|
22
|
+
MEMBER: 'member'
|
|
23
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
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 OrganizationRole
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationRole {
|
|
18
|
+
/**
|
|
19
|
+
* Role ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationRole
|
|
22
|
+
*/
|
|
23
|
+
'id': string;
|
|
24
|
+
/**
|
|
25
|
+
* Role name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationRole
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* Role description
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationRole
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* Roles assigned to the user
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof OrganizationRole
|
|
40
|
+
*/
|
|
41
|
+
'permissions': Array<OrganizationRolePermissionsEnum>;
|
|
42
|
+
/**
|
|
43
|
+
* Global role flag
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof OrganizationRole
|
|
46
|
+
*/
|
|
47
|
+
'isGlobal': boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Creation timestamp
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrganizationRole
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Last update timestamp
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OrganizationRole
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
}
|
|
61
|
+
export declare const OrganizationRolePermissionsEnum: {
|
|
62
|
+
readonly WRITEREGISTRIES: "write:registries";
|
|
63
|
+
readonly DELETEREGISTRIES: "delete:registries";
|
|
64
|
+
readonly WRITEIMAGES: "write:images";
|
|
65
|
+
readonly DELETEIMAGES: "delete:images";
|
|
66
|
+
readonly WRITESANDBOXES: "write:sandboxes";
|
|
67
|
+
readonly DELETESANDBOXES: "delete:sandboxes";
|
|
68
|
+
};
|
|
69
|
+
export type OrganizationRolePermissionsEnum = typeof OrganizationRolePermissionsEnum[keyof typeof OrganizationRolePermissionsEnum];
|
|
@@ -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 OrganizationRolePermissionsEnum = {
|
|
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,72 @@
|
|
|
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
|
+
import type { OrganizationRole } from './organization-role';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationUser
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationUser {
|
|
19
|
+
/**
|
|
20
|
+
* User ID
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationUser
|
|
23
|
+
*/
|
|
24
|
+
'userId': string;
|
|
25
|
+
/**
|
|
26
|
+
* Organization ID
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationUser
|
|
29
|
+
*/
|
|
30
|
+
'organizationId': string;
|
|
31
|
+
/**
|
|
32
|
+
* User name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationUser
|
|
35
|
+
*/
|
|
36
|
+
'name': string;
|
|
37
|
+
/**
|
|
38
|
+
* User email
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof OrganizationUser
|
|
41
|
+
*/
|
|
42
|
+
'email': string;
|
|
43
|
+
/**
|
|
44
|
+
* Member role
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof OrganizationUser
|
|
47
|
+
*/
|
|
48
|
+
'role': OrganizationUserRoleEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Roles assigned to the user
|
|
51
|
+
* @type {Array<OrganizationRole>}
|
|
52
|
+
* @memberof OrganizationUser
|
|
53
|
+
*/
|
|
54
|
+
'assignedRoles': Array<OrganizationRole>;
|
|
55
|
+
/**
|
|
56
|
+
* Creation timestamp
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof OrganizationUser
|
|
59
|
+
*/
|
|
60
|
+
'createdAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Last update timestamp
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof OrganizationUser
|
|
65
|
+
*/
|
|
66
|
+
'updatedAt': string;
|
|
67
|
+
}
|
|
68
|
+
export declare const OrganizationUserRoleEnum: {
|
|
69
|
+
readonly OWNER: "owner";
|
|
70
|
+
readonly MEMBER: "member";
|
|
71
|
+
};
|
|
72
|
+
export type OrganizationUserRoleEnum = typeof OrganizationUserRoleEnum[keyof typeof OrganizationUserRoleEnum];
|
|
@@ -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 OrganizationUserRoleEnum = {
|
|
15
|
+
OWNER: 'owner',
|
|
16
|
+
MEMBER: 'member'
|
|
17
|
+
};
|
|
@@ -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 Organization
|
|
16
|
+
*/
|
|
17
|
+
export interface Organization {
|
|
18
|
+
/**
|
|
19
|
+
* Organization ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Organization
|
|
22
|
+
*/
|
|
23
|
+
'id': string;
|
|
24
|
+
/**
|
|
25
|
+
* Organization name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Organization
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* User ID of the organization creator
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Organization
|
|
34
|
+
*/
|
|
35
|
+
'createdBy': string;
|
|
36
|
+
/**
|
|
37
|
+
* Personal organization flag
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof Organization
|
|
40
|
+
*/
|
|
41
|
+
'personal': boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Creation timestamp
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Organization
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Last update timestamp
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Organization
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': 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,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 {};
|