@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,38 @@
|
|
|
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 ExecuteResponseDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecuteResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
* Response code
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExecuteResponseDto
|
|
22
|
+
*/
|
|
23
|
+
code: number;
|
|
24
|
+
/**
|
|
25
|
+
* Command output
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExecuteResponseDto
|
|
28
|
+
*/
|
|
29
|
+
result: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExecuteResponseDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExecuteResponseDto(value: object): value is ExecuteResponseDto;
|
|
35
|
+
export declare function ExecuteResponseDtoFromJSON(json: any): ExecuteResponseDto;
|
|
36
|
+
export declare function ExecuteResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteResponseDto;
|
|
37
|
+
export declare function ExecuteResponseDtoToJSON(json: any): ExecuteResponseDto;
|
|
38
|
+
export declare function ExecuteResponseDtoToJSONTyped(value?: ExecuteResponseDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.ExecuteResponseDtoToJSONTyped = exports.ExecuteResponseDtoToJSON = exports.ExecuteResponseDtoFromJSONTyped = exports.ExecuteResponseDtoFromJSON = exports.instanceOfExecuteResponseDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ExecuteResponseDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfExecuteResponseDto(value) {
|
|
21
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfExecuteResponseDto = instanceOfExecuteResponseDto;
|
|
28
|
+
function ExecuteResponseDtoFromJSON(json) {
|
|
29
|
+
return ExecuteResponseDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ExecuteResponseDtoFromJSON = ExecuteResponseDtoFromJSON;
|
|
32
|
+
function ExecuteResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'code': json['code'],
|
|
38
|
+
'result': json['result'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.ExecuteResponseDtoFromJSONTyped = ExecuteResponseDtoFromJSONTyped;
|
|
42
|
+
function ExecuteResponseDtoToJSON(json) {
|
|
43
|
+
return ExecuteResponseDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.ExecuteResponseDtoToJSON = ExecuteResponseDtoToJSON;
|
|
46
|
+
function ExecuteResponseDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'code': value['code'],
|
|
52
|
+
'result': value['result'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.ExecuteResponseDtoToJSONTyped = ExecuteResponseDtoToJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 GitAddRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GitAddRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitAddRequestDto
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* files to add (use . for all files)
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof GitAddRequestDto
|
|
28
|
+
*/
|
|
29
|
+
files: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitAddRequestDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitAddRequestDto(value: object): value is GitAddRequestDto;
|
|
35
|
+
export declare function GitAddRequestDtoFromJSON(json: any): GitAddRequestDto;
|
|
36
|
+
export declare function GitAddRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitAddRequestDto;
|
|
37
|
+
export declare function GitAddRequestDtoToJSON(json: any): GitAddRequestDto;
|
|
38
|
+
export declare function GitAddRequestDtoToJSONTyped(value?: GitAddRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.GitAddRequestDtoToJSONTyped = exports.GitAddRequestDtoToJSON = exports.GitAddRequestDtoFromJSONTyped = exports.GitAddRequestDtoFromJSON = exports.instanceOfGitAddRequestDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitAddRequestDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitAddRequestDto(value) {
|
|
21
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGitAddRequestDto = instanceOfGitAddRequestDto;
|
|
28
|
+
function GitAddRequestDtoFromJSON(json) {
|
|
29
|
+
return GitAddRequestDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GitAddRequestDtoFromJSON = GitAddRequestDtoFromJSON;
|
|
32
|
+
function GitAddRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'path': json['path'],
|
|
38
|
+
'files': json['files'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.GitAddRequestDtoFromJSONTyped = GitAddRequestDtoFromJSONTyped;
|
|
42
|
+
function GitAddRequestDtoToJSON(json) {
|
|
43
|
+
return GitAddRequestDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.GitAddRequestDtoToJSON = GitAddRequestDtoToJSON;
|
|
46
|
+
function GitAddRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'path': value['path'],
|
|
52
|
+
'files': value['files'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GitAddRequestDtoToJSONTyped = GitAddRequestDtoToJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 GitBranchRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GitBranchRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitBranchRequestDto
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitBranchRequestDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitBranchRequestDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitBranchRequestDto(value: object): value is GitBranchRequestDto;
|
|
35
|
+
export declare function GitBranchRequestDtoFromJSON(json: any): GitBranchRequestDto;
|
|
36
|
+
export declare function GitBranchRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitBranchRequestDto;
|
|
37
|
+
export declare function GitBranchRequestDtoToJSON(json: any): GitBranchRequestDto;
|
|
38
|
+
export declare function GitBranchRequestDtoToJSONTyped(value?: GitBranchRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.GitBranchRequestDtoToJSONTyped = exports.GitBranchRequestDtoToJSON = exports.GitBranchRequestDtoFromJSONTyped = exports.GitBranchRequestDtoFromJSON = exports.instanceOfGitBranchRequestDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitBranchRequestDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitBranchRequestDto(value) {
|
|
21
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGitBranchRequestDto = instanceOfGitBranchRequestDto;
|
|
28
|
+
function GitBranchRequestDtoFromJSON(json) {
|
|
29
|
+
return GitBranchRequestDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GitBranchRequestDtoFromJSON = GitBranchRequestDtoFromJSON;
|
|
32
|
+
function GitBranchRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'path': json['path'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.GitBranchRequestDtoFromJSONTyped = GitBranchRequestDtoFromJSONTyped;
|
|
42
|
+
function GitBranchRequestDtoToJSON(json) {
|
|
43
|
+
return GitBranchRequestDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.GitBranchRequestDtoToJSON = GitBranchRequestDtoToJSON;
|
|
46
|
+
function GitBranchRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'path': value['path'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GitBranchRequestDtoToJSONTyped = GitBranchRequestDtoToJSONTyped;
|
|
@@ -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 GitCloneRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GitCloneRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitCloneRequestDto
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitCloneRequestDto
|
|
28
|
+
*/
|
|
29
|
+
path: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitCloneRequestDto
|
|
34
|
+
*/
|
|
35
|
+
username?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitCloneRequestDto
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GitCloneRequestDto
|
|
46
|
+
*/
|
|
47
|
+
branch?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof GitCloneRequestDto
|
|
52
|
+
*/
|
|
53
|
+
commitId?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the GitCloneRequestDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfGitCloneRequestDto(value: object): value is GitCloneRequestDto;
|
|
59
|
+
export declare function GitCloneRequestDtoFromJSON(json: any): GitCloneRequestDto;
|
|
60
|
+
export declare function GitCloneRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitCloneRequestDto;
|
|
61
|
+
export declare function GitCloneRequestDtoToJSON(json: any): GitCloneRequestDto;
|
|
62
|
+
export declare function GitCloneRequestDtoToJSONTyped(value?: GitCloneRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.GitCloneRequestDtoToJSONTyped = exports.GitCloneRequestDtoToJSON = exports.GitCloneRequestDtoFromJSONTyped = exports.GitCloneRequestDtoFromJSON = exports.instanceOfGitCloneRequestDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCloneRequestDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCloneRequestDto(value) {
|
|
21
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGitCloneRequestDto = instanceOfGitCloneRequestDto;
|
|
28
|
+
function GitCloneRequestDtoFromJSON(json) {
|
|
29
|
+
return GitCloneRequestDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GitCloneRequestDtoFromJSON = GitCloneRequestDtoFromJSON;
|
|
32
|
+
function GitCloneRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'url': json['url'],
|
|
38
|
+
'path': json['path'],
|
|
39
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
40
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
41
|
+
'branch': json['branch'] == null ? undefined : json['branch'],
|
|
42
|
+
'commitId': json['commit_id'] == null ? undefined : json['commit_id'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.GitCloneRequestDtoFromJSONTyped = GitCloneRequestDtoFromJSONTyped;
|
|
46
|
+
function GitCloneRequestDtoToJSON(json) {
|
|
47
|
+
return GitCloneRequestDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
exports.GitCloneRequestDtoToJSON = GitCloneRequestDtoToJSON;
|
|
50
|
+
function GitCloneRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'url': value['url'],
|
|
56
|
+
'path': value['path'],
|
|
57
|
+
'username': value['username'],
|
|
58
|
+
'password': value['password'],
|
|
59
|
+
'branch': value['branch'],
|
|
60
|
+
'commit_id': value['commitId'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.GitCloneRequestDtoToJSONTyped = GitCloneRequestDtoToJSONTyped;
|
|
@@ -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,63 @@
|
|
|
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.GitCommitRequestDtoToJSONTyped = exports.GitCommitRequestDtoToJSON = exports.GitCommitRequestDtoFromJSONTyped = exports.GitCommitRequestDtoFromJSON = exports.instanceOfGitCommitRequestDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitCommitRequestDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitCommitRequestDto(value) {
|
|
21
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfGitCommitRequestDto = instanceOfGitCommitRequestDto;
|
|
32
|
+
function GitCommitRequestDtoFromJSON(json) {
|
|
33
|
+
return GitCommitRequestDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.GitCommitRequestDtoFromJSON = GitCommitRequestDtoFromJSON;
|
|
36
|
+
function GitCommitRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'path': json['path'],
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'author': json['author'],
|
|
44
|
+
'email': json['email'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.GitCommitRequestDtoFromJSONTyped = GitCommitRequestDtoFromJSONTyped;
|
|
48
|
+
function GitCommitRequestDtoToJSON(json) {
|
|
49
|
+
return GitCommitRequestDtoToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
exports.GitCommitRequestDtoToJSON = GitCommitRequestDtoToJSON;
|
|
52
|
+
function GitCommitRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'path': value['path'],
|
|
58
|
+
'message': value['message'],
|
|
59
|
+
'author': value['author'],
|
|
60
|
+
'email': value['email'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.GitCommitRequestDtoToJSONTyped = GitCommitRequestDtoToJSONTyped;
|
|
@@ -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,55 @@
|
|
|
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.GitRepoRequestDtoToJSONTyped = exports.GitRepoRequestDtoToJSON = exports.GitRepoRequestDtoFromJSONTyped = exports.GitRepoRequestDtoFromJSON = exports.instanceOfGitRepoRequestDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GitRepoRequestDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGitRepoRequestDto(value) {
|
|
21
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfGitRepoRequestDto = instanceOfGitRepoRequestDto;
|
|
26
|
+
function GitRepoRequestDtoFromJSON(json) {
|
|
27
|
+
return GitRepoRequestDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.GitRepoRequestDtoFromJSON = GitRepoRequestDtoFromJSON;
|
|
30
|
+
function GitRepoRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'path': json['path'],
|
|
36
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
37
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.GitRepoRequestDtoFromJSONTyped = GitRepoRequestDtoFromJSONTyped;
|
|
41
|
+
function GitRepoRequestDtoToJSON(json) {
|
|
42
|
+
return GitRepoRequestDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
exports.GitRepoRequestDtoToJSON = GitRepoRequestDtoToJSON;
|
|
45
|
+
function GitRepoRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'path': value['path'],
|
|
51
|
+
'username': value['username'],
|
|
52
|
+
'password': value['password'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GitRepoRequestDtoToJSONTyped = GitRepoRequestDtoToJSONTyped;
|
|
@@ -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;
|