@daytonaio/api-client 0.2.3 → 0.3.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/README.md +2 -2
- package/api/default-api.ts +254 -560
- package/dist/api/default-api.d.ts +144 -298
- package/dist/api/default-api.js +272 -570
- package/dist/api/docker-registry-api.js +6 -6
- package/dist/esm/api/default-api.d.ts +144 -298
- package/dist/esm/api/default-api.js +272 -570
- package/dist/esm/api/docker-registry-api.js +6 -6
- package/dist/esm/models/create-workspace-dto.d.ts +24 -0
- package/dist/esm/models/workspace-dto.d.ts +24 -0
- package/dist/models/create-workspace-dto.d.ts +24 -0
- package/dist/models/workspace-dto.d.ts +24 -0
- package/models/create-workspace-dto.ts +24 -0
- package/models/workspace-dto.ts +24 -0
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
74
74
|
*/
|
|
75
|
-
apiKeyControllerDeleteApiKey: (name_1, ...
|
|
75
|
+
apiKeyControllerDeleteApiKey: (name_1, ...args_2) => __awaiter(this, [name_1, ...args_2], void 0, function* (name, options = {}) {
|
|
76
76
|
// verify required parameter 'name' is not null or undefined
|
|
77
77
|
assertParamExists('apiKeyControllerDeleteApiKey', 'name', name);
|
|
78
78
|
const localVarPath = `/api-keys/{name}`
|
|
@@ -104,7 +104,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
apiKeyControllerGetApiKey: (
|
|
107
|
+
apiKeyControllerGetApiKey: (name_2, ...args_3) => __awaiter(this, [name_2, ...args_3], void 0, function* (name, options = {}) {
|
|
108
108
|
// verify required parameter 'name' is not null or undefined
|
|
109
109
|
assertParamExists('apiKeyControllerGetApiKey', 'name', name);
|
|
110
110
|
const localVarPath = `/api-keys/{name}`
|
|
@@ -135,7 +135,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
apiKeyControllerGetApiKeys: (...
|
|
138
|
+
apiKeyControllerGetApiKeys: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
|
|
139
139
|
const localVarPath = `/api-keys`;
|
|
140
140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -162,7 +162,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
162
162
|
* @param {*} [options] Override http request option.
|
|
163
163
|
* @throws {RequiredError}
|
|
164
164
|
*/
|
|
165
|
-
appControllerGetHello: (...
|
|
165
|
+
appControllerGetHello: (...args_5) => __awaiter(this, [...args_5], void 0, function* (options = {}) {
|
|
166
166
|
const localVarPath = `/`;
|
|
167
167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
168
168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -187,7 +187,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
nodeControllerCreate: (body_1, ...
|
|
190
|
+
nodeControllerCreate: (body_1, ...args_6) => __awaiter(this, [body_1, ...args_6], void 0, function* (body, options = {}) {
|
|
191
191
|
// verify required parameter 'body' is not null or undefined
|
|
192
192
|
assertParamExists('nodeControllerCreate', 'body', body);
|
|
193
193
|
const localVarPath = `/nodes`;
|
|
@@ -218,7 +218,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
219
219
|
* @throws {RequiredError}
|
|
220
220
|
*/
|
|
221
|
-
nodeControllerFindAll: (...
|
|
221
|
+
nodeControllerFindAll: (...args_7) => __awaiter(this, [...args_7], void 0, function* (options = {}) {
|
|
222
222
|
const localVarPath = `/nodes`;
|
|
223
223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
224
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -246,7 +246,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
*/
|
|
249
|
-
nodeControllerUpdateSchedulingStatus: (id_1, ...
|
|
249
|
+
nodeControllerUpdateSchedulingStatus: (id_1, ...args_8) => __awaiter(this, [id_1, ...args_8], void 0, function* (id, options = {}) {
|
|
250
250
|
// verify required parameter 'id' is not null or undefined
|
|
251
251
|
assertParamExists('nodeControllerUpdateSchedulingStatus', 'id', id);
|
|
252
252
|
const localVarPath = `/nodes/{id}/scheduling`
|
|
@@ -277,7 +277,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
277
277
|
* @param {*} [options] Override http request option.
|
|
278
278
|
* @throws {RequiredError}
|
|
279
279
|
*/
|
|
280
|
-
userControllerCreate: (
|
|
280
|
+
userControllerCreate: (body_2, ...args_9) => __awaiter(this, [body_2, ...args_9], void 0, function* (body, options = {}) {
|
|
281
281
|
// verify required parameter 'body' is not null or undefined
|
|
282
282
|
assertParamExists('userControllerCreate', 'body', body);
|
|
283
283
|
const localVarPath = `/users`;
|
|
@@ -308,7 +308,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
*/
|
|
311
|
-
userControllerFindAll: (...
|
|
311
|
+
userControllerFindAll: (...args_10) => __awaiter(this, [...args_10], void 0, function* (options = {}) {
|
|
312
312
|
const localVarPath = `/users`;
|
|
313
313
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
314
314
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -336,7 +336,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
338
338
|
*/
|
|
339
|
-
userControllerRegenerateKeyPair: (
|
|
339
|
+
userControllerRegenerateKeyPair: (id_2, ...args_11) => __awaiter(this, [id_2, ...args_11], void 0, function* (id, options = {}) {
|
|
340
340
|
// verify required parameter 'id' is not null or undefined
|
|
341
341
|
assertParamExists('userControllerRegenerateKeyPair', 'id', id);
|
|
342
342
|
const localVarPath = `/users/{id}/regenerate-key-pair`
|
|
@@ -362,27 +362,23 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
362
362
|
};
|
|
363
363
|
}),
|
|
364
364
|
/**
|
|
365
|
-
* Create folder inside workspace
|
|
365
|
+
* Create folder inside workspace
|
|
366
366
|
* @summary Create folder
|
|
367
367
|
* @param {string} workspaceId
|
|
368
|
-
* @param {string} projectId
|
|
369
368
|
* @param {string} path
|
|
370
369
|
* @param {string} mode
|
|
371
370
|
* @param {*} [options] Override http request option.
|
|
372
371
|
* @throws {RequiredError}
|
|
373
372
|
*/
|
|
374
|
-
workspaceControllerCreateFolder: (workspaceId_1,
|
|
373
|
+
workspaceControllerCreateFolder: (workspaceId_1, path_1, mode_1, ...args_12) => __awaiter(this, [workspaceId_1, path_1, mode_1, ...args_12], void 0, function* (workspaceId, path, mode, options = {}) {
|
|
375
374
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
376
375
|
assertParamExists('workspaceControllerCreateFolder', 'workspaceId', workspaceId);
|
|
377
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
378
|
-
assertParamExists('workspaceControllerCreateFolder', 'projectId', projectId);
|
|
379
376
|
// verify required parameter 'path' is not null or undefined
|
|
380
377
|
assertParamExists('workspaceControllerCreateFolder', 'path', path);
|
|
381
378
|
// verify required parameter 'mode' is not null or undefined
|
|
382
379
|
assertParamExists('workspaceControllerCreateFolder', 'mode', mode);
|
|
383
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
384
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
385
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
380
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/folder`
|
|
381
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
386
382
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
387
383
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
388
384
|
let baseOptions;
|
|
@@ -416,7 +412,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
416
412
|
* @param {*} [options] Override http request option.
|
|
417
413
|
* @throws {RequiredError}
|
|
418
414
|
*/
|
|
419
|
-
workspaceControllerCreateSnapshot: (
|
|
415
|
+
workspaceControllerCreateSnapshot: (workspaceId_2, ...args_13) => __awaiter(this, [workspaceId_2, ...args_13], void 0, function* (workspaceId, options = {}) {
|
|
420
416
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
421
417
|
assertParamExists('workspaceControllerCreateSnapshot', 'workspaceId', workspaceId);
|
|
422
418
|
const localVarPath = `/workspace/{workspaceId}/snapshot`
|
|
@@ -447,7 +443,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
447
443
|
* @param {*} [options] Override http request option.
|
|
448
444
|
* @throws {RequiredError}
|
|
449
445
|
*/
|
|
450
|
-
workspaceControllerCreateWorkspace: (createWorkspaceDto_1, ...
|
|
446
|
+
workspaceControllerCreateWorkspace: (createWorkspaceDto_1, ...args_14) => __awaiter(this, [createWorkspaceDto_1, ...args_14], void 0, function* (createWorkspaceDto, options = {}) {
|
|
451
447
|
// verify required parameter 'createWorkspaceDto' is not null or undefined
|
|
452
448
|
assertParamExists('workspaceControllerCreateWorkspace', 'createWorkspaceDto', createWorkspaceDto);
|
|
453
449
|
const localVarPath = `/workspace`;
|
|
@@ -474,24 +470,20 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
474
470
|
};
|
|
475
471
|
}),
|
|
476
472
|
/**
|
|
477
|
-
* Delete file inside workspace
|
|
473
|
+
* Delete file inside workspace
|
|
478
474
|
* @summary Delete file
|
|
479
475
|
* @param {string} workspaceId
|
|
480
|
-
* @param {string} projectId
|
|
481
476
|
* @param {string} path
|
|
482
477
|
* @param {*} [options] Override http request option.
|
|
483
478
|
* @throws {RequiredError}
|
|
484
479
|
*/
|
|
485
|
-
workspaceControllerDeleteFile: (
|
|
480
|
+
workspaceControllerDeleteFile: (workspaceId_3, path_2, ...args_15) => __awaiter(this, [workspaceId_3, path_2, ...args_15], void 0, function* (workspaceId, path, options = {}) {
|
|
486
481
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
487
482
|
assertParamExists('workspaceControllerDeleteFile', 'workspaceId', workspaceId);
|
|
488
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
489
|
-
assertParamExists('workspaceControllerDeleteFile', 'projectId', projectId);
|
|
490
483
|
// verify required parameter 'path' is not null or undefined
|
|
491
484
|
assertParamExists('workspaceControllerDeleteFile', 'path', path);
|
|
492
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
493
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
494
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
485
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files`
|
|
486
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
495
487
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
496
488
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
497
489
|
let baseOptions;
|
|
@@ -516,24 +508,20 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
516
508
|
};
|
|
517
509
|
}),
|
|
518
510
|
/**
|
|
519
|
-
* Download file from workspace
|
|
511
|
+
* Download file from workspace
|
|
520
512
|
* @summary Download file
|
|
521
513
|
* @param {string} workspaceId
|
|
522
|
-
* @param {string} projectId
|
|
523
514
|
* @param {string} path
|
|
524
515
|
* @param {*} [options] Override http request option.
|
|
525
516
|
* @throws {RequiredError}
|
|
526
517
|
*/
|
|
527
|
-
workspaceControllerDownloadFile: (
|
|
518
|
+
workspaceControllerDownloadFile: (workspaceId_4, path_3, ...args_16) => __awaiter(this, [workspaceId_4, path_3, ...args_16], void 0, function* (workspaceId, path, options = {}) {
|
|
528
519
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
529
520
|
assertParamExists('workspaceControllerDownloadFile', 'workspaceId', workspaceId);
|
|
530
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
531
|
-
assertParamExists('workspaceControllerDownloadFile', 'projectId', projectId);
|
|
532
521
|
// verify required parameter 'path' is not null or undefined
|
|
533
522
|
assertParamExists('workspaceControllerDownloadFile', 'path', path);
|
|
534
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
535
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
536
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
523
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/download`
|
|
524
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
537
525
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
526
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
539
527
|
let baseOptions;
|
|
@@ -558,24 +546,20 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
558
546
|
};
|
|
559
547
|
}),
|
|
560
548
|
/**
|
|
561
|
-
* Execute command synchronously inside workspace
|
|
549
|
+
* Execute command synchronously inside workspace
|
|
562
550
|
* @summary Execute command
|
|
563
551
|
* @param {string} workspaceId
|
|
564
|
-
* @param {string} projectId
|
|
565
552
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
566
553
|
* @param {*} [options] Override http request option.
|
|
567
554
|
* @throws {RequiredError}
|
|
568
555
|
*/
|
|
569
|
-
workspaceControllerExecuteCommand: (
|
|
556
|
+
workspaceControllerExecuteCommand: (workspaceId_5, executeRequestDto_1, ...args_17) => __awaiter(this, [workspaceId_5, executeRequestDto_1, ...args_17], void 0, function* (workspaceId, executeRequestDto, options = {}) {
|
|
570
557
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
571
558
|
assertParamExists('workspaceControllerExecuteCommand', 'workspaceId', workspaceId);
|
|
572
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
573
|
-
assertParamExists('workspaceControllerExecuteCommand', 'projectId', projectId);
|
|
574
559
|
// verify required parameter 'executeRequestDto' is not null or undefined
|
|
575
560
|
assertParamExists('workspaceControllerExecuteCommand', 'executeRequestDto', executeRequestDto);
|
|
576
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
577
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
578
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
561
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/process/execute`
|
|
562
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
579
563
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
580
564
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
581
565
|
let baseOptions;
|
|
@@ -599,27 +583,23 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
599
583
|
};
|
|
600
584
|
}),
|
|
601
585
|
/**
|
|
602
|
-
* Search for text/pattern inside workspace
|
|
586
|
+
* Search for text/pattern inside workspace files
|
|
603
587
|
* @summary Search for text/pattern in files
|
|
604
588
|
* @param {string} workspaceId
|
|
605
|
-
* @param {string} projectId
|
|
606
589
|
* @param {string} path
|
|
607
590
|
* @param {string} pattern
|
|
608
591
|
* @param {*} [options] Override http request option.
|
|
609
592
|
* @throws {RequiredError}
|
|
610
593
|
*/
|
|
611
|
-
workspaceControllerFindInFiles: (
|
|
594
|
+
workspaceControllerFindInFiles: (workspaceId_6, path_4, pattern_1, ...args_18) => __awaiter(this, [workspaceId_6, path_4, pattern_1, ...args_18], void 0, function* (workspaceId, path, pattern, options = {}) {
|
|
612
595
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
613
596
|
assertParamExists('workspaceControllerFindInFiles', 'workspaceId', workspaceId);
|
|
614
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
615
|
-
assertParamExists('workspaceControllerFindInFiles', 'projectId', projectId);
|
|
616
597
|
// verify required parameter 'path' is not null or undefined
|
|
617
598
|
assertParamExists('workspaceControllerFindInFiles', 'path', path);
|
|
618
599
|
// verify required parameter 'pattern' is not null or undefined
|
|
619
600
|
assertParamExists('workspaceControllerFindInFiles', 'pattern', pattern);
|
|
620
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
621
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
622
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
601
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/find`
|
|
602
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
623
603
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
624
604
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
625
605
|
let baseOptions;
|
|
@@ -647,24 +627,20 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
647
627
|
};
|
|
648
628
|
}),
|
|
649
629
|
/**
|
|
650
|
-
* Get file info inside workspace
|
|
630
|
+
* Get file info inside workspace
|
|
651
631
|
* @summary Get file info
|
|
652
632
|
* @param {string} workspaceId
|
|
653
|
-
* @param {string} projectId
|
|
654
633
|
* @param {string} path
|
|
655
634
|
* @param {*} [options] Override http request option.
|
|
656
635
|
* @throws {RequiredError}
|
|
657
636
|
*/
|
|
658
|
-
workspaceControllerGetFileInfo: (
|
|
637
|
+
workspaceControllerGetFileInfo: (workspaceId_7, path_5, ...args_19) => __awaiter(this, [workspaceId_7, path_5, ...args_19], void 0, function* (workspaceId, path, options = {}) {
|
|
659
638
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
660
639
|
assertParamExists('workspaceControllerGetFileInfo', 'workspaceId', workspaceId);
|
|
661
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
662
|
-
assertParamExists('workspaceControllerGetFileInfo', 'projectId', projectId);
|
|
663
640
|
// verify required parameter 'path' is not null or undefined
|
|
664
641
|
assertParamExists('workspaceControllerGetFileInfo', 'path', path);
|
|
665
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
666
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
667
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
642
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/info`
|
|
643
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
668
644
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
669
645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
670
646
|
let baseOptions;
|
|
@@ -689,21 +665,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
689
665
|
};
|
|
690
666
|
}),
|
|
691
667
|
/**
|
|
692
|
-
* Get project directory
|
|
693
|
-
* @summary Get project dir
|
|
668
|
+
* Get workspace project directory
|
|
669
|
+
* @summary Get workspace project dir
|
|
694
670
|
* @param {string} workspaceId
|
|
695
|
-
* @param {string} projectId
|
|
696
671
|
* @param {*} [options] Override http request option.
|
|
697
672
|
* @throws {RequiredError}
|
|
698
673
|
*/
|
|
699
|
-
workspaceControllerGetProjectDir: (
|
|
674
|
+
workspaceControllerGetProjectDir: (workspaceId_8, ...args_20) => __awaiter(this, [workspaceId_8, ...args_20], void 0, function* (workspaceId, options = {}) {
|
|
700
675
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
701
676
|
assertParamExists('workspaceControllerGetProjectDir', 'workspaceId', workspaceId);
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/toolbox/project-dir`
|
|
705
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
706
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
677
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/project-dir`
|
|
678
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
707
679
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
708
680
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
709
681
|
let baseOptions;
|
|
@@ -731,7 +703,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
731
703
|
* @param {*} [options] Override http request option.
|
|
732
704
|
* @throws {RequiredError}
|
|
733
705
|
*/
|
|
734
|
-
workspaceControllerGetWorkspace: (
|
|
706
|
+
workspaceControllerGetWorkspace: (workspaceId_9, verbose_1, ...args_21) => __awaiter(this, [workspaceId_9, verbose_1, ...args_21], void 0, function* (workspaceId, verbose, options = {}) {
|
|
735
707
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
736
708
|
assertParamExists('workspaceControllerGetWorkspace', 'workspaceId', workspaceId);
|
|
737
709
|
const localVarPath = `/workspace/{workspaceId}`
|
|
@@ -763,21 +735,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
763
735
|
* Add files to git commit
|
|
764
736
|
* @summary Add files
|
|
765
737
|
* @param {string} workspaceId
|
|
766
|
-
* @param {string} projectId
|
|
767
738
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
768
739
|
* @param {*} [options] Override http request option.
|
|
769
740
|
* @throws {RequiredError}
|
|
770
741
|
*/
|
|
771
|
-
workspaceControllerGitAddFiles: (
|
|
742
|
+
workspaceControllerGitAddFiles: (workspaceId_10, gitAddRequestDto_1, ...args_22) => __awaiter(this, [workspaceId_10, gitAddRequestDto_1, ...args_22], void 0, function* (workspaceId, gitAddRequestDto, options = {}) {
|
|
772
743
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
773
744
|
assertParamExists('workspaceControllerGitAddFiles', 'workspaceId', workspaceId);
|
|
774
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
775
|
-
assertParamExists('workspaceControllerGitAddFiles', 'projectId', projectId);
|
|
776
745
|
// verify required parameter 'gitAddRequestDto' is not null or undefined
|
|
777
746
|
assertParamExists('workspaceControllerGitAddFiles', 'gitAddRequestDto', gitAddRequestDto);
|
|
778
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
779
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
780
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
747
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/add`
|
|
748
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
781
749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
782
750
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
783
751
|
let baseOptions;
|
|
@@ -804,21 +772,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
804
772
|
* Get branch list from git repository
|
|
805
773
|
* @summary Get branch list
|
|
806
774
|
* @param {string} workspaceId
|
|
807
|
-
* @param {string} projectId
|
|
808
775
|
* @param {string} path
|
|
809
776
|
* @param {*} [options] Override http request option.
|
|
810
777
|
* @throws {RequiredError}
|
|
811
778
|
*/
|
|
812
|
-
workspaceControllerGitBranchList: (
|
|
779
|
+
workspaceControllerGitBranchList: (workspaceId_11, path_6, ...args_23) => __awaiter(this, [workspaceId_11, path_6, ...args_23], void 0, function* (workspaceId, path, options = {}) {
|
|
813
780
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
814
781
|
assertParamExists('workspaceControllerGitBranchList', 'workspaceId', workspaceId);
|
|
815
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
816
|
-
assertParamExists('workspaceControllerGitBranchList', 'projectId', projectId);
|
|
817
782
|
// verify required parameter 'path' is not null or undefined
|
|
818
783
|
assertParamExists('workspaceControllerGitBranchList', 'path', path);
|
|
819
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
820
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
821
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
784
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/branches`
|
|
785
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
822
786
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
823
787
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
824
788
|
let baseOptions;
|
|
@@ -846,21 +810,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
846
810
|
* Clone git repository
|
|
847
811
|
* @summary Clone repository
|
|
848
812
|
* @param {string} workspaceId
|
|
849
|
-
* @param {string} projectId
|
|
850
813
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
851
814
|
* @param {*} [options] Override http request option.
|
|
852
815
|
* @throws {RequiredError}
|
|
853
816
|
*/
|
|
854
|
-
workspaceControllerGitCloneRepository: (
|
|
817
|
+
workspaceControllerGitCloneRepository: (workspaceId_12, gitCloneRequestDto_1, ...args_24) => __awaiter(this, [workspaceId_12, gitCloneRequestDto_1, ...args_24], void 0, function* (workspaceId, gitCloneRequestDto, options = {}) {
|
|
855
818
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
856
819
|
assertParamExists('workspaceControllerGitCloneRepository', 'workspaceId', workspaceId);
|
|
857
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
858
|
-
assertParamExists('workspaceControllerGitCloneRepository', 'projectId', projectId);
|
|
859
820
|
// verify required parameter 'gitCloneRequestDto' is not null or undefined
|
|
860
821
|
assertParamExists('workspaceControllerGitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto);
|
|
861
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
862
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
863
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
822
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/clone`
|
|
823
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
864
824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
865
825
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
866
826
|
let baseOptions;
|
|
@@ -887,21 +847,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
887
847
|
* Commit changes to git repository
|
|
888
848
|
* @summary Commit changes
|
|
889
849
|
* @param {string} workspaceId
|
|
890
|
-
* @param {string} projectId
|
|
891
850
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
892
851
|
* @param {*} [options] Override http request option.
|
|
893
852
|
* @throws {RequiredError}
|
|
894
853
|
*/
|
|
895
|
-
workspaceControllerGitCommitChanges: (
|
|
854
|
+
workspaceControllerGitCommitChanges: (workspaceId_13, gitCommitRequestDto_1, ...args_25) => __awaiter(this, [workspaceId_13, gitCommitRequestDto_1, ...args_25], void 0, function* (workspaceId, gitCommitRequestDto, options = {}) {
|
|
896
855
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
897
856
|
assertParamExists('workspaceControllerGitCommitChanges', 'workspaceId', workspaceId);
|
|
898
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
899
|
-
assertParamExists('workspaceControllerGitCommitChanges', 'projectId', projectId);
|
|
900
857
|
// verify required parameter 'gitCommitRequestDto' is not null or undefined
|
|
901
858
|
assertParamExists('workspaceControllerGitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto);
|
|
902
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
903
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
904
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
859
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/commit`
|
|
860
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
905
861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
906
862
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
907
863
|
let baseOptions;
|
|
@@ -928,21 +884,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
928
884
|
* Get commit history from git repository
|
|
929
885
|
* @summary Get commit history
|
|
930
886
|
* @param {string} workspaceId
|
|
931
|
-
* @param {string} projectId
|
|
932
887
|
* @param {string} path
|
|
933
888
|
* @param {*} [options] Override http request option.
|
|
934
889
|
* @throws {RequiredError}
|
|
935
890
|
*/
|
|
936
|
-
workspaceControllerGitCommitHistory: (
|
|
891
|
+
workspaceControllerGitCommitHistory: (workspaceId_14, path_7, ...args_26) => __awaiter(this, [workspaceId_14, path_7, ...args_26], void 0, function* (workspaceId, path, options = {}) {
|
|
937
892
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
938
893
|
assertParamExists('workspaceControllerGitCommitHistory', 'workspaceId', workspaceId);
|
|
939
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
940
|
-
assertParamExists('workspaceControllerGitCommitHistory', 'projectId', projectId);
|
|
941
894
|
// verify required parameter 'path' is not null or undefined
|
|
942
895
|
assertParamExists('workspaceControllerGitCommitHistory', 'path', path);
|
|
943
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
944
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
945
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
896
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/history`
|
|
897
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
946
898
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
947
899
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
948
900
|
let baseOptions;
|
|
@@ -970,21 +922,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
970
922
|
* Create branch on git repository
|
|
971
923
|
* @summary Create branch
|
|
972
924
|
* @param {string} workspaceId
|
|
973
|
-
* @param {string} projectId
|
|
974
925
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
975
926
|
* @param {*} [options] Override http request option.
|
|
976
927
|
* @throws {RequiredError}
|
|
977
928
|
*/
|
|
978
|
-
workspaceControllerGitCreateBranch: (
|
|
929
|
+
workspaceControllerGitCreateBranch: (workspaceId_15, gitBranchRequestDto_1, ...args_27) => __awaiter(this, [workspaceId_15, gitBranchRequestDto_1, ...args_27], void 0, function* (workspaceId, gitBranchRequestDto, options = {}) {
|
|
979
930
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
980
931
|
assertParamExists('workspaceControllerGitCreateBranch', 'workspaceId', workspaceId);
|
|
981
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
982
|
-
assertParamExists('workspaceControllerGitCreateBranch', 'projectId', projectId);
|
|
983
932
|
// verify required parameter 'gitBranchRequestDto' is not null or undefined
|
|
984
933
|
assertParamExists('workspaceControllerGitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto);
|
|
985
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
986
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
987
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
934
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/branches`
|
|
935
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
988
936
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
989
937
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
990
938
|
let baseOptions;
|
|
@@ -1011,21 +959,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1011
959
|
* Pull changes from remote
|
|
1012
960
|
* @summary Pull changes
|
|
1013
961
|
* @param {string} workspaceId
|
|
1014
|
-
* @param {string} projectId
|
|
1015
962
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1016
963
|
* @param {*} [options] Override http request option.
|
|
1017
964
|
* @throws {RequiredError}
|
|
1018
965
|
*/
|
|
1019
|
-
workspaceControllerGitPullChanges: (
|
|
966
|
+
workspaceControllerGitPullChanges: (workspaceId_16, gitRepoRequestDto_1, ...args_28) => __awaiter(this, [workspaceId_16, gitRepoRequestDto_1, ...args_28], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
|
|
1020
967
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1021
968
|
assertParamExists('workspaceControllerGitPullChanges', 'workspaceId', workspaceId);
|
|
1022
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1023
|
-
assertParamExists('workspaceControllerGitPullChanges', 'projectId', projectId);
|
|
1024
969
|
// verify required parameter 'gitRepoRequestDto' is not null or undefined
|
|
1025
970
|
assertParamExists('workspaceControllerGitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto);
|
|
1026
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1027
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1028
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
971
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/pull`
|
|
972
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1029
973
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1030
974
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1031
975
|
let baseOptions;
|
|
@@ -1052,21 +996,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1052
996
|
* Push changes to remote
|
|
1053
997
|
* @summary Push changes
|
|
1054
998
|
* @param {string} workspaceId
|
|
1055
|
-
* @param {string} projectId
|
|
1056
999
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1057
1000
|
* @param {*} [options] Override http request option.
|
|
1058
1001
|
* @throws {RequiredError}
|
|
1059
1002
|
*/
|
|
1060
|
-
workspaceControllerGitPushChanges: (
|
|
1003
|
+
workspaceControllerGitPushChanges: (workspaceId_17, gitRepoRequestDto_2, ...args_29) => __awaiter(this, [workspaceId_17, gitRepoRequestDto_2, ...args_29], void 0, function* (workspaceId, gitRepoRequestDto, options = {}) {
|
|
1061
1004
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1062
1005
|
assertParamExists('workspaceControllerGitPushChanges', 'workspaceId', workspaceId);
|
|
1063
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1064
|
-
assertParamExists('workspaceControllerGitPushChanges', 'projectId', projectId);
|
|
1065
1006
|
// verify required parameter 'gitRepoRequestDto' is not null or undefined
|
|
1066
1007
|
assertParamExists('workspaceControllerGitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto);
|
|
1067
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1068
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1069
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1008
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/push`
|
|
1009
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1070
1010
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1071
1011
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1072
1012
|
let baseOptions;
|
|
@@ -1093,21 +1033,17 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1093
1033
|
* Get status from git repository
|
|
1094
1034
|
* @summary Get git status
|
|
1095
1035
|
* @param {string} workspaceId
|
|
1096
|
-
* @param {string} projectId
|
|
1097
1036
|
* @param {string} path
|
|
1098
1037
|
* @param {*} [options] Override http request option.
|
|
1099
1038
|
* @throws {RequiredError}
|
|
1100
1039
|
*/
|
|
1101
|
-
workspaceControllerGitStatus: (
|
|
1040
|
+
workspaceControllerGitStatus: (workspaceId_18, path_8, ...args_30) => __awaiter(this, [workspaceId_18, path_8, ...args_30], void 0, function* (workspaceId, path, options = {}) {
|
|
1102
1041
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1103
1042
|
assertParamExists('workspaceControllerGitStatus', 'workspaceId', workspaceId);
|
|
1104
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1105
|
-
assertParamExists('workspaceControllerGitStatus', 'projectId', projectId);
|
|
1106
1043
|
// verify required parameter 'path' is not null or undefined
|
|
1107
1044
|
assertParamExists('workspaceControllerGitStatus', 'path', path);
|
|
1108
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1109
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1110
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1045
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/status`
|
|
1046
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1111
1047
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1112
1048
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1113
1049
|
let baseOptions;
|
|
@@ -1132,22 +1068,18 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1132
1068
|
};
|
|
1133
1069
|
}),
|
|
1134
1070
|
/**
|
|
1135
|
-
* List files inside workspace
|
|
1071
|
+
* List files inside workspace
|
|
1136
1072
|
* @summary List files
|
|
1137
1073
|
* @param {string} workspaceId
|
|
1138
|
-
* @param {string} projectId
|
|
1139
1074
|
* @param {string} [path]
|
|
1140
1075
|
* @param {*} [options] Override http request option.
|
|
1141
1076
|
* @throws {RequiredError}
|
|
1142
1077
|
*/
|
|
1143
|
-
workspaceControllerListFiles: (
|
|
1078
|
+
workspaceControllerListFiles: (workspaceId_19, path_9, ...args_31) => __awaiter(this, [workspaceId_19, path_9, ...args_31], void 0, function* (workspaceId, path, options = {}) {
|
|
1144
1079
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1145
1080
|
assertParamExists('workspaceControllerListFiles', 'workspaceId', workspaceId);
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/toolbox/files`
|
|
1149
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1150
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1081
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files`
|
|
1082
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1151
1083
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1152
1084
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1153
1085
|
let baseOptions;
|
|
@@ -1177,7 +1109,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1109
|
* @param {*} [options] Override http request option.
|
|
1178
1110
|
* @throws {RequiredError}
|
|
1179
1111
|
*/
|
|
1180
|
-
workspaceControllerListWorkspaces: (
|
|
1112
|
+
workspaceControllerListWorkspaces: (verbose_2, ...args_32) => __awaiter(this, [verbose_2, ...args_32], void 0, function* (verbose, options = {}) {
|
|
1181
1113
|
const localVarPath = `/workspace`;
|
|
1182
1114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1183
1115
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1203,27 +1135,23 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1135
|
};
|
|
1204
1136
|
}),
|
|
1205
1137
|
/**
|
|
1206
|
-
* Move file inside workspace
|
|
1138
|
+
* Move file inside workspace
|
|
1207
1139
|
* @summary Move file
|
|
1208
1140
|
* @param {string} workspaceId
|
|
1209
|
-
* @param {string} projectId
|
|
1210
1141
|
* @param {string} source
|
|
1211
1142
|
* @param {string} destination
|
|
1212
1143
|
* @param {*} [options] Override http request option.
|
|
1213
1144
|
* @throws {RequiredError}
|
|
1214
1145
|
*/
|
|
1215
|
-
workspaceControllerMoveFile: (
|
|
1146
|
+
workspaceControllerMoveFile: (workspaceId_20, source_1, destination_1, ...args_33) => __awaiter(this, [workspaceId_20, source_1, destination_1, ...args_33], void 0, function* (workspaceId, source, destination, options = {}) {
|
|
1216
1147
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1217
1148
|
assertParamExists('workspaceControllerMoveFile', 'workspaceId', workspaceId);
|
|
1218
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1219
|
-
assertParamExists('workspaceControllerMoveFile', 'projectId', projectId);
|
|
1220
1149
|
// verify required parameter 'source' is not null or undefined
|
|
1221
1150
|
assertParamExists('workspaceControllerMoveFile', 'source', source);
|
|
1222
1151
|
// verify required parameter 'destination' is not null or undefined
|
|
1223
1152
|
assertParamExists('workspaceControllerMoveFile', 'destination', destination);
|
|
1224
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1225
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1226
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1153
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/move`
|
|
1154
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1227
1155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1228
1156
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1229
1157
|
let baseOptions;
|
|
@@ -1257,7 +1185,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1257
1185
|
* @param {*} [options] Override http request option.
|
|
1258
1186
|
* @throws {RequiredError}
|
|
1259
1187
|
*/
|
|
1260
|
-
workspaceControllerRemoveWorkspace: (
|
|
1188
|
+
workspaceControllerRemoveWorkspace: (workspaceId_21, force_1, ...args_34) => __awaiter(this, [workspaceId_21, force_1, ...args_34], void 0, function* (workspaceId, force, options = {}) {
|
|
1261
1189
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1262
1190
|
assertParamExists('workspaceControllerRemoveWorkspace', 'workspaceId', workspaceId);
|
|
1263
1191
|
// verify required parameter 'force' is not null or undefined
|
|
@@ -1288,24 +1216,20 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1288
1216
|
};
|
|
1289
1217
|
}),
|
|
1290
1218
|
/**
|
|
1291
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1219
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1292
1220
|
* @summary Replace in files
|
|
1293
1221
|
* @param {string} workspaceId
|
|
1294
|
-
* @param {string} projectId
|
|
1295
1222
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1296
1223
|
* @param {*} [options] Override http request option.
|
|
1297
1224
|
* @throws {RequiredError}
|
|
1298
1225
|
*/
|
|
1299
|
-
workspaceControllerReplaceInFiles: (
|
|
1226
|
+
workspaceControllerReplaceInFiles: (workspaceId_22, replaceRequestDto_1, ...args_35) => __awaiter(this, [workspaceId_22, replaceRequestDto_1, ...args_35], void 0, function* (workspaceId, replaceRequestDto, options = {}) {
|
|
1300
1227
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1301
1228
|
assertParamExists('workspaceControllerReplaceInFiles', 'workspaceId', workspaceId);
|
|
1302
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1303
|
-
assertParamExists('workspaceControllerReplaceInFiles', 'projectId', projectId);
|
|
1304
1229
|
// verify required parameter 'replaceRequestDto' is not null or undefined
|
|
1305
1230
|
assertParamExists('workspaceControllerReplaceInFiles', 'replaceRequestDto', replaceRequestDto);
|
|
1306
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1307
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1308
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1231
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/replace`
|
|
1232
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1309
1233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1310
1234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1311
1235
|
let baseOptions;
|
|
@@ -1336,7 +1260,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1336
1260
|
* @param {*} [options] Override http request option.
|
|
1337
1261
|
* @throws {RequiredError}
|
|
1338
1262
|
*/
|
|
1339
|
-
workspaceControllerReplaceLabels: (
|
|
1263
|
+
workspaceControllerReplaceLabels: (workspaceId_23, workspaceLabelsDto_1, ...args_36) => __awaiter(this, [workspaceId_23, workspaceLabelsDto_1, ...args_36], void 0, function* (workspaceId, workspaceLabelsDto, options = {}) {
|
|
1340
1264
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1341
1265
|
assertParamExists('workspaceControllerReplaceLabels', 'workspaceId', workspaceId);
|
|
1342
1266
|
// verify required parameter 'workspaceLabelsDto' is not null or undefined
|
|
@@ -1366,27 +1290,23 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1366
1290
|
};
|
|
1367
1291
|
}),
|
|
1368
1292
|
/**
|
|
1369
|
-
* Search for files inside workspace
|
|
1293
|
+
* Search for files inside workspace
|
|
1370
1294
|
* @summary Search files
|
|
1371
1295
|
* @param {string} workspaceId
|
|
1372
|
-
* @param {string} projectId
|
|
1373
1296
|
* @param {string} path
|
|
1374
1297
|
* @param {string} pattern
|
|
1375
1298
|
* @param {*} [options] Override http request option.
|
|
1376
1299
|
* @throws {RequiredError}
|
|
1377
1300
|
*/
|
|
1378
|
-
workspaceControllerSearchFiles: (
|
|
1301
|
+
workspaceControllerSearchFiles: (workspaceId_24, path_10, pattern_2, ...args_37) => __awaiter(this, [workspaceId_24, path_10, pattern_2, ...args_37], void 0, function* (workspaceId, path, pattern, options = {}) {
|
|
1379
1302
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1380
1303
|
assertParamExists('workspaceControllerSearchFiles', 'workspaceId', workspaceId);
|
|
1381
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1382
|
-
assertParamExists('workspaceControllerSearchFiles', 'projectId', projectId);
|
|
1383
1304
|
// verify required parameter 'path' is not null or undefined
|
|
1384
1305
|
assertParamExists('workspaceControllerSearchFiles', 'path', path);
|
|
1385
1306
|
// verify required parameter 'pattern' is not null or undefined
|
|
1386
1307
|
assertParamExists('workspaceControllerSearchFiles', 'pattern', pattern);
|
|
1387
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1388
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1389
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1308
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/search`
|
|
1309
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1390
1310
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1391
1311
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1392
1312
|
let baseOptions;
|
|
@@ -1414,10 +1334,9 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1414
1334
|
};
|
|
1415
1335
|
}),
|
|
1416
1336
|
/**
|
|
1417
|
-
* Set file owner/group/permissions inside workspace
|
|
1337
|
+
* Set file owner/group/permissions inside workspace
|
|
1418
1338
|
* @summary Set file permissions
|
|
1419
1339
|
* @param {string} workspaceId
|
|
1420
|
-
* @param {string} projectId
|
|
1421
1340
|
* @param {string} path
|
|
1422
1341
|
* @param {string} owner
|
|
1423
1342
|
* @param {string} group
|
|
@@ -1425,11 +1344,9 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1425
1344
|
* @param {*} [options] Override http request option.
|
|
1426
1345
|
* @throws {RequiredError}
|
|
1427
1346
|
*/
|
|
1428
|
-
workspaceControllerSetFilePermissions: (
|
|
1347
|
+
workspaceControllerSetFilePermissions: (workspaceId_25, path_11, owner_1, group_1, mode_2, ...args_38) => __awaiter(this, [workspaceId_25, path_11, owner_1, group_1, mode_2, ...args_38], void 0, function* (workspaceId, path, owner, group, mode, options = {}) {
|
|
1429
1348
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1430
1349
|
assertParamExists('workspaceControllerSetFilePermissions', 'workspaceId', workspaceId);
|
|
1431
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1432
|
-
assertParamExists('workspaceControllerSetFilePermissions', 'projectId', projectId);
|
|
1433
1350
|
// verify required parameter 'path' is not null or undefined
|
|
1434
1351
|
assertParamExists('workspaceControllerSetFilePermissions', 'path', path);
|
|
1435
1352
|
// verify required parameter 'owner' is not null or undefined
|
|
@@ -1438,9 +1355,8 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1355
|
assertParamExists('workspaceControllerSetFilePermissions', 'group', group);
|
|
1439
1356
|
// verify required parameter 'mode' is not null or undefined
|
|
1440
1357
|
assertParamExists('workspaceControllerSetFilePermissions', 'mode', mode);
|
|
1441
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1442
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1443
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1358
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/permissions`
|
|
1359
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1444
1360
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1445
1361
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1446
1362
|
let baseOptions;
|
|
@@ -1476,45 +1392,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1476
1392
|
/**
|
|
1477
1393
|
*
|
|
1478
1394
|
* @param {string} workspaceId
|
|
1479
|
-
* @param {string} projectId
|
|
1480
1395
|
* @param {*} [options] Override http request option.
|
|
1481
1396
|
* @throws {RequiredError}
|
|
1482
1397
|
*/
|
|
1483
|
-
|
|
1484
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1485
|
-
assertParamExists('workspaceControllerStartProject', 'workspaceId', workspaceId);
|
|
1486
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1487
|
-
assertParamExists('workspaceControllerStartProject', 'projectId', projectId);
|
|
1488
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/start`
|
|
1489
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1490
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1491
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1492
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1493
|
-
let baseOptions;
|
|
1494
|
-
if (configuration) {
|
|
1495
|
-
baseOptions = configuration.baseOptions;
|
|
1496
|
-
}
|
|
1497
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1498
|
-
const localVarHeaderParameter = {};
|
|
1499
|
-
const localVarQueryParameter = {};
|
|
1500
|
-
// authentication oauth2 required
|
|
1501
|
-
// oauth required
|
|
1502
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1503
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1504
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1505
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1506
|
-
return {
|
|
1507
|
-
url: toPathString(localVarUrlObj),
|
|
1508
|
-
options: localVarRequestOptions,
|
|
1509
|
-
};
|
|
1510
|
-
}),
|
|
1511
|
-
/**
|
|
1512
|
-
*
|
|
1513
|
-
* @param {string} workspaceId
|
|
1514
|
-
* @param {*} [options] Override http request option.
|
|
1515
|
-
* @throws {RequiredError}
|
|
1516
|
-
*/
|
|
1517
|
-
workspaceControllerStartWorkspace: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
|
|
1398
|
+
workspaceControllerStartWorkspace: (workspaceId_26, ...args_39) => __awaiter(this, [workspaceId_26, ...args_39], void 0, function* (workspaceId, options = {}) {
|
|
1518
1399
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1519
1400
|
assertParamExists('workspaceControllerStartWorkspace', 'workspaceId', workspaceId);
|
|
1520
1401
|
const localVarPath = `/workspace/{workspaceId}/start`
|
|
@@ -1539,48 +1420,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1539
1420
|
options: localVarRequestOptions,
|
|
1540
1421
|
};
|
|
1541
1422
|
}),
|
|
1542
|
-
/**
|
|
1543
|
-
*
|
|
1544
|
-
* @param {string} workspaceId
|
|
1545
|
-
* @param {string} projectId
|
|
1546
|
-
* @param {*} [options] Override http request option.
|
|
1547
|
-
* @throws {RequiredError}
|
|
1548
|
-
*/
|
|
1549
|
-
workspaceControllerStopProject: (workspaceId_1, projectId_1, ...args_1) => __awaiter(this, [workspaceId_1, projectId_1, ...args_1], void 0, function* (workspaceId, projectId, options = {}) {
|
|
1550
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1551
|
-
assertParamExists('workspaceControllerStopProject', 'workspaceId', workspaceId);
|
|
1552
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1553
|
-
assertParamExists('workspaceControllerStopProject', 'projectId', projectId);
|
|
1554
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/stop`
|
|
1555
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1556
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1557
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1558
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1559
|
-
let baseOptions;
|
|
1560
|
-
if (configuration) {
|
|
1561
|
-
baseOptions = configuration.baseOptions;
|
|
1562
|
-
}
|
|
1563
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1564
|
-
const localVarHeaderParameter = {};
|
|
1565
|
-
const localVarQueryParameter = {};
|
|
1566
|
-
// authentication oauth2 required
|
|
1567
|
-
// oauth required
|
|
1568
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1569
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1570
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1571
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1572
|
-
return {
|
|
1573
|
-
url: toPathString(localVarUrlObj),
|
|
1574
|
-
options: localVarRequestOptions,
|
|
1575
|
-
};
|
|
1576
|
-
}),
|
|
1577
1423
|
/**
|
|
1578
1424
|
*
|
|
1579
1425
|
* @param {string} workspaceId
|
|
1580
1426
|
* @param {*} [options] Override http request option.
|
|
1581
1427
|
* @throws {RequiredError}
|
|
1582
1428
|
*/
|
|
1583
|
-
workspaceControllerStopWorkspace: (
|
|
1429
|
+
workspaceControllerStopWorkspace: (workspaceId_27, ...args_40) => __awaiter(this, [workspaceId_27, ...args_40], void 0, function* (workspaceId, options = {}) {
|
|
1584
1430
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1585
1431
|
assertParamExists('workspaceControllerStopWorkspace', 'workspaceId', workspaceId);
|
|
1586
1432
|
const localVarPath = `/workspace/{workspaceId}/stop`
|
|
@@ -1606,25 +1452,21 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1606
1452
|
};
|
|
1607
1453
|
}),
|
|
1608
1454
|
/**
|
|
1609
|
-
* Upload file inside workspace
|
|
1455
|
+
* Upload file inside workspace
|
|
1610
1456
|
* @summary Upload file
|
|
1611
1457
|
* @param {string} workspaceId
|
|
1612
|
-
* @param {string} projectId
|
|
1613
1458
|
* @param {string} path
|
|
1614
1459
|
* @param {File} [file]
|
|
1615
1460
|
* @param {*} [options] Override http request option.
|
|
1616
1461
|
* @throws {RequiredError}
|
|
1617
1462
|
*/
|
|
1618
|
-
workspaceControllerUploadFile: (
|
|
1463
|
+
workspaceControllerUploadFile: (workspaceId_28, path_12, file_1, ...args_41) => __awaiter(this, [workspaceId_28, path_12, file_1, ...args_41], void 0, function* (workspaceId, path, file, options = {}) {
|
|
1619
1464
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1620
1465
|
assertParamExists('workspaceControllerUploadFile', 'workspaceId', workspaceId);
|
|
1621
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1622
|
-
assertParamExists('workspaceControllerUploadFile', 'projectId', projectId);
|
|
1623
1466
|
// verify required parameter 'path' is not null or undefined
|
|
1624
1467
|
assertParamExists('workspaceControllerUploadFile', 'path', path);
|
|
1625
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1626
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1627
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1468
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/upload`
|
|
1469
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1628
1470
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1629
1471
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1630
1472
|
let baseOptions;
|
|
@@ -1829,19 +1671,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1829
1671
|
});
|
|
1830
1672
|
},
|
|
1831
1673
|
/**
|
|
1832
|
-
* Create folder inside workspace
|
|
1674
|
+
* Create folder inside workspace
|
|
1833
1675
|
* @summary Create folder
|
|
1834
1676
|
* @param {string} workspaceId
|
|
1835
|
-
* @param {string} projectId
|
|
1836
1677
|
* @param {string} path
|
|
1837
1678
|
* @param {string} mode
|
|
1838
1679
|
* @param {*} [options] Override http request option.
|
|
1839
1680
|
* @throws {RequiredError}
|
|
1840
1681
|
*/
|
|
1841
|
-
workspaceControllerCreateFolder(workspaceId,
|
|
1682
|
+
workspaceControllerCreateFolder(workspaceId, path, mode, options) {
|
|
1842
1683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1843
1684
|
var _a, _b, _c;
|
|
1844
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId,
|
|
1685
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId, path, mode, options);
|
|
1845
1686
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1846
1687
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerCreateFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1847
1688
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1879,108 +1720,102 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1879
1720
|
});
|
|
1880
1721
|
},
|
|
1881
1722
|
/**
|
|
1882
|
-
* Delete file inside workspace
|
|
1723
|
+
* Delete file inside workspace
|
|
1883
1724
|
* @summary Delete file
|
|
1884
1725
|
* @param {string} workspaceId
|
|
1885
|
-
* @param {string} projectId
|
|
1886
1726
|
* @param {string} path
|
|
1887
1727
|
* @param {*} [options] Override http request option.
|
|
1888
1728
|
* @throws {RequiredError}
|
|
1889
1729
|
*/
|
|
1890
|
-
workspaceControllerDeleteFile(workspaceId,
|
|
1730
|
+
workspaceControllerDeleteFile(workspaceId, path, options) {
|
|
1891
1731
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1892
1732
|
var _a, _b, _c;
|
|
1893
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId,
|
|
1733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId, path, options);
|
|
1894
1734
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1895
1735
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerDeleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1896
1736
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1897
1737
|
});
|
|
1898
1738
|
},
|
|
1899
1739
|
/**
|
|
1900
|
-
* Download file from workspace
|
|
1740
|
+
* Download file from workspace
|
|
1901
1741
|
* @summary Download file
|
|
1902
1742
|
* @param {string} workspaceId
|
|
1903
|
-
* @param {string} projectId
|
|
1904
1743
|
* @param {string} path
|
|
1905
1744
|
* @param {*} [options] Override http request option.
|
|
1906
1745
|
* @throws {RequiredError}
|
|
1907
1746
|
*/
|
|
1908
|
-
workspaceControllerDownloadFile(workspaceId,
|
|
1747
|
+
workspaceControllerDownloadFile(workspaceId, path, options) {
|
|
1909
1748
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1910
1749
|
var _a, _b, _c;
|
|
1911
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId,
|
|
1750
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId, path, options);
|
|
1912
1751
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1913
1752
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerDownloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1914
1753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1915
1754
|
});
|
|
1916
1755
|
},
|
|
1917
1756
|
/**
|
|
1918
|
-
* Execute command synchronously inside workspace
|
|
1757
|
+
* Execute command synchronously inside workspace
|
|
1919
1758
|
* @summary Execute command
|
|
1920
1759
|
* @param {string} workspaceId
|
|
1921
|
-
* @param {string} projectId
|
|
1922
1760
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
1923
1761
|
* @param {*} [options] Override http request option.
|
|
1924
1762
|
* @throws {RequiredError}
|
|
1925
1763
|
*/
|
|
1926
|
-
workspaceControllerExecuteCommand(workspaceId,
|
|
1764
|
+
workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options) {
|
|
1927
1765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1928
1766
|
var _a, _b, _c;
|
|
1929
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId,
|
|
1767
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options);
|
|
1930
1768
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1931
1769
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerExecuteCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1932
1770
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1933
1771
|
});
|
|
1934
1772
|
},
|
|
1935
1773
|
/**
|
|
1936
|
-
* Search for text/pattern inside workspace
|
|
1774
|
+
* Search for text/pattern inside workspace files
|
|
1937
1775
|
* @summary Search for text/pattern in files
|
|
1938
1776
|
* @param {string} workspaceId
|
|
1939
|
-
* @param {string} projectId
|
|
1940
1777
|
* @param {string} path
|
|
1941
1778
|
* @param {string} pattern
|
|
1942
1779
|
* @param {*} [options] Override http request option.
|
|
1943
1780
|
* @throws {RequiredError}
|
|
1944
1781
|
*/
|
|
1945
|
-
workspaceControllerFindInFiles(workspaceId,
|
|
1782
|
+
workspaceControllerFindInFiles(workspaceId, path, pattern, options) {
|
|
1946
1783
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1947
1784
|
var _a, _b, _c;
|
|
1948
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId,
|
|
1785
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId, path, pattern, options);
|
|
1949
1786
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1950
1787
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerFindInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1951
1788
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1952
1789
|
});
|
|
1953
1790
|
},
|
|
1954
1791
|
/**
|
|
1955
|
-
* Get file info inside workspace
|
|
1792
|
+
* Get file info inside workspace
|
|
1956
1793
|
* @summary Get file info
|
|
1957
1794
|
* @param {string} workspaceId
|
|
1958
|
-
* @param {string} projectId
|
|
1959
1795
|
* @param {string} path
|
|
1960
1796
|
* @param {*} [options] Override http request option.
|
|
1961
1797
|
* @throws {RequiredError}
|
|
1962
1798
|
*/
|
|
1963
|
-
workspaceControllerGetFileInfo(workspaceId,
|
|
1799
|
+
workspaceControllerGetFileInfo(workspaceId, path, options) {
|
|
1964
1800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1965
1801
|
var _a, _b, _c;
|
|
1966
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId,
|
|
1802
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId, path, options);
|
|
1967
1803
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1968
1804
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGetFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1969
1805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1970
1806
|
});
|
|
1971
1807
|
},
|
|
1972
1808
|
/**
|
|
1973
|
-
* Get project directory
|
|
1974
|
-
* @summary Get project dir
|
|
1809
|
+
* Get workspace project directory
|
|
1810
|
+
* @summary Get workspace project dir
|
|
1975
1811
|
* @param {string} workspaceId
|
|
1976
|
-
* @param {string} projectId
|
|
1977
1812
|
* @param {*} [options] Override http request option.
|
|
1978
1813
|
* @throws {RequiredError}
|
|
1979
1814
|
*/
|
|
1980
|
-
workspaceControllerGetProjectDir(workspaceId,
|
|
1815
|
+
workspaceControllerGetProjectDir(workspaceId, options) {
|
|
1981
1816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1982
1817
|
var _a, _b, _c;
|
|
1983
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId,
|
|
1818
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId, options);
|
|
1984
1819
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1985
1820
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGetProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1986
1821
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2006,15 +1841,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2006
1841
|
* Add files to git commit
|
|
2007
1842
|
* @summary Add files
|
|
2008
1843
|
* @param {string} workspaceId
|
|
2009
|
-
* @param {string} projectId
|
|
2010
1844
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2011
1845
|
* @param {*} [options] Override http request option.
|
|
2012
1846
|
* @throws {RequiredError}
|
|
2013
1847
|
*/
|
|
2014
|
-
workspaceControllerGitAddFiles(workspaceId,
|
|
1848
|
+
workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
|
|
2015
1849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2016
1850
|
var _a, _b, _c;
|
|
2017
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId,
|
|
1851
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options);
|
|
2018
1852
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2019
1853
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2020
1854
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2024,15 +1858,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2024
1858
|
* Get branch list from git repository
|
|
2025
1859
|
* @summary Get branch list
|
|
2026
1860
|
* @param {string} workspaceId
|
|
2027
|
-
* @param {string} projectId
|
|
2028
1861
|
* @param {string} path
|
|
2029
1862
|
* @param {*} [options] Override http request option.
|
|
2030
1863
|
* @throws {RequiredError}
|
|
2031
1864
|
*/
|
|
2032
|
-
workspaceControllerGitBranchList(workspaceId,
|
|
1865
|
+
workspaceControllerGitBranchList(workspaceId, path, options) {
|
|
2033
1866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2034
1867
|
var _a, _b, _c;
|
|
2035
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId,
|
|
1868
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId, path, options);
|
|
2036
1869
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2037
1870
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitBranchList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2038
1871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2042,15 +1875,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2042
1875
|
* Clone git repository
|
|
2043
1876
|
* @summary Clone repository
|
|
2044
1877
|
* @param {string} workspaceId
|
|
2045
|
-
* @param {string} projectId
|
|
2046
1878
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2047
1879
|
* @param {*} [options] Override http request option.
|
|
2048
1880
|
* @throws {RequiredError}
|
|
2049
1881
|
*/
|
|
2050
|
-
workspaceControllerGitCloneRepository(workspaceId,
|
|
1882
|
+
workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
|
|
2051
1883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2052
1884
|
var _a, _b, _c;
|
|
2053
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId,
|
|
1885
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options);
|
|
2054
1886
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2055
1887
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2056
1888
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2060,15 +1892,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2060
1892
|
* Commit changes to git repository
|
|
2061
1893
|
* @summary Commit changes
|
|
2062
1894
|
* @param {string} workspaceId
|
|
2063
|
-
* @param {string} projectId
|
|
2064
1895
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2065
1896
|
* @param {*} [options] Override http request option.
|
|
2066
1897
|
* @throws {RequiredError}
|
|
2067
1898
|
*/
|
|
2068
|
-
workspaceControllerGitCommitChanges(workspaceId,
|
|
1899
|
+
workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
|
|
2069
1900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2070
1901
|
var _a, _b, _c;
|
|
2071
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId,
|
|
1902
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options);
|
|
2072
1903
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2073
1904
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2074
1905
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2078,15 +1909,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2078
1909
|
* Get commit history from git repository
|
|
2079
1910
|
* @summary Get commit history
|
|
2080
1911
|
* @param {string} workspaceId
|
|
2081
|
-
* @param {string} projectId
|
|
2082
1912
|
* @param {string} path
|
|
2083
1913
|
* @param {*} [options] Override http request option.
|
|
2084
1914
|
* @throws {RequiredError}
|
|
2085
1915
|
*/
|
|
2086
|
-
workspaceControllerGitCommitHistory(workspaceId,
|
|
1916
|
+
workspaceControllerGitCommitHistory(workspaceId, path, options) {
|
|
2087
1917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2088
1918
|
var _a, _b, _c;
|
|
2089
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId,
|
|
1919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId, path, options);
|
|
2090
1920
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2091
1921
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitCommitHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2092
1922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2096,15 +1926,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2096
1926
|
* Create branch on git repository
|
|
2097
1927
|
* @summary Create branch
|
|
2098
1928
|
* @param {string} workspaceId
|
|
2099
|
-
* @param {string} projectId
|
|
2100
1929
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2101
1930
|
* @param {*} [options] Override http request option.
|
|
2102
1931
|
* @throws {RequiredError}
|
|
2103
1932
|
*/
|
|
2104
|
-
workspaceControllerGitCreateBranch(workspaceId,
|
|
1933
|
+
workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
|
|
2105
1934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2106
1935
|
var _a, _b, _c;
|
|
2107
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId,
|
|
1936
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options);
|
|
2108
1937
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2109
1938
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2110
1939
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2114,15 +1943,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2114
1943
|
* Pull changes from remote
|
|
2115
1944
|
* @summary Pull changes
|
|
2116
1945
|
* @param {string} workspaceId
|
|
2117
|
-
* @param {string} projectId
|
|
2118
1946
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2119
1947
|
* @param {*} [options] Override http request option.
|
|
2120
1948
|
* @throws {RequiredError}
|
|
2121
1949
|
*/
|
|
2122
|
-
workspaceControllerGitPullChanges(workspaceId,
|
|
1950
|
+
workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2123
1951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2124
1952
|
var _a, _b, _c;
|
|
2125
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId,
|
|
1953
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options);
|
|
2126
1954
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2127
1955
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2128
1956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2132,15 +1960,14 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2132
1960
|
* Push changes to remote
|
|
2133
1961
|
* @summary Push changes
|
|
2134
1962
|
* @param {string} workspaceId
|
|
2135
|
-
* @param {string} projectId
|
|
2136
1963
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2137
1964
|
* @param {*} [options] Override http request option.
|
|
2138
1965
|
* @throws {RequiredError}
|
|
2139
1966
|
*/
|
|
2140
|
-
workspaceControllerGitPushChanges(workspaceId,
|
|
1967
|
+
workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2141
1968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2142
1969
|
var _a, _b, _c;
|
|
2143
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId,
|
|
1970
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options);
|
|
2144
1971
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2145
1972
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2146
1973
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2150,33 +1977,31 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2150
1977
|
* Get status from git repository
|
|
2151
1978
|
* @summary Get git status
|
|
2152
1979
|
* @param {string} workspaceId
|
|
2153
|
-
* @param {string} projectId
|
|
2154
1980
|
* @param {string} path
|
|
2155
1981
|
* @param {*} [options] Override http request option.
|
|
2156
1982
|
* @throws {RequiredError}
|
|
2157
1983
|
*/
|
|
2158
|
-
workspaceControllerGitStatus(workspaceId,
|
|
1984
|
+
workspaceControllerGitStatus(workspaceId, path, options) {
|
|
2159
1985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2160
1986
|
var _a, _b, _c;
|
|
2161
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId,
|
|
1987
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId, path, options);
|
|
2162
1988
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2163
1989
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerGitStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2164
1990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2165
1991
|
});
|
|
2166
1992
|
},
|
|
2167
1993
|
/**
|
|
2168
|
-
* List files inside workspace
|
|
1994
|
+
* List files inside workspace
|
|
2169
1995
|
* @summary List files
|
|
2170
1996
|
* @param {string} workspaceId
|
|
2171
|
-
* @param {string} projectId
|
|
2172
1997
|
* @param {string} [path]
|
|
2173
1998
|
* @param {*} [options] Override http request option.
|
|
2174
1999
|
* @throws {RequiredError}
|
|
2175
2000
|
*/
|
|
2176
|
-
workspaceControllerListFiles(workspaceId,
|
|
2001
|
+
workspaceControllerListFiles(workspaceId, path, options) {
|
|
2177
2002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2178
2003
|
var _a, _b, _c;
|
|
2179
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId,
|
|
2004
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId, path, options);
|
|
2180
2005
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2181
2006
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerListFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2182
2007
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2198,19 +2023,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2198
2023
|
});
|
|
2199
2024
|
},
|
|
2200
2025
|
/**
|
|
2201
|
-
* Move file inside workspace
|
|
2026
|
+
* Move file inside workspace
|
|
2202
2027
|
* @summary Move file
|
|
2203
2028
|
* @param {string} workspaceId
|
|
2204
|
-
* @param {string} projectId
|
|
2205
2029
|
* @param {string} source
|
|
2206
2030
|
* @param {string} destination
|
|
2207
2031
|
* @param {*} [options] Override http request option.
|
|
2208
2032
|
* @throws {RequiredError}
|
|
2209
2033
|
*/
|
|
2210
|
-
workspaceControllerMoveFile(workspaceId,
|
|
2034
|
+
workspaceControllerMoveFile(workspaceId, source, destination, options) {
|
|
2211
2035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2212
2036
|
var _a, _b, _c;
|
|
2213
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId,
|
|
2037
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId, source, destination, options);
|
|
2214
2038
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2215
2039
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerMoveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2216
2040
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2233,18 +2057,17 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2233
2057
|
});
|
|
2234
2058
|
},
|
|
2235
2059
|
/**
|
|
2236
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2060
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2237
2061
|
* @summary Replace in files
|
|
2238
2062
|
* @param {string} workspaceId
|
|
2239
|
-
* @param {string} projectId
|
|
2240
2063
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2241
2064
|
* @param {*} [options] Override http request option.
|
|
2242
2065
|
* @throws {RequiredError}
|
|
2243
2066
|
*/
|
|
2244
|
-
workspaceControllerReplaceInFiles(workspaceId,
|
|
2067
|
+
workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
|
|
2245
2068
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2246
2069
|
var _a, _b, _c;
|
|
2247
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId,
|
|
2070
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options);
|
|
2248
2071
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2249
2072
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerReplaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2250
2073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2268,29 +2091,27 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2268
2091
|
});
|
|
2269
2092
|
},
|
|
2270
2093
|
/**
|
|
2271
|
-
* Search for files inside workspace
|
|
2094
|
+
* Search for files inside workspace
|
|
2272
2095
|
* @summary Search files
|
|
2273
2096
|
* @param {string} workspaceId
|
|
2274
|
-
* @param {string} projectId
|
|
2275
2097
|
* @param {string} path
|
|
2276
2098
|
* @param {string} pattern
|
|
2277
2099
|
* @param {*} [options] Override http request option.
|
|
2278
2100
|
* @throws {RequiredError}
|
|
2279
2101
|
*/
|
|
2280
|
-
workspaceControllerSearchFiles(workspaceId,
|
|
2102
|
+
workspaceControllerSearchFiles(workspaceId, path, pattern, options) {
|
|
2281
2103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2282
2104
|
var _a, _b, _c;
|
|
2283
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId,
|
|
2105
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId, path, pattern, options);
|
|
2284
2106
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2285
2107
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerSearchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2286
2108
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2287
2109
|
});
|
|
2288
2110
|
},
|
|
2289
2111
|
/**
|
|
2290
|
-
* Set file owner/group/permissions inside workspace
|
|
2112
|
+
* Set file owner/group/permissions inside workspace
|
|
2291
2113
|
* @summary Set file permissions
|
|
2292
2114
|
* @param {string} workspaceId
|
|
2293
|
-
* @param {string} projectId
|
|
2294
2115
|
* @param {string} path
|
|
2295
2116
|
* @param {string} owner
|
|
2296
2117
|
* @param {string} group
|
|
@@ -2298,31 +2119,15 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2298
2119
|
* @param {*} [options] Override http request option.
|
|
2299
2120
|
* @throws {RequiredError}
|
|
2300
2121
|
*/
|
|
2301
|
-
workspaceControllerSetFilePermissions(workspaceId,
|
|
2122
|
+
workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
|
|
2302
2123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2303
2124
|
var _a, _b, _c;
|
|
2304
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId,
|
|
2125
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options);
|
|
2305
2126
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2306
2127
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerSetFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2307
2128
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2308
2129
|
});
|
|
2309
2130
|
},
|
|
2310
|
-
/**
|
|
2311
|
-
*
|
|
2312
|
-
* @param {string} workspaceId
|
|
2313
|
-
* @param {string} projectId
|
|
2314
|
-
* @param {*} [options] Override http request option.
|
|
2315
|
-
* @throws {RequiredError}
|
|
2316
|
-
*/
|
|
2317
|
-
workspaceControllerStartProject(workspaceId, projectId, options) {
|
|
2318
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2319
|
-
var _a, _b, _c;
|
|
2320
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerStartProject(workspaceId, projectId, options);
|
|
2321
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2322
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerStartProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2323
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2324
|
-
});
|
|
2325
|
-
},
|
|
2326
2131
|
/**
|
|
2327
2132
|
*
|
|
2328
2133
|
* @param {string} workspaceId
|
|
@@ -2338,22 +2143,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2338
2143
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2339
2144
|
});
|
|
2340
2145
|
},
|
|
2341
|
-
/**
|
|
2342
|
-
*
|
|
2343
|
-
* @param {string} workspaceId
|
|
2344
|
-
* @param {string} projectId
|
|
2345
|
-
* @param {*} [options] Override http request option.
|
|
2346
|
-
* @throws {RequiredError}
|
|
2347
|
-
*/
|
|
2348
|
-
workspaceControllerStopProject(workspaceId, projectId, options) {
|
|
2349
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2350
|
-
var _a, _b, _c;
|
|
2351
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerStopProject(workspaceId, projectId, options);
|
|
2352
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2353
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerStopProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2355
|
-
});
|
|
2356
|
-
},
|
|
2357
2146
|
/**
|
|
2358
2147
|
*
|
|
2359
2148
|
* @param {string} workspaceId
|
|
@@ -2370,19 +2159,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2370
2159
|
});
|
|
2371
2160
|
},
|
|
2372
2161
|
/**
|
|
2373
|
-
* Upload file inside workspace
|
|
2162
|
+
* Upload file inside workspace
|
|
2374
2163
|
* @summary Upload file
|
|
2375
2164
|
* @param {string} workspaceId
|
|
2376
|
-
* @param {string} projectId
|
|
2377
2165
|
* @param {string} path
|
|
2378
2166
|
* @param {File} [file]
|
|
2379
2167
|
* @param {*} [options] Override http request option.
|
|
2380
2168
|
* @throws {RequiredError}
|
|
2381
2169
|
*/
|
|
2382
|
-
workspaceControllerUploadFile(workspaceId,
|
|
2170
|
+
workspaceControllerUploadFile(workspaceId, path, file, options) {
|
|
2383
2171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2384
2172
|
var _a, _b, _c;
|
|
2385
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId,
|
|
2173
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId, path, file, options);
|
|
2386
2174
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2387
2175
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.workspaceControllerUploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2388
2176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2497,17 +2285,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2497
2285
|
return localVarFp.userControllerRegenerateKeyPair(id, options).then((request) => request(axios, basePath));
|
|
2498
2286
|
},
|
|
2499
2287
|
/**
|
|
2500
|
-
* Create folder inside workspace
|
|
2288
|
+
* Create folder inside workspace
|
|
2501
2289
|
* @summary Create folder
|
|
2502
2290
|
* @param {string} workspaceId
|
|
2503
|
-
* @param {string} projectId
|
|
2504
2291
|
* @param {string} path
|
|
2505
2292
|
* @param {string} mode
|
|
2506
2293
|
* @param {*} [options] Override http request option.
|
|
2507
2294
|
* @throws {RequiredError}
|
|
2508
2295
|
*/
|
|
2509
|
-
workspaceControllerCreateFolder(workspaceId,
|
|
2510
|
-
return localVarFp.workspaceControllerCreateFolder(workspaceId,
|
|
2296
|
+
workspaceControllerCreateFolder(workspaceId, path, mode, options) {
|
|
2297
|
+
return localVarFp.workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
|
|
2511
2298
|
},
|
|
2512
2299
|
/**
|
|
2513
2300
|
*
|
|
@@ -2529,76 +2316,70 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2529
2316
|
return localVarFp.workspaceControllerCreateWorkspace(createWorkspaceDto, options).then((request) => request(axios, basePath));
|
|
2530
2317
|
},
|
|
2531
2318
|
/**
|
|
2532
|
-
* Delete file inside workspace
|
|
2319
|
+
* Delete file inside workspace
|
|
2533
2320
|
* @summary Delete file
|
|
2534
2321
|
* @param {string} workspaceId
|
|
2535
|
-
* @param {string} projectId
|
|
2536
2322
|
* @param {string} path
|
|
2537
2323
|
* @param {*} [options] Override http request option.
|
|
2538
2324
|
* @throws {RequiredError}
|
|
2539
2325
|
*/
|
|
2540
|
-
workspaceControllerDeleteFile(workspaceId,
|
|
2541
|
-
return localVarFp.workspaceControllerDeleteFile(workspaceId,
|
|
2326
|
+
workspaceControllerDeleteFile(workspaceId, path, options) {
|
|
2327
|
+
return localVarFp.workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2542
2328
|
},
|
|
2543
2329
|
/**
|
|
2544
|
-
* Download file from workspace
|
|
2330
|
+
* Download file from workspace
|
|
2545
2331
|
* @summary Download file
|
|
2546
2332
|
* @param {string} workspaceId
|
|
2547
|
-
* @param {string} projectId
|
|
2548
2333
|
* @param {string} path
|
|
2549
2334
|
* @param {*} [options] Override http request option.
|
|
2550
2335
|
* @throws {RequiredError}
|
|
2551
2336
|
*/
|
|
2552
|
-
workspaceControllerDownloadFile(workspaceId,
|
|
2553
|
-
return localVarFp.workspaceControllerDownloadFile(workspaceId,
|
|
2337
|
+
workspaceControllerDownloadFile(workspaceId, path, options) {
|
|
2338
|
+
return localVarFp.workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2554
2339
|
},
|
|
2555
2340
|
/**
|
|
2556
|
-
* Execute command synchronously inside workspace
|
|
2341
|
+
* Execute command synchronously inside workspace
|
|
2557
2342
|
* @summary Execute command
|
|
2558
2343
|
* @param {string} workspaceId
|
|
2559
|
-
* @param {string} projectId
|
|
2560
2344
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
2561
2345
|
* @param {*} [options] Override http request option.
|
|
2562
2346
|
* @throws {RequiredError}
|
|
2563
2347
|
*/
|
|
2564
|
-
workspaceControllerExecuteCommand(workspaceId,
|
|
2565
|
-
return localVarFp.workspaceControllerExecuteCommand(workspaceId,
|
|
2348
|
+
workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options) {
|
|
2349
|
+
return localVarFp.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
|
|
2566
2350
|
},
|
|
2567
2351
|
/**
|
|
2568
|
-
* Search for text/pattern inside workspace
|
|
2352
|
+
* Search for text/pattern inside workspace files
|
|
2569
2353
|
* @summary Search for text/pattern in files
|
|
2570
2354
|
* @param {string} workspaceId
|
|
2571
|
-
* @param {string} projectId
|
|
2572
2355
|
* @param {string} path
|
|
2573
2356
|
* @param {string} pattern
|
|
2574
2357
|
* @param {*} [options] Override http request option.
|
|
2575
2358
|
* @throws {RequiredError}
|
|
2576
2359
|
*/
|
|
2577
|
-
workspaceControllerFindInFiles(workspaceId,
|
|
2578
|
-
return localVarFp.workspaceControllerFindInFiles(workspaceId,
|
|
2360
|
+
workspaceControllerFindInFiles(workspaceId, path, pattern, options) {
|
|
2361
|
+
return localVarFp.workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2579
2362
|
},
|
|
2580
2363
|
/**
|
|
2581
|
-
* Get file info inside workspace
|
|
2364
|
+
* Get file info inside workspace
|
|
2582
2365
|
* @summary Get file info
|
|
2583
2366
|
* @param {string} workspaceId
|
|
2584
|
-
* @param {string} projectId
|
|
2585
2367
|
* @param {string} path
|
|
2586
2368
|
* @param {*} [options] Override http request option.
|
|
2587
2369
|
* @throws {RequiredError}
|
|
2588
2370
|
*/
|
|
2589
|
-
workspaceControllerGetFileInfo(workspaceId,
|
|
2590
|
-
return localVarFp.workspaceControllerGetFileInfo(workspaceId,
|
|
2371
|
+
workspaceControllerGetFileInfo(workspaceId, path, options) {
|
|
2372
|
+
return localVarFp.workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2591
2373
|
},
|
|
2592
2374
|
/**
|
|
2593
|
-
* Get project directory
|
|
2594
|
-
* @summary Get project dir
|
|
2375
|
+
* Get workspace project directory
|
|
2376
|
+
* @summary Get workspace project dir
|
|
2595
2377
|
* @param {string} workspaceId
|
|
2596
|
-
* @param {string} projectId
|
|
2597
2378
|
* @param {*} [options] Override http request option.
|
|
2598
2379
|
* @throws {RequiredError}
|
|
2599
2380
|
*/
|
|
2600
|
-
workspaceControllerGetProjectDir(workspaceId,
|
|
2601
|
-
return localVarFp.workspaceControllerGetProjectDir(workspaceId,
|
|
2381
|
+
workspaceControllerGetProjectDir(workspaceId, options) {
|
|
2382
|
+
return localVarFp.workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(axios, basePath));
|
|
2602
2383
|
},
|
|
2603
2384
|
/**
|
|
2604
2385
|
*
|
|
@@ -2614,121 +2395,111 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2614
2395
|
* Add files to git commit
|
|
2615
2396
|
* @summary Add files
|
|
2616
2397
|
* @param {string} workspaceId
|
|
2617
|
-
* @param {string} projectId
|
|
2618
2398
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2619
2399
|
* @param {*} [options] Override http request option.
|
|
2620
2400
|
* @throws {RequiredError}
|
|
2621
2401
|
*/
|
|
2622
|
-
workspaceControllerGitAddFiles(workspaceId,
|
|
2623
|
-
return localVarFp.workspaceControllerGitAddFiles(workspaceId,
|
|
2402
|
+
workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
|
|
2403
|
+
return localVarFp.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
|
|
2624
2404
|
},
|
|
2625
2405
|
/**
|
|
2626
2406
|
* Get branch list from git repository
|
|
2627
2407
|
* @summary Get branch list
|
|
2628
2408
|
* @param {string} workspaceId
|
|
2629
|
-
* @param {string} projectId
|
|
2630
2409
|
* @param {string} path
|
|
2631
2410
|
* @param {*} [options] Override http request option.
|
|
2632
2411
|
* @throws {RequiredError}
|
|
2633
2412
|
*/
|
|
2634
|
-
workspaceControllerGitBranchList(workspaceId,
|
|
2635
|
-
return localVarFp.workspaceControllerGitBranchList(workspaceId,
|
|
2413
|
+
workspaceControllerGitBranchList(workspaceId, path, options) {
|
|
2414
|
+
return localVarFp.workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2636
2415
|
},
|
|
2637
2416
|
/**
|
|
2638
2417
|
* Clone git repository
|
|
2639
2418
|
* @summary Clone repository
|
|
2640
2419
|
* @param {string} workspaceId
|
|
2641
|
-
* @param {string} projectId
|
|
2642
2420
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2643
2421
|
* @param {*} [options] Override http request option.
|
|
2644
2422
|
* @throws {RequiredError}
|
|
2645
2423
|
*/
|
|
2646
|
-
workspaceControllerGitCloneRepository(workspaceId,
|
|
2647
|
-
return localVarFp.workspaceControllerGitCloneRepository(workspaceId,
|
|
2424
|
+
workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
|
|
2425
|
+
return localVarFp.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
|
|
2648
2426
|
},
|
|
2649
2427
|
/**
|
|
2650
2428
|
* Commit changes to git repository
|
|
2651
2429
|
* @summary Commit changes
|
|
2652
2430
|
* @param {string} workspaceId
|
|
2653
|
-
* @param {string} projectId
|
|
2654
2431
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2655
2432
|
* @param {*} [options] Override http request option.
|
|
2656
2433
|
* @throws {RequiredError}
|
|
2657
2434
|
*/
|
|
2658
|
-
workspaceControllerGitCommitChanges(workspaceId,
|
|
2659
|
-
return localVarFp.workspaceControllerGitCommitChanges(workspaceId,
|
|
2435
|
+
workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
|
|
2436
|
+
return localVarFp.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
|
|
2660
2437
|
},
|
|
2661
2438
|
/**
|
|
2662
2439
|
* Get commit history from git repository
|
|
2663
2440
|
* @summary Get commit history
|
|
2664
2441
|
* @param {string} workspaceId
|
|
2665
|
-
* @param {string} projectId
|
|
2666
2442
|
* @param {string} path
|
|
2667
2443
|
* @param {*} [options] Override http request option.
|
|
2668
2444
|
* @throws {RequiredError}
|
|
2669
2445
|
*/
|
|
2670
|
-
workspaceControllerGitCommitHistory(workspaceId,
|
|
2671
|
-
return localVarFp.workspaceControllerGitCommitHistory(workspaceId,
|
|
2446
|
+
workspaceControllerGitCommitHistory(workspaceId, path, options) {
|
|
2447
|
+
return localVarFp.workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2672
2448
|
},
|
|
2673
2449
|
/**
|
|
2674
2450
|
* Create branch on git repository
|
|
2675
2451
|
* @summary Create branch
|
|
2676
2452
|
* @param {string} workspaceId
|
|
2677
|
-
* @param {string} projectId
|
|
2678
2453
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2679
2454
|
* @param {*} [options] Override http request option.
|
|
2680
2455
|
* @throws {RequiredError}
|
|
2681
2456
|
*/
|
|
2682
|
-
workspaceControllerGitCreateBranch(workspaceId,
|
|
2683
|
-
return localVarFp.workspaceControllerGitCreateBranch(workspaceId,
|
|
2457
|
+
workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
|
|
2458
|
+
return localVarFp.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
|
|
2684
2459
|
},
|
|
2685
2460
|
/**
|
|
2686
2461
|
* Pull changes from remote
|
|
2687
2462
|
* @summary Pull changes
|
|
2688
2463
|
* @param {string} workspaceId
|
|
2689
|
-
* @param {string} projectId
|
|
2690
2464
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2691
2465
|
* @param {*} [options] Override http request option.
|
|
2692
2466
|
* @throws {RequiredError}
|
|
2693
2467
|
*/
|
|
2694
|
-
workspaceControllerGitPullChanges(workspaceId,
|
|
2695
|
-
return localVarFp.workspaceControllerGitPullChanges(workspaceId,
|
|
2468
|
+
workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2469
|
+
return localVarFp.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2696
2470
|
},
|
|
2697
2471
|
/**
|
|
2698
2472
|
* Push changes to remote
|
|
2699
2473
|
* @summary Push changes
|
|
2700
2474
|
* @param {string} workspaceId
|
|
2701
|
-
* @param {string} projectId
|
|
2702
2475
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2703
2476
|
* @param {*} [options] Override http request option.
|
|
2704
2477
|
* @throws {RequiredError}
|
|
2705
2478
|
*/
|
|
2706
|
-
workspaceControllerGitPushChanges(workspaceId,
|
|
2707
|
-
return localVarFp.workspaceControllerGitPushChanges(workspaceId,
|
|
2479
|
+
workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2480
|
+
return localVarFp.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2708
2481
|
},
|
|
2709
2482
|
/**
|
|
2710
2483
|
* Get status from git repository
|
|
2711
2484
|
* @summary Get git status
|
|
2712
2485
|
* @param {string} workspaceId
|
|
2713
|
-
* @param {string} projectId
|
|
2714
2486
|
* @param {string} path
|
|
2715
2487
|
* @param {*} [options] Override http request option.
|
|
2716
2488
|
* @throws {RequiredError}
|
|
2717
2489
|
*/
|
|
2718
|
-
workspaceControllerGitStatus(workspaceId,
|
|
2719
|
-
return localVarFp.workspaceControllerGitStatus(workspaceId,
|
|
2490
|
+
workspaceControllerGitStatus(workspaceId, path, options) {
|
|
2491
|
+
return localVarFp.workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2720
2492
|
},
|
|
2721
2493
|
/**
|
|
2722
|
-
* List files inside workspace
|
|
2494
|
+
* List files inside workspace
|
|
2723
2495
|
* @summary List files
|
|
2724
2496
|
* @param {string} workspaceId
|
|
2725
|
-
* @param {string} projectId
|
|
2726
2497
|
* @param {string} [path]
|
|
2727
2498
|
* @param {*} [options] Override http request option.
|
|
2728
2499
|
* @throws {RequiredError}
|
|
2729
2500
|
*/
|
|
2730
|
-
workspaceControllerListFiles(workspaceId,
|
|
2731
|
-
return localVarFp.workspaceControllerListFiles(workspaceId,
|
|
2501
|
+
workspaceControllerListFiles(workspaceId, path, options) {
|
|
2502
|
+
return localVarFp.workspaceControllerListFiles(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2732
2503
|
},
|
|
2733
2504
|
/**
|
|
2734
2505
|
*
|
|
@@ -2740,17 +2511,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2740
2511
|
return localVarFp.workspaceControllerListWorkspaces(verbose, options).then((request) => request(axios, basePath));
|
|
2741
2512
|
},
|
|
2742
2513
|
/**
|
|
2743
|
-
* Move file inside workspace
|
|
2514
|
+
* Move file inside workspace
|
|
2744
2515
|
* @summary Move file
|
|
2745
2516
|
* @param {string} workspaceId
|
|
2746
|
-
* @param {string} projectId
|
|
2747
2517
|
* @param {string} source
|
|
2748
2518
|
* @param {string} destination
|
|
2749
2519
|
* @param {*} [options] Override http request option.
|
|
2750
2520
|
* @throws {RequiredError}
|
|
2751
2521
|
*/
|
|
2752
|
-
workspaceControllerMoveFile(workspaceId,
|
|
2753
|
-
return localVarFp.workspaceControllerMoveFile(workspaceId,
|
|
2522
|
+
workspaceControllerMoveFile(workspaceId, source, destination, options) {
|
|
2523
|
+
return localVarFp.workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
|
|
2754
2524
|
},
|
|
2755
2525
|
/**
|
|
2756
2526
|
*
|
|
@@ -2763,16 +2533,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2763
2533
|
return localVarFp.workspaceControllerRemoveWorkspace(workspaceId, force, options).then((request) => request(axios, basePath));
|
|
2764
2534
|
},
|
|
2765
2535
|
/**
|
|
2766
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2536
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2767
2537
|
* @summary Replace in files
|
|
2768
2538
|
* @param {string} workspaceId
|
|
2769
|
-
* @param {string} projectId
|
|
2770
2539
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2771
2540
|
* @param {*} [options] Override http request option.
|
|
2772
2541
|
* @throws {RequiredError}
|
|
2773
2542
|
*/
|
|
2774
|
-
workspaceControllerReplaceInFiles(workspaceId,
|
|
2775
|
-
return localVarFp.workspaceControllerReplaceInFiles(workspaceId,
|
|
2543
|
+
workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
|
|
2544
|
+
return localVarFp.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
|
|
2776
2545
|
},
|
|
2777
2546
|
/**
|
|
2778
2547
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
@@ -2786,23 +2555,21 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2786
2555
|
return localVarFp.workspaceControllerReplaceLabels(workspaceId, workspaceLabelsDto, options).then((request) => request(axios, basePath));
|
|
2787
2556
|
},
|
|
2788
2557
|
/**
|
|
2789
|
-
* Search for files inside workspace
|
|
2558
|
+
* Search for files inside workspace
|
|
2790
2559
|
* @summary Search files
|
|
2791
2560
|
* @param {string} workspaceId
|
|
2792
|
-
* @param {string} projectId
|
|
2793
2561
|
* @param {string} path
|
|
2794
2562
|
* @param {string} pattern
|
|
2795
2563
|
* @param {*} [options] Override http request option.
|
|
2796
2564
|
* @throws {RequiredError}
|
|
2797
2565
|
*/
|
|
2798
|
-
workspaceControllerSearchFiles(workspaceId,
|
|
2799
|
-
return localVarFp.workspaceControllerSearchFiles(workspaceId,
|
|
2566
|
+
workspaceControllerSearchFiles(workspaceId, path, pattern, options) {
|
|
2567
|
+
return localVarFp.workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2800
2568
|
},
|
|
2801
2569
|
/**
|
|
2802
|
-
* Set file owner/group/permissions inside workspace
|
|
2570
|
+
* Set file owner/group/permissions inside workspace
|
|
2803
2571
|
* @summary Set file permissions
|
|
2804
2572
|
* @param {string} workspaceId
|
|
2805
|
-
* @param {string} projectId
|
|
2806
2573
|
* @param {string} path
|
|
2807
2574
|
* @param {string} owner
|
|
2808
2575
|
* @param {string} group
|
|
@@ -2810,18 +2577,8 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2810
2577
|
* @param {*} [options] Override http request option.
|
|
2811
2578
|
* @throws {RequiredError}
|
|
2812
2579
|
*/
|
|
2813
|
-
workspaceControllerSetFilePermissions(workspaceId,
|
|
2814
|
-
return localVarFp.workspaceControllerSetFilePermissions(workspaceId,
|
|
2815
|
-
},
|
|
2816
|
-
/**
|
|
2817
|
-
*
|
|
2818
|
-
* @param {string} workspaceId
|
|
2819
|
-
* @param {string} projectId
|
|
2820
|
-
* @param {*} [options] Override http request option.
|
|
2821
|
-
* @throws {RequiredError}
|
|
2822
|
-
*/
|
|
2823
|
-
workspaceControllerStartProject(workspaceId, projectId, options) {
|
|
2824
|
-
return localVarFp.workspaceControllerStartProject(workspaceId, projectId, options).then((request) => request(axios, basePath));
|
|
2580
|
+
workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
|
|
2581
|
+
return localVarFp.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
|
|
2825
2582
|
},
|
|
2826
2583
|
/**
|
|
2827
2584
|
*
|
|
@@ -2832,16 +2589,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2832
2589
|
workspaceControllerStartWorkspace(workspaceId, options) {
|
|
2833
2590
|
return localVarFp.workspaceControllerStartWorkspace(workspaceId, options).then((request) => request(axios, basePath));
|
|
2834
2591
|
},
|
|
2835
|
-
/**
|
|
2836
|
-
*
|
|
2837
|
-
* @param {string} workspaceId
|
|
2838
|
-
* @param {string} projectId
|
|
2839
|
-
* @param {*} [options] Override http request option.
|
|
2840
|
-
* @throws {RequiredError}
|
|
2841
|
-
*/
|
|
2842
|
-
workspaceControllerStopProject(workspaceId, projectId, options) {
|
|
2843
|
-
return localVarFp.workspaceControllerStopProject(workspaceId, projectId, options).then((request) => request(axios, basePath));
|
|
2844
|
-
},
|
|
2845
2592
|
/**
|
|
2846
2593
|
*
|
|
2847
2594
|
* @param {string} workspaceId
|
|
@@ -2852,17 +2599,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2852
2599
|
return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
|
|
2853
2600
|
},
|
|
2854
2601
|
/**
|
|
2855
|
-
* Upload file inside workspace
|
|
2602
|
+
* Upload file inside workspace
|
|
2856
2603
|
* @summary Upload file
|
|
2857
2604
|
* @param {string} workspaceId
|
|
2858
|
-
* @param {string} projectId
|
|
2859
2605
|
* @param {string} path
|
|
2860
2606
|
* @param {File} [file]
|
|
2861
2607
|
* @param {*} [options] Override http request option.
|
|
2862
2608
|
* @throws {RequiredError}
|
|
2863
2609
|
*/
|
|
2864
|
-
workspaceControllerUploadFile(workspaceId,
|
|
2865
|
-
return localVarFp.workspaceControllerUploadFile(workspaceId,
|
|
2610
|
+
workspaceControllerUploadFile(workspaceId, path, file, options) {
|
|
2611
|
+
return localVarFp.workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
|
|
2866
2612
|
},
|
|
2867
2613
|
};
|
|
2868
2614
|
};
|
|
@@ -2984,18 +2730,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
2984
2730
|
return DefaultApiFp(this.configuration).userControllerRegenerateKeyPair(id, options).then((request) => request(this.axios, this.basePath));
|
|
2985
2731
|
}
|
|
2986
2732
|
/**
|
|
2987
|
-
* Create folder inside workspace
|
|
2733
|
+
* Create folder inside workspace
|
|
2988
2734
|
* @summary Create folder
|
|
2989
2735
|
* @param {string} workspaceId
|
|
2990
|
-
* @param {string} projectId
|
|
2991
2736
|
* @param {string} path
|
|
2992
2737
|
* @param {string} mode
|
|
2993
2738
|
* @param {*} [options] Override http request option.
|
|
2994
2739
|
* @throws {RequiredError}
|
|
2995
2740
|
* @memberof DefaultApi
|
|
2996
2741
|
*/
|
|
2997
|
-
workspaceControllerCreateFolder(workspaceId,
|
|
2998
|
-
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId,
|
|
2742
|
+
workspaceControllerCreateFolder(workspaceId, path, mode, options) {
|
|
2743
|
+
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
|
|
2999
2744
|
}
|
|
3000
2745
|
/**
|
|
3001
2746
|
*
|
|
@@ -3019,82 +2764,76 @@ export class DefaultApi extends BaseAPI {
|
|
|
3019
2764
|
return DefaultApiFp(this.configuration).workspaceControllerCreateWorkspace(createWorkspaceDto, options).then((request) => request(this.axios, this.basePath));
|
|
3020
2765
|
}
|
|
3021
2766
|
/**
|
|
3022
|
-
* Delete file inside workspace
|
|
2767
|
+
* Delete file inside workspace
|
|
3023
2768
|
* @summary Delete file
|
|
3024
2769
|
* @param {string} workspaceId
|
|
3025
|
-
* @param {string} projectId
|
|
3026
2770
|
* @param {string} path
|
|
3027
2771
|
* @param {*} [options] Override http request option.
|
|
3028
2772
|
* @throws {RequiredError}
|
|
3029
2773
|
* @memberof DefaultApi
|
|
3030
2774
|
*/
|
|
3031
|
-
workspaceControllerDeleteFile(workspaceId,
|
|
3032
|
-
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId,
|
|
2775
|
+
workspaceControllerDeleteFile(workspaceId, path, options) {
|
|
2776
|
+
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3033
2777
|
}
|
|
3034
2778
|
/**
|
|
3035
|
-
* Download file from workspace
|
|
2779
|
+
* Download file from workspace
|
|
3036
2780
|
* @summary Download file
|
|
3037
2781
|
* @param {string} workspaceId
|
|
3038
|
-
* @param {string} projectId
|
|
3039
2782
|
* @param {string} path
|
|
3040
2783
|
* @param {*} [options] Override http request option.
|
|
3041
2784
|
* @throws {RequiredError}
|
|
3042
2785
|
* @memberof DefaultApi
|
|
3043
2786
|
*/
|
|
3044
|
-
workspaceControllerDownloadFile(workspaceId,
|
|
3045
|
-
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId,
|
|
2787
|
+
workspaceControllerDownloadFile(workspaceId, path, options) {
|
|
2788
|
+
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3046
2789
|
}
|
|
3047
2790
|
/**
|
|
3048
|
-
* Execute command synchronously inside workspace
|
|
2791
|
+
* Execute command synchronously inside workspace
|
|
3049
2792
|
* @summary Execute command
|
|
3050
2793
|
* @param {string} workspaceId
|
|
3051
|
-
* @param {string} projectId
|
|
3052
2794
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
3053
2795
|
* @param {*} [options] Override http request option.
|
|
3054
2796
|
* @throws {RequiredError}
|
|
3055
2797
|
* @memberof DefaultApi
|
|
3056
2798
|
*/
|
|
3057
|
-
workspaceControllerExecuteCommand(workspaceId,
|
|
3058
|
-
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId,
|
|
2799
|
+
workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options) {
|
|
2800
|
+
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3059
2801
|
}
|
|
3060
2802
|
/**
|
|
3061
|
-
* Search for text/pattern inside workspace
|
|
2803
|
+
* Search for text/pattern inside workspace files
|
|
3062
2804
|
* @summary Search for text/pattern in files
|
|
3063
2805
|
* @param {string} workspaceId
|
|
3064
|
-
* @param {string} projectId
|
|
3065
2806
|
* @param {string} path
|
|
3066
2807
|
* @param {string} pattern
|
|
3067
2808
|
* @param {*} [options] Override http request option.
|
|
3068
2809
|
* @throws {RequiredError}
|
|
3069
2810
|
* @memberof DefaultApi
|
|
3070
2811
|
*/
|
|
3071
|
-
workspaceControllerFindInFiles(workspaceId,
|
|
3072
|
-
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId,
|
|
2812
|
+
workspaceControllerFindInFiles(workspaceId, path, pattern, options) {
|
|
2813
|
+
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3073
2814
|
}
|
|
3074
2815
|
/**
|
|
3075
|
-
* Get file info inside workspace
|
|
2816
|
+
* Get file info inside workspace
|
|
3076
2817
|
* @summary Get file info
|
|
3077
2818
|
* @param {string} workspaceId
|
|
3078
|
-
* @param {string} projectId
|
|
3079
2819
|
* @param {string} path
|
|
3080
2820
|
* @param {*} [options] Override http request option.
|
|
3081
2821
|
* @throws {RequiredError}
|
|
3082
2822
|
* @memberof DefaultApi
|
|
3083
2823
|
*/
|
|
3084
|
-
workspaceControllerGetFileInfo(workspaceId,
|
|
3085
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId,
|
|
2824
|
+
workspaceControllerGetFileInfo(workspaceId, path, options) {
|
|
2825
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3086
2826
|
}
|
|
3087
2827
|
/**
|
|
3088
|
-
* Get project directory
|
|
3089
|
-
* @summary Get project dir
|
|
2828
|
+
* Get workspace project directory
|
|
2829
|
+
* @summary Get workspace project dir
|
|
3090
2830
|
* @param {string} workspaceId
|
|
3091
|
-
* @param {string} projectId
|
|
3092
2831
|
* @param {*} [options] Override http request option.
|
|
3093
2832
|
* @throws {RequiredError}
|
|
3094
2833
|
* @memberof DefaultApi
|
|
3095
2834
|
*/
|
|
3096
|
-
workspaceControllerGetProjectDir(workspaceId,
|
|
3097
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId,
|
|
2835
|
+
workspaceControllerGetProjectDir(workspaceId, options) {
|
|
2836
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3098
2837
|
}
|
|
3099
2838
|
/**
|
|
3100
2839
|
*
|
|
@@ -3111,131 +2850,121 @@ export class DefaultApi extends BaseAPI {
|
|
|
3111
2850
|
* Add files to git commit
|
|
3112
2851
|
* @summary Add files
|
|
3113
2852
|
* @param {string} workspaceId
|
|
3114
|
-
* @param {string} projectId
|
|
3115
2853
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
3116
2854
|
* @param {*} [options] Override http request option.
|
|
3117
2855
|
* @throws {RequiredError}
|
|
3118
2856
|
* @memberof DefaultApi
|
|
3119
2857
|
*/
|
|
3120
|
-
workspaceControllerGitAddFiles(workspaceId,
|
|
3121
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId,
|
|
2858
|
+
workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options) {
|
|
2859
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3122
2860
|
}
|
|
3123
2861
|
/**
|
|
3124
2862
|
* Get branch list from git repository
|
|
3125
2863
|
* @summary Get branch list
|
|
3126
2864
|
* @param {string} workspaceId
|
|
3127
|
-
* @param {string} projectId
|
|
3128
2865
|
* @param {string} path
|
|
3129
2866
|
* @param {*} [options] Override http request option.
|
|
3130
2867
|
* @throws {RequiredError}
|
|
3131
2868
|
* @memberof DefaultApi
|
|
3132
2869
|
*/
|
|
3133
|
-
workspaceControllerGitBranchList(workspaceId,
|
|
3134
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId,
|
|
2870
|
+
workspaceControllerGitBranchList(workspaceId, path, options) {
|
|
2871
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3135
2872
|
}
|
|
3136
2873
|
/**
|
|
3137
2874
|
* Clone git repository
|
|
3138
2875
|
* @summary Clone repository
|
|
3139
2876
|
* @param {string} workspaceId
|
|
3140
|
-
* @param {string} projectId
|
|
3141
2877
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
3142
2878
|
* @param {*} [options] Override http request option.
|
|
3143
2879
|
* @throws {RequiredError}
|
|
3144
2880
|
* @memberof DefaultApi
|
|
3145
2881
|
*/
|
|
3146
|
-
workspaceControllerGitCloneRepository(workspaceId,
|
|
3147
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId,
|
|
2882
|
+
workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options) {
|
|
2883
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3148
2884
|
}
|
|
3149
2885
|
/**
|
|
3150
2886
|
* Commit changes to git repository
|
|
3151
2887
|
* @summary Commit changes
|
|
3152
2888
|
* @param {string} workspaceId
|
|
3153
|
-
* @param {string} projectId
|
|
3154
2889
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
3155
2890
|
* @param {*} [options] Override http request option.
|
|
3156
2891
|
* @throws {RequiredError}
|
|
3157
2892
|
* @memberof DefaultApi
|
|
3158
2893
|
*/
|
|
3159
|
-
workspaceControllerGitCommitChanges(workspaceId,
|
|
3160
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId,
|
|
2894
|
+
workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options) {
|
|
2895
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3161
2896
|
}
|
|
3162
2897
|
/**
|
|
3163
2898
|
* Get commit history from git repository
|
|
3164
2899
|
* @summary Get commit history
|
|
3165
2900
|
* @param {string} workspaceId
|
|
3166
|
-
* @param {string} projectId
|
|
3167
2901
|
* @param {string} path
|
|
3168
2902
|
* @param {*} [options] Override http request option.
|
|
3169
2903
|
* @throws {RequiredError}
|
|
3170
2904
|
* @memberof DefaultApi
|
|
3171
2905
|
*/
|
|
3172
|
-
workspaceControllerGitCommitHistory(workspaceId,
|
|
3173
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId,
|
|
2906
|
+
workspaceControllerGitCommitHistory(workspaceId, path, options) {
|
|
2907
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3174
2908
|
}
|
|
3175
2909
|
/**
|
|
3176
2910
|
* Create branch on git repository
|
|
3177
2911
|
* @summary Create branch
|
|
3178
2912
|
* @param {string} workspaceId
|
|
3179
|
-
* @param {string} projectId
|
|
3180
2913
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
3181
2914
|
* @param {*} [options] Override http request option.
|
|
3182
2915
|
* @throws {RequiredError}
|
|
3183
2916
|
* @memberof DefaultApi
|
|
3184
2917
|
*/
|
|
3185
|
-
workspaceControllerGitCreateBranch(workspaceId,
|
|
3186
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId,
|
|
2918
|
+
workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options) {
|
|
2919
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3187
2920
|
}
|
|
3188
2921
|
/**
|
|
3189
2922
|
* Pull changes from remote
|
|
3190
2923
|
* @summary Pull changes
|
|
3191
2924
|
* @param {string} workspaceId
|
|
3192
|
-
* @param {string} projectId
|
|
3193
2925
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3194
2926
|
* @param {*} [options] Override http request option.
|
|
3195
2927
|
* @throws {RequiredError}
|
|
3196
2928
|
* @memberof DefaultApi
|
|
3197
2929
|
*/
|
|
3198
|
-
workspaceControllerGitPullChanges(workspaceId,
|
|
3199
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId,
|
|
2930
|
+
workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2931
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3200
2932
|
}
|
|
3201
2933
|
/**
|
|
3202
2934
|
* Push changes to remote
|
|
3203
2935
|
* @summary Push changes
|
|
3204
2936
|
* @param {string} workspaceId
|
|
3205
|
-
* @param {string} projectId
|
|
3206
2937
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3207
2938
|
* @param {*} [options] Override http request option.
|
|
3208
2939
|
* @throws {RequiredError}
|
|
3209
2940
|
* @memberof DefaultApi
|
|
3210
2941
|
*/
|
|
3211
|
-
workspaceControllerGitPushChanges(workspaceId,
|
|
3212
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId,
|
|
2942
|
+
workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options) {
|
|
2943
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3213
2944
|
}
|
|
3214
2945
|
/**
|
|
3215
2946
|
* Get status from git repository
|
|
3216
2947
|
* @summary Get git status
|
|
3217
2948
|
* @param {string} workspaceId
|
|
3218
|
-
* @param {string} projectId
|
|
3219
2949
|
* @param {string} path
|
|
3220
2950
|
* @param {*} [options] Override http request option.
|
|
3221
2951
|
* @throws {RequiredError}
|
|
3222
2952
|
* @memberof DefaultApi
|
|
3223
2953
|
*/
|
|
3224
|
-
workspaceControllerGitStatus(workspaceId,
|
|
3225
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId,
|
|
2954
|
+
workspaceControllerGitStatus(workspaceId, path, options) {
|
|
2955
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3226
2956
|
}
|
|
3227
2957
|
/**
|
|
3228
|
-
* List files inside workspace
|
|
2958
|
+
* List files inside workspace
|
|
3229
2959
|
* @summary List files
|
|
3230
2960
|
* @param {string} workspaceId
|
|
3231
|
-
* @param {string} projectId
|
|
3232
2961
|
* @param {string} [path]
|
|
3233
2962
|
* @param {*} [options] Override http request option.
|
|
3234
2963
|
* @throws {RequiredError}
|
|
3235
2964
|
* @memberof DefaultApi
|
|
3236
2965
|
*/
|
|
3237
|
-
workspaceControllerListFiles(workspaceId,
|
|
3238
|
-
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId,
|
|
2966
|
+
workspaceControllerListFiles(workspaceId, path, options) {
|
|
2967
|
+
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3239
2968
|
}
|
|
3240
2969
|
/**
|
|
3241
2970
|
*
|
|
@@ -3248,18 +2977,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3248
2977
|
return DefaultApiFp(this.configuration).workspaceControllerListWorkspaces(verbose, options).then((request) => request(this.axios, this.basePath));
|
|
3249
2978
|
}
|
|
3250
2979
|
/**
|
|
3251
|
-
* Move file inside workspace
|
|
2980
|
+
* Move file inside workspace
|
|
3252
2981
|
* @summary Move file
|
|
3253
2982
|
* @param {string} workspaceId
|
|
3254
|
-
* @param {string} projectId
|
|
3255
2983
|
* @param {string} source
|
|
3256
2984
|
* @param {string} destination
|
|
3257
2985
|
* @param {*} [options] Override http request option.
|
|
3258
2986
|
* @throws {RequiredError}
|
|
3259
2987
|
* @memberof DefaultApi
|
|
3260
2988
|
*/
|
|
3261
|
-
workspaceControllerMoveFile(workspaceId,
|
|
3262
|
-
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId,
|
|
2989
|
+
workspaceControllerMoveFile(workspaceId, source, destination, options) {
|
|
2990
|
+
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
|
|
3263
2991
|
}
|
|
3264
2992
|
/**
|
|
3265
2993
|
*
|
|
@@ -3273,17 +3001,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3273
3001
|
return DefaultApiFp(this.configuration).workspaceControllerRemoveWorkspace(workspaceId, force, options).then((request) => request(this.axios, this.basePath));
|
|
3274
3002
|
}
|
|
3275
3003
|
/**
|
|
3276
|
-
* Replace text/pattern in multiple files inside workspace
|
|
3004
|
+
* Replace text/pattern in multiple files inside workspace
|
|
3277
3005
|
* @summary Replace in files
|
|
3278
3006
|
* @param {string} workspaceId
|
|
3279
|
-
* @param {string} projectId
|
|
3280
3007
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
3281
3008
|
* @param {*} [options] Override http request option.
|
|
3282
3009
|
* @throws {RequiredError}
|
|
3283
3010
|
* @memberof DefaultApi
|
|
3284
3011
|
*/
|
|
3285
|
-
workspaceControllerReplaceInFiles(workspaceId,
|
|
3286
|
-
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId,
|
|
3012
|
+
workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options) {
|
|
3013
|
+
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3287
3014
|
}
|
|
3288
3015
|
/**
|
|
3289
3016
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
@@ -3298,24 +3025,22 @@ export class DefaultApi extends BaseAPI {
|
|
|
3298
3025
|
return DefaultApiFp(this.configuration).workspaceControllerReplaceLabels(workspaceId, workspaceLabelsDto, options).then((request) => request(this.axios, this.basePath));
|
|
3299
3026
|
}
|
|
3300
3027
|
/**
|
|
3301
|
-
* Search for files inside workspace
|
|
3028
|
+
* Search for files inside workspace
|
|
3302
3029
|
* @summary Search files
|
|
3303
3030
|
* @param {string} workspaceId
|
|
3304
|
-
* @param {string} projectId
|
|
3305
3031
|
* @param {string} path
|
|
3306
3032
|
* @param {string} pattern
|
|
3307
3033
|
* @param {*} [options] Override http request option.
|
|
3308
3034
|
* @throws {RequiredError}
|
|
3309
3035
|
* @memberof DefaultApi
|
|
3310
3036
|
*/
|
|
3311
|
-
workspaceControllerSearchFiles(workspaceId,
|
|
3312
|
-
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId,
|
|
3037
|
+
workspaceControllerSearchFiles(workspaceId, path, pattern, options) {
|
|
3038
|
+
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3313
3039
|
}
|
|
3314
3040
|
/**
|
|
3315
|
-
* Set file owner/group/permissions inside workspace
|
|
3041
|
+
* Set file owner/group/permissions inside workspace
|
|
3316
3042
|
* @summary Set file permissions
|
|
3317
3043
|
* @param {string} workspaceId
|
|
3318
|
-
* @param {string} projectId
|
|
3319
3044
|
* @param {string} path
|
|
3320
3045
|
* @param {string} owner
|
|
3321
3046
|
* @param {string} group
|
|
@@ -3324,19 +3049,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
3324
3049
|
* @throws {RequiredError}
|
|
3325
3050
|
* @memberof DefaultApi
|
|
3326
3051
|
*/
|
|
3327
|
-
workspaceControllerSetFilePermissions(workspaceId,
|
|
3328
|
-
return DefaultApiFp(this.configuration).workspaceControllerSetFilePermissions(workspaceId,
|
|
3329
|
-
}
|
|
3330
|
-
/**
|
|
3331
|
-
*
|
|
3332
|
-
* @param {string} workspaceId
|
|
3333
|
-
* @param {string} projectId
|
|
3334
|
-
* @param {*} [options] Override http request option.
|
|
3335
|
-
* @throws {RequiredError}
|
|
3336
|
-
* @memberof DefaultApi
|
|
3337
|
-
*/
|
|
3338
|
-
workspaceControllerStartProject(workspaceId, projectId, options) {
|
|
3339
|
-
return DefaultApiFp(this.configuration).workspaceControllerStartProject(workspaceId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
3052
|
+
workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options) {
|
|
3053
|
+
return DefaultApiFp(this.configuration).workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3340
3054
|
}
|
|
3341
3055
|
/**
|
|
3342
3056
|
*
|
|
@@ -3348,17 +3062,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
3348
3062
|
workspaceControllerStartWorkspace(workspaceId, options) {
|
|
3349
3063
|
return DefaultApiFp(this.configuration).workspaceControllerStartWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3350
3064
|
}
|
|
3351
|
-
/**
|
|
3352
|
-
*
|
|
3353
|
-
* @param {string} workspaceId
|
|
3354
|
-
* @param {string} projectId
|
|
3355
|
-
* @param {*} [options] Override http request option.
|
|
3356
|
-
* @throws {RequiredError}
|
|
3357
|
-
* @memberof DefaultApi
|
|
3358
|
-
*/
|
|
3359
|
-
workspaceControllerStopProject(workspaceId, projectId, options) {
|
|
3360
|
-
return DefaultApiFp(this.configuration).workspaceControllerStopProject(workspaceId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
3361
|
-
}
|
|
3362
3065
|
/**
|
|
3363
3066
|
*
|
|
3364
3067
|
* @param {string} workspaceId
|
|
@@ -3370,17 +3073,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3370
3073
|
return DefaultApiFp(this.configuration).workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3371
3074
|
}
|
|
3372
3075
|
/**
|
|
3373
|
-
* Upload file inside workspace
|
|
3076
|
+
* Upload file inside workspace
|
|
3374
3077
|
* @summary Upload file
|
|
3375
3078
|
* @param {string} workspaceId
|
|
3376
|
-
* @param {string} projectId
|
|
3377
3079
|
* @param {string} path
|
|
3378
3080
|
* @param {File} [file]
|
|
3379
3081
|
* @param {*} [options] Override http request option.
|
|
3380
3082
|
* @throws {RequiredError}
|
|
3381
3083
|
* @memberof DefaultApi
|
|
3382
3084
|
*/
|
|
3383
|
-
workspaceControllerUploadFile(workspaceId,
|
|
3384
|
-
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId,
|
|
3085
|
+
workspaceControllerUploadFile(workspaceId, path, file, options) {
|
|
3086
|
+
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
|
|
3385
3087
|
}
|
|
3386
3088
|
}
|