@daytonaio/api-client 0.15.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 +5 -3
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +7 -0
- package/api/api-keys-api.ts +412 -324
- package/api/docker-registry-api.ts +731 -549
- package/api/images-api.ts +596 -346
- package/api/nodes-api.ts +259 -210
- package/api/organizations-api.ts +2504 -1671
- package/api/preview-api.ts +330 -0
- package/api/toolbox-api.ts +4651 -3186
- package/api/users-api.ts +317 -271
- package/api/workspace-api.ts +1536 -969
- package/api.ts +10 -12
- package/base.ts +35 -30
- package/common.ts +78 -66
- package/configuration.ts +102 -89
- package/dist/api/api-keys-api.js +66 -63
- package/dist/api/docker-registry-api.js +123 -107
- package/dist/api/images-api.d.ts +42 -0
- package/dist/api/images-api.js +161 -66
- package/dist/api/nodes-api.js +46 -47
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +560 -336
- package/dist/api/preview-api.d.ts +143 -0
- package/dist/api/preview-api.js +269 -0
- package/dist/api/toolbox-api.js +709 -569
- package/dist/api/users-api.js +49 -59
- package/dist/api/workspace-api.d.ts +51 -4
- package/dist/api/workspace-api.js +330 -190
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +6 -7
- package/dist/common.d.ts +3 -3
- package/dist/common.js +27 -45
- package/dist/configuration.js +2 -1
- package/dist/esm/api/api-keys-api.js +67 -64
- package/dist/esm/api/docker-registry-api.js +124 -108
- package/dist/esm/api/images-api.d.ts +42 -0
- package/dist/esm/api/images-api.js +162 -67
- package/dist/esm/api/nodes-api.js +47 -48
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +561 -337
- package/dist/esm/api/preview-api.d.ts +143 -0
- package/dist/esm/api/preview-api.js +262 -0
- package/dist/esm/api/toolbox-api.js +710 -570
- package/dist/esm/api/users-api.js +50 -60
- package/dist/esm/api/workspace-api.d.ts +51 -4
- package/dist/esm/api/workspace-api.js +331 -191
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/base.js +6 -7
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +28 -46
- package/dist/esm/configuration.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/models/api-key-list.d.ts +12 -12
- package/dist/esm/models/api-key-list.js +6 -6
- package/dist/esm/models/api-key-response.d.ts +12 -12
- package/dist/esm/models/api-key-response.js +6 -6
- package/dist/esm/models/command.d.ts +3 -3
- package/dist/esm/models/completion-context.d.ts +2 -2
- package/dist/esm/models/completion-item.d.ts +7 -7
- package/dist/esm/models/completion-list.d.ts +2 -2
- package/dist/esm/models/create-api-key.d.ts +9 -9
- package/dist/esm/models/create-api-key.js +6 -6
- package/dist/esm/models/create-docker-registry.d.ts +8 -8
- package/dist/esm/models/create-docker-registry.js +1 -1
- package/dist/esm/models/create-image.d.ts +9 -3
- package/dist/esm/models/create-node.d.ts +13 -13
- package/dist/esm/models/create-node.js +2 -2
- package/dist/esm/models/create-organization-invitation.d.ts +6 -6
- package/dist/esm/models/create-organization-invitation.js +1 -1
- package/dist/esm/models/create-organization-quota.d.ts +11 -11
- package/dist/esm/models/create-organization-role.d.ts +10 -10
- package/dist/esm/models/create-organization-role.js +6 -6
- package/dist/esm/models/create-organization.d.ts +1 -67
- package/dist/esm/models/create-session-request.d.ts +1 -1
- package/dist/esm/models/create-user.d.ts +15 -4
- package/dist/esm/models/create-user.js +4 -1
- package/dist/esm/models/create-workspace.d.ts +14 -26
- package/dist/esm/models/create-workspace.js +2 -2
- package/dist/esm/models/docker-registry.d.ts +11 -11
- package/dist/esm/models/docker-registry.js +1 -1
- package/dist/esm/models/execute-request.d.ts +3 -3
- package/dist/esm/models/execute-response.d.ts +2 -2
- package/dist/esm/models/file-info.d.ts +8 -8
- package/dist/esm/models/file-status.d.ts +4 -4
- package/dist/esm/models/git-add-request.d.ts +2 -2
- package/dist/esm/models/git-branch-request.d.ts +2 -2
- package/dist/esm/models/git-clone-request.d.ts +6 -6
- package/dist/esm/models/git-commit-info.d.ts +5 -5
- package/dist/esm/models/git-commit-request.d.ts +4 -4
- package/dist/esm/models/git-commit-response.d.ts +1 -1
- package/dist/esm/models/git-repo-request.d.ts +3 -3
- package/dist/esm/models/git-status.d.ts +4 -4
- package/dist/esm/models/image-dto.d.ts +21 -15
- package/dist/esm/models/image-state.d.ts +1 -1
- package/dist/esm/models/image-state.js +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/list-branch-response.d.ts +1 -1
- 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/lsp-completion-params.d.ts +5 -5
- package/dist/esm/models/lsp-document-request.d.ts +3 -3
- package/dist/esm/models/lsp-location.d.ts +2 -2
- package/dist/esm/models/lsp-server-request.d.ts +2 -2
- package/dist/esm/models/lsp-symbol.d.ts +3 -3
- package/dist/esm/models/match.d.ts +3 -3
- package/dist/esm/models/organization-invitation.d.ts +21 -15
- package/dist/esm/models/organization-invitation.js +2 -2
- package/dist/esm/models/organization-role.d.ts +16 -16
- package/dist/esm/models/organization-role.js +6 -6
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization-user.d.ts +11 -11
- package/dist/esm/models/organization-user.js +1 -1
- package/dist/esm/models/organization.d.ts +31 -7
- package/dist/esm/models/paginated-images-dto.d.ts +4 -4
- package/dist/esm/models/port-preview-url.d.ts +30 -0
- package/dist/esm/models/port-preview-url.js +14 -0
- package/dist/esm/models/position.d.ts +2 -2
- package/dist/esm/models/project-dir-response.d.ts +1 -1
- package/dist/esm/models/range.d.ts +2 -2
- package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
- package/dist/esm/models/replace-request.d.ts +3 -3
- package/dist/esm/models/replace-result.d.ts +3 -3
- package/dist/esm/models/search-files-response.d.ts +1 -1
- package/dist/esm/models/session-execute-request.d.ts +9 -2
- package/dist/esm/models/session-execute-response.d.ts +3 -3
- package/dist/esm/models/session.d.ts +2 -2
- package/dist/esm/models/set-image-general-status.d.ts +24 -0
- package/dist/esm/models/set-image-general-status.js +14 -0
- package/dist/esm/models/toggle-state.d.ts +1 -1
- package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/esm/models/update-docker-registry.d.ts +3 -3
- package/dist/esm/models/update-organization-invitation.d.ts +5 -5
- package/dist/esm/models/update-organization-invitation.js +1 -1
- package/dist/esm/models/update-organization-member-role.d.ts +2 -2
- package/dist/esm/models/update-organization-member-role.js +1 -1
- package/dist/esm/models/update-organization-quota.d.ts +11 -11
- package/dist/esm/models/update-organization-role.d.ts +10 -10
- package/dist/esm/models/update-organization-role.js +6 -6
- package/dist/esm/models/usage-overview.d.ts +15 -15
- package/dist/esm/models/user-public-key.d.ts +2 -2
- package/dist/esm/models/user.d.ts +4 -4
- package/dist/esm/models/workspace-info.d.ts +5 -4
- package/dist/esm/models/workspace-labels.d.ts +1 -1
- package/dist/esm/models/workspace-state.d.ts +2 -2
- package/dist/esm/models/workspace-state.js +2 -2
- package/dist/esm/models/workspace.d.ts +26 -19
- package/dist/esm/models/workspace.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/models/api-key-list.d.ts +12 -12
- package/dist/models/api-key-list.js +6 -6
- package/dist/models/api-key-response.d.ts +12 -12
- package/dist/models/api-key-response.js +6 -6
- package/dist/models/command.d.ts +3 -3
- package/dist/models/completion-context.d.ts +2 -2
- package/dist/models/completion-item.d.ts +7 -7
- package/dist/models/completion-list.d.ts +2 -2
- package/dist/models/create-api-key.d.ts +9 -9
- package/dist/models/create-api-key.js +6 -6
- package/dist/models/create-docker-registry.d.ts +8 -8
- package/dist/models/create-docker-registry.js +1 -1
- package/dist/models/create-image.d.ts +9 -3
- package/dist/models/create-node.d.ts +13 -13
- package/dist/models/create-node.js +2 -2
- package/dist/models/create-organization-invitation.d.ts +6 -6
- package/dist/models/create-organization-invitation.js +1 -1
- package/dist/models/create-organization-quota.d.ts +11 -11
- package/dist/models/create-organization-role.d.ts +10 -10
- package/dist/models/create-organization-role.js +6 -6
- package/dist/models/create-organization.d.ts +1 -67
- package/dist/models/create-session-request.d.ts +1 -1
- package/dist/models/create-user.d.ts +15 -4
- package/dist/models/create-user.js +5 -0
- package/dist/models/create-workspace.d.ts +14 -26
- package/dist/models/create-workspace.js +2 -2
- package/dist/models/docker-registry.d.ts +11 -11
- package/dist/models/docker-registry.js +1 -1
- package/dist/models/execute-request.d.ts +3 -3
- package/dist/models/execute-response.d.ts +2 -2
- package/dist/models/file-info.d.ts +8 -8
- package/dist/models/file-status.d.ts +4 -4
- package/dist/models/git-add-request.d.ts +2 -2
- package/dist/models/git-branch-request.d.ts +2 -2
- package/dist/models/git-clone-request.d.ts +6 -6
- package/dist/models/git-commit-info.d.ts +5 -5
- package/dist/models/git-commit-request.d.ts +4 -4
- package/dist/models/git-commit-response.d.ts +1 -1
- package/dist/models/git-repo-request.d.ts +3 -3
- package/dist/models/git-status.d.ts +4 -4
- package/dist/models/image-dto.d.ts +21 -15
- package/dist/models/image-state.d.ts +1 -1
- package/dist/models/image-state.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-branch-response.d.ts +1 -1
- package/dist/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/models/list-workspaces-labels-parameter.js +15 -0
- package/dist/models/lsp-completion-params.d.ts +5 -5
- package/dist/models/lsp-document-request.d.ts +3 -3
- package/dist/models/lsp-location.d.ts +2 -2
- package/dist/models/lsp-server-request.d.ts +2 -2
- package/dist/models/lsp-symbol.d.ts +3 -3
- package/dist/models/match.d.ts +3 -3
- package/dist/models/organization-invitation.d.ts +21 -15
- package/dist/models/organization-invitation.js +2 -2
- package/dist/models/organization-role.d.ts +16 -16
- package/dist/models/organization-role.js +6 -6
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization-user.d.ts +11 -11
- package/dist/models/organization-user.js +1 -1
- package/dist/models/organization.d.ts +31 -7
- package/dist/models/paginated-images-dto.d.ts +4 -4
- package/dist/models/port-preview-url.d.ts +30 -0
- package/dist/models/port-preview-url.js +15 -0
- package/dist/models/position.d.ts +2 -2
- package/dist/models/project-dir-response.d.ts +1 -1
- package/dist/models/range.d.ts +2 -2
- package/dist/models/registry-push-access-dto.d.ts +6 -6
- package/dist/models/replace-request.d.ts +3 -3
- package/dist/models/replace-result.d.ts +3 -3
- package/dist/models/search-files-response.d.ts +1 -1
- package/dist/models/session-execute-request.d.ts +9 -2
- package/dist/models/session-execute-response.d.ts +3 -3
- package/dist/models/session.d.ts +2 -2
- package/dist/models/set-image-general-status.d.ts +24 -0
- package/dist/models/set-image-general-status.js +15 -0
- package/dist/models/toggle-state.d.ts +1 -1
- package/dist/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/models/update-docker-registry.d.ts +3 -3
- package/dist/models/update-organization-invitation.d.ts +5 -5
- package/dist/models/update-organization-invitation.js +1 -1
- package/dist/models/update-organization-member-role.d.ts +2 -2
- package/dist/models/update-organization-member-role.js +1 -1
- package/dist/models/update-organization-quota.d.ts +11 -11
- package/dist/models/update-organization-role.d.ts +10 -10
- package/dist/models/update-organization-role.js +6 -6
- package/dist/models/usage-overview.d.ts +15 -15
- package/dist/models/user-public-key.d.ts +2 -2
- package/dist/models/user.d.ts +4 -4
- package/dist/models/workspace-info.d.ts +5 -4
- package/dist/models/workspace-labels.d.ts +1 -1
- package/dist/models/workspace-state.d.ts +2 -2
- package/dist/models/workspace-state.js +2 -2
- package/dist/models/workspace.d.ts +26 -19
- package/dist/models/workspace.js +1 -1
- package/index.ts +4 -5
- package/models/api-key-list.ts +34 -38
- package/models/api-key-response.ts +35 -38
- package/models/command.ts +20 -23
- package/models/completion-context.ts +14 -17
- package/models/completion-item.ts +44 -47
- package/models/completion-list.ts +15 -17
- package/models/create-api-key.ts +22 -26
- package/models/create-docker-registry.ts +51 -54
- package/models/create-image.ts +20 -17
- package/models/create-node.ts +78 -82
- package/models/create-organization-invitation.ts +31 -34
- package/models/create-organization-quota.ts +68 -71
- package/models/create-organization-role.ts +29 -32
- package/models/create-organization.ts +8 -77
- package/models/create-session-request.ts +8 -11
- package/models/create-user.ts +39 -28
- package/models/create-workspace.ts +84 -100
- package/models/docker-registry.ts +57 -60
- package/models/execute-request.ts +20 -23
- package/models/execute-response.ts +14 -17
- package/models/file-info.ts +50 -53
- package/models/file-status.ts +26 -29
- package/models/git-add-request.ts +14 -17
- package/models/git-branch-request.ts +14 -17
- package/models/git-clone-request.ts +38 -41
- package/models/git-commit-info.ts +32 -35
- package/models/git-commit-request.ts +26 -29
- package/models/git-commit-response.ts +8 -11
- package/models/git-repo-request.ts +20 -23
- package/models/git-status.ts +33 -35
- package/models/image-dto.ts +75 -73
- package/models/image-state.ts +12 -17
- package/models/index.ts +72 -68
- package/models/list-branch-response.ts +8 -11
- package/models/list-workspaces-labels-parameter.ts +27 -0
- package/models/lsp-completion-params.ts +34 -36
- package/models/lsp-document-request.ts +20 -23
- package/models/lsp-location.ts +15 -17
- package/models/lsp-server-request.ts +14 -17
- package/models/lsp-symbol.ts +21 -23
- package/models/match.ts +20 -23
- package/models/organization-invitation.ts +81 -76
- package/models/organization-role.ts +53 -56
- package/models/organization-suspension.ts +33 -0
- package/models/organization-user.ts +55 -58
- package/models/organization.ts +62 -41
- package/models/paginated-images-dto.ts +27 -29
- package/models/port-preview-url.ts +33 -0
- package/models/position.ts +14 -17
- package/models/project-dir-response.ts +8 -11
- package/models/range.ts +15 -17
- package/models/registry-push-access-dto.ts +38 -41
- package/models/replace-request.ts +20 -23
- package/models/replace-result.ts +20 -23
- package/models/search-files-response.ts +8 -11
- package/models/session-execute-request.ts +21 -17
- package/models/session-execute-response.ts +20 -23
- package/models/session.ts +15 -17
- package/models/set-image-general-status.ts +27 -0
- package/models/toggle-state.ts +8 -11
- package/models/update-assigned-organization-roles.ts +8 -11
- package/models/update-docker-registry.ts +20 -23
- package/models/update-organization-invitation.ts +25 -28
- package/models/update-organization-member-role.ts +13 -16
- package/models/update-organization-quota.ts +68 -71
- package/models/update-organization-role.ts +29 -32
- package/models/usage-overview.ts +92 -95
- package/models/user-public-key.ts +14 -17
- package/models/user.ts +27 -29
- package/models/workspace-info.ts +21 -23
- package/models/workspace-labels.ts +8 -11
- package/models/workspace-state.ts +19 -24
- package/models/workspace.ts +126 -122
- package/package.json +2 -2
- package/project.json +49 -0
- package/tsconfig.json +3 -8
- package/README.md +0 -46
- package/git_push.sh +0 -57
|
@@ -21,61 +21,67 @@ export interface OrganizationInvitation {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof OrganizationInvitation
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
id: string;
|
|
25
25
|
/**
|
|
26
26
|
* Email address of the invitee
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof OrganizationInvitation
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
email: string;
|
|
31
|
+
/**
|
|
32
|
+
* Email address of the inviter
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationInvitation
|
|
35
|
+
*/
|
|
36
|
+
invitedBy: string;
|
|
31
37
|
/**
|
|
32
38
|
* Organization ID
|
|
33
39
|
* @type {string}
|
|
34
40
|
* @memberof OrganizationInvitation
|
|
35
41
|
*/
|
|
36
|
-
|
|
42
|
+
organizationId: string;
|
|
37
43
|
/**
|
|
38
44
|
* Organization name
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof OrganizationInvitation
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
organizationName: string;
|
|
43
49
|
/**
|
|
44
50
|
* Expiration date of the invitation
|
|
45
|
-
* @type {
|
|
51
|
+
* @type {Date}
|
|
46
52
|
* @memberof OrganizationInvitation
|
|
47
53
|
*/
|
|
48
|
-
|
|
54
|
+
expiresAt: Date;
|
|
49
55
|
/**
|
|
50
56
|
* Invitation status
|
|
51
57
|
* @type {string}
|
|
52
58
|
* @memberof OrganizationInvitation
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
status: OrganizationInvitationStatusEnum;
|
|
55
61
|
/**
|
|
56
62
|
* Member role
|
|
57
63
|
* @type {string}
|
|
58
64
|
* @memberof OrganizationInvitation
|
|
59
65
|
*/
|
|
60
|
-
|
|
66
|
+
role: OrganizationInvitationRoleEnum;
|
|
61
67
|
/**
|
|
62
68
|
* Assigned roles
|
|
63
69
|
* @type {Array<OrganizationRole>}
|
|
64
70
|
* @memberof OrganizationInvitation
|
|
65
71
|
*/
|
|
66
|
-
|
|
72
|
+
assignedRoles: Array<OrganizationRole>;
|
|
67
73
|
/**
|
|
68
74
|
* Creation timestamp
|
|
69
|
-
* @type {
|
|
75
|
+
* @type {Date}
|
|
70
76
|
* @memberof OrganizationInvitation
|
|
71
77
|
*/
|
|
72
|
-
|
|
78
|
+
createdAt: Date;
|
|
73
79
|
/**
|
|
74
80
|
* Last update timestamp
|
|
75
|
-
* @type {
|
|
81
|
+
* @type {Date}
|
|
76
82
|
* @memberof OrganizationInvitation
|
|
77
83
|
*/
|
|
78
|
-
|
|
84
|
+
updatedAt: Date;
|
|
79
85
|
}
|
|
80
86
|
export declare const OrganizationInvitationStatusEnum: {
|
|
81
87
|
readonly PENDING: "pending";
|
|
@@ -83,9 +89,9 @@ export declare const OrganizationInvitationStatusEnum: {
|
|
|
83
89
|
readonly DECLINED: "declined";
|
|
84
90
|
readonly CANCELLED: "cancelled";
|
|
85
91
|
};
|
|
86
|
-
export type OrganizationInvitationStatusEnum = typeof OrganizationInvitationStatusEnum[keyof typeof OrganizationInvitationStatusEnum];
|
|
92
|
+
export type OrganizationInvitationStatusEnum = (typeof OrganizationInvitationStatusEnum)[keyof typeof OrganizationInvitationStatusEnum];
|
|
87
93
|
export declare const OrganizationInvitationRoleEnum: {
|
|
88
94
|
readonly OWNER: "owner";
|
|
89
95
|
readonly MEMBER: "member";
|
|
90
96
|
};
|
|
91
|
-
export type OrganizationInvitationRoleEnum = typeof OrganizationInvitationRoleEnum[keyof typeof OrganizationInvitationRoleEnum];
|
|
97
|
+
export type OrganizationInvitationRoleEnum = (typeof OrganizationInvitationRoleEnum)[keyof typeof OrganizationInvitationRoleEnum];
|
|
@@ -15,9 +15,9 @@ export const OrganizationInvitationStatusEnum = {
|
|
|
15
15
|
PENDING: 'pending',
|
|
16
16
|
ACCEPTED: 'accepted',
|
|
17
17
|
DECLINED: 'declined',
|
|
18
|
-
CANCELLED: 'cancelled'
|
|
18
|
+
CANCELLED: 'cancelled',
|
|
19
19
|
};
|
|
20
20
|
export const OrganizationInvitationRoleEnum = {
|
|
21
21
|
OWNER: 'owner',
|
|
22
|
-
MEMBER: 'member'
|
|
22
|
+
MEMBER: 'member',
|
|
23
23
|
};
|
|
@@ -20,50 +20,50 @@ export interface OrganizationRole {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof OrganizationRole
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* Role name
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof OrganizationRole
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
name: string;
|
|
30
30
|
/**
|
|
31
31
|
* Role description
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof OrganizationRole
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
description: string;
|
|
36
36
|
/**
|
|
37
37
|
* Roles assigned to the user
|
|
38
38
|
* @type {Array<string>}
|
|
39
39
|
* @memberof OrganizationRole
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
permissions: Array<OrganizationRolePermissionsEnum>;
|
|
42
42
|
/**
|
|
43
43
|
* Global role flag
|
|
44
44
|
* @type {boolean}
|
|
45
45
|
* @memberof OrganizationRole
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
isGlobal: boolean;
|
|
48
48
|
/**
|
|
49
49
|
* Creation timestamp
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {Date}
|
|
51
51
|
* @memberof OrganizationRole
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
createdAt: Date;
|
|
54
54
|
/**
|
|
55
55
|
* Last update timestamp
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {Date}
|
|
57
57
|
* @memberof OrganizationRole
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
updatedAt: Date;
|
|
60
60
|
}
|
|
61
61
|
export declare const OrganizationRolePermissionsEnum: {
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
62
|
+
readonly WRITE_REGISTRIES: "write:registries";
|
|
63
|
+
readonly DELETE_REGISTRIES: "delete:registries";
|
|
64
|
+
readonly WRITE_IMAGES: "write:images";
|
|
65
|
+
readonly DELETE_IMAGES: "delete:images";
|
|
66
|
+
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
67
|
+
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
68
68
|
};
|
|
69
|
-
export type OrganizationRolePermissionsEnum = typeof OrganizationRolePermissionsEnum[keyof typeof OrganizationRolePermissionsEnum];
|
|
69
|
+
export type OrganizationRolePermissionsEnum = (typeof OrganizationRolePermissionsEnum)[keyof typeof OrganizationRolePermissionsEnum];
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export const OrganizationRolePermissionsEnum = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
WRITE_REGISTRIES: 'write:registries',
|
|
16
|
+
DELETE_REGISTRIES: 'delete:registries',
|
|
17
|
+
WRITE_IMAGES: 'write:images',
|
|
18
|
+
DELETE_IMAGES: 'delete:images',
|
|
19
|
+
WRITE_SANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
21
21
|
};
|
|
@@ -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 {};
|
|
@@ -21,52 +21,52 @@ export interface OrganizationUser {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof OrganizationUser
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
userId: string;
|
|
25
25
|
/**
|
|
26
26
|
* Organization ID
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof OrganizationUser
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
organizationId: string;
|
|
31
31
|
/**
|
|
32
32
|
* User name
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof OrganizationUser
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
name: string;
|
|
37
37
|
/**
|
|
38
38
|
* User email
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof OrganizationUser
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
email: string;
|
|
43
43
|
/**
|
|
44
44
|
* Member role
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof OrganizationUser
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
role: OrganizationUserRoleEnum;
|
|
49
49
|
/**
|
|
50
50
|
* Roles assigned to the user
|
|
51
51
|
* @type {Array<OrganizationRole>}
|
|
52
52
|
* @memberof OrganizationUser
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
assignedRoles: Array<OrganizationRole>;
|
|
55
55
|
/**
|
|
56
56
|
* Creation timestamp
|
|
57
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
58
58
|
* @memberof OrganizationUser
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
createdAt: Date;
|
|
61
61
|
/**
|
|
62
62
|
* Last update timestamp
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {Date}
|
|
64
64
|
* @memberof OrganizationUser
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
updatedAt: Date;
|
|
67
67
|
}
|
|
68
68
|
export declare const OrganizationUserRoleEnum: {
|
|
69
69
|
readonly OWNER: "owner";
|
|
70
70
|
readonly MEMBER: "member";
|
|
71
71
|
};
|
|
72
|
-
export type OrganizationUserRoleEnum = typeof OrganizationUserRoleEnum[keyof typeof OrganizationUserRoleEnum];
|
|
72
|
+
export type OrganizationUserRoleEnum = (typeof OrganizationUserRoleEnum)[keyof typeof OrganizationUserRoleEnum];
|
|
@@ -20,35 +20,59 @@ export interface Organization {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Organization
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* Organization name
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Organization
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
name: string;
|
|
30
30
|
/**
|
|
31
31
|
* User ID of the organization creator
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Organization
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
createdBy: string;
|
|
36
36
|
/**
|
|
37
37
|
* Personal organization flag
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof Organization
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
personal: boolean;
|
|
42
42
|
/**
|
|
43
43
|
* Creation timestamp
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {Date}
|
|
45
45
|
* @memberof Organization
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
createdAt: Date;
|
|
48
48
|
/**
|
|
49
49
|
* Last update timestamp
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof Organization
|
|
52
|
+
*/
|
|
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
|
|
50
68
|
* @type {string}
|
|
51
69
|
* @memberof Organization
|
|
52
70
|
*/
|
|
53
|
-
|
|
71
|
+
suspensionReason: string;
|
|
72
|
+
/**
|
|
73
|
+
* Suspended until
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof Organization
|
|
76
|
+
*/
|
|
77
|
+
suspendedUntil: Date;
|
|
54
78
|
}
|
|
@@ -21,23 +21,23 @@ export interface PaginatedImagesDto {
|
|
|
21
21
|
* @type {Array<ImageDto>}
|
|
22
22
|
* @memberof PaginatedImagesDto
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
items: Array<ImageDto>;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof PaginatedImagesDto
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
total: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof PaginatedImagesDto
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
page: number;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {number}
|
|
40
40
|
* @memberof PaginatedImagesDto
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
totalPages: number;
|
|
43
43
|
}
|
|
@@ -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 PortPreviewUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface PortPreviewUrl {
|
|
18
|
+
/**
|
|
19
|
+
* Preview url
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PortPreviewUrl
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
* Access token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PortPreviewUrl
|
|
28
|
+
*/
|
|
29
|
+
token: string;
|
|
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 {};
|
|
@@ -20,35 +20,35 @@ export interface RegistryPushAccessDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RegistryPushAccessDto
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
username: string;
|
|
24
24
|
/**
|
|
25
25
|
* Temporary secret for registry authentication
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RegistryPushAccessDto
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
secret: string;
|
|
30
30
|
/**
|
|
31
31
|
* Registry URL
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof RegistryPushAccessDto
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
registryUrl: string;
|
|
36
36
|
/**
|
|
37
37
|
* Registry ID
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof RegistryPushAccessDto
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
registryId: string;
|
|
42
42
|
/**
|
|
43
43
|
* Registry project ID
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof RegistryPushAccessDto
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
project: string;
|
|
48
48
|
/**
|
|
49
49
|
* Token expiration time in ISO format
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof RegistryPushAccessDto
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
expiresAt: string;
|
|
54
54
|
}
|
|
@@ -20,17 +20,17 @@ export interface ReplaceRequest {
|
|
|
20
20
|
* @type {Array<string>}
|
|
21
21
|
* @memberof ReplaceRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
files: Array<string>;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ReplaceRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
pattern: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ReplaceRequest
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
newValue: string;
|
|
36
36
|
}
|
|
@@ -20,17 +20,17 @@ export interface ReplaceResult {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ReplaceResult
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
file?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof ReplaceResult
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
success?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ReplaceResult
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
error?: string;
|
|
36
36
|
}
|
|
@@ -20,11 +20,18 @@ export interface SessionExecuteRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SessionExecuteRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
command: string;
|
|
24
24
|
/**
|
|
25
25
|
* Whether to execute the command asynchronously
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof SessionExecuteRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
runAsync?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Deprecated: Use runAsync instead. Whether to execute the command asynchronously
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SessionExecuteRequest
|
|
34
|
+
* @deprecated
|
|
35
|
+
*/
|
|
36
|
+
async?: boolean;
|
|
30
37
|
}
|
|
@@ -20,17 +20,17 @@ export interface SessionExecuteResponse {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SessionExecuteResponse
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
cmdId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The output of the executed command
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SessionExecuteResponse
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
output?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The exit code of the executed command
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof SessionExecuteResponse
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
exitCode?: number;
|
|
36
36
|
}
|
|
@@ -21,11 +21,11 @@ export interface Session {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof Session
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
sessionId: string;
|
|
25
25
|
/**
|
|
26
26
|
* The list of commands executed in this session
|
|
27
27
|
* @type {Array<Command>}
|
|
28
28
|
* @memberof Session
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
commands: Array<Command> | null;
|
|
31
31
|
}
|
|
@@ -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 SetImageGeneralStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface SetImageGeneralStatus {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the image is general
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SetImageGeneralStatus
|
|
22
|
+
*/
|
|
23
|
+
general: boolean;
|
|
24
|
+
}
|