@daytonaio/api-client 0.5.2 → 0.6.1
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 +29 -18
- package/README.md +2 -2
- package/api/api-keys-api.ts +21 -21
- package/api/{default-api.ts → app-api.ts} +14 -14
- package/api/docker-registry-api.ts +30 -30
- package/api/nodes-api.ts +16 -14
- package/api/toolbox-api.ts +154 -138
- package/api/users-api.ts +16 -14
- package/api/workspace-api.ts +37 -37
- package/api.ts +1 -1
- package/dist/api/api-keys-api.d.ts +17 -17
- package/dist/api/api-keys-api.js +17 -17
- package/dist/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/api/{default-api.js → app-api.js} +19 -19
- package/dist/api/docker-registry-api.d.ts +18 -18
- package/dist/api/docker-registry-api.js +33 -33
- package/dist/api/nodes-api.d.ts +9 -8
- package/dist/api/nodes-api.js +16 -16
- package/dist/api/toolbox-api.d.ts +107 -99
- package/dist/api/toolbox-api.js +125 -125
- package/dist/api/users-api.d.ts +9 -8
- package/dist/api/users-api.js +16 -16
- package/dist/api/workspace-api.d.ts +28 -28
- package/dist/api/workspace-api.js +34 -34
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/esm/api/api-keys-api.d.ts +17 -17
- package/dist/esm/api/api-keys-api.js +17 -17
- package/dist/esm/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/esm/api/{default-api.js → app-api.js} +14 -14
- package/dist/esm/api/docker-registry-api.d.ts +18 -18
- package/dist/esm/api/docker-registry-api.js +33 -33
- package/dist/esm/api/nodes-api.d.ts +9 -8
- package/dist/esm/api/nodes-api.js +16 -16
- package/dist/esm/api/toolbox-api.d.ts +107 -99
- package/dist/esm/api/toolbox-api.js +125 -125
- package/dist/esm/api/users-api.d.ts +9 -8
- package/dist/esm/api/users-api.js +16 -16
- package/dist/esm/api/workspace-api.d.ts +28 -28
- package/dist/esm/api/workspace-api.js +34 -34
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/esm/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{models/create-api-key-dto.d.ts → esm/models/create-api-key.d.ts} +3 -3
- package/dist/{models/create-docker-registry-dto.d.ts → esm/models/create-docker-registry.d.ts} +8 -8
- package/dist/esm/models/create-node.d.ts +24 -0
- package/dist/esm/models/create-user.d.ts +30 -0
- package/dist/{models/create-workspace-dto.d.ts → esm/models/create-workspace.d.ts} +21 -21
- package/dist/esm/models/{create-workspace-dto.js → create-workspace.js} +2 -2
- package/dist/{models/execute-request-dto.d.ts → esm/models/execute-request.d.ts} +4 -4
- package/dist/{models/execute-response-dto.d.ts → esm/models/execute-response.d.ts} +5 -5
- package/dist/esm/models/file-info.d.ts +66 -0
- package/dist/esm/models/file-status.d.ts +42 -0
- package/dist/esm/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{models/git-branch-request-dto.d.ts → esm/models/git-branch-request.d.ts} +4 -4
- package/dist/esm/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{models/git-commit-request-dto.d.ts → esm/models/git-commit-info.d.ts} +13 -7
- package/dist/esm/models/git-commit-request.d.ts +24 -0
- package/dist/esm/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/esm/models/git-status.d.ts +49 -0
- package/dist/esm/models/git-status.js +14 -0
- package/dist/esm/models/index.d.ts +28 -17
- package/dist/esm/models/index.js +28 -17
- package/dist/esm/models/list-branch-response.d.ts +24 -0
- package/dist/esm/models/list-branch-response.js +14 -0
- package/dist/esm/models/match.d.ts +36 -0
- package/dist/esm/models/match.js +14 -0
- package/dist/esm/models/project-dir-response.d.ts +24 -0
- package/dist/esm/models/project-dir-response.js +14 -0
- package/dist/esm/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/esm/models/replace-request.js +14 -0
- package/dist/esm/models/replace-result.d.ts +36 -0
- package/dist/esm/models/replace-result.js +14 -0
- package/dist/esm/models/search-files-response.d.ts +24 -0
- package/dist/esm/models/search-files-response.js +14 -0
- package/dist/esm/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/esm/models/update-docker-registry.js +14 -0
- package/dist/{models/workspace-info-dto.d.ts → esm/models/workspace-info.d.ts} +5 -5
- package/dist/esm/models/workspace-info.js +14 -0
- package/dist/{models/workspace-labels-dto.d.ts → esm/models/workspace-labels.d.ts} +3 -3
- package/dist/esm/models/workspace-labels.js +14 -0
- package/dist/{models/workspace-dto.d.ts → esm/models/workspace.d.ts} +18 -18
- package/dist/esm/models/workspace.js +14 -0
- package/dist/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{esm/models/create-api-key-dto.d.ts → models/create-api-key.d.ts} +3 -3
- package/dist/{esm/models/create-docker-registry-dto.d.ts → models/create-docker-registry.d.ts} +8 -8
- package/dist/models/create-node.d.ts +24 -0
- package/dist/models/create-user.d.ts +30 -0
- package/dist/{esm/models/create-workspace-dto.d.ts → models/create-workspace.d.ts} +21 -21
- package/dist/models/{create-workspace-dto.js → create-workspace.js} +3 -3
- package/dist/{esm/models/execute-request-dto.d.ts → models/execute-request.d.ts} +4 -4
- package/dist/{esm/models/execute-response-dto.d.ts → models/execute-response.d.ts} +5 -5
- package/dist/models/file-info.d.ts +66 -0
- package/dist/models/file-status.d.ts +42 -0
- package/dist/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{esm/models/git-branch-request-dto.d.ts → models/git-branch-request.d.ts} +4 -4
- package/dist/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{esm/models/git-commit-request-dto.d.ts → models/git-commit-info.d.ts} +13 -7
- package/dist/models/git-commit-request.d.ts +24 -0
- package/dist/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/models/git-status.d.ts +49 -0
- package/dist/models/git-status.js +15 -0
- package/dist/models/index.d.ts +28 -17
- package/dist/models/index.js +28 -17
- package/dist/models/list-branch-response.d.ts +24 -0
- package/dist/models/list-branch-response.js +15 -0
- package/dist/models/match.d.ts +36 -0
- package/dist/models/match.js +15 -0
- package/dist/models/project-dir-response.d.ts +24 -0
- package/dist/models/project-dir-response.js +15 -0
- package/dist/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/models/replace-request.js +15 -0
- package/dist/models/replace-result.d.ts +36 -0
- package/dist/models/replace-result.js +15 -0
- package/dist/models/search-files-response.d.ts +24 -0
- package/dist/models/search-files-response.js +15 -0
- package/dist/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/models/update-docker-registry.js +15 -0
- package/dist/{esm/models/workspace-info-dto.d.ts → models/workspace-info.d.ts} +5 -5
- package/dist/models/workspace-info.js +15 -0
- package/dist/{esm/models/workspace-labels-dto.d.ts → models/workspace-labels.d.ts} +3 -3
- package/dist/models/workspace-labels.js +15 -0
- package/dist/{esm/models/workspace-dto.d.ts → models/workspace.d.ts} +18 -18
- package/dist/models/workspace.js +15 -0
- package/models/{api-key-list-dto.ts → api-key-list.ts} +5 -5
- package/models/{api-key-response-dto.ts → api-key-response.ts} +5 -5
- package/models/{create-api-key-dto.ts → create-api-key.ts} +3 -3
- package/models/{create-docker-registry-dto.ts → create-docker-registry.ts} +8 -8
- package/models/create-node.ts +30 -0
- package/models/create-user.ts +36 -0
- package/models/{create-workspace-dto.ts → create-workspace.ts} +21 -21
- package/models/{execute-request-dto.ts → execute-request.ts} +4 -4
- package/models/{execute-response-dto.ts → execute-response.ts} +5 -5
- package/models/file-info.ts +72 -0
- package/models/file-status.ts +48 -0
- package/models/{git-add-request-dto.ts → git-add-request.ts} +4 -4
- package/models/{git-branch-request-dto.ts → git-branch-request.ts} +4 -4
- package/models/{git-clone-request-dto.ts → git-clone-request.ts} +8 -8
- package/models/{git-commit-request-dto.ts → git-commit-info.ts} +13 -7
- package/models/git-commit-request.ts +30 -0
- package/models/{git-repo-request-dto.ts → git-repo-request.ts} +5 -5
- package/models/git-status.ts +57 -0
- package/models/index.ts +28 -17
- package/models/list-branch-response.ts +30 -0
- package/models/match.ts +42 -0
- package/models/project-dir-response.ts +30 -0
- package/models/{replace-request-dto.ts → replace-request.ts} +5 -5
- package/models/replace-result.ts +42 -0
- package/models/search-files-response.ts +30 -0
- package/models/{update-docker-registry-dto.ts → update-docker-registry.ts} +8 -8
- package/models/{workspace-info-dto.ts → workspace-info.ts} +5 -5
- package/models/{workspace-labels-dto.ts → workspace-labels.ts} +3 -3
- package/models/{workspace-dto.ts → workspace.ts} +18 -18
- package/package.json +1 -1
- /package/dist/esm/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/esm/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/esm/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/esm/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/esm/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/esm/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/esm/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/esm/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/esm/models/{git-clone-request-dto.js → file-info.js} +0 -0
- /package/dist/esm/models/{git-commit-request-dto.js → file-status.js} +0 -0
- /package/dist/esm/models/{git-repo-request-dto.js → git-add-request.js} +0 -0
- /package/dist/esm/models/{replace-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/esm/models/{update-docker-registry-dto.js → git-clone-request.js} +0 -0
- /package/dist/esm/models/{workspace-dto.js → git-commit-info.js} +0 -0
- /package/dist/esm/models/{workspace-info-dto.js → git-commit-request.js} +0 -0
- /package/dist/esm/models/{workspace-labels-dto.js → git-repo-request.js} +0 -0
- /package/dist/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/models/{git-clone-request-dto.js → file-info.js} +0 -0
- /package/dist/models/{git-commit-request-dto.js → file-status.js} +0 -0
- /package/dist/models/{git-repo-request-dto.js → git-add-request.js} +0 -0
- /package/dist/models/{replace-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/models/{update-docker-registry-dto.js → git-clone-request.js} +0 -0
- /package/dist/models/{workspace-dto.js → git-commit-info.js} +0 -0
- /package/dist/models/{workspace-info-dto.js → git-commit-request.js} +0 -0
- /package/dist/models/{workspace-labels-dto.js → git-repo-request.js} +0 -0
|
@@ -12,14 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
15
|
+
import type { ExecuteRequest } from '../models';
|
|
16
|
+
import type { ExecuteResponse } from '../models';
|
|
17
|
+
import type { FileInfo } from '../models';
|
|
18
|
+
import type { GitAddRequest } from '../models';
|
|
19
|
+
import type { GitBranchRequest } from '../models';
|
|
20
|
+
import type { GitCloneRequest } from '../models';
|
|
21
|
+
import type { GitCommitInfo } from '../models';
|
|
22
|
+
import type { GitCommitRequest } from '../models';
|
|
23
|
+
import type { GitRepoRequest } from '../models';
|
|
24
|
+
import type { GitStatus } from '../models';
|
|
25
|
+
import type { ListBranchResponse } from '../models';
|
|
26
|
+
import type { Match } from '../models';
|
|
27
|
+
import type { ProjectDirResponse } from '../models';
|
|
28
|
+
import type { ReplaceRequest } from '../models';
|
|
29
|
+
import type { ReplaceResult } from '../models';
|
|
30
|
+
import type { SearchFilesResponse } from '../models';
|
|
23
31
|
/**
|
|
24
32
|
* ToolboxApi - axios parameter creator
|
|
25
33
|
* @export
|
|
@@ -57,11 +65,11 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
57
65
|
* Execute command synchronously inside workspace
|
|
58
66
|
* @summary Execute command
|
|
59
67
|
* @param {string} workspaceId
|
|
60
|
-
* @param {
|
|
68
|
+
* @param {ExecuteRequest} executeRequest
|
|
61
69
|
* @param {*} [options] Override http request option.
|
|
62
70
|
* @throws {RequiredError}
|
|
63
71
|
*/
|
|
64
|
-
executeCommand: (workspaceId: string,
|
|
72
|
+
executeCommand: (workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
73
|
/**
|
|
66
74
|
* Search for text/pattern inside workspace files
|
|
67
75
|
* @summary Search for text/pattern in files
|
|
@@ -93,38 +101,38 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
93
101
|
* Add files to git commit
|
|
94
102
|
* @summary Add files
|
|
95
103
|
* @param {string} workspaceId
|
|
96
|
-
* @param {
|
|
104
|
+
* @param {GitAddRequest} gitAddRequest
|
|
97
105
|
* @param {*} [options] Override http request option.
|
|
98
106
|
* @throws {RequiredError}
|
|
99
107
|
*/
|
|
100
|
-
gitAddFiles: (workspaceId: string,
|
|
108
|
+
gitAddFiles: (workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
109
|
/**
|
|
102
110
|
* Clone git repository
|
|
103
111
|
* @summary Clone repository
|
|
104
112
|
* @param {string} workspaceId
|
|
105
|
-
* @param {
|
|
113
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
106
114
|
* @param {*} [options] Override http request option.
|
|
107
115
|
* @throws {RequiredError}
|
|
108
116
|
*/
|
|
109
|
-
gitCloneRepository: (workspaceId: string,
|
|
117
|
+
gitCloneRepository: (workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
118
|
/**
|
|
111
119
|
* Commit changes to git repository
|
|
112
120
|
* @summary Commit changes
|
|
113
121
|
* @param {string} workspaceId
|
|
114
|
-
* @param {
|
|
122
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
115
123
|
* @param {*} [options] Override http request option.
|
|
116
124
|
* @throws {RequiredError}
|
|
117
125
|
*/
|
|
118
|
-
gitCommitChanges: (workspaceId: string,
|
|
126
|
+
gitCommitChanges: (workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
127
|
/**
|
|
120
128
|
* Create branch on git repository
|
|
121
129
|
* @summary Create branch
|
|
122
130
|
* @param {string} workspaceId
|
|
123
|
-
* @param {
|
|
131
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
124
132
|
* @param {*} [options] Override http request option.
|
|
125
133
|
* @throws {RequiredError}
|
|
126
134
|
*/
|
|
127
|
-
gitCreateBranch: (workspaceId: string,
|
|
135
|
+
gitCreateBranch: (workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
136
|
/**
|
|
129
137
|
* Get commit history from git repository
|
|
130
138
|
* @summary Get commit history
|
|
@@ -156,20 +164,20 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
156
164
|
* Pull changes from remote
|
|
157
165
|
* @summary Pull changes
|
|
158
166
|
* @param {string} workspaceId
|
|
159
|
-
* @param {
|
|
167
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
160
168
|
* @param {*} [options] Override http request option.
|
|
161
169
|
* @throws {RequiredError}
|
|
162
170
|
*/
|
|
163
|
-
gitPullChanges: (workspaceId: string,
|
|
171
|
+
gitPullChanges: (workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
164
172
|
/**
|
|
165
173
|
* Push changes to remote
|
|
166
174
|
* @summary Push changes
|
|
167
175
|
* @param {string} workspaceId
|
|
168
|
-
* @param {
|
|
176
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
169
177
|
* @param {*} [options] Override http request option.
|
|
170
178
|
* @throws {RequiredError}
|
|
171
179
|
*/
|
|
172
|
-
gitPushChanges: (workspaceId: string,
|
|
180
|
+
gitPushChanges: (workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
181
|
/**
|
|
174
182
|
*
|
|
175
183
|
* @summary List files
|
|
@@ -193,11 +201,11 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
193
201
|
* Replace text/pattern in multiple files inside workspace
|
|
194
202
|
* @summary Replace in files
|
|
195
203
|
* @param {string} workspaceId
|
|
196
|
-
* @param {
|
|
204
|
+
* @param {ReplaceRequest} replaceRequest
|
|
197
205
|
* @param {*} [options] Override http request option.
|
|
198
206
|
* @throws {RequiredError}
|
|
199
207
|
*/
|
|
200
|
-
replaceInFiles: (workspaceId: string,
|
|
208
|
+
replaceInFiles: (workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
201
209
|
/**
|
|
202
210
|
* Search for files inside workspace
|
|
203
211
|
* @summary Search files
|
|
@@ -263,16 +271,16 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
263
271
|
* @param {*} [options] Override http request option.
|
|
264
272
|
* @throws {RequiredError}
|
|
265
273
|
*/
|
|
266
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
274
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
267
275
|
/**
|
|
268
276
|
* Execute command synchronously inside workspace
|
|
269
277
|
* @summary Execute command
|
|
270
278
|
* @param {string} workspaceId
|
|
271
|
-
* @param {
|
|
279
|
+
* @param {ExecuteRequest} executeRequest
|
|
272
280
|
* @param {*} [options] Override http request option.
|
|
273
281
|
* @throws {RequiredError}
|
|
274
282
|
*/
|
|
275
|
-
executeCommand(workspaceId: string,
|
|
283
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>>;
|
|
276
284
|
/**
|
|
277
285
|
* Search for text/pattern inside workspace files
|
|
278
286
|
* @summary Search for text/pattern in files
|
|
@@ -282,7 +290,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
282
290
|
* @param {*} [options] Override http request option.
|
|
283
291
|
* @throws {RequiredError}
|
|
284
292
|
*/
|
|
285
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
293
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>>;
|
|
286
294
|
/**
|
|
287
295
|
* Get file info inside workspace
|
|
288
296
|
* @summary Get file info
|
|
@@ -291,7 +299,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
291
299
|
* @param {*} [options] Override http request option.
|
|
292
300
|
* @throws {RequiredError}
|
|
293
301
|
*/
|
|
294
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
302
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>>;
|
|
295
303
|
/**
|
|
296
304
|
*
|
|
297
305
|
* @summary Get workspace project dir
|
|
@@ -299,43 +307,43 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
299
307
|
* @param {*} [options] Override http request option.
|
|
300
308
|
* @throws {RequiredError}
|
|
301
309
|
*/
|
|
302
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
310
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>>;
|
|
303
311
|
/**
|
|
304
312
|
* Add files to git commit
|
|
305
313
|
* @summary Add files
|
|
306
314
|
* @param {string} workspaceId
|
|
307
|
-
* @param {
|
|
315
|
+
* @param {GitAddRequest} gitAddRequest
|
|
308
316
|
* @param {*} [options] Override http request option.
|
|
309
317
|
* @throws {RequiredError}
|
|
310
318
|
*/
|
|
311
|
-
gitAddFiles(workspaceId: string,
|
|
319
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
312
320
|
/**
|
|
313
321
|
* Clone git repository
|
|
314
322
|
* @summary Clone repository
|
|
315
323
|
* @param {string} workspaceId
|
|
316
|
-
* @param {
|
|
324
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
317
325
|
* @param {*} [options] Override http request option.
|
|
318
326
|
* @throws {RequiredError}
|
|
319
327
|
*/
|
|
320
|
-
gitCloneRepository(workspaceId: string,
|
|
328
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
321
329
|
/**
|
|
322
330
|
* Commit changes to git repository
|
|
323
331
|
* @summary Commit changes
|
|
324
332
|
* @param {string} workspaceId
|
|
325
|
-
* @param {
|
|
333
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
326
334
|
* @param {*} [options] Override http request option.
|
|
327
335
|
* @throws {RequiredError}
|
|
328
336
|
*/
|
|
329
|
-
gitCommitChanges(workspaceId: string,
|
|
337
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitRequest>>;
|
|
330
338
|
/**
|
|
331
339
|
* Create branch on git repository
|
|
332
340
|
* @summary Create branch
|
|
333
341
|
* @param {string} workspaceId
|
|
334
|
-
* @param {
|
|
342
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
335
343
|
* @param {*} [options] Override http request option.
|
|
336
344
|
* @throws {RequiredError}
|
|
337
345
|
*/
|
|
338
|
-
gitCreateBranch(workspaceId: string,
|
|
346
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
339
347
|
/**
|
|
340
348
|
* Get commit history from git repository
|
|
341
349
|
* @summary Get commit history
|
|
@@ -344,7 +352,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
344
352
|
* @param {*} [options] Override http request option.
|
|
345
353
|
* @throws {RequiredError}
|
|
346
354
|
*/
|
|
347
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
355
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>>;
|
|
348
356
|
/**
|
|
349
357
|
* Get status from git repository
|
|
350
358
|
* @summary Get git status
|
|
@@ -353,7 +361,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
353
361
|
* @param {*} [options] Override http request option.
|
|
354
362
|
* @throws {RequiredError}
|
|
355
363
|
*/
|
|
356
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
364
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>>;
|
|
357
365
|
/**
|
|
358
366
|
* Get branch list from git repository
|
|
359
367
|
* @summary Get branch list
|
|
@@ -362,25 +370,25 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
362
370
|
* @param {*} [options] Override http request option.
|
|
363
371
|
* @throws {RequiredError}
|
|
364
372
|
*/
|
|
365
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
373
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>>;
|
|
366
374
|
/**
|
|
367
375
|
* Pull changes from remote
|
|
368
376
|
* @summary Pull changes
|
|
369
377
|
* @param {string} workspaceId
|
|
370
|
-
* @param {
|
|
378
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
371
379
|
* @param {*} [options] Override http request option.
|
|
372
380
|
* @throws {RequiredError}
|
|
373
381
|
*/
|
|
374
|
-
gitPullChanges(workspaceId: string,
|
|
382
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
375
383
|
/**
|
|
376
384
|
* Push changes to remote
|
|
377
385
|
* @summary Push changes
|
|
378
386
|
* @param {string} workspaceId
|
|
379
|
-
* @param {
|
|
387
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
380
388
|
* @param {*} [options] Override http request option.
|
|
381
389
|
* @throws {RequiredError}
|
|
382
390
|
*/
|
|
383
|
-
gitPushChanges(workspaceId: string,
|
|
391
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
384
392
|
/**
|
|
385
393
|
*
|
|
386
394
|
* @summary List files
|
|
@@ -389,7 +397,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
389
397
|
* @param {*} [options] Override http request option.
|
|
390
398
|
* @throws {RequiredError}
|
|
391
399
|
*/
|
|
392
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
400
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>>;
|
|
393
401
|
/**
|
|
394
402
|
* Move file inside workspace
|
|
395
403
|
* @summary Move file
|
|
@@ -404,11 +412,11 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
404
412
|
* Replace text/pattern in multiple files inside workspace
|
|
405
413
|
* @summary Replace in files
|
|
406
414
|
* @param {string} workspaceId
|
|
407
|
-
* @param {
|
|
415
|
+
* @param {ReplaceRequest} replaceRequest
|
|
408
416
|
* @param {*} [options] Override http request option.
|
|
409
417
|
* @throws {RequiredError}
|
|
410
418
|
*/
|
|
411
|
-
replaceInFiles(workspaceId: string,
|
|
419
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
|
|
412
420
|
/**
|
|
413
421
|
* Search for files inside workspace
|
|
414
422
|
* @summary Search files
|
|
@@ -418,7 +426,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
418
426
|
* @param {*} [options] Override http request option.
|
|
419
427
|
* @throws {RequiredError}
|
|
420
428
|
*/
|
|
421
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
429
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
|
|
422
430
|
/**
|
|
423
431
|
* Set file owner/group/permissions inside workspace
|
|
424
432
|
* @summary Set file permissions
|
|
@@ -474,16 +482,16 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
474
482
|
* @param {*} [options] Override http request option.
|
|
475
483
|
* @throws {RequiredError}
|
|
476
484
|
*/
|
|
477
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
485
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
478
486
|
/**
|
|
479
487
|
* Execute command synchronously inside workspace
|
|
480
488
|
* @summary Execute command
|
|
481
489
|
* @param {string} workspaceId
|
|
482
|
-
* @param {
|
|
490
|
+
* @param {ExecuteRequest} executeRequest
|
|
483
491
|
* @param {*} [options] Override http request option.
|
|
484
492
|
* @throws {RequiredError}
|
|
485
493
|
*/
|
|
486
|
-
executeCommand(workspaceId: string,
|
|
494
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
|
|
487
495
|
/**
|
|
488
496
|
* Search for text/pattern inside workspace files
|
|
489
497
|
* @summary Search for text/pattern in files
|
|
@@ -493,7 +501,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
493
501
|
* @param {*} [options] Override http request option.
|
|
494
502
|
* @throws {RequiredError}
|
|
495
503
|
*/
|
|
496
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
504
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>>;
|
|
497
505
|
/**
|
|
498
506
|
* Get file info inside workspace
|
|
499
507
|
* @summary Get file info
|
|
@@ -502,7 +510,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
502
510
|
* @param {*} [options] Override http request option.
|
|
503
511
|
* @throws {RequiredError}
|
|
504
512
|
*/
|
|
505
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
513
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo>;
|
|
506
514
|
/**
|
|
507
515
|
*
|
|
508
516
|
* @summary Get workspace project dir
|
|
@@ -510,43 +518,43 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
510
518
|
* @param {*} [options] Override http request option.
|
|
511
519
|
* @throws {RequiredError}
|
|
512
520
|
*/
|
|
513
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
521
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse>;
|
|
514
522
|
/**
|
|
515
523
|
* Add files to git commit
|
|
516
524
|
* @summary Add files
|
|
517
525
|
* @param {string} workspaceId
|
|
518
|
-
* @param {
|
|
526
|
+
* @param {GitAddRequest} gitAddRequest
|
|
519
527
|
* @param {*} [options] Override http request option.
|
|
520
528
|
* @throws {RequiredError}
|
|
521
529
|
*/
|
|
522
|
-
gitAddFiles(workspaceId: string,
|
|
530
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
523
531
|
/**
|
|
524
532
|
* Clone git repository
|
|
525
533
|
* @summary Clone repository
|
|
526
534
|
* @param {string} workspaceId
|
|
527
|
-
* @param {
|
|
535
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
528
536
|
* @param {*} [options] Override http request option.
|
|
529
537
|
* @throws {RequiredError}
|
|
530
538
|
*/
|
|
531
|
-
gitCloneRepository(workspaceId: string,
|
|
539
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
532
540
|
/**
|
|
533
541
|
* Commit changes to git repository
|
|
534
542
|
* @summary Commit changes
|
|
535
543
|
* @param {string} workspaceId
|
|
536
|
-
* @param {
|
|
544
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
537
545
|
* @param {*} [options] Override http request option.
|
|
538
546
|
* @throws {RequiredError}
|
|
539
547
|
*/
|
|
540
|
-
gitCommitChanges(workspaceId: string,
|
|
548
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitRequest>;
|
|
541
549
|
/**
|
|
542
550
|
* Create branch on git repository
|
|
543
551
|
* @summary Create branch
|
|
544
552
|
* @param {string} workspaceId
|
|
545
|
-
* @param {
|
|
553
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
546
554
|
* @param {*} [options] Override http request option.
|
|
547
555
|
* @throws {RequiredError}
|
|
548
556
|
*/
|
|
549
|
-
gitCreateBranch(workspaceId: string,
|
|
557
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
550
558
|
/**
|
|
551
559
|
* Get commit history from git repository
|
|
552
560
|
* @summary Get commit history
|
|
@@ -555,7 +563,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
555
563
|
* @param {*} [options] Override http request option.
|
|
556
564
|
* @throws {RequiredError}
|
|
557
565
|
*/
|
|
558
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
566
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>>;
|
|
559
567
|
/**
|
|
560
568
|
* Get status from git repository
|
|
561
569
|
* @summary Get git status
|
|
@@ -564,7 +572,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
564
572
|
* @param {*} [options] Override http request option.
|
|
565
573
|
* @throws {RequiredError}
|
|
566
574
|
*/
|
|
567
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
575
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus>;
|
|
568
576
|
/**
|
|
569
577
|
* Get branch list from git repository
|
|
570
578
|
* @summary Get branch list
|
|
@@ -573,25 +581,25 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
573
581
|
* @param {*} [options] Override http request option.
|
|
574
582
|
* @throws {RequiredError}
|
|
575
583
|
*/
|
|
576
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
584
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse>;
|
|
577
585
|
/**
|
|
578
586
|
* Pull changes from remote
|
|
579
587
|
* @summary Pull changes
|
|
580
588
|
* @param {string} workspaceId
|
|
581
|
-
* @param {
|
|
589
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
582
590
|
* @param {*} [options] Override http request option.
|
|
583
591
|
* @throws {RequiredError}
|
|
584
592
|
*/
|
|
585
|
-
gitPullChanges(workspaceId: string,
|
|
593
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
586
594
|
/**
|
|
587
595
|
* Push changes to remote
|
|
588
596
|
* @summary Push changes
|
|
589
597
|
* @param {string} workspaceId
|
|
590
|
-
* @param {
|
|
598
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
591
599
|
* @param {*} [options] Override http request option.
|
|
592
600
|
* @throws {RequiredError}
|
|
593
601
|
*/
|
|
594
|
-
gitPushChanges(workspaceId: string,
|
|
602
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
595
603
|
/**
|
|
596
604
|
*
|
|
597
605
|
* @summary List files
|
|
@@ -600,7 +608,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
600
608
|
* @param {*} [options] Override http request option.
|
|
601
609
|
* @throws {RequiredError}
|
|
602
610
|
*/
|
|
603
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
611
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>>;
|
|
604
612
|
/**
|
|
605
613
|
* Move file inside workspace
|
|
606
614
|
* @summary Move file
|
|
@@ -615,11 +623,11 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
615
623
|
* Replace text/pattern in multiple files inside workspace
|
|
616
624
|
* @summary Replace in files
|
|
617
625
|
* @param {string} workspaceId
|
|
618
|
-
* @param {
|
|
626
|
+
* @param {ReplaceRequest} replaceRequest
|
|
619
627
|
* @param {*} [options] Override http request option.
|
|
620
628
|
* @throws {RequiredError}
|
|
621
629
|
*/
|
|
622
|
-
replaceInFiles(workspaceId: string,
|
|
630
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
|
|
623
631
|
/**
|
|
624
632
|
* Search for files inside workspace
|
|
625
633
|
* @summary Search files
|
|
@@ -629,7 +637,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
629
637
|
* @param {*} [options] Override http request option.
|
|
630
638
|
* @throws {RequiredError}
|
|
631
639
|
*/
|
|
632
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
640
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse>;
|
|
633
641
|
/**
|
|
634
642
|
* Set file owner/group/permissions inside workspace
|
|
635
643
|
* @summary Set file permissions
|
|
@@ -690,17 +698,17 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
690
698
|
* @throws {RequiredError}
|
|
691
699
|
* @memberof ToolboxApi
|
|
692
700
|
*/
|
|
693
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
701
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
694
702
|
/**
|
|
695
703
|
* Execute command synchronously inside workspace
|
|
696
704
|
* @summary Execute command
|
|
697
705
|
* @param {string} workspaceId
|
|
698
|
-
* @param {
|
|
706
|
+
* @param {ExecuteRequest} executeRequest
|
|
699
707
|
* @param {*} [options] Override http request option.
|
|
700
708
|
* @throws {RequiredError}
|
|
701
709
|
* @memberof ToolboxApi
|
|
702
710
|
*/
|
|
703
|
-
executeCommand(workspaceId: string,
|
|
711
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any>>;
|
|
704
712
|
/**
|
|
705
713
|
* Search for text/pattern inside workspace files
|
|
706
714
|
* @summary Search for text/pattern in files
|
|
@@ -711,7 +719,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
711
719
|
* @throws {RequiredError}
|
|
712
720
|
* @memberof ToolboxApi
|
|
713
721
|
*/
|
|
714
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
722
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Match[], any>>;
|
|
715
723
|
/**
|
|
716
724
|
* Get file info inside workspace
|
|
717
725
|
* @summary Get file info
|
|
@@ -721,7 +729,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
721
729
|
* @throws {RequiredError}
|
|
722
730
|
* @memberof ToolboxApi
|
|
723
731
|
*/
|
|
724
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
732
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo, any>>;
|
|
725
733
|
/**
|
|
726
734
|
*
|
|
727
735
|
* @summary Get workspace project dir
|
|
@@ -730,47 +738,47 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
730
738
|
* @throws {RequiredError}
|
|
731
739
|
* @memberof ToolboxApi
|
|
732
740
|
*/
|
|
733
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
741
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDirResponse, any>>;
|
|
734
742
|
/**
|
|
735
743
|
* Add files to git commit
|
|
736
744
|
* @summary Add files
|
|
737
745
|
* @param {string} workspaceId
|
|
738
|
-
* @param {
|
|
746
|
+
* @param {GitAddRequest} gitAddRequest
|
|
739
747
|
* @param {*} [options] Override http request option.
|
|
740
748
|
* @throws {RequiredError}
|
|
741
749
|
* @memberof ToolboxApi
|
|
742
750
|
*/
|
|
743
|
-
gitAddFiles(workspaceId: string,
|
|
751
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
744
752
|
/**
|
|
745
753
|
* Clone git repository
|
|
746
754
|
* @summary Clone repository
|
|
747
755
|
* @param {string} workspaceId
|
|
748
|
-
* @param {
|
|
756
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
749
757
|
* @param {*} [options] Override http request option.
|
|
750
758
|
* @throws {RequiredError}
|
|
751
759
|
* @memberof ToolboxApi
|
|
752
760
|
*/
|
|
753
|
-
gitCloneRepository(workspaceId: string,
|
|
761
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
754
762
|
/**
|
|
755
763
|
* Commit changes to git repository
|
|
756
764
|
* @summary Commit changes
|
|
757
765
|
* @param {string} workspaceId
|
|
758
|
-
* @param {
|
|
766
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
759
767
|
* @param {*} [options] Override http request option.
|
|
760
768
|
* @throws {RequiredError}
|
|
761
769
|
* @memberof ToolboxApi
|
|
762
770
|
*/
|
|
763
|
-
gitCommitChanges(workspaceId: string,
|
|
771
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitRequest, any>>;
|
|
764
772
|
/**
|
|
765
773
|
* Create branch on git repository
|
|
766
774
|
* @summary Create branch
|
|
767
775
|
* @param {string} workspaceId
|
|
768
|
-
* @param {
|
|
776
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
769
777
|
* @param {*} [options] Override http request option.
|
|
770
778
|
* @throws {RequiredError}
|
|
771
779
|
* @memberof ToolboxApi
|
|
772
780
|
*/
|
|
773
|
-
gitCreateBranch(workspaceId: string,
|
|
781
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
774
782
|
/**
|
|
775
783
|
* Get commit history from git repository
|
|
776
784
|
* @summary Get commit history
|
|
@@ -780,7 +788,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
780
788
|
* @throws {RequiredError}
|
|
781
789
|
* @memberof ToolboxApi
|
|
782
790
|
*/
|
|
783
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
791
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitInfo[], any>>;
|
|
784
792
|
/**
|
|
785
793
|
* Get status from git repository
|
|
786
794
|
* @summary Get git status
|
|
@@ -790,7 +798,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
790
798
|
* @throws {RequiredError}
|
|
791
799
|
* @memberof ToolboxApi
|
|
792
800
|
*/
|
|
793
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
801
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitStatus, any>>;
|
|
794
802
|
/**
|
|
795
803
|
* Get branch list from git repository
|
|
796
804
|
* @summary Get branch list
|
|
@@ -800,27 +808,27 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
800
808
|
* @throws {RequiredError}
|
|
801
809
|
* @memberof ToolboxApi
|
|
802
810
|
*/
|
|
803
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
811
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBranchResponse, any>>;
|
|
804
812
|
/**
|
|
805
813
|
* Pull changes from remote
|
|
806
814
|
* @summary Pull changes
|
|
807
815
|
* @param {string} workspaceId
|
|
808
|
-
* @param {
|
|
816
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
809
817
|
* @param {*} [options] Override http request option.
|
|
810
818
|
* @throws {RequiredError}
|
|
811
819
|
* @memberof ToolboxApi
|
|
812
820
|
*/
|
|
813
|
-
gitPullChanges(workspaceId: string,
|
|
821
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
814
822
|
/**
|
|
815
823
|
* Push changes to remote
|
|
816
824
|
* @summary Push changes
|
|
817
825
|
* @param {string} workspaceId
|
|
818
|
-
* @param {
|
|
826
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
819
827
|
* @param {*} [options] Override http request option.
|
|
820
828
|
* @throws {RequiredError}
|
|
821
829
|
* @memberof ToolboxApi
|
|
822
830
|
*/
|
|
823
|
-
gitPushChanges(workspaceId: string,
|
|
831
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
824
832
|
/**
|
|
825
833
|
*
|
|
826
834
|
* @summary List files
|
|
@@ -830,7 +838,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
830
838
|
* @throws {RequiredError}
|
|
831
839
|
* @memberof ToolboxApi
|
|
832
840
|
*/
|
|
833
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
841
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo[], any>>;
|
|
834
842
|
/**
|
|
835
843
|
* Move file inside workspace
|
|
836
844
|
* @summary Move file
|
|
@@ -846,12 +854,12 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
846
854
|
* Replace text/pattern in multiple files inside workspace
|
|
847
855
|
* @summary Replace in files
|
|
848
856
|
* @param {string} workspaceId
|
|
849
|
-
* @param {
|
|
857
|
+
* @param {ReplaceRequest} replaceRequest
|
|
850
858
|
* @param {*} [options] Override http request option.
|
|
851
859
|
* @throws {RequiredError}
|
|
852
860
|
* @memberof ToolboxApi
|
|
853
861
|
*/
|
|
854
|
-
replaceInFiles(workspaceId: string,
|
|
862
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any>>;
|
|
855
863
|
/**
|
|
856
864
|
* Search for files inside workspace
|
|
857
865
|
* @summary Search files
|
|
@@ -862,7 +870,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
862
870
|
* @throws {RequiredError}
|
|
863
871
|
* @memberof ToolboxApi
|
|
864
872
|
*/
|
|
865
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
873
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchFilesResponse, any>>;
|
|
866
874
|
/**
|
|
867
875
|
* Set file owner/group/permissions inside workspace
|
|
868
876
|
* @summary Set file permissions
|