@daytonaio/api-client 0.2.1 → 0.2.2
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/README.md +2 -2
- package/dist/esm/models/create-workspace-dto.d.ts +27 -9
- package/dist/esm/models/create-workspace-dto.js +10 -1
- package/dist/models/create-workspace-dto.d.ts +27 -9
- package/dist/models/create-workspace-dto.js +11 -0
- package/models/create-workspace-dto.ts +31 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @daytonaio/api-client@0.2.
|
|
1
|
+
## @daytonaio/api-client@0.2.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @daytonaio/api-client@0.2.
|
|
39
|
+
npm install @daytonaio/api-client@0.2.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -16,41 +16,59 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateWorkspaceDto {
|
|
18
18
|
/**
|
|
19
|
-
* The ID of the workspace
|
|
19
|
+
* The ID of the workspace
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateWorkspaceDto
|
|
22
22
|
*/
|
|
23
|
-
'id'
|
|
23
|
+
'id'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The name of the workspace
|
|
25
|
+
* The name of the workspace
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateWorkspaceDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The image used for the workspace
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateWorkspaceDto
|
|
34
34
|
*/
|
|
35
|
-
'image'
|
|
35
|
+
'image'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The user associated with the project
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateWorkspaceDto
|
|
40
40
|
*/
|
|
41
|
-
'user'
|
|
41
|
+
'user'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Environment variables for the workspace
|
|
44
44
|
* @type {{ [key: string]: string; }}
|
|
45
45
|
* @memberof CreateWorkspaceDto
|
|
46
46
|
*/
|
|
47
|
-
'env'
|
|
47
|
+
'env'?: {
|
|
48
48
|
[key: string]: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
|
-
* The
|
|
51
|
+
* The workspace class type
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof CreateWorkspaceDto
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'class'?: CreateWorkspaceDtoClassEnum;
|
|
56
|
+
/**
|
|
57
|
+
* The target (region) where the workspace will be created
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateWorkspaceDto
|
|
60
|
+
*/
|
|
61
|
+
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
56
62
|
}
|
|
63
|
+
export declare const CreateWorkspaceDtoClassEnum: {
|
|
64
|
+
readonly Small: "small";
|
|
65
|
+
readonly Medium: "medium";
|
|
66
|
+
readonly Large: "large";
|
|
67
|
+
};
|
|
68
|
+
export type CreateWorkspaceDtoClassEnum = typeof CreateWorkspaceDtoClassEnum[keyof typeof CreateWorkspaceDtoClassEnum];
|
|
69
|
+
export declare const CreateWorkspaceDtoTargetEnum: {
|
|
70
|
+
readonly Eu: "eu";
|
|
71
|
+
readonly Us: "us";
|
|
72
|
+
readonly Asia: "asia";
|
|
73
|
+
};
|
|
74
|
+
export type CreateWorkspaceDtoTargetEnum = typeof CreateWorkspaceDtoTargetEnum[keyof typeof CreateWorkspaceDtoTargetEnum];
|
|
@@ -11,4 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const CreateWorkspaceDtoClassEnum = {
|
|
15
|
+
Small: 'small',
|
|
16
|
+
Medium: 'medium',
|
|
17
|
+
Large: 'large'
|
|
18
|
+
};
|
|
19
|
+
export const CreateWorkspaceDtoTargetEnum = {
|
|
20
|
+
Eu: 'eu',
|
|
21
|
+
Us: 'us',
|
|
22
|
+
Asia: 'asia'
|
|
23
|
+
};
|
|
@@ -16,41 +16,59 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateWorkspaceDto {
|
|
18
18
|
/**
|
|
19
|
-
* The ID of the workspace
|
|
19
|
+
* The ID of the workspace
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateWorkspaceDto
|
|
22
22
|
*/
|
|
23
|
-
'id'
|
|
23
|
+
'id'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The name of the workspace
|
|
25
|
+
* The name of the workspace
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateWorkspaceDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The image used for the workspace
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateWorkspaceDto
|
|
34
34
|
*/
|
|
35
|
-
'image'
|
|
35
|
+
'image'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The user associated with the project
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateWorkspaceDto
|
|
40
40
|
*/
|
|
41
|
-
'user'
|
|
41
|
+
'user'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Environment variables for the workspace
|
|
44
44
|
* @type {{ [key: string]: string; }}
|
|
45
45
|
* @memberof CreateWorkspaceDto
|
|
46
46
|
*/
|
|
47
|
-
'env'
|
|
47
|
+
'env'?: {
|
|
48
48
|
[key: string]: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
|
-
* The
|
|
51
|
+
* The workspace class type
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof CreateWorkspaceDto
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'class'?: CreateWorkspaceDtoClassEnum;
|
|
56
|
+
/**
|
|
57
|
+
* The target (region) where the workspace will be created
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateWorkspaceDto
|
|
60
|
+
*/
|
|
61
|
+
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
56
62
|
}
|
|
63
|
+
export declare const CreateWorkspaceDtoClassEnum: {
|
|
64
|
+
readonly Small: "small";
|
|
65
|
+
readonly Medium: "medium";
|
|
66
|
+
readonly Large: "large";
|
|
67
|
+
};
|
|
68
|
+
export type CreateWorkspaceDtoClassEnum = typeof CreateWorkspaceDtoClassEnum[keyof typeof CreateWorkspaceDtoClassEnum];
|
|
69
|
+
export declare const CreateWorkspaceDtoTargetEnum: {
|
|
70
|
+
readonly Eu: "eu";
|
|
71
|
+
readonly Us: "us";
|
|
72
|
+
readonly Asia: "asia";
|
|
73
|
+
};
|
|
74
|
+
export type CreateWorkspaceDtoTargetEnum = typeof CreateWorkspaceDtoTargetEnum[keyof typeof CreateWorkspaceDtoTargetEnum];
|
|
@@ -13,3 +13,14 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateWorkspaceDtoTargetEnum = exports.CreateWorkspaceDtoClassEnum = void 0;
|
|
17
|
+
exports.CreateWorkspaceDtoClassEnum = {
|
|
18
|
+
Small: 'small',
|
|
19
|
+
Medium: 'medium',
|
|
20
|
+
Large: 'large'
|
|
21
|
+
};
|
|
22
|
+
exports.CreateWorkspaceDtoTargetEnum = {
|
|
23
|
+
Eu: 'eu',
|
|
24
|
+
Us: 'us',
|
|
25
|
+
Asia: 'asia'
|
|
26
|
+
};
|
|
@@ -21,40 +21,62 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateWorkspaceDto {
|
|
23
23
|
/**
|
|
24
|
-
* The ID of the workspace
|
|
24
|
+
* The ID of the workspace
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateWorkspaceDto
|
|
27
27
|
*/
|
|
28
|
-
'id'
|
|
28
|
+
'id'?: string;
|
|
29
29
|
/**
|
|
30
|
-
* The name of the workspace
|
|
30
|
+
* The name of the workspace
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateWorkspaceDto
|
|
33
33
|
*/
|
|
34
|
-
'name'
|
|
34
|
+
'name'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* The image used for the workspace
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateWorkspaceDto
|
|
39
39
|
*/
|
|
40
|
-
'image'
|
|
40
|
+
'image'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* The user associated with the project
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateWorkspaceDto
|
|
45
45
|
*/
|
|
46
|
-
'user'
|
|
46
|
+
'user'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Environment variables for the workspace
|
|
49
49
|
* @type {{ [key: string]: string; }}
|
|
50
50
|
* @memberof CreateWorkspaceDto
|
|
51
51
|
*/
|
|
52
|
-
'env'
|
|
52
|
+
'env'?: { [key: string]: string; };
|
|
53
53
|
/**
|
|
54
|
-
* The
|
|
54
|
+
* The workspace class type
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreateWorkspaceDto
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'class'?: CreateWorkspaceDtoClassEnum;
|
|
59
|
+
/**
|
|
60
|
+
* The target (region) where the workspace will be created
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateWorkspaceDto
|
|
63
|
+
*/
|
|
64
|
+
'target'?: CreateWorkspaceDtoTargetEnum;
|
|
59
65
|
}
|
|
60
66
|
|
|
67
|
+
export const CreateWorkspaceDtoClassEnum = {
|
|
68
|
+
Small: 'small',
|
|
69
|
+
Medium: 'medium',
|
|
70
|
+
Large: 'large'
|
|
71
|
+
} as const;
|
|
72
|
+
|
|
73
|
+
export type CreateWorkspaceDtoClassEnum = typeof CreateWorkspaceDtoClassEnum[keyof typeof CreateWorkspaceDtoClassEnum];
|
|
74
|
+
export const CreateWorkspaceDtoTargetEnum = {
|
|
75
|
+
Eu: 'eu',
|
|
76
|
+
Us: 'us',
|
|
77
|
+
Asia: 'asia'
|
|
78
|
+
} as const;
|
|
79
|
+
|
|
80
|
+
export type CreateWorkspaceDtoTargetEnum = typeof CreateWorkspaceDtoTargetEnum[keyof typeof CreateWorkspaceDtoTargetEnum];
|
|
81
|
+
|
|
82
|
+
|