@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/models/index.d.ts
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';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,10 @@ __exportStar(require("./create-api-key"), exports);
|
|
|
24
24
|
__exportStar(require("./create-docker-registry"), exports);
|
|
25
25
|
__exportStar(require("./create-image"), exports);
|
|
26
26
|
__exportStar(require("./create-node"), exports);
|
|
27
|
+
__exportStar(require("./create-organization"), exports);
|
|
28
|
+
__exportStar(require("./create-organization-invitation"), exports);
|
|
29
|
+
__exportStar(require("./create-organization-quota"), exports);
|
|
30
|
+
__exportStar(require("./create-organization-role"), exports);
|
|
27
31
|
__exportStar(require("./create-session-request"), exports);
|
|
28
32
|
__exportStar(require("./create-user"), exports);
|
|
29
33
|
__exportStar(require("./create-workspace"), exports);
|
|
@@ -41,6 +45,7 @@ __exportStar(require("./git-commit-response"), exports);
|
|
|
41
45
|
__exportStar(require("./git-repo-request"), exports);
|
|
42
46
|
__exportStar(require("./git-status"), exports);
|
|
43
47
|
__exportStar(require("./image-dto"), exports);
|
|
48
|
+
__exportStar(require("./image-state"), exports);
|
|
44
49
|
__exportStar(require("./list-branch-response"), exports);
|
|
45
50
|
__exportStar(require("./lsp-completion-params"), exports);
|
|
46
51
|
__exportStar(require("./lsp-document-request"), exports);
|
|
@@ -48,10 +53,15 @@ __exportStar(require("./lsp-location"), exports);
|
|
|
48
53
|
__exportStar(require("./lsp-server-request"), exports);
|
|
49
54
|
__exportStar(require("./lsp-symbol"), exports);
|
|
50
55
|
__exportStar(require("./match"), exports);
|
|
56
|
+
__exportStar(require("./organization"), exports);
|
|
57
|
+
__exportStar(require("./organization-invitation"), exports);
|
|
58
|
+
__exportStar(require("./organization-role"), exports);
|
|
59
|
+
__exportStar(require("./organization-user"), exports);
|
|
51
60
|
__exportStar(require("./paginated-images-dto"), exports);
|
|
52
61
|
__exportStar(require("./position"), exports);
|
|
53
62
|
__exportStar(require("./project-dir-response"), exports);
|
|
54
63
|
__exportStar(require("./range"), exports);
|
|
64
|
+
__exportStar(require("./registry-push-access-dto"), exports);
|
|
55
65
|
__exportStar(require("./replace-request"), exports);
|
|
56
66
|
__exportStar(require("./replace-result"), exports);
|
|
57
67
|
__exportStar(require("./search-files-response"), exports);
|
|
@@ -59,8 +69,16 @@ __exportStar(require("./session"), exports);
|
|
|
59
69
|
__exportStar(require("./session-execute-request"), exports);
|
|
60
70
|
__exportStar(require("./session-execute-response"), exports);
|
|
61
71
|
__exportStar(require("./toggle-state"), exports);
|
|
72
|
+
__exportStar(require("./update-assigned-organization-roles"), exports);
|
|
62
73
|
__exportStar(require("./update-docker-registry"), exports);
|
|
74
|
+
__exportStar(require("./update-organization-invitation"), exports);
|
|
75
|
+
__exportStar(require("./update-organization-member-role"), exports);
|
|
76
|
+
__exportStar(require("./update-organization-quota"), exports);
|
|
77
|
+
__exportStar(require("./update-organization-role"), exports);
|
|
63
78
|
__exportStar(require("./usage-overview"), exports);
|
|
79
|
+
__exportStar(require("./user"), exports);
|
|
80
|
+
__exportStar(require("./user-public-key"), exports);
|
|
64
81
|
__exportStar(require("./workspace"), exports);
|
|
65
82
|
__exportStar(require("./workspace-info"), exports);
|
|
66
83
|
__exportStar(require("./workspace-labels"), exports);
|
|
84
|
+
__exportStar(require("./workspace-state"), exports);
|
|
@@ -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,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OrganizationInvitationRoleEnum = exports.OrganizationInvitationStatusEnum = void 0;
|
|
17
|
+
exports.OrganizationInvitationStatusEnum = {
|
|
18
|
+
PENDING: 'pending',
|
|
19
|
+
ACCEPTED: 'accepted',
|
|
20
|
+
DECLINED: 'declined',
|
|
21
|
+
CANCELLED: 'cancelled'
|
|
22
|
+
};
|
|
23
|
+
exports.OrganizationInvitationRoleEnum = {
|
|
24
|
+
OWNER: 'owner',
|
|
25
|
+
MEMBER: 'member'
|
|
26
|
+
};
|
|
@@ -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,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OrganizationRolePermissionsEnum = void 0;
|
|
17
|
+
exports.OrganizationRolePermissionsEnum = {
|
|
18
|
+
WRITEREGISTRIES: 'write:registries',
|
|
19
|
+
DELETEREGISTRIES: 'delete:registries',
|
|
20
|
+
WRITEIMAGES: 'write:images',
|
|
21
|
+
DELETEIMAGES: 'delete:images',
|
|
22
|
+
WRITESANDBOXES: 'write:sandboxes',
|
|
23
|
+
DELETESANDBOXES: 'delete:sandboxes'
|
|
24
|
+
};
|
|
@@ -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,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OrganizationUserRoleEnum = void 0;
|
|
17
|
+
exports.OrganizationUserRoleEnum = {
|
|
18
|
+
OWNER: 'owner',
|
|
19
|
+
MEMBER: 'member'
|
|
20
|
+
};
|
|
@@ -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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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 UpdateAssignedOrganizationRoles
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateAssignedOrganizationRoles {
|
|
18
|
+
/**
|
|
19
|
+
* Array of role IDs
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UpdateAssignedOrganizationRoles
|
|
22
|
+
*/
|
|
23
|
+
'roleIds': Array<string>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,41 @@
|
|
|
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 UpdateOrganizationInvitation
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOrganizationInvitation {
|
|
18
|
+
/**
|
|
19
|
+
* Organization member role
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateOrganizationInvitation
|
|
22
|
+
*/
|
|
23
|
+
'role': UpdateOrganizationInvitationRoleEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Array of role IDs
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UpdateOrganizationInvitation
|
|
28
|
+
*/
|
|
29
|
+
'assignedRoleIds': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Expiration date of the invitation
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateOrganizationInvitation
|
|
34
|
+
*/
|
|
35
|
+
'expiresAt'?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const UpdateOrganizationInvitationRoleEnum: {
|
|
38
|
+
readonly OWNER: "owner";
|
|
39
|
+
readonly MEMBER: "member";
|
|
40
|
+
};
|
|
41
|
+
export type UpdateOrganizationInvitationRoleEnum = typeof UpdateOrganizationInvitationRoleEnum[keyof typeof UpdateOrganizationInvitationRoleEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Workspaces
|
|
6
|
+
* Daytona Workspaces API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateOrganizationInvitationRoleEnum = void 0;
|
|
17
|
+
exports.UpdateOrganizationInvitationRoleEnum = {
|
|
18
|
+
OWNER: 'owner',
|
|
19
|
+
MEMBER: 'member'
|
|
20
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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 UpdateOrganizationMemberRole
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOrganizationMemberRole {
|
|
18
|
+
/**
|
|
19
|
+
* Organization member role
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateOrganizationMemberRole
|
|
22
|
+
*/
|
|
23
|
+
'role': UpdateOrganizationMemberRoleRoleEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare const UpdateOrganizationMemberRoleRoleEnum: {
|
|
26
|
+
readonly OWNER: "owner";
|
|
27
|
+
readonly MEMBER: "member";
|
|
28
|
+
};
|
|
29
|
+
export type UpdateOrganizationMemberRoleRoleEnum = typeof UpdateOrganizationMemberRoleRoleEnum[keyof typeof UpdateOrganizationMemberRoleRoleEnum];
|