@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.
Files changed (188) hide show
  1. package/.openapi-generator/FILES +19 -0
  2. package/README.md +2 -2
  3. package/api/api-keys-api.ts +60 -28
  4. package/api/docker-registry-api.ts +182 -58
  5. package/api/images-api.ts +60 -28
  6. package/api/organizations-api.ts +1858 -0
  7. package/api/toolbox-api.ts +548 -252
  8. package/api/users-api.ts +14 -14
  9. package/api/workspace-api.ts +334 -161
  10. package/api.ts +1 -0
  11. package/dist/api/api-keys-api.d.ts +32 -16
  12. package/dist/api/api-keys-api.js +56 -28
  13. package/dist/api/docker-registry-api.d.ts +98 -40
  14. package/dist/api/docker-registry-api.js +169 -58
  15. package/dist/api/images-api.d.ts +32 -16
  16. package/dist/api/images-api.js +56 -28
  17. package/dist/api/organizations-api.d.ts +856 -0
  18. package/dist/api/organizations-api.js +1741 -0
  19. package/dist/api/toolbox-api.d.ts +292 -144
  20. package/dist/api/toolbox-api.js +511 -252
  21. package/dist/api/users-api.d.ts +9 -9
  22. package/dist/api/users-api.js +13 -13
  23. package/dist/api/workspace-api.d.ts +182 -97
  24. package/dist/api/workspace-api.js +319 -162
  25. package/dist/api.d.ts +1 -0
  26. package/dist/api.js +1 -0
  27. package/dist/common.d.ts +1 -1
  28. package/dist/esm/api/api-keys-api.d.ts +32 -16
  29. package/dist/esm/api/api-keys-api.js +56 -28
  30. package/dist/esm/api/docker-registry-api.d.ts +98 -40
  31. package/dist/esm/api/docker-registry-api.js +169 -58
  32. package/dist/esm/api/images-api.d.ts +32 -16
  33. package/dist/esm/api/images-api.js +56 -28
  34. package/dist/esm/api/organizations-api.d.ts +856 -0
  35. package/dist/esm/api/organizations-api.js +1734 -0
  36. package/dist/esm/api/toolbox-api.d.ts +292 -144
  37. package/dist/esm/api/toolbox-api.js +511 -252
  38. package/dist/esm/api/users-api.d.ts +9 -9
  39. package/dist/esm/api/users-api.js +13 -13
  40. package/dist/esm/api/workspace-api.d.ts +182 -97
  41. package/dist/esm/api/workspace-api.js +319 -162
  42. package/dist/esm/api.d.ts +1 -0
  43. package/dist/esm/api.js +1 -0
  44. package/dist/esm/common.d.ts +1 -1
  45. package/dist/esm/models/api-key-list.d.ts +15 -0
  46. package/dist/esm/models/api-key-list.js +8 -1
  47. package/dist/esm/models/api-key-response.d.ts +15 -0
  48. package/dist/esm/models/api-key-response.js +8 -1
  49. package/dist/esm/models/create-api-key.d.ts +15 -0
  50. package/dist/esm/models/create-api-key.js +8 -1
  51. package/dist/esm/models/create-docker-registry.d.ts +19 -0
  52. package/dist/esm/models/create-docker-registry.js +6 -1
  53. package/dist/esm/models/create-node.d.ts +72 -0
  54. package/dist/esm/models/create-node.js +10 -1
  55. package/dist/esm/models/create-organization-invitation.d.ts +47 -0
  56. package/dist/esm/models/create-organization-invitation.js +17 -0
  57. package/dist/esm/models/create-organization-quota.d.ts +84 -0
  58. package/dist/esm/models/create-organization-quota.js +14 -0
  59. package/dist/esm/models/create-organization-role.d.ts +45 -0
  60. package/dist/esm/models/create-organization-role.js +21 -0
  61. package/dist/esm/models/create-organization.d.ts +90 -0
  62. package/dist/esm/models/create-organization.js +14 -0
  63. package/dist/esm/models/create-user.d.ts +13 -0
  64. package/dist/esm/models/create-workspace.d.ts +6 -6
  65. package/dist/esm/models/create-workspace.js +6 -6
  66. package/dist/esm/models/docker-registry.d.ts +13 -0
  67. package/dist/esm/models/docker-registry.js +6 -1
  68. package/dist/esm/models/image-dto.d.ts +4 -12
  69. package/dist/esm/models/image-dto.js +1 -8
  70. package/dist/esm/models/image-state.d.ts +26 -0
  71. package/dist/esm/models/image-state.js +27 -0
  72. package/dist/esm/models/index.d.ts +18 -0
  73. package/dist/esm/models/index.js +18 -0
  74. package/dist/esm/models/organization-invitation.d.ts +91 -0
  75. package/dist/esm/models/organization-invitation.js +23 -0
  76. package/dist/esm/models/organization-role.d.ts +69 -0
  77. package/dist/esm/models/organization-role.js +21 -0
  78. package/dist/esm/models/organization-user.d.ts +72 -0
  79. package/dist/esm/models/organization-user.js +17 -0
  80. package/dist/esm/models/organization.d.ts +54 -0
  81. package/dist/esm/models/organization.js +14 -0
  82. package/dist/esm/models/registry-push-access-dto.d.ts +54 -0
  83. package/dist/esm/models/registry-push-access-dto.js +14 -0
  84. package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
  85. package/dist/esm/models/update-assigned-organization-roles.js +14 -0
  86. package/dist/esm/models/update-organization-invitation.d.ts +41 -0
  87. package/dist/esm/models/update-organization-invitation.js +17 -0
  88. package/dist/esm/models/update-organization-member-role.d.ts +29 -0
  89. package/dist/esm/models/update-organization-member-role.js +17 -0
  90. package/dist/esm/models/update-organization-quota.d.ts +84 -0
  91. package/dist/esm/models/update-organization-quota.js +14 -0
  92. package/dist/esm/models/update-organization-role.d.ts +45 -0
  93. package/dist/esm/models/update-organization-role.js +21 -0
  94. package/dist/esm/models/user-public-key.d.ts +30 -0
  95. package/dist/esm/models/user-public-key.js +14 -0
  96. package/dist/esm/models/user.d.ts +43 -0
  97. package/dist/esm/models/user.js +14 -0
  98. package/dist/esm/models/workspace-state.d.ts +33 -0
  99. package/dist/esm/models/workspace-state.js +34 -0
  100. package/dist/esm/models/workspace.d.ts +12 -3
  101. package/dist/esm/models/workspace.js +7 -1
  102. package/dist/models/api-key-list.d.ts +15 -0
  103. package/dist/models/api-key-list.js +9 -0
  104. package/dist/models/api-key-response.d.ts +15 -0
  105. package/dist/models/api-key-response.js +9 -0
  106. package/dist/models/create-api-key.d.ts +15 -0
  107. package/dist/models/create-api-key.js +9 -0
  108. package/dist/models/create-docker-registry.d.ts +19 -0
  109. package/dist/models/create-docker-registry.js +7 -0
  110. package/dist/models/create-node.d.ts +72 -0
  111. package/dist/models/create-node.js +11 -0
  112. package/dist/models/create-organization-invitation.d.ts +47 -0
  113. package/dist/models/create-organization-invitation.js +20 -0
  114. package/dist/models/create-organization-quota.d.ts +84 -0
  115. package/dist/models/create-organization-quota.js +15 -0
  116. package/dist/models/create-organization-role.d.ts +45 -0
  117. package/dist/models/create-organization-role.js +24 -0
  118. package/dist/models/create-organization.d.ts +90 -0
  119. package/dist/models/create-organization.js +15 -0
  120. package/dist/models/create-user.d.ts +13 -0
  121. package/dist/models/create-workspace.d.ts +6 -6
  122. package/dist/models/create-workspace.js +6 -6
  123. package/dist/models/docker-registry.d.ts +13 -0
  124. package/dist/models/docker-registry.js +7 -0
  125. package/dist/models/image-dto.d.ts +4 -12
  126. package/dist/models/image-dto.js +0 -9
  127. package/dist/models/image-state.d.ts +26 -0
  128. package/dist/models/image-state.js +30 -0
  129. package/dist/models/index.d.ts +18 -0
  130. package/dist/models/index.js +18 -0
  131. package/dist/models/organization-invitation.d.ts +91 -0
  132. package/dist/models/organization-invitation.js +26 -0
  133. package/dist/models/organization-role.d.ts +69 -0
  134. package/dist/models/organization-role.js +24 -0
  135. package/dist/models/organization-user.d.ts +72 -0
  136. package/dist/models/organization-user.js +20 -0
  137. package/dist/models/organization.d.ts +54 -0
  138. package/dist/models/organization.js +15 -0
  139. package/dist/models/registry-push-access-dto.d.ts +54 -0
  140. package/dist/models/registry-push-access-dto.js +15 -0
  141. package/dist/models/update-assigned-organization-roles.d.ts +24 -0
  142. package/dist/models/update-assigned-organization-roles.js +15 -0
  143. package/dist/models/update-organization-invitation.d.ts +41 -0
  144. package/dist/models/update-organization-invitation.js +20 -0
  145. package/dist/models/update-organization-member-role.d.ts +29 -0
  146. package/dist/models/update-organization-member-role.js +20 -0
  147. package/dist/models/update-organization-quota.d.ts +84 -0
  148. package/dist/models/update-organization-quota.js +15 -0
  149. package/dist/models/update-organization-role.d.ts +45 -0
  150. package/dist/models/update-organization-role.js +24 -0
  151. package/dist/models/user-public-key.d.ts +30 -0
  152. package/dist/models/user-public-key.js +15 -0
  153. package/dist/models/user.d.ts +43 -0
  154. package/dist/models/user.js +15 -0
  155. package/dist/models/workspace-state.d.ts +33 -0
  156. package/dist/models/workspace-state.js +37 -0
  157. package/dist/models/workspace.d.ts +12 -3
  158. package/dist/models/workspace.js +8 -0
  159. package/models/api-key-list.ts +18 -0
  160. package/models/api-key-response.ts +18 -0
  161. package/models/create-api-key.ts +18 -0
  162. package/models/create-docker-registry.ts +22 -0
  163. package/models/create-node.ts +76 -0
  164. package/models/create-organization-invitation.ts +56 -0
  165. package/models/create-organization-quota.ts +90 -0
  166. package/models/create-organization-role.ts +54 -0
  167. package/models/create-organization.ts +96 -0
  168. package/models/create-user.ts +15 -0
  169. package/models/create-workspace.ts +6 -6
  170. package/models/docker-registry.ts +16 -0
  171. package/models/image-dto.ts +6 -13
  172. package/models/image-state.ts +36 -0
  173. package/models/index.ts +18 -0
  174. package/models/organization-invitation.ts +103 -0
  175. package/models/organization-role.ts +78 -0
  176. package/models/organization-user.ts +83 -0
  177. package/models/organization.ts +60 -0
  178. package/models/registry-push-access-dto.ts +60 -0
  179. package/models/update-assigned-organization-roles.ts +30 -0
  180. package/models/update-organization-invitation.ts +50 -0
  181. package/models/update-organization-member-role.ts +38 -0
  182. package/models/update-organization-quota.ts +90 -0
  183. package/models/update-organization-role.ts +54 -0
  184. package/models/user-public-key.ts +36 -0
  185. package/models/user.ts +51 -0
  186. package/models/workspace-state.ts +43 -0
  187. package/models/workspace.ts +17 -3
  188. package/package.json +1 -1
@@ -13,3 +13,10 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateDockerRegistryRegistryTypeEnum = void 0;
17
+ exports.CreateDockerRegistryRegistryTypeEnum = {
18
+ INTERNAL: 'internal',
19
+ ORGANIZATION: 'organization',
20
+ PUBLIC: 'public',
21
+ TRANSIENT: 'transient'
22
+ };
@@ -21,4 +21,76 @@ export interface CreateNode {
21
21
  * @memberof CreateNode
22
22
  */
23
23
  'domain': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateNode
28
+ */
29
+ 'apiUrl': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateNode
34
+ */
35
+ 'apiKey': string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CreateNode
40
+ */
41
+ 'cpu': number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CreateNode
46
+ */
47
+ 'memory': number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CreateNode
52
+ */
53
+ 'disk': number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CreateNode
58
+ */
59
+ 'gpu': number;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof CreateNode
64
+ */
65
+ 'gpuType': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof CreateNode
70
+ */
71
+ 'class': CreateNodeClassEnum;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof CreateNode
76
+ */
77
+ 'capacity': number;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof CreateNode
82
+ */
83
+ 'region': CreateNodeRegionEnum;
24
84
  }
85
+ export declare const CreateNodeClassEnum: {
86
+ readonly SMALL: "small";
87
+ readonly MEDIUM: "medium";
88
+ readonly LARGE: "large";
89
+ };
90
+ export type CreateNodeClassEnum = typeof CreateNodeClassEnum[keyof typeof CreateNodeClassEnum];
91
+ export declare const CreateNodeRegionEnum: {
92
+ readonly EU: "eu";
93
+ readonly US: "us";
94
+ readonly ASIA: "asia";
95
+ };
96
+ export type CreateNodeRegionEnum = typeof CreateNodeRegionEnum[keyof typeof CreateNodeRegionEnum];
@@ -13,3 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateNodeRegionEnum = exports.CreateNodeClassEnum = void 0;
17
+ exports.CreateNodeClassEnum = {
18
+ SMALL: 'small',
19
+ MEDIUM: 'medium',
20
+ LARGE: 'large'
21
+ };
22
+ exports.CreateNodeRegionEnum = {
23
+ EU: 'eu',
24
+ US: 'us',
25
+ ASIA: 'asia'
26
+ };
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateOrganizationInvitation
16
+ */
17
+ export interface CreateOrganizationInvitation {
18
+ /**
19
+ * Email address of the invitee
20
+ * @type {string}
21
+ * @memberof CreateOrganizationInvitation
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * Organization member role for the invitee
26
+ * @type {string}
27
+ * @memberof CreateOrganizationInvitation
28
+ */
29
+ 'role': CreateOrganizationInvitationRoleEnum;
30
+ /**
31
+ * Array of assigned role IDs for the invitee
32
+ * @type {Array<string>}
33
+ * @memberof CreateOrganizationInvitation
34
+ */
35
+ 'assignedRoleIds': Array<string>;
36
+ /**
37
+ * Expiration date of the invitation
38
+ * @type {string}
39
+ * @memberof CreateOrganizationInvitation
40
+ */
41
+ 'expiresAt'?: string;
42
+ }
43
+ export declare const CreateOrganizationInvitationRoleEnum: {
44
+ readonly OWNER: "owner";
45
+ readonly MEMBER: "member";
46
+ };
47
+ export type CreateOrganizationInvitationRoleEnum = typeof CreateOrganizationInvitationRoleEnum[keyof typeof CreateOrganizationInvitationRoleEnum];
@@ -0,0 +1,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.CreateOrganizationInvitationRoleEnum = void 0;
17
+ exports.CreateOrganizationInvitationRoleEnum = {
18
+ OWNER: 'owner',
19
+ MEMBER: 'member'
20
+ };
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateOrganizationQuota
16
+ */
17
+ export interface CreateOrganizationQuota {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CreateOrganizationQuota
22
+ */
23
+ 'totalCpuQuota'?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof CreateOrganizationQuota
28
+ */
29
+ 'totalMemoryQuota'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateOrganizationQuota
34
+ */
35
+ 'totalDiskQuota'?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CreateOrganizationQuota
40
+ */
41
+ 'maxCpuPerWorkspace'?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CreateOrganizationQuota
46
+ */
47
+ 'maxMemoryPerWorkspace'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CreateOrganizationQuota
52
+ */
53
+ 'maxDiskPerWorkspace'?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CreateOrganizationQuota
58
+ */
59
+ 'maxConcurrentWorkspaces'?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof CreateOrganizationQuota
64
+ */
65
+ 'workspaceQuota'?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof CreateOrganizationQuota
70
+ */
71
+ 'imageQuota'?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof CreateOrganizationQuota
76
+ */
77
+ 'maxImageSize'?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof CreateOrganizationQuota
82
+ */
83
+ 'totalImageSize'?: number;
84
+ }
@@ -0,0 +1,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,45 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateOrganizationRole
16
+ */
17
+ export interface CreateOrganizationRole {
18
+ /**
19
+ * The name of the role
20
+ * @type {string}
21
+ * @memberof CreateOrganizationRole
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * The description of the role
26
+ * @type {string}
27
+ * @memberof CreateOrganizationRole
28
+ */
29
+ 'description': string;
30
+ /**
31
+ * The list of permissions assigned to the role
32
+ * @type {Array<string>}
33
+ * @memberof CreateOrganizationRole
34
+ */
35
+ 'permissions': Array<CreateOrganizationRolePermissionsEnum>;
36
+ }
37
+ export declare const CreateOrganizationRolePermissionsEnum: {
38
+ readonly WRITEREGISTRIES: "write:registries";
39
+ readonly DELETEREGISTRIES: "delete:registries";
40
+ readonly WRITEIMAGES: "write:images";
41
+ readonly DELETEIMAGES: "delete:images";
42
+ readonly WRITESANDBOXES: "write:sandboxes";
43
+ readonly DELETESANDBOXES: "delete:sandboxes";
44
+ };
45
+ export type CreateOrganizationRolePermissionsEnum = typeof CreateOrganizationRolePermissionsEnum[keyof typeof CreateOrganizationRolePermissionsEnum];
@@ -0,0 +1,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.CreateOrganizationRolePermissionsEnum = void 0;
17
+ exports.CreateOrganizationRolePermissionsEnum = {
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,90 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateOrganization
16
+ */
17
+ export interface CreateOrganization {
18
+ /**
19
+ * The name of organization
20
+ * @type {string}
21
+ * @memberof CreateOrganization
22
+ */
23
+ 'name': string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof CreateOrganization
28
+ */
29
+ 'totalCpuQuota'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateOrganization
34
+ */
35
+ 'totalMemoryQuota'?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CreateOrganization
40
+ */
41
+ 'totalDiskQuota'?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CreateOrganization
46
+ */
47
+ 'maxCpuPerWorkspace'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CreateOrganization
52
+ */
53
+ 'maxMemoryPerWorkspace'?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CreateOrganization
58
+ */
59
+ 'maxDiskPerWorkspace'?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof CreateOrganization
64
+ */
65
+ 'maxConcurrentWorkspaces'?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof CreateOrganization
70
+ */
71
+ 'workspaceQuota'?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof CreateOrganization
76
+ */
77
+ 'imageQuota'?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof CreateOrganization
82
+ */
83
+ 'maxImageSize'?: number;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof CreateOrganization
88
+ */
89
+ 'totalImageSize'?: number;
90
+ }
@@ -0,0 +1,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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { CreateOrganizationQuota } from './create-organization-quota';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,4 +28,16 @@ export interface CreateUser {
27
28
  * @memberof CreateUser
28
29
  */
29
30
  'name': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CreateUser
35
+ */
36
+ 'email'?: string;
37
+ /**
38
+ *
39
+ * @type {CreateOrganizationQuota}
40
+ * @memberof CreateUser
41
+ */
42
+ 'personalOrganizationQuota'?: CreateOrganizationQuota;
30
43
  }
@@ -105,14 +105,14 @@ export interface CreateWorkspace {
105
105
  'autoStopInterval'?: number;
106
106
  }
107
107
  export declare const CreateWorkspaceClassEnum: {
108
- readonly Small: "small";
109
- readonly Medium: "medium";
110
- readonly Large: "large";
108
+ readonly SMALL: "small";
109
+ readonly MEDIUM: "medium";
110
+ readonly LARGE: "large";
111
111
  };
112
112
  export type CreateWorkspaceClassEnum = typeof CreateWorkspaceClassEnum[keyof typeof CreateWorkspaceClassEnum];
113
113
  export declare const CreateWorkspaceTargetEnum: {
114
- readonly Eu: "eu";
115
- readonly Us: "us";
116
- readonly Asia: "asia";
114
+ readonly EU: "eu";
115
+ readonly US: "us";
116
+ readonly ASIA: "asia";
117
117
  };
118
118
  export type CreateWorkspaceTargetEnum = typeof CreateWorkspaceTargetEnum[keyof typeof CreateWorkspaceTargetEnum];
@@ -15,12 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateWorkspaceTargetEnum = exports.CreateWorkspaceClassEnum = void 0;
17
17
  exports.CreateWorkspaceClassEnum = {
18
- Small: 'small',
19
- Medium: 'medium',
20
- Large: 'large'
18
+ SMALL: 'small',
19
+ MEDIUM: 'medium',
20
+ LARGE: 'large'
21
21
  };
22
22
  exports.CreateWorkspaceTargetEnum = {
23
- Eu: 'eu',
24
- Us: 'us',
25
- Asia: 'asia'
23
+ EU: 'eu',
24
+ US: 'us',
25
+ ASIA: 'asia'
26
26
  };
@@ -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];
@@ -13,3 +13,10 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DockerRegistryRegistryTypeEnum = void 0;
17
+ exports.DockerRegistryRegistryTypeEnum = {
18
+ INTERNAL: 'internal',
19
+ ORGANIZATION: 'organization',
20
+ PUBLIC: 'public',
21
+ TRANSIENT: 'transient'
22
+ };
@@ -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
- 'userId': string;
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 {string}
45
+ * @type {ImageState}
45
46
  * @memberof ImageDto
46
47
  */
47
- 'state': ImageDtoStateEnum;
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];
@@ -13,12 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ImageDtoStateEnum = void 0;
17
- exports.ImageDtoStateEnum = {
18
- Pending: 'pending',
19
- PullingImage: 'pulling_image',
20
- Validating: 'validating',
21
- Active: 'active',
22
- Error: 'error',
23
- Removing: 'removing'
24
- };
@@ -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,30 @@
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.ImageState = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ImageState = {
23
+ PENDING: 'pending',
24
+ PULLING_IMAGE: 'pulling_image',
25
+ PENDING_VALIDATION: 'pending_validation',
26
+ VALIDATING: 'validating',
27
+ ACTIVE: 'active',
28
+ ERROR: 'error',
29
+ REMOVING: 'removing'
30
+ };