@daytonaio/api-client 0.1.0 → 0.2.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 +26 -23
- package/README.md +3 -3
- package/api/default-api.ts +3621 -0
- package/api/docker-registry-api.ts +572 -0
- package/api.ts +19 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/default-api.d.ts +1621 -0
- package/dist/api/default-api.js +3393 -0
- package/dist/api/docker-registry-api.d.ts +269 -0
- package/dist/api/docker-registry-api.js +547 -0
- package/dist/api.d.ts +13 -0
- package/dist/{apis/index.js → api.js} +15 -4
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api/default-api.d.ts +1621 -0
- package/dist/esm/api/default-api.js +3386 -0
- package/dist/esm/api/docker-registry-api.d.ts +269 -0
- package/dist/esm/api/docker-registry-api.js +540 -0
- package/dist/esm/api.d.ts +13 -0
- package/dist/esm/api.js +15 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +14 -3
- package/dist/esm/index.js +14 -3
- package/dist/esm/models/{ApiKeyListDto.d.ts → api-key-list-dto.d.ts} +4 -12
- package/dist/esm/models/api-key-list-dto.js +14 -0
- package/dist/esm/models/{ApiKeyResponseDto.d.ts → api-key-response-dto.d.ts} +4 -12
- package/dist/esm/models/api-key-response-dto.js +14 -0
- package/dist/esm/models/create-api-key-dto.d.ts +24 -0
- package/dist/esm/models/create-api-key-dto.js +14 -0
- package/dist/{models/CreateDockerRegistryDto.d.ts → esm/models/create-docker-registry-dto.d.ts} +6 -14
- package/dist/esm/models/create-docker-registry-dto.js +14 -0
- package/dist/{models/CreateWorkspaceDto.d.ts → esm/models/create-workspace-dto.d.ts} +6 -14
- package/dist/esm/models/create-workspace-dto.js +14 -0
- package/dist/esm/models/execute-request-dto.d.ts +30 -0
- package/dist/esm/models/execute-request-dto.js +14 -0
- package/dist/esm/models/execute-response-dto.d.ts +30 -0
- package/dist/esm/models/execute-response-dto.js +14 -0
- package/dist/esm/models/git-add-request-dto.d.ts +30 -0
- package/dist/esm/models/git-add-request-dto.js +14 -0
- package/dist/esm/models/git-branch-request-dto.d.ts +30 -0
- package/dist/esm/models/git-branch-request-dto.js +14 -0
- package/dist/{models/GitCloneRequestDto.d.ts → esm/models/git-clone-request-dto.d.ts} +6 -14
- package/dist/esm/models/git-clone-request-dto.js +14 -0
- package/dist/{models/GitCommitRequestDto.d.ts → esm/models/git-commit-request-dto.d.ts} +4 -12
- package/dist/esm/models/git-commit-request-dto.js +14 -0
- package/dist/esm/models/git-repo-request-dto.d.ts +36 -0
- package/dist/esm/models/git-repo-request-dto.js +14 -0
- package/dist/esm/models/index.d.ts +17 -17
- package/dist/esm/models/index.js +17 -19
- package/dist/esm/models/replace-request-dto.d.ts +36 -0
- package/dist/esm/models/replace-request-dto.js +14 -0
- package/dist/{models/UpdateDockerRegistryDto.d.ts → esm/models/update-docker-registry-dto.d.ts} +6 -14
- package/dist/esm/models/update-docker-registry-dto.js +14 -0
- package/dist/{models/WorkspaceDto.d.ts → esm/models/workspace-dto.d.ts} +8 -16
- package/dist/esm/models/workspace-dto.js +14 -0
- package/dist/esm/models/{WorkspaceInfoDto.d.ts → workspace-info-dto.d.ts} +3 -11
- package/dist/esm/models/workspace-info-dto.js +14 -0
- package/dist/esm/models/workspace-labels-dto.d.ts +26 -0
- package/dist/esm/models/workspace-labels-dto.js +14 -0
- package/dist/index.d.ts +14 -3
- package/dist/index.js +16 -5
- package/dist/models/{ApiKeyListDto.d.ts → api-key-list-dto.d.ts} +4 -12
- package/dist/models/api-key-list-dto.js +15 -0
- package/dist/models/{ApiKeyResponseDto.d.ts → api-key-response-dto.d.ts} +4 -12
- package/dist/models/api-key-response-dto.js +15 -0
- package/dist/models/create-api-key-dto.d.ts +24 -0
- package/dist/models/create-api-key-dto.js +15 -0
- package/dist/{esm/models/CreateDockerRegistryDto.d.ts → models/create-docker-registry-dto.d.ts} +6 -14
- package/dist/models/create-docker-registry-dto.js +15 -0
- package/dist/{esm/models/CreateWorkspaceDto.d.ts → models/create-workspace-dto.d.ts} +6 -14
- package/dist/models/create-workspace-dto.js +15 -0
- package/dist/models/execute-request-dto.d.ts +30 -0
- package/dist/models/execute-request-dto.js +15 -0
- package/dist/models/execute-response-dto.d.ts +30 -0
- package/dist/models/execute-response-dto.js +15 -0
- package/dist/models/git-add-request-dto.d.ts +30 -0
- package/dist/models/git-add-request-dto.js +15 -0
- package/dist/models/git-branch-request-dto.d.ts +30 -0
- package/dist/models/git-branch-request-dto.js +15 -0
- package/dist/{esm/models/GitCloneRequestDto.d.ts → models/git-clone-request-dto.d.ts} +6 -14
- package/dist/models/git-clone-request-dto.js +15 -0
- package/dist/{esm/models/GitCommitRequestDto.d.ts → models/git-commit-request-dto.d.ts} +4 -12
- package/dist/models/git-commit-request-dto.js +15 -0
- package/dist/models/git-repo-request-dto.d.ts +36 -0
- package/dist/models/git-repo-request-dto.js +15 -0
- package/dist/models/index.d.ts +17 -17
- package/dist/models/index.js +17 -19
- package/dist/models/replace-request-dto.d.ts +36 -0
- package/dist/models/replace-request-dto.js +15 -0
- package/dist/{esm/models/UpdateDockerRegistryDto.d.ts → models/update-docker-registry-dto.d.ts} +6 -14
- package/dist/models/update-docker-registry-dto.js +15 -0
- package/dist/{esm/models/WorkspaceDto.d.ts → models/workspace-dto.d.ts} +8 -16
- package/dist/models/workspace-dto.js +15 -0
- package/dist/models/{WorkspaceInfoDto.d.ts → workspace-info-dto.d.ts} +3 -11
- package/dist/models/workspace-info-dto.js +15 -0
- package/dist/models/workspace-labels-dto.d.ts +26 -0
- package/dist/models/workspace-labels-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/models/api-key-list-dto.ts +42 -0
- package/models/api-key-response-dto.ts +42 -0
- package/models/create-api-key-dto.ts +30 -0
- package/models/create-docker-registry-dto.ts +60 -0
- package/models/create-workspace-dto.ts +60 -0
- package/models/execute-request-dto.ts +36 -0
- package/models/execute-response-dto.ts +36 -0
- package/models/git-add-request-dto.ts +36 -0
- package/models/git-branch-request-dto.ts +36 -0
- package/models/git-clone-request-dto.ts +60 -0
- package/models/git-commit-request-dto.ts +48 -0
- package/models/git-repo-request-dto.ts +42 -0
- package/models/index.ts +17 -0
- package/models/replace-request-dto.ts +42 -0
- package/models/update-docker-registry-dto.ts +60 -0
- package/models/workspace-dto.ts +69 -0
- package/models/workspace-info-dto.ts +42 -0
- package/models/workspace-labels-dto.ts +30 -0
- package/package.json +14 -3
- package/tsconfig.json +4 -2
- package/dist/apis/DefaultApi.d.ts +0 -551
- package/dist/apis/DefaultApi.js +0 -1645
- package/dist/apis/DockerRegistryApi.d.ts +0 -90
- package/dist/apis/DockerRegistryApi.js +0 -257
- package/dist/apis/index.d.ts +0 -2
- package/dist/esm/apis/DefaultApi.d.ts +0 -551
- package/dist/esm/apis/DefaultApi.js +0 -1641
- package/dist/esm/apis/DockerRegistryApi.d.ts +0 -90
- package/dist/esm/apis/DockerRegistryApi.js +0 -253
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.js +0 -4
- package/dist/esm/models/ApiKeyListDto.js +0 -51
- package/dist/esm/models/ApiKeyResponseDto.js +0 -51
- package/dist/esm/models/CreateApiKeyDto.d.ts +0 -32
- package/dist/esm/models/CreateApiKeyDto.js +0 -43
- package/dist/esm/models/CreateDockerRegistryDto.js +0 -61
- package/dist/esm/models/CreateWorkspaceDto.js +0 -63
- package/dist/esm/models/ExecuteRequestDto.d.ts +0 -38
- package/dist/esm/models/ExecuteRequestDto.js +0 -45
- package/dist/esm/models/ExecuteResponseDto.d.ts +0 -38
- package/dist/esm/models/ExecuteResponseDto.js +0 -47
- package/dist/esm/models/GitAddRequestDto.d.ts +0 -38
- package/dist/esm/models/GitAddRequestDto.js +0 -47
- package/dist/esm/models/GitBranchRequestDto.d.ts +0 -38
- package/dist/esm/models/GitBranchRequestDto.js +0 -47
- package/dist/esm/models/GitCloneRequestDto.js +0 -55
- package/dist/esm/models/GitCommitRequestDto.js +0 -55
- package/dist/esm/models/GitRepoRequestDto.d.ts +0 -44
- package/dist/esm/models/GitRepoRequestDto.js +0 -47
- package/dist/esm/models/ReplaceRequestDto.d.ts +0 -44
- package/dist/esm/models/ReplaceRequestDto.js +0 -51
- package/dist/esm/models/UpdateDockerRegistryDto.js +0 -51
- package/dist/esm/models/WorkspaceDto.js +0 -66
- package/dist/esm/models/WorkspaceInfoDto.js +0 -49
- package/dist/esm/models/WorkspaceLabelsDto.d.ts +0 -34
- package/dist/esm/models/WorkspaceLabelsDto.js +0 -43
- package/dist/esm/runtime.d.ts +0 -181
- package/dist/esm/runtime.js +0 -326
- package/dist/models/ApiKeyListDto.js +0 -59
- package/dist/models/ApiKeyResponseDto.js +0 -59
- package/dist/models/CreateApiKeyDto.d.ts +0 -32
- package/dist/models/CreateApiKeyDto.js +0 -51
- package/dist/models/CreateDockerRegistryDto.js +0 -69
- package/dist/models/CreateWorkspaceDto.js +0 -71
- package/dist/models/ExecuteRequestDto.d.ts +0 -38
- package/dist/models/ExecuteRequestDto.js +0 -53
- package/dist/models/ExecuteResponseDto.d.ts +0 -38
- package/dist/models/ExecuteResponseDto.js +0 -55
- package/dist/models/GitAddRequestDto.d.ts +0 -38
- package/dist/models/GitAddRequestDto.js +0 -55
- package/dist/models/GitBranchRequestDto.d.ts +0 -38
- package/dist/models/GitBranchRequestDto.js +0 -55
- package/dist/models/GitCloneRequestDto.js +0 -63
- package/dist/models/GitCommitRequestDto.js +0 -63
- package/dist/models/GitRepoRequestDto.d.ts +0 -44
- package/dist/models/GitRepoRequestDto.js +0 -55
- package/dist/models/ReplaceRequestDto.d.ts +0 -44
- package/dist/models/ReplaceRequestDto.js +0 -59
- package/dist/models/UpdateDockerRegistryDto.js +0 -59
- package/dist/models/WorkspaceDto.js +0 -74
- package/dist/models/WorkspaceInfoDto.js +0 -57
- package/dist/models/WorkspaceLabelsDto.d.ts +0 -34
- package/dist/models/WorkspaceLabelsDto.js +0 -51
- package/dist/runtime.d.ts +0 -181
- package/dist/runtime.js +0 -341
- package/src/apis/DefaultApi.ts +0 -2380
- package/src/apis/DockerRegistryApi.ts +0 -318
- package/src/apis/index.ts +0 -4
- package/src/index.ts +0 -5
- package/src/models/ApiKeyListDto.ts +0 -84
- package/src/models/ApiKeyResponseDto.ts +0 -84
- package/src/models/CreateApiKeyDto.ts +0 -66
- package/src/models/CreateDockerRegistryDto.ts +0 -110
- package/src/models/CreateWorkspaceDto.ts +0 -111
- package/src/models/ExecuteRequestDto.ts +0 -74
- package/src/models/ExecuteResponseDto.ts +0 -75
- package/src/models/GitAddRequestDto.ts +0 -75
- package/src/models/GitBranchRequestDto.ts +0 -75
- package/src/models/GitCloneRequestDto.ts +0 -107
- package/src/models/GitCommitRequestDto.ts +0 -93
- package/src/models/GitRepoRequestDto.ts +0 -82
- package/src/models/ReplaceRequestDto.ts +0 -84
- package/src/models/UpdateDockerRegistryDto.ts +0 -105
- package/src/models/WorkspaceDto.ts +0 -127
- package/src/models/WorkspaceInfoDto.ts +0 -83
- package/src/models/WorkspaceLabelsDto.ts +0 -66
- package/src/models/index.ts +0 -19
- package/src/runtime.ts +0 -426
|
@@ -0,0 +1,1621 @@
|
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { ApiKeyListDto } from '../models';
|
|
16
|
+
import type { ApiKeyResponseDto } from '../models';
|
|
17
|
+
import type { CreateApiKeyDto } from '../models';
|
|
18
|
+
import type { CreateWorkspaceDto } from '../models';
|
|
19
|
+
import type { ExecuteRequestDto } from '../models';
|
|
20
|
+
import type { ExecuteResponseDto } from '../models';
|
|
21
|
+
import type { GitAddRequestDto } from '../models';
|
|
22
|
+
import type { GitBranchRequestDto } from '../models';
|
|
23
|
+
import type { GitCloneRequestDto } from '../models';
|
|
24
|
+
import type { GitCommitRequestDto } from '../models';
|
|
25
|
+
import type { GitRepoRequestDto } from '../models';
|
|
26
|
+
import type { ReplaceRequestDto } from '../models';
|
|
27
|
+
import type { WorkspaceDto } from '../models';
|
|
28
|
+
import type { WorkspaceLabelsDto } from '../models';
|
|
29
|
+
/**
|
|
30
|
+
* DefaultApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Create a new API key
|
|
37
|
+
* @param {CreateApiKeyDto} createApiKeyDto
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
apiKeyControllerCreateApiKey: (createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @summary Delete an API key by name
|
|
45
|
+
* @param {string} name
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
apiKeyControllerDeleteApiKey: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Get a specific API key by name
|
|
53
|
+
* @param {string} name
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
apiKeyControllerGetApiKey: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Get all API keys for the user
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
apiKeyControllerGetApiKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param {object} body
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
nodeControllerCreate: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
nodeControllerFindAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @param {string} id
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
nodeControllerUpdateSchedulingStatus: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @param {object} body
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
userControllerCreate: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
userControllerFindAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param {string} id
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
userControllerRegenerateKeyPair: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
|
+
/**
|
|
112
|
+
* Create folder inside workspace project
|
|
113
|
+
* @summary Create folder
|
|
114
|
+
* @param {string} workspaceId
|
|
115
|
+
* @param {string} projectId
|
|
116
|
+
* @param {string} path
|
|
117
|
+
* @param {string} mode
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
workspaceControllerCreateFolder: (workspaceId: string, projectId: string, path: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary Create a workspace snapshot
|
|
125
|
+
* @param {string} workspaceId
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
workspaceControllerCreateSnapshot: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @param {CreateWorkspaceDto} createWorkspaceDto
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
workspaceControllerCreateWorkspace: (createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
137
|
+
/**
|
|
138
|
+
* Delete file inside workspace project
|
|
139
|
+
* @summary Delete file
|
|
140
|
+
* @param {string} workspaceId
|
|
141
|
+
* @param {string} projectId
|
|
142
|
+
* @param {string} path
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
workspaceControllerDeleteFile: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
|
+
/**
|
|
148
|
+
* Download file from workspace project
|
|
149
|
+
* @summary Download file
|
|
150
|
+
* @param {string} workspaceId
|
|
151
|
+
* @param {string} projectId
|
|
152
|
+
* @param {string} path
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
workspaceControllerDownloadFile: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
|
+
/**
|
|
158
|
+
* Execute command synchronously inside workspace project
|
|
159
|
+
* @summary Execute command
|
|
160
|
+
* @param {string} workspaceId
|
|
161
|
+
* @param {string} projectId
|
|
162
|
+
* @param {ExecuteRequestDto} executeRequestDto
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
workspaceControllerExecuteCommand: (workspaceId: string, projectId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
167
|
+
/**
|
|
168
|
+
* Search for text/pattern inside workspace project files
|
|
169
|
+
* @summary Search for text/pattern in files
|
|
170
|
+
* @param {string} workspaceId
|
|
171
|
+
* @param {string} projectId
|
|
172
|
+
* @param {string} path
|
|
173
|
+
* @param {string} pattern
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
workspaceControllerFindInFiles: (workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
178
|
+
/**
|
|
179
|
+
* Get file info inside workspace project
|
|
180
|
+
* @summary Get file info
|
|
181
|
+
* @param {string} workspaceId
|
|
182
|
+
* @param {string} projectId
|
|
183
|
+
* @param {string} path
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
workspaceControllerGetFileInfo: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
|
+
/**
|
|
189
|
+
* Get project directory
|
|
190
|
+
* @summary Get project dir
|
|
191
|
+
* @param {string} workspaceId
|
|
192
|
+
* @param {string} projectId
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
workspaceControllerGetProjectDir: (workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @param {string} workspaceId
|
|
200
|
+
* @param {boolean} [verbose] Include verbose output
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
workspaceControllerGetWorkspace: (workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
205
|
+
/**
|
|
206
|
+
* Add files to git commit
|
|
207
|
+
* @summary Add files
|
|
208
|
+
* @param {string} workspaceId
|
|
209
|
+
* @param {string} projectId
|
|
210
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
workspaceControllerGitAddFiles: (workspaceId: string, projectId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
215
|
+
/**
|
|
216
|
+
* Get branch list from git repository
|
|
217
|
+
* @summary Get branch list
|
|
218
|
+
* @param {string} workspaceId
|
|
219
|
+
* @param {string} projectId
|
|
220
|
+
* @param {string} path
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
workspaceControllerGitBranchList: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
|
+
/**
|
|
226
|
+
* Clone git repository
|
|
227
|
+
* @summary Clone repository
|
|
228
|
+
* @param {string} workspaceId
|
|
229
|
+
* @param {string} projectId
|
|
230
|
+
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
workspaceControllerGitCloneRepository: (workspaceId: string, projectId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
235
|
+
/**
|
|
236
|
+
* Commit changes to git repository
|
|
237
|
+
* @summary Commit changes
|
|
238
|
+
* @param {string} workspaceId
|
|
239
|
+
* @param {string} projectId
|
|
240
|
+
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
workspaceControllerGitCommitChanges: (workspaceId: string, projectId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
245
|
+
/**
|
|
246
|
+
* Get commit history from git repository
|
|
247
|
+
* @summary Get commit history
|
|
248
|
+
* @param {string} workspaceId
|
|
249
|
+
* @param {string} projectId
|
|
250
|
+
* @param {string} path
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
workspaceControllerGitCommitHistory: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
255
|
+
/**
|
|
256
|
+
* Create branch on git repository
|
|
257
|
+
* @summary Create branch
|
|
258
|
+
* @param {string} workspaceId
|
|
259
|
+
* @param {string} projectId
|
|
260
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
workspaceControllerGitCreateBranch: (workspaceId: string, projectId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
265
|
+
/**
|
|
266
|
+
* Pull changes from remote
|
|
267
|
+
* @summary Pull changes
|
|
268
|
+
* @param {string} workspaceId
|
|
269
|
+
* @param {string} projectId
|
|
270
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
workspaceControllerGitPullChanges: (workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
275
|
+
/**
|
|
276
|
+
* Push changes to remote
|
|
277
|
+
* @summary Push changes
|
|
278
|
+
* @param {string} workspaceId
|
|
279
|
+
* @param {string} projectId
|
|
280
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
workspaceControllerGitPushChanges: (workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
285
|
+
/**
|
|
286
|
+
* Get status from git repository
|
|
287
|
+
* @summary Get git status
|
|
288
|
+
* @param {string} workspaceId
|
|
289
|
+
* @param {string} projectId
|
|
290
|
+
* @param {string} path
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
workspaceControllerGitStatus: (workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
295
|
+
/**
|
|
296
|
+
* List files inside workspace project
|
|
297
|
+
* @summary List files
|
|
298
|
+
* @param {string} workspaceId
|
|
299
|
+
* @param {string} projectId
|
|
300
|
+
* @param {string} [path]
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
workspaceControllerListFiles: (workspaceId: string, projectId: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @param {boolean} [verbose] Include verbose output
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
workspaceControllerListWorkspaces: (verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
312
|
+
/**
|
|
313
|
+
* Move file inside workspace project
|
|
314
|
+
* @summary Move file
|
|
315
|
+
* @param {string} workspaceId
|
|
316
|
+
* @param {string} projectId
|
|
317
|
+
* @param {string} source
|
|
318
|
+
* @param {string} destination
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
workspaceControllerMoveFile: (workspaceId: string, projectId: string, source: string, destination: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @param {string} workspaceId
|
|
326
|
+
* @param {boolean} force
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
workspaceControllerRemoveWorkspace: (workspaceId: string, force: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
331
|
+
/**
|
|
332
|
+
* Replace text/pattern in multiple files inside workspace project
|
|
333
|
+
* @summary Replace in files
|
|
334
|
+
* @param {string} workspaceId
|
|
335
|
+
* @param {string} projectId
|
|
336
|
+
* @param {ReplaceRequestDto} replaceRequestDto
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
workspaceControllerReplaceInFiles: (workspaceId: string, projectId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
341
|
+
/**
|
|
342
|
+
* Replace all labels for a workspace. Existing labels will be removed.
|
|
343
|
+
* @summary Replace workspace labels
|
|
344
|
+
* @param {string} workspaceId
|
|
345
|
+
* @param {WorkspaceLabelsDto} workspaceLabelsDto
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
workspaceControllerReplaceLabels: (workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
350
|
+
/**
|
|
351
|
+
* Search for files inside workspace project
|
|
352
|
+
* @summary Search files
|
|
353
|
+
* @param {string} workspaceId
|
|
354
|
+
* @param {string} projectId
|
|
355
|
+
* @param {string} path
|
|
356
|
+
* @param {string} pattern
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
workspaceControllerSearchFiles: (workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
361
|
+
/**
|
|
362
|
+
* Set file owner/group/permissions inside workspace project
|
|
363
|
+
* @summary Set file permissions
|
|
364
|
+
* @param {string} workspaceId
|
|
365
|
+
* @param {string} projectId
|
|
366
|
+
* @param {string} path
|
|
367
|
+
* @param {string} owner
|
|
368
|
+
* @param {string} group
|
|
369
|
+
* @param {string} mode
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
workspaceControllerSetFilePermissions: (workspaceId: string, projectId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @param {string} workspaceId
|
|
377
|
+
* @param {string} projectId
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
workspaceControllerStartProject: (workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {string} workspaceId
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
workspaceControllerStartWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @param {string} workspaceId
|
|
392
|
+
* @param {string} projectId
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
workspaceControllerStopProject: (workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @param {string} workspaceId
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
|
+
/**
|
|
405
|
+
* Upload file inside workspace project
|
|
406
|
+
* @summary Upload file
|
|
407
|
+
* @param {string} workspaceId
|
|
408
|
+
* @param {string} projectId
|
|
409
|
+
* @param {string} path
|
|
410
|
+
* @param {File} [file]
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
workspaceControllerUploadFile: (workspaceId: string, projectId: string, path: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* DefaultApi - functional programming interface
|
|
418
|
+
* @export
|
|
419
|
+
*/
|
|
420
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @summary Create a new API key
|
|
424
|
+
* @param {CreateApiKeyDto} createApiKeyDto
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyResponseDto>>;
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @summary Delete an API key by name
|
|
432
|
+
* @param {string} name
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @summary Get a specific API key by name
|
|
440
|
+
* @param {string} name
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyListDto>>;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @summary Get all API keys for the user
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiKeyListDto>>>;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @param {object} body
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
nodeControllerFindAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @param {string} id
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @param {object} body
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
userControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
userControllerFindAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @param {string} id
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
498
|
+
/**
|
|
499
|
+
* Create folder inside workspace project
|
|
500
|
+
* @summary Create folder
|
|
501
|
+
* @param {string} workspaceId
|
|
502
|
+
* @param {string} projectId
|
|
503
|
+
* @param {string} path
|
|
504
|
+
* @param {string} mode
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
workspaceControllerCreateFolder(workspaceId: string, projectId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @summary Create a workspace snapshot
|
|
512
|
+
* @param {string} workspaceId
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
*/
|
|
516
|
+
workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @param {CreateWorkspaceDto} createWorkspaceDto
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
|
|
524
|
+
/**
|
|
525
|
+
* Delete file inside workspace project
|
|
526
|
+
* @summary Delete file
|
|
527
|
+
* @param {string} workspaceId
|
|
528
|
+
* @param {string} projectId
|
|
529
|
+
* @param {string} path
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
workspaceControllerDeleteFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
534
|
+
/**
|
|
535
|
+
* Download file from workspace project
|
|
536
|
+
* @summary Download file
|
|
537
|
+
* @param {string} workspaceId
|
|
538
|
+
* @param {string} projectId
|
|
539
|
+
* @param {string} path
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
workspaceControllerDownloadFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
544
|
+
/**
|
|
545
|
+
* Execute command synchronously inside workspace project
|
|
546
|
+
* @summary Execute command
|
|
547
|
+
* @param {string} workspaceId
|
|
548
|
+
* @param {string} projectId
|
|
549
|
+
* @param {ExecuteRequestDto} executeRequestDto
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
workspaceControllerExecuteCommand(workspaceId: string, projectId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>>;
|
|
554
|
+
/**
|
|
555
|
+
* Search for text/pattern inside workspace project files
|
|
556
|
+
* @summary Search for text/pattern in files
|
|
557
|
+
* @param {string} workspaceId
|
|
558
|
+
* @param {string} projectId
|
|
559
|
+
* @param {string} path
|
|
560
|
+
* @param {string} pattern
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
workspaceControllerFindInFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
565
|
+
/**
|
|
566
|
+
* Get file info inside workspace project
|
|
567
|
+
* @summary Get file info
|
|
568
|
+
* @param {string} workspaceId
|
|
569
|
+
* @param {string} projectId
|
|
570
|
+
* @param {string} path
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
workspaceControllerGetFileInfo(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
575
|
+
/**
|
|
576
|
+
* Get project directory
|
|
577
|
+
* @summary Get project dir
|
|
578
|
+
* @param {string} workspaceId
|
|
579
|
+
* @param {string} projectId
|
|
580
|
+
* @param {*} [options] Override http request option.
|
|
581
|
+
* @throws {RequiredError}
|
|
582
|
+
*/
|
|
583
|
+
workspaceControllerGetProjectDir(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @param {string} workspaceId
|
|
587
|
+
* @param {boolean} [verbose] Include verbose output
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
|
|
592
|
+
/**
|
|
593
|
+
* Add files to git commit
|
|
594
|
+
* @summary Add files
|
|
595
|
+
* @param {string} workspaceId
|
|
596
|
+
* @param {string} projectId
|
|
597
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @throws {RequiredError}
|
|
600
|
+
*/
|
|
601
|
+
workspaceControllerGitAddFiles(workspaceId: string, projectId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
602
|
+
/**
|
|
603
|
+
* Get branch list from git repository
|
|
604
|
+
* @summary Get branch list
|
|
605
|
+
* @param {string} workspaceId
|
|
606
|
+
* @param {string} projectId
|
|
607
|
+
* @param {string} path
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
workspaceControllerGitBranchList(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
612
|
+
/**
|
|
613
|
+
* Clone git repository
|
|
614
|
+
* @summary Clone repository
|
|
615
|
+
* @param {string} workspaceId
|
|
616
|
+
* @param {string} projectId
|
|
617
|
+
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
*/
|
|
621
|
+
workspaceControllerGitCloneRepository(workspaceId: string, projectId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
622
|
+
/**
|
|
623
|
+
* Commit changes to git repository
|
|
624
|
+
* @summary Commit changes
|
|
625
|
+
* @param {string} workspaceId
|
|
626
|
+
* @param {string} projectId
|
|
627
|
+
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
workspaceControllerGitCommitChanges(workspaceId: string, projectId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
632
|
+
/**
|
|
633
|
+
* Get commit history from git repository
|
|
634
|
+
* @summary Get commit history
|
|
635
|
+
* @param {string} workspaceId
|
|
636
|
+
* @param {string} projectId
|
|
637
|
+
* @param {string} path
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
workspaceControllerGitCommitHistory(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
642
|
+
/**
|
|
643
|
+
* Create branch on git repository
|
|
644
|
+
* @summary Create branch
|
|
645
|
+
* @param {string} workspaceId
|
|
646
|
+
* @param {string} projectId
|
|
647
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
workspaceControllerGitCreateBranch(workspaceId: string, projectId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
652
|
+
/**
|
|
653
|
+
* Pull changes from remote
|
|
654
|
+
* @summary Pull changes
|
|
655
|
+
* @param {string} workspaceId
|
|
656
|
+
* @param {string} projectId
|
|
657
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
workspaceControllerGitPullChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
662
|
+
/**
|
|
663
|
+
* Push changes to remote
|
|
664
|
+
* @summary Push changes
|
|
665
|
+
* @param {string} workspaceId
|
|
666
|
+
* @param {string} projectId
|
|
667
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
*/
|
|
671
|
+
workspaceControllerGitPushChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
672
|
+
/**
|
|
673
|
+
* Get status from git repository
|
|
674
|
+
* @summary Get git status
|
|
675
|
+
* @param {string} workspaceId
|
|
676
|
+
* @param {string} projectId
|
|
677
|
+
* @param {string} path
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
workspaceControllerGitStatus(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
682
|
+
/**
|
|
683
|
+
* List files inside workspace project
|
|
684
|
+
* @summary List files
|
|
685
|
+
* @param {string} workspaceId
|
|
686
|
+
* @param {string} projectId
|
|
687
|
+
* @param {string} [path]
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
workspaceControllerListFiles(workspaceId: string, projectId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @param {boolean} [verbose] Include verbose output
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
*/
|
|
698
|
+
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkspaceDto>>>;
|
|
699
|
+
/**
|
|
700
|
+
* Move file inside workspace project
|
|
701
|
+
* @summary Move file
|
|
702
|
+
* @param {string} workspaceId
|
|
703
|
+
* @param {string} projectId
|
|
704
|
+
* @param {string} source
|
|
705
|
+
* @param {string} destination
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
workspaceControllerMoveFile(workspaceId: string, projectId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @param {string} workspaceId
|
|
713
|
+
* @param {boolean} force
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
*/
|
|
717
|
+
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
718
|
+
/**
|
|
719
|
+
* Replace text/pattern in multiple files inside workspace project
|
|
720
|
+
* @summary Replace in files
|
|
721
|
+
* @param {string} workspaceId
|
|
722
|
+
* @param {string} projectId
|
|
723
|
+
* @param {ReplaceRequestDto} replaceRequestDto
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
workspaceControllerReplaceInFiles(workspaceId: string, projectId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
728
|
+
/**
|
|
729
|
+
* Replace all labels for a workspace. Existing labels will be removed.
|
|
730
|
+
* @summary Replace workspace labels
|
|
731
|
+
* @param {string} workspaceId
|
|
732
|
+
* @param {WorkspaceLabelsDto} workspaceLabelsDto
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabelsDto>>;
|
|
737
|
+
/**
|
|
738
|
+
* Search for files inside workspace project
|
|
739
|
+
* @summary Search files
|
|
740
|
+
* @param {string} workspaceId
|
|
741
|
+
* @param {string} projectId
|
|
742
|
+
* @param {string} path
|
|
743
|
+
* @param {string} pattern
|
|
744
|
+
* @param {*} [options] Override http request option.
|
|
745
|
+
* @throws {RequiredError}
|
|
746
|
+
*/
|
|
747
|
+
workspaceControllerSearchFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
748
|
+
/**
|
|
749
|
+
* Set file owner/group/permissions inside workspace project
|
|
750
|
+
* @summary Set file permissions
|
|
751
|
+
* @param {string} workspaceId
|
|
752
|
+
* @param {string} projectId
|
|
753
|
+
* @param {string} path
|
|
754
|
+
* @param {string} owner
|
|
755
|
+
* @param {string} group
|
|
756
|
+
* @param {string} mode
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
workspaceControllerSetFilePermissions(workspaceId: string, projectId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @param {string} workspaceId
|
|
764
|
+
* @param {string} projectId
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @param {string} workspaceId
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @param {string} workspaceId
|
|
779
|
+
* @param {string} projectId
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
784
|
+
/**
|
|
785
|
+
*
|
|
786
|
+
* @param {string} workspaceId
|
|
787
|
+
* @param {*} [options] Override http request option.
|
|
788
|
+
* @throws {RequiredError}
|
|
789
|
+
*/
|
|
790
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
791
|
+
/**
|
|
792
|
+
* Upload file inside workspace project
|
|
793
|
+
* @summary Upload file
|
|
794
|
+
* @param {string} workspaceId
|
|
795
|
+
* @param {string} projectId
|
|
796
|
+
* @param {string} path
|
|
797
|
+
* @param {File} [file]
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
workspaceControllerUploadFile(workspaceId: string, projectId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* DefaultApi - factory interface
|
|
805
|
+
* @export
|
|
806
|
+
*/
|
|
807
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Create a new API key
|
|
811
|
+
* @param {CreateApiKeyDto} createApiKeyDto
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
*/
|
|
815
|
+
apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyResponseDto>;
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @summary Delete an API key by name
|
|
819
|
+
* @param {string} name
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @summary Get a specific API key by name
|
|
827
|
+
* @param {string} name
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyListDto>;
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary Get all API keys for the user
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiKeyListDto>>;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @param {object} body
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
*/
|
|
851
|
+
nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @param {*} [options] Override http request option.
|
|
855
|
+
* @throws {RequiredError}
|
|
856
|
+
*/
|
|
857
|
+
nodeControllerFindAll(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @param {string} id
|
|
861
|
+
* @param {*} [options] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
*/
|
|
864
|
+
nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @param {object} body
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
*/
|
|
871
|
+
userControllerCreate(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
872
|
+
/**
|
|
873
|
+
*
|
|
874
|
+
* @param {*} [options] Override http request option.
|
|
875
|
+
* @throws {RequiredError}
|
|
876
|
+
*/
|
|
877
|
+
userControllerFindAll(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @param {string} id
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
885
|
+
/**
|
|
886
|
+
* Create folder inside workspace project
|
|
887
|
+
* @summary Create folder
|
|
888
|
+
* @param {string} workspaceId
|
|
889
|
+
* @param {string} projectId
|
|
890
|
+
* @param {string} path
|
|
891
|
+
* @param {string} mode
|
|
892
|
+
* @param {*} [options] Override http request option.
|
|
893
|
+
* @throws {RequiredError}
|
|
894
|
+
*/
|
|
895
|
+
workspaceControllerCreateFolder(workspaceId: string, projectId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @summary Create a workspace snapshot
|
|
899
|
+
* @param {string} workspaceId
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @param {CreateWorkspaceDto} createWorkspaceDto
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
|
|
911
|
+
/**
|
|
912
|
+
* Delete file inside workspace project
|
|
913
|
+
* @summary Delete file
|
|
914
|
+
* @param {string} workspaceId
|
|
915
|
+
* @param {string} projectId
|
|
916
|
+
* @param {string} path
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
*/
|
|
920
|
+
workspaceControllerDeleteFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
921
|
+
/**
|
|
922
|
+
* Download file from workspace project
|
|
923
|
+
* @summary Download file
|
|
924
|
+
* @param {string} workspaceId
|
|
925
|
+
* @param {string} projectId
|
|
926
|
+
* @param {string} path
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
workspaceControllerDownloadFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
931
|
+
/**
|
|
932
|
+
* Execute command synchronously inside workspace project
|
|
933
|
+
* @summary Execute command
|
|
934
|
+
* @param {string} workspaceId
|
|
935
|
+
* @param {string} projectId
|
|
936
|
+
* @param {ExecuteRequestDto} executeRequestDto
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
*/
|
|
940
|
+
workspaceControllerExecuteCommand(workspaceId: string, projectId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto>;
|
|
941
|
+
/**
|
|
942
|
+
* Search for text/pattern inside workspace project files
|
|
943
|
+
* @summary Search for text/pattern in files
|
|
944
|
+
* @param {string} workspaceId
|
|
945
|
+
* @param {string} projectId
|
|
946
|
+
* @param {string} path
|
|
947
|
+
* @param {string} pattern
|
|
948
|
+
* @param {*} [options] Override http request option.
|
|
949
|
+
* @throws {RequiredError}
|
|
950
|
+
*/
|
|
951
|
+
workspaceControllerFindInFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
952
|
+
/**
|
|
953
|
+
* Get file info inside workspace project
|
|
954
|
+
* @summary Get file info
|
|
955
|
+
* @param {string} workspaceId
|
|
956
|
+
* @param {string} projectId
|
|
957
|
+
* @param {string} path
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
*/
|
|
961
|
+
workspaceControllerGetFileInfo(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
962
|
+
/**
|
|
963
|
+
* Get project directory
|
|
964
|
+
* @summary Get project dir
|
|
965
|
+
* @param {string} workspaceId
|
|
966
|
+
* @param {string} projectId
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
workspaceControllerGetProjectDir(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @param {string} workspaceId
|
|
974
|
+
* @param {boolean} [verbose] Include verbose output
|
|
975
|
+
* @param {*} [options] Override http request option.
|
|
976
|
+
* @throws {RequiredError}
|
|
977
|
+
*/
|
|
978
|
+
workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
|
|
979
|
+
/**
|
|
980
|
+
* Add files to git commit
|
|
981
|
+
* @summary Add files
|
|
982
|
+
* @param {string} workspaceId
|
|
983
|
+
* @param {string} projectId
|
|
984
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
workspaceControllerGitAddFiles(workspaceId: string, projectId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
989
|
+
/**
|
|
990
|
+
* Get branch list from git repository
|
|
991
|
+
* @summary Get branch list
|
|
992
|
+
* @param {string} workspaceId
|
|
993
|
+
* @param {string} projectId
|
|
994
|
+
* @param {string} path
|
|
995
|
+
* @param {*} [options] Override http request option.
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
*/
|
|
998
|
+
workspaceControllerGitBranchList(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
999
|
+
/**
|
|
1000
|
+
* Clone git repository
|
|
1001
|
+
* @summary Clone repository
|
|
1002
|
+
* @param {string} workspaceId
|
|
1003
|
+
* @param {string} projectId
|
|
1004
|
+
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1005
|
+
* @param {*} [options] Override http request option.
|
|
1006
|
+
* @throws {RequiredError}
|
|
1007
|
+
*/
|
|
1008
|
+
workspaceControllerGitCloneRepository(workspaceId: string, projectId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Commit changes to git repository
|
|
1011
|
+
* @summary Commit changes
|
|
1012
|
+
* @param {string} workspaceId
|
|
1013
|
+
* @param {string} projectId
|
|
1014
|
+
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
workspaceControllerGitCommitChanges(workspaceId: string, projectId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Get commit history from git repository
|
|
1021
|
+
* @summary Get commit history
|
|
1022
|
+
* @param {string} workspaceId
|
|
1023
|
+
* @param {string} projectId
|
|
1024
|
+
* @param {string} path
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
workspaceControllerGitCommitHistory(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Create branch on git repository
|
|
1031
|
+
* @summary Create branch
|
|
1032
|
+
* @param {string} workspaceId
|
|
1033
|
+
* @param {string} projectId
|
|
1034
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
workspaceControllerGitCreateBranch(workspaceId: string, projectId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Pull changes from remote
|
|
1041
|
+
* @summary Pull changes
|
|
1042
|
+
* @param {string} workspaceId
|
|
1043
|
+
* @param {string} projectId
|
|
1044
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1045
|
+
* @param {*} [options] Override http request option.
|
|
1046
|
+
* @throws {RequiredError}
|
|
1047
|
+
*/
|
|
1048
|
+
workspaceControllerGitPullChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Push changes to remote
|
|
1051
|
+
* @summary Push changes
|
|
1052
|
+
* @param {string} workspaceId
|
|
1053
|
+
* @param {string} projectId
|
|
1054
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1055
|
+
* @param {*} [options] Override http request option.
|
|
1056
|
+
* @throws {RequiredError}
|
|
1057
|
+
*/
|
|
1058
|
+
workspaceControllerGitPushChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Get status from git repository
|
|
1061
|
+
* @summary Get git status
|
|
1062
|
+
* @param {string} workspaceId
|
|
1063
|
+
* @param {string} projectId
|
|
1064
|
+
* @param {string} path
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
workspaceControllerGitStatus(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1069
|
+
/**
|
|
1070
|
+
* List files inside workspace project
|
|
1071
|
+
* @summary List files
|
|
1072
|
+
* @param {string} workspaceId
|
|
1073
|
+
* @param {string} projectId
|
|
1074
|
+
* @param {string} [path]
|
|
1075
|
+
* @param {*} [options] Override http request option.
|
|
1076
|
+
* @throws {RequiredError}
|
|
1077
|
+
*/
|
|
1078
|
+
workspaceControllerListFiles(workspaceId: string, projectId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1079
|
+
/**
|
|
1080
|
+
*
|
|
1081
|
+
* @param {boolean} [verbose] Include verbose output
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
*/
|
|
1085
|
+
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkspaceDto>>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Move file inside workspace project
|
|
1088
|
+
* @summary Move file
|
|
1089
|
+
* @param {string} workspaceId
|
|
1090
|
+
* @param {string} projectId
|
|
1091
|
+
* @param {string} source
|
|
1092
|
+
* @param {string} destination
|
|
1093
|
+
* @param {*} [options] Override http request option.
|
|
1094
|
+
* @throws {RequiredError}
|
|
1095
|
+
*/
|
|
1096
|
+
workspaceControllerMoveFile(workspaceId: string, projectId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @param {string} workspaceId
|
|
1100
|
+
* @param {boolean} force
|
|
1101
|
+
* @param {*} [options] Override http request option.
|
|
1102
|
+
* @throws {RequiredError}
|
|
1103
|
+
*/
|
|
1104
|
+
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Replace text/pattern in multiple files inside workspace project
|
|
1107
|
+
* @summary Replace in files
|
|
1108
|
+
* @param {string} workspaceId
|
|
1109
|
+
* @param {string} projectId
|
|
1110
|
+
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1111
|
+
* @param {*} [options] Override http request option.
|
|
1112
|
+
* @throws {RequiredError}
|
|
1113
|
+
*/
|
|
1114
|
+
workspaceControllerReplaceInFiles(workspaceId: string, projectId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1117
|
+
* @summary Replace workspace labels
|
|
1118
|
+
* @param {string} workspaceId
|
|
1119
|
+
* @param {WorkspaceLabelsDto} workspaceLabelsDto
|
|
1120
|
+
* @param {*} [options] Override http request option.
|
|
1121
|
+
* @throws {RequiredError}
|
|
1122
|
+
*/
|
|
1123
|
+
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabelsDto>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Search for files inside workspace project
|
|
1126
|
+
* @summary Search files
|
|
1127
|
+
* @param {string} workspaceId
|
|
1128
|
+
* @param {string} projectId
|
|
1129
|
+
* @param {string} path
|
|
1130
|
+
* @param {string} pattern
|
|
1131
|
+
* @param {*} [options] Override http request option.
|
|
1132
|
+
* @throws {RequiredError}
|
|
1133
|
+
*/
|
|
1134
|
+
workspaceControllerSearchFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Set file owner/group/permissions inside workspace project
|
|
1137
|
+
* @summary Set file permissions
|
|
1138
|
+
* @param {string} workspaceId
|
|
1139
|
+
* @param {string} projectId
|
|
1140
|
+
* @param {string} path
|
|
1141
|
+
* @param {string} owner
|
|
1142
|
+
* @param {string} group
|
|
1143
|
+
* @param {string} mode
|
|
1144
|
+
* @param {*} [options] Override http request option.
|
|
1145
|
+
* @throws {RequiredError}
|
|
1146
|
+
*/
|
|
1147
|
+
workspaceControllerSetFilePermissions(workspaceId: string, projectId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @param {string} workspaceId
|
|
1151
|
+
* @param {string} projectId
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
*/
|
|
1155
|
+
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @param {string} workspaceId
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @param {string} workspaceId
|
|
1166
|
+
* @param {string} projectId
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
*/
|
|
1170
|
+
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1171
|
+
/**
|
|
1172
|
+
*
|
|
1173
|
+
* @param {string} workspaceId
|
|
1174
|
+
* @param {*} [options] Override http request option.
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
*/
|
|
1177
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Upload file inside workspace project
|
|
1180
|
+
* @summary Upload file
|
|
1181
|
+
* @param {string} workspaceId
|
|
1182
|
+
* @param {string} projectId
|
|
1183
|
+
* @param {string} path
|
|
1184
|
+
* @param {File} [file]
|
|
1185
|
+
* @param {*} [options] Override http request option.
|
|
1186
|
+
* @throws {RequiredError}
|
|
1187
|
+
*/
|
|
1188
|
+
workspaceControllerUploadFile(workspaceId: string, projectId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* DefaultApi - object-oriented interface
|
|
1192
|
+
* @export
|
|
1193
|
+
* @class DefaultApi
|
|
1194
|
+
* @extends {BaseAPI}
|
|
1195
|
+
*/
|
|
1196
|
+
export declare class DefaultApi extends BaseAPI {
|
|
1197
|
+
/**
|
|
1198
|
+
*
|
|
1199
|
+
* @summary Create a new API key
|
|
1200
|
+
* @param {CreateApiKeyDto} createApiKeyDto
|
|
1201
|
+
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @throws {RequiredError}
|
|
1203
|
+
* @memberof DefaultApi
|
|
1204
|
+
*/
|
|
1205
|
+
apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyResponseDto, any>>;
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
* @summary Delete an API key by name
|
|
1209
|
+
* @param {string} name
|
|
1210
|
+
* @param {*} [options] Override http request option.
|
|
1211
|
+
* @throws {RequiredError}
|
|
1212
|
+
* @memberof DefaultApi
|
|
1213
|
+
*/
|
|
1214
|
+
apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @summary Get a specific API key by name
|
|
1218
|
+
* @param {string} name
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
* @memberof DefaultApi
|
|
1222
|
+
*/
|
|
1223
|
+
apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyListDto, any>>;
|
|
1224
|
+
/**
|
|
1225
|
+
*
|
|
1226
|
+
* @summary Get all API keys for the user
|
|
1227
|
+
* @param {*} [options] Override http request option.
|
|
1228
|
+
* @throws {RequiredError}
|
|
1229
|
+
* @memberof DefaultApi
|
|
1230
|
+
*/
|
|
1231
|
+
apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyListDto[], any>>;
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @param {*} [options] Override http request option.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
* @memberof DefaultApi
|
|
1237
|
+
*/
|
|
1238
|
+
appControllerGetHello(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @param {object} body
|
|
1242
|
+
* @param {*} [options] Override http request option.
|
|
1243
|
+
* @throws {RequiredError}
|
|
1244
|
+
* @memberof DefaultApi
|
|
1245
|
+
*/
|
|
1246
|
+
nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
* @memberof DefaultApi
|
|
1252
|
+
*/
|
|
1253
|
+
nodeControllerFindAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1254
|
+
/**
|
|
1255
|
+
*
|
|
1256
|
+
* @param {string} id
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
* @memberof DefaultApi
|
|
1260
|
+
*/
|
|
1261
|
+
nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @param {object} body
|
|
1265
|
+
* @param {*} [options] Override http request option.
|
|
1266
|
+
* @throws {RequiredError}
|
|
1267
|
+
* @memberof DefaultApi
|
|
1268
|
+
*/
|
|
1269
|
+
userControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @param {*} [options] Override http request option.
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
* @memberof DefaultApi
|
|
1275
|
+
*/
|
|
1276
|
+
userControllerFindAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1277
|
+
/**
|
|
1278
|
+
*
|
|
1279
|
+
* @param {string} id
|
|
1280
|
+
* @param {*} [options] Override http request option.
|
|
1281
|
+
* @throws {RequiredError}
|
|
1282
|
+
* @memberof DefaultApi
|
|
1283
|
+
*/
|
|
1284
|
+
userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Create folder inside workspace project
|
|
1287
|
+
* @summary Create folder
|
|
1288
|
+
* @param {string} workspaceId
|
|
1289
|
+
* @param {string} projectId
|
|
1290
|
+
* @param {string} path
|
|
1291
|
+
* @param {string} mode
|
|
1292
|
+
* @param {*} [options] Override http request option.
|
|
1293
|
+
* @throws {RequiredError}
|
|
1294
|
+
* @memberof DefaultApi
|
|
1295
|
+
*/
|
|
1296
|
+
workspaceControllerCreateFolder(workspaceId: string, projectId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @summary Create a workspace snapshot
|
|
1300
|
+
* @param {string} workspaceId
|
|
1301
|
+
* @param {*} [options] Override http request option.
|
|
1302
|
+
* @throws {RequiredError}
|
|
1303
|
+
* @memberof DefaultApi
|
|
1304
|
+
*/
|
|
1305
|
+
workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @param {CreateWorkspaceDto} createWorkspaceDto
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
* @memberof DefaultApi
|
|
1312
|
+
*/
|
|
1313
|
+
workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Delete file inside workspace project
|
|
1316
|
+
* @summary Delete file
|
|
1317
|
+
* @param {string} workspaceId
|
|
1318
|
+
* @param {string} projectId
|
|
1319
|
+
* @param {string} path
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
* @memberof DefaultApi
|
|
1323
|
+
*/
|
|
1324
|
+
workspaceControllerDeleteFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Download file from workspace project
|
|
1327
|
+
* @summary Download file
|
|
1328
|
+
* @param {string} workspaceId
|
|
1329
|
+
* @param {string} projectId
|
|
1330
|
+
* @param {string} path
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
* @memberof DefaultApi
|
|
1334
|
+
*/
|
|
1335
|
+
workspaceControllerDownloadFile(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1336
|
+
/**
|
|
1337
|
+
* Execute command synchronously inside workspace project
|
|
1338
|
+
* @summary Execute command
|
|
1339
|
+
* @param {string} workspaceId
|
|
1340
|
+
* @param {string} projectId
|
|
1341
|
+
* @param {ExecuteRequestDto} executeRequestDto
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
* @memberof DefaultApi
|
|
1345
|
+
*/
|
|
1346
|
+
workspaceControllerExecuteCommand(workspaceId: string, projectId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponseDto, any>>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Search for text/pattern inside workspace project files
|
|
1349
|
+
* @summary Search for text/pattern in files
|
|
1350
|
+
* @param {string} workspaceId
|
|
1351
|
+
* @param {string} projectId
|
|
1352
|
+
* @param {string} path
|
|
1353
|
+
* @param {string} pattern
|
|
1354
|
+
* @param {*} [options] Override http request option.
|
|
1355
|
+
* @throws {RequiredError}
|
|
1356
|
+
* @memberof DefaultApi
|
|
1357
|
+
*/
|
|
1358
|
+
workspaceControllerFindInFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1359
|
+
/**
|
|
1360
|
+
* Get file info inside workspace project
|
|
1361
|
+
* @summary Get file info
|
|
1362
|
+
* @param {string} workspaceId
|
|
1363
|
+
* @param {string} projectId
|
|
1364
|
+
* @param {string} path
|
|
1365
|
+
* @param {*} [options] Override http request option.
|
|
1366
|
+
* @throws {RequiredError}
|
|
1367
|
+
* @memberof DefaultApi
|
|
1368
|
+
*/
|
|
1369
|
+
workspaceControllerGetFileInfo(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Get project directory
|
|
1372
|
+
* @summary Get project dir
|
|
1373
|
+
* @param {string} workspaceId
|
|
1374
|
+
* @param {string} projectId
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
* @memberof DefaultApi
|
|
1378
|
+
*/
|
|
1379
|
+
workspaceControllerGetProjectDir(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1380
|
+
/**
|
|
1381
|
+
*
|
|
1382
|
+
* @param {string} workspaceId
|
|
1383
|
+
* @param {boolean} [verbose] Include verbose output
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
* @memberof DefaultApi
|
|
1387
|
+
*/
|
|
1388
|
+
workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Add files to git commit
|
|
1391
|
+
* @summary Add files
|
|
1392
|
+
* @param {string} workspaceId
|
|
1393
|
+
* @param {string} projectId
|
|
1394
|
+
* @param {GitAddRequestDto} gitAddRequestDto
|
|
1395
|
+
* @param {*} [options] Override http request option.
|
|
1396
|
+
* @throws {RequiredError}
|
|
1397
|
+
* @memberof DefaultApi
|
|
1398
|
+
*/
|
|
1399
|
+
workspaceControllerGitAddFiles(workspaceId: string, projectId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Get branch list from git repository
|
|
1402
|
+
* @summary Get branch list
|
|
1403
|
+
* @param {string} workspaceId
|
|
1404
|
+
* @param {string} projectId
|
|
1405
|
+
* @param {string} path
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
* @memberof DefaultApi
|
|
1409
|
+
*/
|
|
1410
|
+
workspaceControllerGitBranchList(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Clone git repository
|
|
1413
|
+
* @summary Clone repository
|
|
1414
|
+
* @param {string} workspaceId
|
|
1415
|
+
* @param {string} projectId
|
|
1416
|
+
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
* @memberof DefaultApi
|
|
1420
|
+
*/
|
|
1421
|
+
workspaceControllerGitCloneRepository(workspaceId: string, projectId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Commit changes to git repository
|
|
1424
|
+
* @summary Commit changes
|
|
1425
|
+
* @param {string} workspaceId
|
|
1426
|
+
* @param {string} projectId
|
|
1427
|
+
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1428
|
+
* @param {*} [options] Override http request option.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
* @memberof DefaultApi
|
|
1431
|
+
*/
|
|
1432
|
+
workspaceControllerGitCommitChanges(workspaceId: string, projectId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Get commit history from git repository
|
|
1435
|
+
* @summary Get commit history
|
|
1436
|
+
* @param {string} workspaceId
|
|
1437
|
+
* @param {string} projectId
|
|
1438
|
+
* @param {string} path
|
|
1439
|
+
* @param {*} [options] Override http request option.
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
* @memberof DefaultApi
|
|
1442
|
+
*/
|
|
1443
|
+
workspaceControllerGitCommitHistory(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Create branch on git repository
|
|
1446
|
+
* @summary Create branch
|
|
1447
|
+
* @param {string} workspaceId
|
|
1448
|
+
* @param {string} projectId
|
|
1449
|
+
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1450
|
+
* @param {*} [options] Override http request option.
|
|
1451
|
+
* @throws {RequiredError}
|
|
1452
|
+
* @memberof DefaultApi
|
|
1453
|
+
*/
|
|
1454
|
+
workspaceControllerGitCreateBranch(workspaceId: string, projectId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1455
|
+
/**
|
|
1456
|
+
* Pull changes from remote
|
|
1457
|
+
* @summary Pull changes
|
|
1458
|
+
* @param {string} workspaceId
|
|
1459
|
+
* @param {string} projectId
|
|
1460
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1461
|
+
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @throws {RequiredError}
|
|
1463
|
+
* @memberof DefaultApi
|
|
1464
|
+
*/
|
|
1465
|
+
workspaceControllerGitPullChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Push changes to remote
|
|
1468
|
+
* @summary Push changes
|
|
1469
|
+
* @param {string} workspaceId
|
|
1470
|
+
* @param {string} projectId
|
|
1471
|
+
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1472
|
+
* @param {*} [options] Override http request option.
|
|
1473
|
+
* @throws {RequiredError}
|
|
1474
|
+
* @memberof DefaultApi
|
|
1475
|
+
*/
|
|
1476
|
+
workspaceControllerGitPushChanges(workspaceId: string, projectId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Get status from git repository
|
|
1479
|
+
* @summary Get git status
|
|
1480
|
+
* @param {string} workspaceId
|
|
1481
|
+
* @param {string} projectId
|
|
1482
|
+
* @param {string} path
|
|
1483
|
+
* @param {*} [options] Override http request option.
|
|
1484
|
+
* @throws {RequiredError}
|
|
1485
|
+
* @memberof DefaultApi
|
|
1486
|
+
*/
|
|
1487
|
+
workspaceControllerGitStatus(workspaceId: string, projectId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1488
|
+
/**
|
|
1489
|
+
* List files inside workspace project
|
|
1490
|
+
* @summary List files
|
|
1491
|
+
* @param {string} workspaceId
|
|
1492
|
+
* @param {string} projectId
|
|
1493
|
+
* @param {string} [path]
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
* @memberof DefaultApi
|
|
1497
|
+
*/
|
|
1498
|
+
workspaceControllerListFiles(workspaceId: string, projectId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @param {boolean} [verbose] Include verbose output
|
|
1502
|
+
* @param {*} [options] Override http request option.
|
|
1503
|
+
* @throws {RequiredError}
|
|
1504
|
+
* @memberof DefaultApi
|
|
1505
|
+
*/
|
|
1506
|
+
workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto[], any>>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Move file inside workspace project
|
|
1509
|
+
* @summary Move file
|
|
1510
|
+
* @param {string} workspaceId
|
|
1511
|
+
* @param {string} projectId
|
|
1512
|
+
* @param {string} source
|
|
1513
|
+
* @param {string} destination
|
|
1514
|
+
* @param {*} [options] Override http request option.
|
|
1515
|
+
* @throws {RequiredError}
|
|
1516
|
+
* @memberof DefaultApi
|
|
1517
|
+
*/
|
|
1518
|
+
workspaceControllerMoveFile(workspaceId: string, projectId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @param {string} workspaceId
|
|
1522
|
+
* @param {boolean} force
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
* @memberof DefaultApi
|
|
1526
|
+
*/
|
|
1527
|
+
workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Replace text/pattern in multiple files inside workspace project
|
|
1530
|
+
* @summary Replace in files
|
|
1531
|
+
* @param {string} workspaceId
|
|
1532
|
+
* @param {string} projectId
|
|
1533
|
+
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1534
|
+
* @param {*} [options] Override http request option.
|
|
1535
|
+
* @throws {RequiredError}
|
|
1536
|
+
* @memberof DefaultApi
|
|
1537
|
+
*/
|
|
1538
|
+
workspaceControllerReplaceInFiles(workspaceId: string, projectId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Replace all labels for a workspace. Existing labels will be removed.
|
|
1541
|
+
* @summary Replace workspace labels
|
|
1542
|
+
* @param {string} workspaceId
|
|
1543
|
+
* @param {WorkspaceLabelsDto} workspaceLabelsDto
|
|
1544
|
+
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @throws {RequiredError}
|
|
1546
|
+
* @memberof DefaultApi
|
|
1547
|
+
*/
|
|
1548
|
+
workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabelsDto, any>>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Search for files inside workspace project
|
|
1551
|
+
* @summary Search files
|
|
1552
|
+
* @param {string} workspaceId
|
|
1553
|
+
* @param {string} projectId
|
|
1554
|
+
* @param {string} path
|
|
1555
|
+
* @param {string} pattern
|
|
1556
|
+
* @param {*} [options] Override http request option.
|
|
1557
|
+
* @throws {RequiredError}
|
|
1558
|
+
* @memberof DefaultApi
|
|
1559
|
+
*/
|
|
1560
|
+
workspaceControllerSearchFiles(workspaceId: string, projectId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Set file owner/group/permissions inside workspace project
|
|
1563
|
+
* @summary Set file permissions
|
|
1564
|
+
* @param {string} workspaceId
|
|
1565
|
+
* @param {string} projectId
|
|
1566
|
+
* @param {string} path
|
|
1567
|
+
* @param {string} owner
|
|
1568
|
+
* @param {string} group
|
|
1569
|
+
* @param {string} mode
|
|
1570
|
+
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @throws {RequiredError}
|
|
1572
|
+
* @memberof DefaultApi
|
|
1573
|
+
*/
|
|
1574
|
+
workspaceControllerSetFilePermissions(workspaceId: string, projectId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @param {string} workspaceId
|
|
1578
|
+
* @param {string} projectId
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
* @memberof DefaultApi
|
|
1582
|
+
*/
|
|
1583
|
+
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1584
|
+
/**
|
|
1585
|
+
*
|
|
1586
|
+
* @param {string} workspaceId
|
|
1587
|
+
* @param {*} [options] Override http request option.
|
|
1588
|
+
* @throws {RequiredError}
|
|
1589
|
+
* @memberof DefaultApi
|
|
1590
|
+
*/
|
|
1591
|
+
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1592
|
+
/**
|
|
1593
|
+
*
|
|
1594
|
+
* @param {string} workspaceId
|
|
1595
|
+
* @param {string} projectId
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
* @memberof DefaultApi
|
|
1599
|
+
*/
|
|
1600
|
+
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1601
|
+
/**
|
|
1602
|
+
*
|
|
1603
|
+
* @param {string} workspaceId
|
|
1604
|
+
* @param {*} [options] Override http request option.
|
|
1605
|
+
* @throws {RequiredError}
|
|
1606
|
+
* @memberof DefaultApi
|
|
1607
|
+
*/
|
|
1608
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1609
|
+
/**
|
|
1610
|
+
* Upload file inside workspace project
|
|
1611
|
+
* @summary Upload file
|
|
1612
|
+
* @param {string} workspaceId
|
|
1613
|
+
* @param {string} projectId
|
|
1614
|
+
* @param {string} path
|
|
1615
|
+
* @param {File} [file]
|
|
1616
|
+
* @param {*} [options] Override http request option.
|
|
1617
|
+
* @throws {RequiredError}
|
|
1618
|
+
* @memberof DefaultApi
|
|
1619
|
+
*/
|
|
1620
|
+
workspaceControllerUploadFile(workspaceId: string, projectId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1621
|
+
}
|