@daytonaio/api-client 0.6.0 → 0.6.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.
Files changed (61) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/toolbox-api.ts +40 -22
  4. package/dist/api/toolbox-api.d.ts +42 -33
  5. package/dist/esm/api/toolbox-api.d.ts +42 -33
  6. package/dist/esm/models/file-info.d.ts +66 -0
  7. package/dist/esm/models/file-info.js +14 -0
  8. package/dist/esm/models/file-status.d.ts +42 -0
  9. package/dist/esm/models/file-status.js +14 -0
  10. package/dist/esm/models/git-commit-info.d.ts +48 -0
  11. package/dist/esm/models/git-commit-info.js +14 -0
  12. package/dist/esm/models/git-commit-response.d.ts +24 -0
  13. package/dist/esm/models/git-commit-response.js +14 -0
  14. package/dist/esm/models/git-status.d.ts +49 -0
  15. package/dist/esm/models/git-status.js +14 -0
  16. package/dist/esm/models/index.d.ts +10 -0
  17. package/dist/esm/models/index.js +10 -0
  18. package/dist/esm/models/list-branch-response.d.ts +24 -0
  19. package/dist/esm/models/list-branch-response.js +14 -0
  20. package/dist/esm/models/match.d.ts +36 -0
  21. package/dist/esm/models/match.js +14 -0
  22. package/dist/esm/models/project-dir-response.d.ts +24 -0
  23. package/dist/esm/models/project-dir-response.js +14 -0
  24. package/dist/esm/models/replace-result.d.ts +36 -0
  25. package/dist/esm/models/replace-result.js +14 -0
  26. package/dist/esm/models/search-files-response.d.ts +24 -0
  27. package/dist/esm/models/search-files-response.js +14 -0
  28. package/dist/models/file-info.d.ts +66 -0
  29. package/dist/models/file-info.js +15 -0
  30. package/dist/models/file-status.d.ts +42 -0
  31. package/dist/models/file-status.js +15 -0
  32. package/dist/models/git-commit-info.d.ts +48 -0
  33. package/dist/models/git-commit-info.js +15 -0
  34. package/dist/models/git-commit-response.d.ts +24 -0
  35. package/dist/models/git-commit-response.js +15 -0
  36. package/dist/models/git-status.d.ts +49 -0
  37. package/dist/models/git-status.js +15 -0
  38. package/dist/models/index.d.ts +10 -0
  39. package/dist/models/index.js +10 -0
  40. package/dist/models/list-branch-response.d.ts +24 -0
  41. package/dist/models/list-branch-response.js +15 -0
  42. package/dist/models/match.d.ts +36 -0
  43. package/dist/models/match.js +15 -0
  44. package/dist/models/project-dir-response.d.ts +24 -0
  45. package/dist/models/project-dir-response.js +15 -0
  46. package/dist/models/replace-result.d.ts +36 -0
  47. package/dist/models/replace-result.js +15 -0
  48. package/dist/models/search-files-response.d.ts +24 -0
  49. package/dist/models/search-files-response.js +15 -0
  50. package/models/file-info.ts +72 -0
  51. package/models/file-status.ts +48 -0
  52. package/models/git-commit-info.ts +54 -0
  53. package/models/git-commit-response.ts +30 -0
  54. package/models/git-status.ts +57 -0
  55. package/models/index.ts +10 -0
  56. package/models/list-branch-response.ts +30 -0
  57. package/models/match.ts +42 -0
  58. package/models/project-dir-response.ts +30 -0
  59. package/models/replace-result.ts +42 -0
  60. package/models/search-files-response.ts +30 -0
  61. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProjectDirResponse
16
+ */
17
+ export interface ProjectDirResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProjectDirResponse
22
+ */
23
+ 'dir'?: string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Workspaces
6
+ * Daytona Workspaces API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
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 ReplaceResult
16
+ */
17
+ export interface ReplaceResult {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ReplaceResult
22
+ */
23
+ 'file'?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof ReplaceResult
28
+ */
29
+ 'success'?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ReplaceResult
34
+ */
35
+ 'error'?: string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Workspaces
6
+ * Daytona Workspaces API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SearchFilesResponse
16
+ */
17
+ export interface SearchFilesResponse {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof SearchFilesResponse
22
+ */
23
+ 'files': Array<string>;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Workspaces
6
+ * Daytona Workspaces API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,72 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface FileInfo
21
+ */
22
+ export interface FileInfo {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof FileInfo
27
+ */
28
+ 'name': string;
29
+ /**
30
+ *
31
+ * @type {boolean}
32
+ * @memberof FileInfo
33
+ */
34
+ 'isDir': boolean;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof FileInfo
39
+ */
40
+ 'size': number;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof FileInfo
45
+ */
46
+ 'modTime': string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof FileInfo
51
+ */
52
+ 'mode': string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof FileInfo
57
+ */
58
+ 'permissions': string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof FileInfo
63
+ */
64
+ 'owner': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof FileInfo
69
+ */
70
+ 'group': string;
71
+ }
72
+
@@ -0,0 +1,48 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface FileStatus
21
+ */
22
+ export interface FileStatus {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof FileStatus
27
+ */
28
+ 'name': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof FileStatus
33
+ */
34
+ 'staging': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof FileStatus
39
+ */
40
+ 'worktree': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof FileStatus
45
+ */
46
+ 'extra': string;
47
+ }
48
+
@@ -0,0 +1,54 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GitCommitInfo
21
+ */
22
+ export interface GitCommitInfo {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof GitCommitInfo
27
+ */
28
+ 'hash': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof GitCommitInfo
33
+ */
34
+ 'message': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof GitCommitInfo
39
+ */
40
+ 'author': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GitCommitInfo
45
+ */
46
+ 'email': string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof GitCommitInfo
51
+ */
52
+ 'timestamp': string;
53
+ }
54
+
@@ -0,0 +1,30 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GitCommitResponse
21
+ */
22
+ export interface GitCommitResponse {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof GitCommitResponse
27
+ */
28
+ 'hash': string;
29
+ }
30
+
@@ -0,0 +1,57 @@
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
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { FileStatus } from './file-status';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface GitStatus
24
+ */
25
+ export interface GitStatus {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof GitStatus
30
+ */
31
+ 'currentBranch': string;
32
+ /**
33
+ *
34
+ * @type {Array<FileStatus>}
35
+ * @memberof GitStatus
36
+ */
37
+ 'FileStatus[]': Array<FileStatus>;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof GitStatus
42
+ */
43
+ 'ahead'?: number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof GitStatus
48
+ */
49
+ 'behind'?: number;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof GitStatus
54
+ */
55
+ 'branchPublished'?: boolean;
56
+ }
57
+
package/models/index.ts CHANGED
@@ -7,12 +7,22 @@ export * from './create-user';
7
7
  export * from './create-workspace';
8
8
  export * from './execute-request';
9
9
  export * from './execute-response';
10
+ export * from './file-info';
11
+ export * from './file-status';
10
12
  export * from './git-add-request';
11
13
  export * from './git-branch-request';
12
14
  export * from './git-clone-request';
15
+ export * from './git-commit-info';
13
16
  export * from './git-commit-request';
17
+ export * from './git-commit-response';
14
18
  export * from './git-repo-request';
19
+ export * from './git-status';
20
+ export * from './list-branch-response';
21
+ export * from './match';
22
+ export * from './project-dir-response';
15
23
  export * from './replace-request';
24
+ export * from './replace-result';
25
+ export * from './search-files-response';
16
26
  export * from './update-docker-registry';
17
27
  export * from './workspace';
18
28
  export * from './workspace-info';
@@ -0,0 +1,30 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ListBranchResponse
21
+ */
22
+ export interface ListBranchResponse {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof ListBranchResponse
27
+ */
28
+ 'branches': Array<string>;
29
+ }
30
+
@@ -0,0 +1,42 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface Match
21
+ */
22
+ export interface Match {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof Match
27
+ */
28
+ 'file': string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof Match
33
+ */
34
+ 'line': number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof Match
39
+ */
40
+ 'content': string;
41
+ }
42
+
@@ -0,0 +1,30 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ProjectDirResponse
21
+ */
22
+ export interface ProjectDirResponse {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ProjectDirResponse
27
+ */
28
+ 'dir'?: string;
29
+ }
30
+
@@ -0,0 +1,42 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ReplaceResult
21
+ */
22
+ export interface ReplaceResult {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ReplaceResult
27
+ */
28
+ 'file'?: string;
29
+ /**
30
+ *
31
+ * @type {boolean}
32
+ * @memberof ReplaceResult
33
+ */
34
+ 'success'?: boolean;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof ReplaceResult
39
+ */
40
+ 'error'?: string;
41
+ }
42
+
@@ -0,0 +1,30 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SearchFilesResponse
21
+ */
22
+ export interface SearchFilesResponse {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof SearchFilesResponse
27
+ */
28
+ 'files': Array<string>;
29
+ }
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {