@daytonaio/api-client 0.1.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 +30 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/DefaultApi.d.ts +551 -0
- package/dist/apis/DefaultApi.js +1645 -0
- package/dist/apis/DockerRegistryApi.d.ts +90 -0
- package/dist/apis/DockerRegistryApi.js +257 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +20 -0
- package/dist/esm/apis/DefaultApi.d.ts +551 -0
- package/dist/esm/apis/DefaultApi.js +1641 -0
- package/dist/esm/apis/DockerRegistryApi.d.ts +90 -0
- package/dist/esm/apis/DockerRegistryApi.js +253 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiKeyListDto.d.ts +44 -0
- package/dist/esm/models/ApiKeyListDto.js +51 -0
- package/dist/esm/models/ApiKeyResponseDto.d.ts +44 -0
- package/dist/esm/models/ApiKeyResponseDto.js +51 -0
- package/dist/esm/models/CreateApiKeyDto.d.ts +32 -0
- package/dist/esm/models/CreateApiKeyDto.js +43 -0
- package/dist/esm/models/CreateDockerRegistryDto.d.ts +62 -0
- package/dist/esm/models/CreateDockerRegistryDto.js +61 -0
- package/dist/esm/models/CreateWorkspaceDto.d.ts +64 -0
- package/dist/esm/models/CreateWorkspaceDto.js +63 -0
- package/dist/esm/models/ExecuteRequestDto.d.ts +38 -0
- package/dist/esm/models/ExecuteRequestDto.js +45 -0
- package/dist/esm/models/ExecuteResponseDto.d.ts +38 -0
- package/dist/esm/models/ExecuteResponseDto.js +47 -0
- package/dist/esm/models/GitAddRequestDto.d.ts +38 -0
- package/dist/esm/models/GitAddRequestDto.js +47 -0
- package/dist/esm/models/GitBranchRequestDto.d.ts +38 -0
- package/dist/esm/models/GitBranchRequestDto.js +47 -0
- package/dist/esm/models/GitCloneRequestDto.d.ts +62 -0
- package/dist/esm/models/GitCloneRequestDto.js +55 -0
- package/dist/esm/models/GitCommitRequestDto.d.ts +50 -0
- package/dist/esm/models/GitCommitRequestDto.js +55 -0
- package/dist/esm/models/GitRepoRequestDto.d.ts +44 -0
- package/dist/esm/models/GitRepoRequestDto.js +47 -0
- package/dist/esm/models/ReplaceRequestDto.d.ts +44 -0
- package/dist/esm/models/ReplaceRequestDto.js +51 -0
- package/dist/esm/models/UpdateDockerRegistryDto.d.ts +62 -0
- package/dist/esm/models/UpdateDockerRegistryDto.js +51 -0
- package/dist/esm/models/WorkspaceDto.d.ts +71 -0
- package/dist/esm/models/WorkspaceDto.js +66 -0
- package/dist/esm/models/WorkspaceInfoDto.d.ts +44 -0
- package/dist/esm/models/WorkspaceInfoDto.js +49 -0
- package/dist/esm/models/WorkspaceLabelsDto.d.ts +34 -0
- package/dist/esm/models/WorkspaceLabelsDto.js +43 -0
- package/dist/esm/models/index.d.ts +17 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ApiKeyListDto.d.ts +44 -0
- package/dist/models/ApiKeyListDto.js +59 -0
- package/dist/models/ApiKeyResponseDto.d.ts +44 -0
- package/dist/models/ApiKeyResponseDto.js +59 -0
- package/dist/models/CreateApiKeyDto.d.ts +32 -0
- package/dist/models/CreateApiKeyDto.js +51 -0
- package/dist/models/CreateDockerRegistryDto.d.ts +62 -0
- package/dist/models/CreateDockerRegistryDto.js +69 -0
- package/dist/models/CreateWorkspaceDto.d.ts +64 -0
- package/dist/models/CreateWorkspaceDto.js +71 -0
- package/dist/models/ExecuteRequestDto.d.ts +38 -0
- package/dist/models/ExecuteRequestDto.js +53 -0
- package/dist/models/ExecuteResponseDto.d.ts +38 -0
- package/dist/models/ExecuteResponseDto.js +55 -0
- package/dist/models/GitAddRequestDto.d.ts +38 -0
- package/dist/models/GitAddRequestDto.js +55 -0
- package/dist/models/GitBranchRequestDto.d.ts +38 -0
- package/dist/models/GitBranchRequestDto.js +55 -0
- package/dist/models/GitCloneRequestDto.d.ts +62 -0
- package/dist/models/GitCloneRequestDto.js +63 -0
- package/dist/models/GitCommitRequestDto.d.ts +50 -0
- package/dist/models/GitCommitRequestDto.js +63 -0
- package/dist/models/GitRepoRequestDto.d.ts +44 -0
- package/dist/models/GitRepoRequestDto.js +55 -0
- package/dist/models/ReplaceRequestDto.d.ts +44 -0
- package/dist/models/ReplaceRequestDto.js +59 -0
- package/dist/models/UpdateDockerRegistryDto.d.ts +62 -0
- package/dist/models/UpdateDockerRegistryDto.js +59 -0
- package/dist/models/WorkspaceDto.d.ts +71 -0
- package/dist/models/WorkspaceDto.js +74 -0
- package/dist/models/WorkspaceInfoDto.d.ts +44 -0
- package/dist/models/WorkspaceInfoDto.js +57 -0
- package/dist/models/WorkspaceLabelsDto.d.ts +34 -0
- package/dist/models/WorkspaceLabelsDto.js +51 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +35 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +22 -0
- package/src/apis/DefaultApi.ts +2380 -0
- package/src/apis/DockerRegistryApi.ts +318 -0
- package/src/apis/index.ts +4 -0
- package/src/index.ts +5 -0
- package/src/models/ApiKeyListDto.ts +84 -0
- package/src/models/ApiKeyResponseDto.ts +84 -0
- package/src/models/CreateApiKeyDto.ts +66 -0
- package/src/models/CreateDockerRegistryDto.ts +110 -0
- package/src/models/CreateWorkspaceDto.ts +111 -0
- package/src/models/ExecuteRequestDto.ts +74 -0
- package/src/models/ExecuteResponseDto.ts +75 -0
- package/src/models/GitAddRequestDto.ts +75 -0
- package/src/models/GitBranchRequestDto.ts +75 -0
- package/src/models/GitCloneRequestDto.ts +107 -0
- package/src/models/GitCommitRequestDto.ts +93 -0
- package/src/models/GitRepoRequestDto.ts +82 -0
- package/src/models/ReplaceRequestDto.ts +84 -0
- package/src/models/UpdateDockerRegistryDto.ts +105 -0
- package/src/models/WorkspaceDto.ts +127 -0
- package/src/models/WorkspaceInfoDto.ts +83 -0
- package/src/models/WorkspaceLabelsDto.ts +66 -0
- package/src/models/index.ts +19 -0
- package/src/runtime.ts +426 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GitCloneRequestDto interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGitCloneRequestDto(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GitCloneRequestDtoFromJSON(json) {
|
|
25
|
+
return GitCloneRequestDtoFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GitCloneRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'url': json['url'],
|
|
33
|
+
'path': json['path'],
|
|
34
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
35
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
36
|
+
'branch': json['branch'] == null ? undefined : json['branch'],
|
|
37
|
+
'commitId': json['commit_id'] == null ? undefined : json['commit_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function GitCloneRequestDtoToJSON(json) {
|
|
41
|
+
return GitCloneRequestDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function GitCloneRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'url': value['url'],
|
|
49
|
+
'path': value['path'],
|
|
50
|
+
'username': value['username'],
|
|
51
|
+
'password': value['password'],
|
|
52
|
+
'branch': value['branch'],
|
|
53
|
+
'commit_id': value['commitId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 GitCommitRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GitCommitRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitCommitRequestDto
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitCommitRequestDto
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitCommitRequestDto
|
|
34
|
+
*/
|
|
35
|
+
author: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitCommitRequestDto
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GitCommitRequestDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGitCommitRequestDto(value: object): value is GitCommitRequestDto;
|
|
47
|
+
export declare function GitCommitRequestDtoFromJSON(json: any): GitCommitRequestDto;
|
|
48
|
+
export declare function GitCommitRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitCommitRequestDto;
|
|
49
|
+
export declare function GitCommitRequestDtoToJSON(json: any): GitCommitRequestDto;
|
|
50
|
+
export declare function GitCommitRequestDtoToJSONTyped(value?: GitCommitRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GitCommitRequestDto interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGitCommitRequestDto(value) {
|
|
18
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GitCommitRequestDtoFromJSON(json) {
|
|
29
|
+
return GitCommitRequestDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GitCommitRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'path': json['path'],
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
'author': json['author'],
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function GitCommitRequestDtoToJSON(json) {
|
|
43
|
+
return GitCommitRequestDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function GitCommitRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'path': value['path'],
|
|
51
|
+
'message': value['message'],
|
|
52
|
+
'author': value['author'],
|
|
53
|
+
'email': value['email'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 GitRepoRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GitRepoRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitRepoRequestDto
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitRepoRequestDto
|
|
28
|
+
*/
|
|
29
|
+
username?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitRepoRequestDto
|
|
34
|
+
*/
|
|
35
|
+
password?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GitRepoRequestDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGitRepoRequestDto(value: object): value is GitRepoRequestDto;
|
|
41
|
+
export declare function GitRepoRequestDtoFromJSON(json: any): GitRepoRequestDto;
|
|
42
|
+
export declare function GitRepoRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitRepoRequestDto;
|
|
43
|
+
export declare function GitRepoRequestDtoToJSON(json: any): GitRepoRequestDto;
|
|
44
|
+
export declare function GitRepoRequestDtoToJSONTyped(value?: GitRepoRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GitRepoRequestDto interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGitRepoRequestDto(value) {
|
|
18
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function GitRepoRequestDtoFromJSON(json) {
|
|
23
|
+
return GitRepoRequestDtoFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function GitRepoRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'path': json['path'],
|
|
31
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
32
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function GitRepoRequestDtoToJSON(json) {
|
|
36
|
+
return GitRepoRequestDtoToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function GitRepoRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'path': value['path'],
|
|
44
|
+
'username': value['username'],
|
|
45
|
+
'password': value['password'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ReplaceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ReplaceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ReplaceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
files: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReplaceRequestDto
|
|
28
|
+
*/
|
|
29
|
+
pattern: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReplaceRequestDto
|
|
34
|
+
*/
|
|
35
|
+
newValue: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ReplaceRequestDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfReplaceRequestDto(value: object): value is ReplaceRequestDto;
|
|
41
|
+
export declare function ReplaceRequestDtoFromJSON(json: any): ReplaceRequestDto;
|
|
42
|
+
export declare function ReplaceRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReplaceRequestDto;
|
|
43
|
+
export declare function ReplaceRequestDtoToJSON(json: any): ReplaceRequestDto;
|
|
44
|
+
export declare function ReplaceRequestDtoToJSONTyped(value?: ReplaceRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ReplaceRequestDto interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReplaceRequestDto(value) {
|
|
18
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('pattern' in value) || value['pattern'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('newValue' in value) || value['newValue'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ReplaceRequestDtoFromJSON(json) {
|
|
27
|
+
return ReplaceRequestDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ReplaceRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'files': json['files'],
|
|
35
|
+
'pattern': json['pattern'],
|
|
36
|
+
'newValue': json['newValue'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ReplaceRequestDtoToJSON(json) {
|
|
40
|
+
return ReplaceRequestDtoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ReplaceRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'files': value['files'],
|
|
48
|
+
'pattern': value['pattern'],
|
|
49
|
+
'newValue': value['newValue'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 UpdateDockerRegistryDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateDockerRegistryDto {
|
|
18
|
+
/**
|
|
19
|
+
* Registry name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateDockerRegistryDto
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Registry URL
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateDockerRegistryDto
|
|
28
|
+
*/
|
|
29
|
+
url?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Registry username
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateDockerRegistryDto
|
|
34
|
+
*/
|
|
35
|
+
username?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Registry password
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateDockerRegistryDto
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Registry project
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateDockerRegistryDto
|
|
46
|
+
*/
|
|
47
|
+
project?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Set as default registry
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof UpdateDockerRegistryDto
|
|
52
|
+
*/
|
|
53
|
+
isDefault?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UpdateDockerRegistryDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfUpdateDockerRegistryDto(value: object): value is UpdateDockerRegistryDto;
|
|
59
|
+
export declare function UpdateDockerRegistryDtoFromJSON(json: any): UpdateDockerRegistryDto;
|
|
60
|
+
export declare function UpdateDockerRegistryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDockerRegistryDto;
|
|
61
|
+
export declare function UpdateDockerRegistryDtoToJSON(json: any): UpdateDockerRegistryDto;
|
|
62
|
+
export declare function UpdateDockerRegistryDtoToJSONTyped(value?: UpdateDockerRegistryDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Daytona Workspaces
|
|
5
|
+
* Daytona Workspaces API Docs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UpdateDockerRegistryDto interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdateDockerRegistryDto(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function UpdateDockerRegistryDtoFromJSON(json) {
|
|
21
|
+
return UpdateDockerRegistryDtoFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UpdateDockerRegistryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
30
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
31
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
32
|
+
'project': json['project'] == null ? undefined : json['project'],
|
|
33
|
+
'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function UpdateDockerRegistryDtoToJSON(json) {
|
|
37
|
+
return UpdateDockerRegistryDtoToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function UpdateDockerRegistryDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': value['name'],
|
|
45
|
+
'url': value['url'],
|
|
46
|
+
'username': value['username'],
|
|
47
|
+
'password': value['password'],
|
|
48
|
+
'project': value['project'],
|
|
49
|
+
'isDefault': value['isDefault'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { WorkspaceInfoDto } from './WorkspaceInfoDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WorkspaceDto
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkspaceDto {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the workspace
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WorkspaceDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the workspace
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WorkspaceDto
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* The image used for the workspace
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WorkspaceDto
|
|
35
|
+
*/
|
|
36
|
+
image: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user associated with the project
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WorkspaceDto
|
|
41
|
+
*/
|
|
42
|
+
user: string;
|
|
43
|
+
/**
|
|
44
|
+
* Environment variables for the workspace
|
|
45
|
+
* @type {{ [key: string]: string; }}
|
|
46
|
+
* @memberof WorkspaceDto
|
|
47
|
+
*/
|
|
48
|
+
env: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* The target environment for the workspace
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof WorkspaceDto
|
|
55
|
+
*/
|
|
56
|
+
target: string;
|
|
57
|
+
/**
|
|
58
|
+
* Additional information about the workspace
|
|
59
|
+
* @type {WorkspaceInfoDto}
|
|
60
|
+
* @memberof WorkspaceDto
|
|
61
|
+
*/
|
|
62
|
+
info?: WorkspaceInfoDto;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the WorkspaceDto interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfWorkspaceDto(value: object): value is WorkspaceDto;
|
|
68
|
+
export declare function WorkspaceDtoFromJSON(json: any): WorkspaceDto;
|
|
69
|
+
export declare function WorkspaceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceDto;
|
|
70
|
+
export declare function WorkspaceDtoToJSON(json: any): WorkspaceDto;
|
|
71
|
+
export declare function WorkspaceDtoToJSONTyped(value?: WorkspaceDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { WorkspaceInfoDtoFromJSON, WorkspaceInfoDtoToJSON, } from './WorkspaceInfoDto';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the WorkspaceDto interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfWorkspaceDto(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('image' in value) || value['image'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('env' in value) || value['env'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function WorkspaceDtoFromJSON(json) {
|
|
34
|
+
return WorkspaceDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function WorkspaceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'image': json['image'],
|
|
44
|
+
'user': json['user'],
|
|
45
|
+
'env': json['env'],
|
|
46
|
+
'target': json['target'],
|
|
47
|
+
'info': json['info'] == null ? undefined : WorkspaceInfoDtoFromJSON(json['info']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function WorkspaceDtoToJSON(json) {
|
|
51
|
+
return WorkspaceDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function WorkspaceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'image': value['image'],
|
|
61
|
+
'user': value['user'],
|
|
62
|
+
'env': value['env'],
|
|
63
|
+
'target': value['target'],
|
|
64
|
+
'info': WorkspaceInfoDtoToJSON(value['info']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 WorkspaceInfoDto
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkspaceInfoDto {
|
|
18
|
+
/**
|
|
19
|
+
* The creation timestamp of the project
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkspaceInfoDto
|
|
22
|
+
*/
|
|
23
|
+
created: string;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the workspace
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkspaceInfoDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Additional metadata provided by the provider
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WorkspaceInfoDto
|
|
34
|
+
*/
|
|
35
|
+
providerMetadata?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WorkspaceInfoDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfWorkspaceInfoDto(value: object): value is WorkspaceInfoDto;
|
|
41
|
+
export declare function WorkspaceInfoDtoFromJSON(json: any): WorkspaceInfoDto;
|
|
42
|
+
export declare function WorkspaceInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceInfoDto;
|
|
43
|
+
export declare function WorkspaceInfoDtoToJSON(json: any): WorkspaceInfoDto;
|
|
44
|
+
export declare function WorkspaceInfoDtoToJSONTyped(value?: WorkspaceInfoDto | null, ignoreDiscriminator?: boolean): any;
|