@daytonaio/api-client 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/README.md +2 -2
- package/api/toolbox-api.ts +40 -22
- package/dist/api/toolbox-api.d.ts +42 -33
- package/dist/esm/api/toolbox-api.d.ts +42 -33
- package/dist/esm/models/file-info.d.ts +66 -0
- package/dist/esm/models/file-info.js +14 -0
- package/dist/esm/models/file-status.d.ts +42 -0
- package/dist/esm/models/file-status.js +14 -0
- package/dist/esm/models/git-commit-info.d.ts +48 -0
- package/dist/esm/models/git-commit-info.js +14 -0
- package/dist/esm/models/git-commit-response.d.ts +24 -0
- package/dist/esm/models/git-commit-response.js +14 -0
- 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 +10 -0
- package/dist/esm/models/index.js +10 -0
- 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-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/models/file-info.d.ts +66 -0
- package/dist/models/file-info.js +15 -0
- package/dist/models/file-status.d.ts +42 -0
- package/dist/models/file-status.js +15 -0
- package/dist/models/git-commit-info.d.ts +48 -0
- package/dist/models/git-commit-info.js +15 -0
- package/dist/models/git-commit-response.d.ts +24 -0
- package/dist/models/git-commit-response.js +15 -0
- package/dist/models/git-status.d.ts +49 -0
- package/dist/models/git-status.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- 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-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/models/file-info.ts +72 -0
- package/models/file-status.ts +48 -0
- package/models/git-commit-info.ts +54 -0
- package/models/git-commit-response.ts +30 -0
- package/models/git-status.ts +57 -0
- package/models/index.ts +10 -0
- 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-result.ts +42 -0
- package/models/search-files-response.ts +30 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -24,13 +24,23 @@ models/create-user.ts
|
|
|
24
24
|
models/create-workspace.ts
|
|
25
25
|
models/execute-request.ts
|
|
26
26
|
models/execute-response.ts
|
|
27
|
+
models/file-info.ts
|
|
28
|
+
models/file-status.ts
|
|
27
29
|
models/git-add-request.ts
|
|
28
30
|
models/git-branch-request.ts
|
|
29
31
|
models/git-clone-request.ts
|
|
32
|
+
models/git-commit-info.ts
|
|
30
33
|
models/git-commit-request.ts
|
|
34
|
+
models/git-commit-response.ts
|
|
31
35
|
models/git-repo-request.ts
|
|
36
|
+
models/git-status.ts
|
|
32
37
|
models/index.ts
|
|
38
|
+
models/list-branch-response.ts
|
|
39
|
+
models/match.ts
|
|
40
|
+
models/project-dir-response.ts
|
|
33
41
|
models/replace-request.ts
|
|
42
|
+
models/replace-result.ts
|
|
43
|
+
models/search-files-response.ts
|
|
34
44
|
models/update-docker-registry.ts
|
|
35
45
|
models/workspace-info.ts
|
|
36
46
|
models/workspace-labels.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @daytonaio/api-client@0.6.
|
|
1
|
+
## @daytonaio/api-client@0.6.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @daytonaio/api-client@0.6.
|
|
39
|
+
npm install @daytonaio/api-client@0.6.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api/toolbox-api.ts
CHANGED
|
@@ -26,17 +26,35 @@ import type { ExecuteRequest } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { ExecuteResponse } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
+
import type { FileInfo } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
29
31
|
import type { GitAddRequest } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import type { GitBranchRequest } from '../models';
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import type { GitCloneRequest } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
37
|
+
import type { GitCommitInfo } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
35
39
|
import type { GitCommitRequest } from '../models';
|
|
36
40
|
// @ts-ignore
|
|
41
|
+
import type { GitCommitResponse } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
37
43
|
import type { GitRepoRequest } from '../models';
|
|
38
44
|
// @ts-ignore
|
|
45
|
+
import type { GitStatus } from '../models';
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
import type { ListBranchResponse } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
import type { Match } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { ProjectDirResponse } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
39
53
|
import type { ReplaceRequest } from '../models';
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
import type { ReplaceResult } from '../models';
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
import type { SearchFilesResponse } from '../models';
|
|
40
58
|
/**
|
|
41
59
|
* ToolboxApi - axios parameter creator
|
|
42
60
|
* @export
|
|
@@ -1121,7 +1139,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1121
1139
|
* @param {*} [options] Override http request option.
|
|
1122
1140
|
* @throws {RequiredError}
|
|
1123
1141
|
*/
|
|
1124
|
-
async downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1142
|
+
async downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1125
1143
|
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, options);
|
|
1126
1144
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1127
1145
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1150,7 +1168,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1150
1168
|
* @param {*} [options] Override http request option.
|
|
1151
1169
|
* @throws {RequiredError}
|
|
1152
1170
|
*/
|
|
1153
|
-
async findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1171
|
+
async findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>> {
|
|
1154
1172
|
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, options);
|
|
1155
1173
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1156
1174
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.findInFiles']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1164,7 +1182,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1164
1182
|
* @param {*} [options] Override http request option.
|
|
1165
1183
|
* @throws {RequiredError}
|
|
1166
1184
|
*/
|
|
1167
|
-
async getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1185
|
+
async getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>> {
|
|
1168
1186
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, options);
|
|
1169
1187
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1170
1188
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getFileInfo']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1177,7 +1195,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1177
1195
|
* @param {*} [options] Override http request option.
|
|
1178
1196
|
* @throws {RequiredError}
|
|
1179
1197
|
*/
|
|
1180
|
-
async getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1198
|
+
async getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>> {
|
|
1181
1199
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, options);
|
|
1182
1200
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1183
1201
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getProjectDir']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1219,7 +1237,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1219
1237
|
* @param {*} [options] Override http request option.
|
|
1220
1238
|
* @throws {RequiredError}
|
|
1221
1239
|
*/
|
|
1222
|
-
async gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1240
|
+
async gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitResponse>> {
|
|
1223
1241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, options);
|
|
1224
1242
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1225
1243
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitCommitChanges']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1247,7 +1265,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1247
1265
|
* @param {*} [options] Override http request option.
|
|
1248
1266
|
* @throws {RequiredError}
|
|
1249
1267
|
*/
|
|
1250
|
-
async gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1268
|
+
async gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>> {
|
|
1251
1269
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, options);
|
|
1252
1270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1253
1271
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitGetHistory']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1261,7 +1279,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1261
1279
|
* @param {*} [options] Override http request option.
|
|
1262
1280
|
* @throws {RequiredError}
|
|
1263
1281
|
*/
|
|
1264
|
-
async gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1282
|
+
async gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>> {
|
|
1265
1283
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, options);
|
|
1266
1284
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1267
1285
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitGetStatus']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1275,7 +1293,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1275
1293
|
* @param {*} [options] Override http request option.
|
|
1276
1294
|
* @throws {RequiredError}
|
|
1277
1295
|
*/
|
|
1278
|
-
async gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1296
|
+
async gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>> {
|
|
1279
1297
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, options);
|
|
1280
1298
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1281
1299
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitListBranches']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1317,7 +1335,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1317
1335
|
* @param {*} [options] Override http request option.
|
|
1318
1336
|
* @throws {RequiredError}
|
|
1319
1337
|
*/
|
|
1320
|
-
async listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1338
|
+
async listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>> {
|
|
1321
1339
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, path, options);
|
|
1322
1340
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1323
1341
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.listFiles']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1346,7 +1364,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1346
1364
|
* @param {*} [options] Override http request option.
|
|
1347
1365
|
* @throws {RequiredError}
|
|
1348
1366
|
*/
|
|
1349
|
-
async replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1367
|
+
async replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>> {
|
|
1350
1368
|
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, options);
|
|
1351
1369
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1352
1370
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.replaceInFiles']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1361,7 +1379,7 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1361
1379
|
* @param {*} [options] Override http request option.
|
|
1362
1380
|
* @throws {RequiredError}
|
|
1363
1381
|
*/
|
|
1364
|
-
async searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1382
|
+
async searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>> {
|
|
1365
1383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, options);
|
|
1366
1384
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1367
1385
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.searchFiles']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1440,7 +1458,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1440
1458
|
* @param {*} [options] Override http request option.
|
|
1441
1459
|
* @throws {RequiredError}
|
|
1442
1460
|
*/
|
|
1443
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1461
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1444
1462
|
return localVarFp.downloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1445
1463
|
},
|
|
1446
1464
|
/**
|
|
@@ -1463,7 +1481,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1463
1481
|
* @param {*} [options] Override http request option.
|
|
1464
1482
|
* @throws {RequiredError}
|
|
1465
1483
|
*/
|
|
1466
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1484
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>> {
|
|
1467
1485
|
return localVarFp.findInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
1468
1486
|
},
|
|
1469
1487
|
/**
|
|
@@ -1474,7 +1492,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1474
1492
|
* @param {*} [options] Override http request option.
|
|
1475
1493
|
* @throws {RequiredError}
|
|
1476
1494
|
*/
|
|
1477
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1495
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo> {
|
|
1478
1496
|
return localVarFp.getFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1479
1497
|
},
|
|
1480
1498
|
/**
|
|
@@ -1484,7 +1502,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1484
1502
|
* @param {*} [options] Override http request option.
|
|
1485
1503
|
* @throws {RequiredError}
|
|
1486
1504
|
*/
|
|
1487
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1505
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse> {
|
|
1488
1506
|
return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
|
|
1489
1507
|
},
|
|
1490
1508
|
/**
|
|
@@ -1517,7 +1535,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1517
1535
|
* @param {*} [options] Override http request option.
|
|
1518
1536
|
* @throws {RequiredError}
|
|
1519
1537
|
*/
|
|
1520
|
-
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1538
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitResponse> {
|
|
1521
1539
|
return localVarFp.gitCommitChanges(workspaceId, gitCommitRequest, options).then((request) => request(axios, basePath));
|
|
1522
1540
|
},
|
|
1523
1541
|
/**
|
|
@@ -1539,7 +1557,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1539
1557
|
* @param {*} [options] Override http request option.
|
|
1540
1558
|
* @throws {RequiredError}
|
|
1541
1559
|
*/
|
|
1542
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1560
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>> {
|
|
1543
1561
|
return localVarFp.gitGetHistory(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1544
1562
|
},
|
|
1545
1563
|
/**
|
|
@@ -1550,7 +1568,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1550
1568
|
* @param {*} [options] Override http request option.
|
|
1551
1569
|
* @throws {RequiredError}
|
|
1552
1570
|
*/
|
|
1553
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1571
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus> {
|
|
1554
1572
|
return localVarFp.gitGetStatus(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1555
1573
|
},
|
|
1556
1574
|
/**
|
|
@@ -1561,7 +1579,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1561
1579
|
* @param {*} [options] Override http request option.
|
|
1562
1580
|
* @throws {RequiredError}
|
|
1563
1581
|
*/
|
|
1564
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1582
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse> {
|
|
1565
1583
|
return localVarFp.gitListBranches(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1566
1584
|
},
|
|
1567
1585
|
/**
|
|
@@ -1594,7 +1612,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1594
1612
|
* @param {*} [options] Override http request option.
|
|
1595
1613
|
* @throws {RequiredError}
|
|
1596
1614
|
*/
|
|
1597
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1615
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>> {
|
|
1598
1616
|
return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
1599
1617
|
},
|
|
1600
1618
|
/**
|
|
@@ -1617,7 +1635,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1617
1635
|
* @param {*} [options] Override http request option.
|
|
1618
1636
|
* @throws {RequiredError}
|
|
1619
1637
|
*/
|
|
1620
|
-
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1638
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>> {
|
|
1621
1639
|
return localVarFp.replaceInFiles(workspaceId, replaceRequest, options).then((request) => request(axios, basePath));
|
|
1622
1640
|
},
|
|
1623
1641
|
/**
|
|
@@ -1629,7 +1647,7 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
1629
1647
|
* @param {*} [options] Override http request option.
|
|
1630
1648
|
* @throws {RequiredError}
|
|
1631
1649
|
*/
|
|
1632
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1650
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse> {
|
|
1633
1651
|
return localVarFp.searchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
1634
1652
|
},
|
|
1635
1653
|
/**
|
|
@@ -14,12 +14,21 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { ExecuteRequest } from '../models';
|
|
16
16
|
import type { ExecuteResponse } from '../models';
|
|
17
|
+
import type { FileInfo } from '../models';
|
|
17
18
|
import type { GitAddRequest } from '../models';
|
|
18
19
|
import type { GitBranchRequest } from '../models';
|
|
19
20
|
import type { GitCloneRequest } from '../models';
|
|
21
|
+
import type { GitCommitInfo } from '../models';
|
|
20
22
|
import type { GitCommitRequest } from '../models';
|
|
23
|
+
import type { GitCommitResponse } from '../models';
|
|
21
24
|
import type { GitRepoRequest } from '../models';
|
|
25
|
+
import type { GitStatus } from '../models';
|
|
26
|
+
import type { ListBranchResponse } from '../models';
|
|
27
|
+
import type { Match } from '../models';
|
|
28
|
+
import type { ProjectDirResponse } from '../models';
|
|
22
29
|
import type { ReplaceRequest } from '../models';
|
|
30
|
+
import type { ReplaceResult } from '../models';
|
|
31
|
+
import type { SearchFilesResponse } from '../models';
|
|
23
32
|
/**
|
|
24
33
|
* ToolboxApi - axios parameter creator
|
|
25
34
|
* @export
|
|
@@ -263,7 +272,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
263
272
|
* @param {*} [options] Override http request option.
|
|
264
273
|
* @throws {RequiredError}
|
|
265
274
|
*/
|
|
266
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
275
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
267
276
|
/**
|
|
268
277
|
* Execute command synchronously inside workspace
|
|
269
278
|
* @summary Execute command
|
|
@@ -282,7 +291,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
282
291
|
* @param {*} [options] Override http request option.
|
|
283
292
|
* @throws {RequiredError}
|
|
284
293
|
*/
|
|
285
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
294
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>>;
|
|
286
295
|
/**
|
|
287
296
|
* Get file info inside workspace
|
|
288
297
|
* @summary Get file info
|
|
@@ -291,7 +300,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
291
300
|
* @param {*} [options] Override http request option.
|
|
292
301
|
* @throws {RequiredError}
|
|
293
302
|
*/
|
|
294
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
303
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>>;
|
|
295
304
|
/**
|
|
296
305
|
*
|
|
297
306
|
* @summary Get workspace project dir
|
|
@@ -299,7 +308,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
299
308
|
* @param {*} [options] Override http request option.
|
|
300
309
|
* @throws {RequiredError}
|
|
301
310
|
*/
|
|
302
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
311
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>>;
|
|
303
312
|
/**
|
|
304
313
|
* Add files to git commit
|
|
305
314
|
* @summary Add files
|
|
@@ -326,7 +335,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
326
335
|
* @param {*} [options] Override http request option.
|
|
327
336
|
* @throws {RequiredError}
|
|
328
337
|
*/
|
|
329
|
-
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
338
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitResponse>>;
|
|
330
339
|
/**
|
|
331
340
|
* Create branch on git repository
|
|
332
341
|
* @summary Create branch
|
|
@@ -344,7 +353,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
344
353
|
* @param {*} [options] Override http request option.
|
|
345
354
|
* @throws {RequiredError}
|
|
346
355
|
*/
|
|
347
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
356
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>>;
|
|
348
357
|
/**
|
|
349
358
|
* Get status from git repository
|
|
350
359
|
* @summary Get git status
|
|
@@ -353,7 +362,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
353
362
|
* @param {*} [options] Override http request option.
|
|
354
363
|
* @throws {RequiredError}
|
|
355
364
|
*/
|
|
356
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
365
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>>;
|
|
357
366
|
/**
|
|
358
367
|
* Get branch list from git repository
|
|
359
368
|
* @summary Get branch list
|
|
@@ -362,7 +371,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
362
371
|
* @param {*} [options] Override http request option.
|
|
363
372
|
* @throws {RequiredError}
|
|
364
373
|
*/
|
|
365
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
374
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>>;
|
|
366
375
|
/**
|
|
367
376
|
* Pull changes from remote
|
|
368
377
|
* @summary Pull changes
|
|
@@ -389,7 +398,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
389
398
|
* @param {*} [options] Override http request option.
|
|
390
399
|
* @throws {RequiredError}
|
|
391
400
|
*/
|
|
392
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
401
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>>;
|
|
393
402
|
/**
|
|
394
403
|
* Move file inside workspace
|
|
395
404
|
* @summary Move file
|
|
@@ -408,7 +417,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
408
417
|
* @param {*} [options] Override http request option.
|
|
409
418
|
* @throws {RequiredError}
|
|
410
419
|
*/
|
|
411
|
-
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
420
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>>;
|
|
412
421
|
/**
|
|
413
422
|
* Search for files inside workspace
|
|
414
423
|
* @summary Search files
|
|
@@ -418,7 +427,7 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
418
427
|
* @param {*} [options] Override http request option.
|
|
419
428
|
* @throws {RequiredError}
|
|
420
429
|
*/
|
|
421
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
430
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
|
|
422
431
|
/**
|
|
423
432
|
* Set file owner/group/permissions inside workspace
|
|
424
433
|
* @summary Set file permissions
|
|
@@ -474,7 +483,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
474
483
|
* @param {*} [options] Override http request option.
|
|
475
484
|
* @throws {RequiredError}
|
|
476
485
|
*/
|
|
477
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
486
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
478
487
|
/**
|
|
479
488
|
* Execute command synchronously inside workspace
|
|
480
489
|
* @summary Execute command
|
|
@@ -493,7 +502,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
493
502
|
* @param {*} [options] Override http request option.
|
|
494
503
|
* @throws {RequiredError}
|
|
495
504
|
*/
|
|
496
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
505
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>>;
|
|
497
506
|
/**
|
|
498
507
|
* Get file info inside workspace
|
|
499
508
|
* @summary Get file info
|
|
@@ -502,7 +511,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
502
511
|
* @param {*} [options] Override http request option.
|
|
503
512
|
* @throws {RequiredError}
|
|
504
513
|
*/
|
|
505
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
514
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo>;
|
|
506
515
|
/**
|
|
507
516
|
*
|
|
508
517
|
* @summary Get workspace project dir
|
|
@@ -510,7 +519,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
510
519
|
* @param {*} [options] Override http request option.
|
|
511
520
|
* @throws {RequiredError}
|
|
512
521
|
*/
|
|
513
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
522
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse>;
|
|
514
523
|
/**
|
|
515
524
|
* Add files to git commit
|
|
516
525
|
* @summary Add files
|
|
@@ -537,7 +546,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
537
546
|
* @param {*} [options] Override http request option.
|
|
538
547
|
* @throws {RequiredError}
|
|
539
548
|
*/
|
|
540
|
-
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
549
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitResponse>;
|
|
541
550
|
/**
|
|
542
551
|
* Create branch on git repository
|
|
543
552
|
* @summary Create branch
|
|
@@ -555,7 +564,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
555
564
|
* @param {*} [options] Override http request option.
|
|
556
565
|
* @throws {RequiredError}
|
|
557
566
|
*/
|
|
558
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
567
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>>;
|
|
559
568
|
/**
|
|
560
569
|
* Get status from git repository
|
|
561
570
|
* @summary Get git status
|
|
@@ -564,7 +573,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
564
573
|
* @param {*} [options] Override http request option.
|
|
565
574
|
* @throws {RequiredError}
|
|
566
575
|
*/
|
|
567
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
576
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus>;
|
|
568
577
|
/**
|
|
569
578
|
* Get branch list from git repository
|
|
570
579
|
* @summary Get branch list
|
|
@@ -573,7 +582,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
573
582
|
* @param {*} [options] Override http request option.
|
|
574
583
|
* @throws {RequiredError}
|
|
575
584
|
*/
|
|
576
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
585
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse>;
|
|
577
586
|
/**
|
|
578
587
|
* Pull changes from remote
|
|
579
588
|
* @summary Pull changes
|
|
@@ -600,7 +609,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
600
609
|
* @param {*} [options] Override http request option.
|
|
601
610
|
* @throws {RequiredError}
|
|
602
611
|
*/
|
|
603
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
612
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>>;
|
|
604
613
|
/**
|
|
605
614
|
* Move file inside workspace
|
|
606
615
|
* @summary Move file
|
|
@@ -619,7 +628,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
619
628
|
* @param {*} [options] Override http request option.
|
|
620
629
|
* @throws {RequiredError}
|
|
621
630
|
*/
|
|
622
|
-
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
631
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>>;
|
|
623
632
|
/**
|
|
624
633
|
* Search for files inside workspace
|
|
625
634
|
* @summary Search files
|
|
@@ -629,7 +638,7 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
629
638
|
* @param {*} [options] Override http request option.
|
|
630
639
|
* @throws {RequiredError}
|
|
631
640
|
*/
|
|
632
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
641
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse>;
|
|
633
642
|
/**
|
|
634
643
|
* Set file owner/group/permissions inside workspace
|
|
635
644
|
* @summary Set file permissions
|
|
@@ -690,7 +699,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
690
699
|
* @throws {RequiredError}
|
|
691
700
|
* @memberof ToolboxApi
|
|
692
701
|
*/
|
|
693
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
702
|
+
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
694
703
|
/**
|
|
695
704
|
* Execute command synchronously inside workspace
|
|
696
705
|
* @summary Execute command
|
|
@@ -711,7 +720,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
711
720
|
* @throws {RequiredError}
|
|
712
721
|
* @memberof ToolboxApi
|
|
713
722
|
*/
|
|
714
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
723
|
+
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Match[], any>>;
|
|
715
724
|
/**
|
|
716
725
|
* Get file info inside workspace
|
|
717
726
|
* @summary Get file info
|
|
@@ -721,7 +730,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
721
730
|
* @throws {RequiredError}
|
|
722
731
|
* @memberof ToolboxApi
|
|
723
732
|
*/
|
|
724
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
733
|
+
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo, any>>;
|
|
725
734
|
/**
|
|
726
735
|
*
|
|
727
736
|
* @summary Get workspace project dir
|
|
@@ -730,7 +739,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
730
739
|
* @throws {RequiredError}
|
|
731
740
|
* @memberof ToolboxApi
|
|
732
741
|
*/
|
|
733
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
742
|
+
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDirResponse, any>>;
|
|
734
743
|
/**
|
|
735
744
|
* Add files to git commit
|
|
736
745
|
* @summary Add files
|
|
@@ -760,7 +769,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
760
769
|
* @throws {RequiredError}
|
|
761
770
|
* @memberof ToolboxApi
|
|
762
771
|
*/
|
|
763
|
-
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
772
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitResponse, any>>;
|
|
764
773
|
/**
|
|
765
774
|
* Create branch on git repository
|
|
766
775
|
* @summary Create branch
|
|
@@ -780,7 +789,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
780
789
|
* @throws {RequiredError}
|
|
781
790
|
* @memberof ToolboxApi
|
|
782
791
|
*/
|
|
783
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
792
|
+
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitCommitInfo[], any>>;
|
|
784
793
|
/**
|
|
785
794
|
* Get status from git repository
|
|
786
795
|
* @summary Get git status
|
|
@@ -790,7 +799,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
790
799
|
* @throws {RequiredError}
|
|
791
800
|
* @memberof ToolboxApi
|
|
792
801
|
*/
|
|
793
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
802
|
+
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitStatus, any>>;
|
|
794
803
|
/**
|
|
795
804
|
* Get branch list from git repository
|
|
796
805
|
* @summary Get branch list
|
|
@@ -800,7 +809,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
800
809
|
* @throws {RequiredError}
|
|
801
810
|
* @memberof ToolboxApi
|
|
802
811
|
*/
|
|
803
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
812
|
+
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBranchResponse, any>>;
|
|
804
813
|
/**
|
|
805
814
|
* Pull changes from remote
|
|
806
815
|
* @summary Pull changes
|
|
@@ -830,7 +839,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
830
839
|
* @throws {RequiredError}
|
|
831
840
|
* @memberof ToolboxApi
|
|
832
841
|
*/
|
|
833
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
842
|
+
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileInfo[], any>>;
|
|
834
843
|
/**
|
|
835
844
|
* Move file inside workspace
|
|
836
845
|
* @summary Move file
|
|
@@ -851,7 +860,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
851
860
|
* @throws {RequiredError}
|
|
852
861
|
* @memberof ToolboxApi
|
|
853
862
|
*/
|
|
854
|
-
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
863
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplaceResult[], any>>;
|
|
855
864
|
/**
|
|
856
865
|
* Search for files inside workspace
|
|
857
866
|
* @summary Search files
|
|
@@ -862,7 +871,7 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
862
871
|
* @throws {RequiredError}
|
|
863
872
|
* @memberof ToolboxApi
|
|
864
873
|
*/
|
|
865
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
874
|
+
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchFilesResponse, any>>;
|
|
866
875
|
/**
|
|
867
876
|
* Set file owner/group/permissions inside workspace
|
|
868
877
|
* @summary Set file permissions
|