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