@daytonaio/api-client 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/default-api.ts +295 -521
- package/dist/api/default-api.d.ts +168 -285
- package/dist/api/default-api.js +296 -518
- package/dist/esm/api/default-api.d.ts +168 -285
- package/dist/esm/api/default-api.js +296 -518
- package/dist/esm/models/create-workspace-dto.d.ts +14 -0
- package/dist/models/create-workspace-dto.d.ts +14 -0
- package/models/create-workspace-dto.ts +12 -0
- package/package.json +1 -1
package/api/default-api.ts
CHANGED
|
@@ -453,27 +453,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
453
453
|
};
|
|
454
454
|
},
|
|
455
455
|
/**
|
|
456
|
-
* Create folder inside workspace
|
|
456
|
+
* Create folder inside workspace
|
|
457
457
|
* @summary Create folder
|
|
458
458
|
* @param {string} workspaceId
|
|
459
|
-
* @param {string} projectId
|
|
460
459
|
* @param {string} path
|
|
461
460
|
* @param {string} mode
|
|
462
461
|
* @param {*} [options] Override http request option.
|
|
463
462
|
* @throws {RequiredError}
|
|
464
463
|
*/
|
|
465
|
-
workspaceControllerCreateFolder: async (workspaceId: string,
|
|
464
|
+
workspaceControllerCreateFolder: async (workspaceId: string, path: string, mode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
466
465
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
467
466
|
assertParamExists('workspaceControllerCreateFolder', 'workspaceId', workspaceId)
|
|
468
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
469
|
-
assertParamExists('workspaceControllerCreateFolder', 'projectId', projectId)
|
|
470
467
|
// verify required parameter 'path' is not null or undefined
|
|
471
468
|
assertParamExists('workspaceControllerCreateFolder', 'path', path)
|
|
472
469
|
// verify required parameter 'mode' is not null or undefined
|
|
473
470
|
assertParamExists('workspaceControllerCreateFolder', 'mode', mode)
|
|
474
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
475
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
476
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
471
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/folder`
|
|
472
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
477
473
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
478
474
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
479
475
|
let baseOptions;
|
|
@@ -586,24 +582,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
586
582
|
};
|
|
587
583
|
},
|
|
588
584
|
/**
|
|
589
|
-
* Delete file inside workspace
|
|
585
|
+
* Delete file inside workspace
|
|
590
586
|
* @summary Delete file
|
|
591
587
|
* @param {string} workspaceId
|
|
592
|
-
* @param {string} projectId
|
|
593
588
|
* @param {string} path
|
|
594
589
|
* @param {*} [options] Override http request option.
|
|
595
590
|
* @throws {RequiredError}
|
|
596
591
|
*/
|
|
597
|
-
workspaceControllerDeleteFile: async (workspaceId: string,
|
|
592
|
+
workspaceControllerDeleteFile: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
598
593
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
599
594
|
assertParamExists('workspaceControllerDeleteFile', 'workspaceId', workspaceId)
|
|
600
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
601
|
-
assertParamExists('workspaceControllerDeleteFile', 'projectId', projectId)
|
|
602
595
|
// verify required parameter 'path' is not null or undefined
|
|
603
596
|
assertParamExists('workspaceControllerDeleteFile', 'path', path)
|
|
604
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
605
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
606
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
597
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files`
|
|
598
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
607
599
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
608
600
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
609
601
|
let baseOptions;
|
|
@@ -635,24 +627,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
635
627
|
};
|
|
636
628
|
},
|
|
637
629
|
/**
|
|
638
|
-
* Download file from workspace
|
|
630
|
+
* Download file from workspace
|
|
639
631
|
* @summary Download file
|
|
640
632
|
* @param {string} workspaceId
|
|
641
|
-
* @param {string} projectId
|
|
642
633
|
* @param {string} path
|
|
643
634
|
* @param {*} [options] Override http request option.
|
|
644
635
|
* @throws {RequiredError}
|
|
645
636
|
*/
|
|
646
|
-
workspaceControllerDownloadFile: async (workspaceId: string,
|
|
637
|
+
workspaceControllerDownloadFile: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
647
638
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
648
639
|
assertParamExists('workspaceControllerDownloadFile', 'workspaceId', workspaceId)
|
|
649
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
650
|
-
assertParamExists('workspaceControllerDownloadFile', 'projectId', projectId)
|
|
651
640
|
// verify required parameter 'path' is not null or undefined
|
|
652
641
|
assertParamExists('workspaceControllerDownloadFile', 'path', path)
|
|
653
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
654
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
655
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
642
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/download`
|
|
643
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
656
644
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
657
645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
658
646
|
let baseOptions;
|
|
@@ -684,24 +672,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
684
672
|
};
|
|
685
673
|
},
|
|
686
674
|
/**
|
|
687
|
-
* Execute command synchronously inside workspace
|
|
675
|
+
* Execute command synchronously inside workspace
|
|
688
676
|
* @summary Execute command
|
|
689
677
|
* @param {string} workspaceId
|
|
690
|
-
* @param {string} projectId
|
|
691
678
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
692
679
|
* @param {*} [options] Override http request option.
|
|
693
680
|
* @throws {RequiredError}
|
|
694
681
|
*/
|
|
695
|
-
workspaceControllerExecuteCommand: async (workspaceId: string,
|
|
682
|
+
workspaceControllerExecuteCommand: async (workspaceId: string, executeRequestDto: ExecuteRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
696
683
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
697
684
|
assertParamExists('workspaceControllerExecuteCommand', 'workspaceId', workspaceId)
|
|
698
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
699
|
-
assertParamExists('workspaceControllerExecuteCommand', 'projectId', projectId)
|
|
700
685
|
// verify required parameter 'executeRequestDto' is not null or undefined
|
|
701
686
|
assertParamExists('workspaceControllerExecuteCommand', 'executeRequestDto', executeRequestDto)
|
|
702
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
703
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
704
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
687
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/process/execute`
|
|
688
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
705
689
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
706
690
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
707
691
|
let baseOptions;
|
|
@@ -732,27 +716,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
732
716
|
};
|
|
733
717
|
},
|
|
734
718
|
/**
|
|
735
|
-
* Search for text/pattern inside workspace
|
|
719
|
+
* Search for text/pattern inside workspace files
|
|
736
720
|
* @summary Search for text/pattern in files
|
|
737
721
|
* @param {string} workspaceId
|
|
738
|
-
* @param {string} projectId
|
|
739
722
|
* @param {string} path
|
|
740
723
|
* @param {string} pattern
|
|
741
724
|
* @param {*} [options] Override http request option.
|
|
742
725
|
* @throws {RequiredError}
|
|
743
726
|
*/
|
|
744
|
-
workspaceControllerFindInFiles: async (workspaceId: string,
|
|
727
|
+
workspaceControllerFindInFiles: async (workspaceId: string, path: string, pattern: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
745
728
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
746
729
|
assertParamExists('workspaceControllerFindInFiles', 'workspaceId', workspaceId)
|
|
747
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
748
|
-
assertParamExists('workspaceControllerFindInFiles', 'projectId', projectId)
|
|
749
730
|
// verify required parameter 'path' is not null or undefined
|
|
750
731
|
assertParamExists('workspaceControllerFindInFiles', 'path', path)
|
|
751
732
|
// verify required parameter 'pattern' is not null or undefined
|
|
752
733
|
assertParamExists('workspaceControllerFindInFiles', 'pattern', pattern)
|
|
753
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
754
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
755
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
734
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/find`
|
|
735
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
756
736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
757
737
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
758
738
|
let baseOptions;
|
|
@@ -788,24 +768,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
788
768
|
};
|
|
789
769
|
},
|
|
790
770
|
/**
|
|
791
|
-
* Get file info inside workspace
|
|
771
|
+
* Get file info inside workspace
|
|
792
772
|
* @summary Get file info
|
|
793
773
|
* @param {string} workspaceId
|
|
794
|
-
* @param {string} projectId
|
|
795
774
|
* @param {string} path
|
|
796
775
|
* @param {*} [options] Override http request option.
|
|
797
776
|
* @throws {RequiredError}
|
|
798
777
|
*/
|
|
799
|
-
workspaceControllerGetFileInfo: async (workspaceId: string,
|
|
778
|
+
workspaceControllerGetFileInfo: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
800
779
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
801
780
|
assertParamExists('workspaceControllerGetFileInfo', 'workspaceId', workspaceId)
|
|
802
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
803
|
-
assertParamExists('workspaceControllerGetFileInfo', 'projectId', projectId)
|
|
804
781
|
// verify required parameter 'path' is not null or undefined
|
|
805
782
|
assertParamExists('workspaceControllerGetFileInfo', 'path', path)
|
|
806
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
807
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
808
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
783
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/info`
|
|
784
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
809
785
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
810
786
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
811
787
|
let baseOptions;
|
|
@@ -837,21 +813,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
837
813
|
};
|
|
838
814
|
},
|
|
839
815
|
/**
|
|
840
|
-
* Get project directory
|
|
841
|
-
* @summary Get project dir
|
|
816
|
+
* Get workspace project directory
|
|
817
|
+
* @summary Get workspace project dir
|
|
842
818
|
* @param {string} workspaceId
|
|
843
|
-
* @param {string} projectId
|
|
844
819
|
* @param {*} [options] Override http request option.
|
|
845
820
|
* @throws {RequiredError}
|
|
846
821
|
*/
|
|
847
|
-
workspaceControllerGetProjectDir: async (workspaceId: string,
|
|
822
|
+
workspaceControllerGetProjectDir: async (workspaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
848
823
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
849
824
|
assertParamExists('workspaceControllerGetProjectDir', 'workspaceId', workspaceId)
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/toolbox/project-dir`
|
|
853
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
854
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
825
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/project-dir`
|
|
826
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
855
827
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
856
828
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
857
829
|
let baseOptions;
|
|
@@ -924,21 +896,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
924
896
|
* Add files to git commit
|
|
925
897
|
* @summary Add files
|
|
926
898
|
* @param {string} workspaceId
|
|
927
|
-
* @param {string} projectId
|
|
928
899
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
929
900
|
* @param {*} [options] Override http request option.
|
|
930
901
|
* @throws {RequiredError}
|
|
931
902
|
*/
|
|
932
|
-
workspaceControllerGitAddFiles: async (workspaceId: string,
|
|
903
|
+
workspaceControllerGitAddFiles: async (workspaceId: string, gitAddRequestDto: GitAddRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
933
904
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
934
905
|
assertParamExists('workspaceControllerGitAddFiles', 'workspaceId', workspaceId)
|
|
935
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
936
|
-
assertParamExists('workspaceControllerGitAddFiles', 'projectId', projectId)
|
|
937
906
|
// verify required parameter 'gitAddRequestDto' is not null or undefined
|
|
938
907
|
assertParamExists('workspaceControllerGitAddFiles', 'gitAddRequestDto', gitAddRequestDto)
|
|
939
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
940
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
941
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
908
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/add`
|
|
909
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
942
910
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
943
911
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
944
912
|
let baseOptions;
|
|
@@ -972,21 +940,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
972
940
|
* Get branch list from git repository
|
|
973
941
|
* @summary Get branch list
|
|
974
942
|
* @param {string} workspaceId
|
|
975
|
-
* @param {string} projectId
|
|
976
943
|
* @param {string} path
|
|
977
944
|
* @param {*} [options] Override http request option.
|
|
978
945
|
* @throws {RequiredError}
|
|
979
946
|
*/
|
|
980
|
-
workspaceControllerGitBranchList: async (workspaceId: string,
|
|
947
|
+
workspaceControllerGitBranchList: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
981
948
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
982
949
|
assertParamExists('workspaceControllerGitBranchList', 'workspaceId', workspaceId)
|
|
983
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
984
|
-
assertParamExists('workspaceControllerGitBranchList', 'projectId', projectId)
|
|
985
950
|
// verify required parameter 'path' is not null or undefined
|
|
986
951
|
assertParamExists('workspaceControllerGitBranchList', 'path', path)
|
|
987
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
988
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
989
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
952
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/branches`
|
|
953
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
990
954
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
991
955
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
992
956
|
let baseOptions;
|
|
@@ -1021,21 +985,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1021
985
|
* Clone git repository
|
|
1022
986
|
* @summary Clone repository
|
|
1023
987
|
* @param {string} workspaceId
|
|
1024
|
-
* @param {string} projectId
|
|
1025
988
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
1026
989
|
* @param {*} [options] Override http request option.
|
|
1027
990
|
* @throws {RequiredError}
|
|
1028
991
|
*/
|
|
1029
|
-
workspaceControllerGitCloneRepository: async (workspaceId: string,
|
|
992
|
+
workspaceControllerGitCloneRepository: async (workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1030
993
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1031
994
|
assertParamExists('workspaceControllerGitCloneRepository', 'workspaceId', workspaceId)
|
|
1032
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1033
|
-
assertParamExists('workspaceControllerGitCloneRepository', 'projectId', projectId)
|
|
1034
995
|
// verify required parameter 'gitCloneRequestDto' is not null or undefined
|
|
1035
996
|
assertParamExists('workspaceControllerGitCloneRepository', 'gitCloneRequestDto', gitCloneRequestDto)
|
|
1036
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1037
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1038
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
997
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/clone`
|
|
998
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1039
999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1040
1000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1041
1001
|
let baseOptions;
|
|
@@ -1069,21 +1029,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1069
1029
|
* Commit changes to git repository
|
|
1070
1030
|
* @summary Commit changes
|
|
1071
1031
|
* @param {string} workspaceId
|
|
1072
|
-
* @param {string} projectId
|
|
1073
1032
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
1074
1033
|
* @param {*} [options] Override http request option.
|
|
1075
1034
|
* @throws {RequiredError}
|
|
1076
1035
|
*/
|
|
1077
|
-
workspaceControllerGitCommitChanges: async (workspaceId: string,
|
|
1036
|
+
workspaceControllerGitCommitChanges: async (workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1078
1037
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1079
1038
|
assertParamExists('workspaceControllerGitCommitChanges', 'workspaceId', workspaceId)
|
|
1080
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1081
|
-
assertParamExists('workspaceControllerGitCommitChanges', 'projectId', projectId)
|
|
1082
1039
|
// verify required parameter 'gitCommitRequestDto' is not null or undefined
|
|
1083
1040
|
assertParamExists('workspaceControllerGitCommitChanges', 'gitCommitRequestDto', gitCommitRequestDto)
|
|
1084
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1085
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1086
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1041
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/commit`
|
|
1042
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1087
1043
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1088
1044
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1089
1045
|
let baseOptions;
|
|
@@ -1117,21 +1073,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1117
1073
|
* Get commit history from git repository
|
|
1118
1074
|
* @summary Get commit history
|
|
1119
1075
|
* @param {string} workspaceId
|
|
1120
|
-
* @param {string} projectId
|
|
1121
1076
|
* @param {string} path
|
|
1122
1077
|
* @param {*} [options] Override http request option.
|
|
1123
1078
|
* @throws {RequiredError}
|
|
1124
1079
|
*/
|
|
1125
|
-
workspaceControllerGitCommitHistory: async (workspaceId: string,
|
|
1080
|
+
workspaceControllerGitCommitHistory: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1126
1081
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1127
1082
|
assertParamExists('workspaceControllerGitCommitHistory', 'workspaceId', workspaceId)
|
|
1128
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1129
|
-
assertParamExists('workspaceControllerGitCommitHistory', 'projectId', projectId)
|
|
1130
1083
|
// verify required parameter 'path' is not null or undefined
|
|
1131
1084
|
assertParamExists('workspaceControllerGitCommitHistory', 'path', path)
|
|
1132
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1133
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1134
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1085
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/history`
|
|
1086
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1135
1087
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1136
1088
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1137
1089
|
let baseOptions;
|
|
@@ -1166,21 +1118,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1166
1118
|
* Create branch on git repository
|
|
1167
1119
|
* @summary Create branch
|
|
1168
1120
|
* @param {string} workspaceId
|
|
1169
|
-
* @param {string} projectId
|
|
1170
1121
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
1171
1122
|
* @param {*} [options] Override http request option.
|
|
1172
1123
|
* @throws {RequiredError}
|
|
1173
1124
|
*/
|
|
1174
|
-
workspaceControllerGitCreateBranch: async (workspaceId: string,
|
|
1125
|
+
workspaceControllerGitCreateBranch: async (workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1175
1126
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1176
1127
|
assertParamExists('workspaceControllerGitCreateBranch', 'workspaceId', workspaceId)
|
|
1177
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1178
|
-
assertParamExists('workspaceControllerGitCreateBranch', 'projectId', projectId)
|
|
1179
1128
|
// verify required parameter 'gitBranchRequestDto' is not null or undefined
|
|
1180
1129
|
assertParamExists('workspaceControllerGitCreateBranch', 'gitBranchRequestDto', gitBranchRequestDto)
|
|
1181
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1182
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1183
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1130
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/branches`
|
|
1131
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1184
1132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1185
1133
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1186
1134
|
let baseOptions;
|
|
@@ -1214,21 +1162,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1214
1162
|
* Pull changes from remote
|
|
1215
1163
|
* @summary Pull changes
|
|
1216
1164
|
* @param {string} workspaceId
|
|
1217
|
-
* @param {string} projectId
|
|
1218
1165
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1219
1166
|
* @param {*} [options] Override http request option.
|
|
1220
1167
|
* @throws {RequiredError}
|
|
1221
1168
|
*/
|
|
1222
|
-
workspaceControllerGitPullChanges: async (workspaceId: string,
|
|
1169
|
+
workspaceControllerGitPullChanges: async (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1223
1170
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1224
1171
|
assertParamExists('workspaceControllerGitPullChanges', 'workspaceId', workspaceId)
|
|
1225
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1226
|
-
assertParamExists('workspaceControllerGitPullChanges', 'projectId', projectId)
|
|
1227
1172
|
// verify required parameter 'gitRepoRequestDto' is not null or undefined
|
|
1228
1173
|
assertParamExists('workspaceControllerGitPullChanges', 'gitRepoRequestDto', gitRepoRequestDto)
|
|
1229
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1230
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1231
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1174
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/pull`
|
|
1175
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1232
1176
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1233
1177
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1234
1178
|
let baseOptions;
|
|
@@ -1262,21 +1206,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1262
1206
|
* Push changes to remote
|
|
1263
1207
|
* @summary Push changes
|
|
1264
1208
|
* @param {string} workspaceId
|
|
1265
|
-
* @param {string} projectId
|
|
1266
1209
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
1267
1210
|
* @param {*} [options] Override http request option.
|
|
1268
1211
|
* @throws {RequiredError}
|
|
1269
1212
|
*/
|
|
1270
|
-
workspaceControllerGitPushChanges: async (workspaceId: string,
|
|
1213
|
+
workspaceControllerGitPushChanges: async (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1271
1214
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1272
1215
|
assertParamExists('workspaceControllerGitPushChanges', 'workspaceId', workspaceId)
|
|
1273
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1274
|
-
assertParamExists('workspaceControllerGitPushChanges', 'projectId', projectId)
|
|
1275
1216
|
// verify required parameter 'gitRepoRequestDto' is not null or undefined
|
|
1276
1217
|
assertParamExists('workspaceControllerGitPushChanges', 'gitRepoRequestDto', gitRepoRequestDto)
|
|
1277
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1278
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1279
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1218
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/push`
|
|
1219
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1280
1220
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1281
1221
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1282
1222
|
let baseOptions;
|
|
@@ -1310,21 +1250,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1310
1250
|
* Get status from git repository
|
|
1311
1251
|
* @summary Get git status
|
|
1312
1252
|
* @param {string} workspaceId
|
|
1313
|
-
* @param {string} projectId
|
|
1314
1253
|
* @param {string} path
|
|
1315
1254
|
* @param {*} [options] Override http request option.
|
|
1316
1255
|
* @throws {RequiredError}
|
|
1317
1256
|
*/
|
|
1318
|
-
workspaceControllerGitStatus: async (workspaceId: string,
|
|
1257
|
+
workspaceControllerGitStatus: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1319
1258
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1320
1259
|
assertParamExists('workspaceControllerGitStatus', 'workspaceId', workspaceId)
|
|
1321
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1322
|
-
assertParamExists('workspaceControllerGitStatus', 'projectId', projectId)
|
|
1323
1260
|
// verify required parameter 'path' is not null or undefined
|
|
1324
1261
|
assertParamExists('workspaceControllerGitStatus', 'path', path)
|
|
1325
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1326
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1327
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1262
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/git/status`
|
|
1263
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1328
1264
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1329
1265
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1330
1266
|
let baseOptions;
|
|
@@ -1356,22 +1292,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1356
1292
|
};
|
|
1357
1293
|
},
|
|
1358
1294
|
/**
|
|
1359
|
-
* List files inside workspace
|
|
1295
|
+
* List files inside workspace
|
|
1360
1296
|
* @summary List files
|
|
1361
1297
|
* @param {string} workspaceId
|
|
1362
|
-
* @param {string} projectId
|
|
1363
1298
|
* @param {string} [path]
|
|
1364
1299
|
* @param {*} [options] Override http request option.
|
|
1365
1300
|
* @throws {RequiredError}
|
|
1366
1301
|
*/
|
|
1367
|
-
workspaceControllerListFiles: async (workspaceId: string,
|
|
1302
|
+
workspaceControllerListFiles: async (workspaceId: string, path?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1368
1303
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1369
1304
|
assertParamExists('workspaceControllerListFiles', 'workspaceId', workspaceId)
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/toolbox/files`
|
|
1373
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1374
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1305
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files`
|
|
1306
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1375
1307
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1376
1308
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1377
1309
|
let baseOptions;
|
|
@@ -1441,27 +1373,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1441
1373
|
};
|
|
1442
1374
|
},
|
|
1443
1375
|
/**
|
|
1444
|
-
* Move file inside workspace
|
|
1376
|
+
* Move file inside workspace
|
|
1445
1377
|
* @summary Move file
|
|
1446
1378
|
* @param {string} workspaceId
|
|
1447
|
-
* @param {string} projectId
|
|
1448
1379
|
* @param {string} source
|
|
1449
1380
|
* @param {string} destination
|
|
1450
1381
|
* @param {*} [options] Override http request option.
|
|
1451
1382
|
* @throws {RequiredError}
|
|
1452
1383
|
*/
|
|
1453
|
-
workspaceControllerMoveFile: async (workspaceId: string,
|
|
1384
|
+
workspaceControllerMoveFile: async (workspaceId: string, source: string, destination: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1454
1385
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1455
1386
|
assertParamExists('workspaceControllerMoveFile', 'workspaceId', workspaceId)
|
|
1456
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1457
|
-
assertParamExists('workspaceControllerMoveFile', 'projectId', projectId)
|
|
1458
1387
|
// verify required parameter 'source' is not null or undefined
|
|
1459
1388
|
assertParamExists('workspaceControllerMoveFile', 'source', source)
|
|
1460
1389
|
// verify required parameter 'destination' is not null or undefined
|
|
1461
1390
|
assertParamExists('workspaceControllerMoveFile', 'destination', destination)
|
|
1462
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1463
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1464
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1391
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/move`
|
|
1392
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1465
1393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1466
1394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1467
1395
|
let baseOptions;
|
|
@@ -1541,24 +1469,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1541
1469
|
};
|
|
1542
1470
|
},
|
|
1543
1471
|
/**
|
|
1544
|
-
* Replace text/pattern in multiple files inside workspace
|
|
1472
|
+
* Replace text/pattern in multiple files inside workspace
|
|
1545
1473
|
* @summary Replace in files
|
|
1546
1474
|
* @param {string} workspaceId
|
|
1547
|
-
* @param {string} projectId
|
|
1548
1475
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
1549
1476
|
* @param {*} [options] Override http request option.
|
|
1550
1477
|
* @throws {RequiredError}
|
|
1551
1478
|
*/
|
|
1552
|
-
workspaceControllerReplaceInFiles: async (workspaceId: string,
|
|
1479
|
+
workspaceControllerReplaceInFiles: async (workspaceId: string, replaceRequestDto: ReplaceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1553
1480
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1554
1481
|
assertParamExists('workspaceControllerReplaceInFiles', 'workspaceId', workspaceId)
|
|
1555
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1556
|
-
assertParamExists('workspaceControllerReplaceInFiles', 'projectId', projectId)
|
|
1557
1482
|
// verify required parameter 'replaceRequestDto' is not null or undefined
|
|
1558
1483
|
assertParamExists('workspaceControllerReplaceInFiles', 'replaceRequestDto', replaceRequestDto)
|
|
1559
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1560
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1561
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1484
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/replace`
|
|
1485
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1562
1486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1563
1487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1564
1488
|
let baseOptions;
|
|
@@ -1633,27 +1557,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1633
1557
|
};
|
|
1634
1558
|
},
|
|
1635
1559
|
/**
|
|
1636
|
-
* Search for files inside workspace
|
|
1560
|
+
* Search for files inside workspace
|
|
1637
1561
|
* @summary Search files
|
|
1638
1562
|
* @param {string} workspaceId
|
|
1639
|
-
* @param {string} projectId
|
|
1640
1563
|
* @param {string} path
|
|
1641
1564
|
* @param {string} pattern
|
|
1642
1565
|
* @param {*} [options] Override http request option.
|
|
1643
1566
|
* @throws {RequiredError}
|
|
1644
1567
|
*/
|
|
1645
|
-
workspaceControllerSearchFiles: async (workspaceId: string,
|
|
1568
|
+
workspaceControllerSearchFiles: async (workspaceId: string, path: string, pattern: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1646
1569
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1647
1570
|
assertParamExists('workspaceControllerSearchFiles', 'workspaceId', workspaceId)
|
|
1648
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1649
|
-
assertParamExists('workspaceControllerSearchFiles', 'projectId', projectId)
|
|
1650
1571
|
// verify required parameter 'path' is not null or undefined
|
|
1651
1572
|
assertParamExists('workspaceControllerSearchFiles', 'path', path)
|
|
1652
1573
|
// verify required parameter 'pattern' is not null or undefined
|
|
1653
1574
|
assertParamExists('workspaceControllerSearchFiles', 'pattern', pattern)
|
|
1654
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1655
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1656
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1575
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/search`
|
|
1576
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1657
1577
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1658
1578
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1659
1579
|
let baseOptions;
|
|
@@ -1689,10 +1609,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1689
1609
|
};
|
|
1690
1610
|
},
|
|
1691
1611
|
/**
|
|
1692
|
-
* Set file owner/group/permissions inside workspace
|
|
1612
|
+
* Set file owner/group/permissions inside workspace
|
|
1693
1613
|
* @summary Set file permissions
|
|
1694
1614
|
* @param {string} workspaceId
|
|
1695
|
-
* @param {string} projectId
|
|
1696
1615
|
* @param {string} path
|
|
1697
1616
|
* @param {string} owner
|
|
1698
1617
|
* @param {string} group
|
|
@@ -1700,11 +1619,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1700
1619
|
* @param {*} [options] Override http request option.
|
|
1701
1620
|
* @throws {RequiredError}
|
|
1702
1621
|
*/
|
|
1703
|
-
workspaceControllerSetFilePermissions: async (workspaceId: string,
|
|
1622
|
+
workspaceControllerSetFilePermissions: async (workspaceId: string, path: string, owner: string, group: string, mode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1704
1623
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1705
1624
|
assertParamExists('workspaceControllerSetFilePermissions', 'workspaceId', workspaceId)
|
|
1706
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1707
|
-
assertParamExists('workspaceControllerSetFilePermissions', 'projectId', projectId)
|
|
1708
1625
|
// verify required parameter 'path' is not null or undefined
|
|
1709
1626
|
assertParamExists('workspaceControllerSetFilePermissions', 'path', path)
|
|
1710
1627
|
// verify required parameter 'owner' is not null or undefined
|
|
@@ -1713,9 +1630,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1713
1630
|
assertParamExists('workspaceControllerSetFilePermissions', 'group', group)
|
|
1714
1631
|
// verify required parameter 'mode' is not null or undefined
|
|
1715
1632
|
assertParamExists('workspaceControllerSetFilePermissions', 'mode', mode)
|
|
1716
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1717
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1718
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1633
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/permissions`
|
|
1634
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1719
1635
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1720
1636
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1721
1637
|
let baseOptions;
|
|
@@ -1749,47 +1665,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1749
1665
|
|
|
1750
1666
|
|
|
1751
1667
|
|
|
1752
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1753
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1754
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1755
|
-
|
|
1756
|
-
return {
|
|
1757
|
-
url: toPathString(localVarUrlObj),
|
|
1758
|
-
options: localVarRequestOptions,
|
|
1759
|
-
};
|
|
1760
|
-
},
|
|
1761
|
-
/**
|
|
1762
|
-
*
|
|
1763
|
-
* @param {string} workspaceId
|
|
1764
|
-
* @param {string} projectId
|
|
1765
|
-
* @param {*} [options] Override http request option.
|
|
1766
|
-
* @throws {RequiredError}
|
|
1767
|
-
*/
|
|
1768
|
-
workspaceControllerStartProject: async (workspaceId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1769
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1770
|
-
assertParamExists('workspaceControllerStartProject', 'workspaceId', workspaceId)
|
|
1771
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1772
|
-
assertParamExists('workspaceControllerStartProject', 'projectId', projectId)
|
|
1773
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/start`
|
|
1774
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1775
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1776
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1777
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1778
|
-
let baseOptions;
|
|
1779
|
-
if (configuration) {
|
|
1780
|
-
baseOptions = configuration.baseOptions;
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1784
|
-
const localVarHeaderParameter = {} as any;
|
|
1785
|
-
const localVarQueryParameter = {} as any;
|
|
1786
|
-
|
|
1787
|
-
// authentication oauth2 required
|
|
1788
|
-
// oauth required
|
|
1789
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
1668
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1794
1669
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1795
1670
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1839,18 +1714,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1839
1714
|
/**
|
|
1840
1715
|
*
|
|
1841
1716
|
* @param {string} workspaceId
|
|
1842
|
-
* @param {string} projectId
|
|
1843
1717
|
* @param {*} [options] Override http request option.
|
|
1844
1718
|
* @throws {RequiredError}
|
|
1845
1719
|
*/
|
|
1846
|
-
|
|
1720
|
+
workspaceControllerStopWorkspace: async (workspaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1847
1721
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1848
|
-
assertParamExists('
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/stop`
|
|
1852
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1853
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1722
|
+
assertParamExists('workspaceControllerStopWorkspace', 'workspaceId', workspaceId)
|
|
1723
|
+
const localVarPath = `/workspace/{workspaceId}/stop`
|
|
1724
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1854
1725
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1855
1726
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1856
1727
|
let baseOptions;
|
|
@@ -1878,16 +1749,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1878
1749
|
};
|
|
1879
1750
|
},
|
|
1880
1751
|
/**
|
|
1881
|
-
*
|
|
1882
|
-
* @
|
|
1752
|
+
* Change public preview status of a workspace
|
|
1753
|
+
* @summary Change public preview status
|
|
1754
|
+
* @param {string} workspaceId ID of the workspace
|
|
1755
|
+
* @param {boolean} isPublic Public status to set
|
|
1883
1756
|
* @param {*} [options] Override http request option.
|
|
1884
1757
|
* @throws {RequiredError}
|
|
1885
1758
|
*/
|
|
1886
|
-
|
|
1759
|
+
workspaceControllerUpdatePublicStatus: async (workspaceId: string, isPublic: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1887
1760
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1888
|
-
assertParamExists('
|
|
1889
|
-
|
|
1890
|
-
|
|
1761
|
+
assertParamExists('workspaceControllerUpdatePublicStatus', 'workspaceId', workspaceId)
|
|
1762
|
+
// verify required parameter 'isPublic' is not null or undefined
|
|
1763
|
+
assertParamExists('workspaceControllerUpdatePublicStatus', 'isPublic', isPublic)
|
|
1764
|
+
const localVarPath = `/workspace/{workspaceId}/public/{isPublic}`
|
|
1765
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1766
|
+
.replace(`{${"isPublic"}}`, encodeURIComponent(String(isPublic)));
|
|
1891
1767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1892
1768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1893
1769
|
let baseOptions;
|
|
@@ -1915,25 +1791,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1915
1791
|
};
|
|
1916
1792
|
},
|
|
1917
1793
|
/**
|
|
1918
|
-
* Upload file inside workspace
|
|
1794
|
+
* Upload file inside workspace
|
|
1919
1795
|
* @summary Upload file
|
|
1920
1796
|
* @param {string} workspaceId
|
|
1921
|
-
* @param {string} projectId
|
|
1922
1797
|
* @param {string} path
|
|
1923
1798
|
* @param {File} [file]
|
|
1924
1799
|
* @param {*} [options] Override http request option.
|
|
1925
1800
|
* @throws {RequiredError}
|
|
1926
1801
|
*/
|
|
1927
|
-
workspaceControllerUploadFile: async (workspaceId: string,
|
|
1802
|
+
workspaceControllerUploadFile: async (workspaceId: string, path: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1928
1803
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1929
1804
|
assertParamExists('workspaceControllerUploadFile', 'workspaceId', workspaceId)
|
|
1930
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1931
|
-
assertParamExists('workspaceControllerUploadFile', 'projectId', projectId)
|
|
1932
1805
|
// verify required parameter 'path' is not null or undefined
|
|
1933
1806
|
assertParamExists('workspaceControllerUploadFile', 'path', path)
|
|
1934
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1935
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1936
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1807
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/upload`
|
|
1808
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1937
1809
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1938
1810
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1939
1811
|
let baseOptions;
|
|
@@ -2115,17 +1987,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2115
1987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2116
1988
|
},
|
|
2117
1989
|
/**
|
|
2118
|
-
* Create folder inside workspace
|
|
1990
|
+
* Create folder inside workspace
|
|
2119
1991
|
* @summary Create folder
|
|
2120
1992
|
* @param {string} workspaceId
|
|
2121
|
-
* @param {string} projectId
|
|
2122
1993
|
* @param {string} path
|
|
2123
1994
|
* @param {string} mode
|
|
2124
1995
|
* @param {*} [options] Override http request option.
|
|
2125
1996
|
* @throws {RequiredError}
|
|
2126
1997
|
*/
|
|
2127
|
-
async workspaceControllerCreateFolder(workspaceId: string,
|
|
2128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId,
|
|
1998
|
+
async workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1999
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId, path, mode, options);
|
|
2129
2000
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2130
2001
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerCreateFolder']?.[localVarOperationServerIndex]?.url;
|
|
2131
2002
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2156,91 +2027,85 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2156
2027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2157
2028
|
},
|
|
2158
2029
|
/**
|
|
2159
|
-
* Delete file inside workspace
|
|
2030
|
+
* Delete file inside workspace
|
|
2160
2031
|
* @summary Delete file
|
|
2161
2032
|
* @param {string} workspaceId
|
|
2162
|
-
* @param {string} projectId
|
|
2163
2033
|
* @param {string} path
|
|
2164
2034
|
* @param {*} [options] Override http request option.
|
|
2165
2035
|
* @throws {RequiredError}
|
|
2166
2036
|
*/
|
|
2167
|
-
async workspaceControllerDeleteFile(workspaceId: string,
|
|
2168
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId,
|
|
2037
|
+
async workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId, path, options);
|
|
2169
2039
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2170
2040
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerDeleteFile']?.[localVarOperationServerIndex]?.url;
|
|
2171
2041
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2172
2042
|
},
|
|
2173
2043
|
/**
|
|
2174
|
-
* Download file from workspace
|
|
2044
|
+
* Download file from workspace
|
|
2175
2045
|
* @summary Download file
|
|
2176
2046
|
* @param {string} workspaceId
|
|
2177
|
-
* @param {string} projectId
|
|
2178
2047
|
* @param {string} path
|
|
2179
2048
|
* @param {*} [options] Override http request option.
|
|
2180
2049
|
* @throws {RequiredError}
|
|
2181
2050
|
*/
|
|
2182
|
-
async workspaceControllerDownloadFile(workspaceId: string,
|
|
2183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId,
|
|
2051
|
+
async workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId, path, options);
|
|
2184
2053
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2185
2054
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerDownloadFile']?.[localVarOperationServerIndex]?.url;
|
|
2186
2055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2187
2056
|
},
|
|
2188
2057
|
/**
|
|
2189
|
-
* Execute command synchronously inside workspace
|
|
2058
|
+
* Execute command synchronously inside workspace
|
|
2190
2059
|
* @summary Execute command
|
|
2191
2060
|
* @param {string} workspaceId
|
|
2192
|
-
* @param {string} projectId
|
|
2193
2061
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
2194
2062
|
* @param {*} [options] Override http request option.
|
|
2195
2063
|
* @throws {RequiredError}
|
|
2196
2064
|
*/
|
|
2197
|
-
async workspaceControllerExecuteCommand(workspaceId: string,
|
|
2198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId,
|
|
2065
|
+
async workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>> {
|
|
2066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options);
|
|
2199
2067
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2200
2068
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerExecuteCommand']?.[localVarOperationServerIndex]?.url;
|
|
2201
2069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2202
2070
|
},
|
|
2203
2071
|
/**
|
|
2204
|
-
* Search for text/pattern inside workspace
|
|
2072
|
+
* Search for text/pattern inside workspace files
|
|
2205
2073
|
* @summary Search for text/pattern in files
|
|
2206
2074
|
* @param {string} workspaceId
|
|
2207
|
-
* @param {string} projectId
|
|
2208
2075
|
* @param {string} path
|
|
2209
2076
|
* @param {string} pattern
|
|
2210
2077
|
* @param {*} [options] Override http request option.
|
|
2211
2078
|
* @throws {RequiredError}
|
|
2212
2079
|
*/
|
|
2213
|
-
async workspaceControllerFindInFiles(workspaceId: string,
|
|
2214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId,
|
|
2080
|
+
async workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId, path, pattern, options);
|
|
2215
2082
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2216
2083
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerFindInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2217
2084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2218
2085
|
},
|
|
2219
2086
|
/**
|
|
2220
|
-
* Get file info inside workspace
|
|
2087
|
+
* Get file info inside workspace
|
|
2221
2088
|
* @summary Get file info
|
|
2222
2089
|
* @param {string} workspaceId
|
|
2223
|
-
* @param {string} projectId
|
|
2224
2090
|
* @param {string} path
|
|
2225
2091
|
* @param {*} [options] Override http request option.
|
|
2226
2092
|
* @throws {RequiredError}
|
|
2227
2093
|
*/
|
|
2228
|
-
async workspaceControllerGetFileInfo(workspaceId: string,
|
|
2229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId,
|
|
2094
|
+
async workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId, path, options);
|
|
2230
2096
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2231
2097
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGetFileInfo']?.[localVarOperationServerIndex]?.url;
|
|
2232
2098
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2233
2099
|
},
|
|
2234
2100
|
/**
|
|
2235
|
-
* Get project directory
|
|
2236
|
-
* @summary Get project dir
|
|
2101
|
+
* Get workspace project directory
|
|
2102
|
+
* @summary Get workspace project dir
|
|
2237
2103
|
* @param {string} workspaceId
|
|
2238
|
-
* @param {string} projectId
|
|
2239
2104
|
* @param {*} [options] Override http request option.
|
|
2240
2105
|
* @throws {RequiredError}
|
|
2241
2106
|
*/
|
|
2242
|
-
async workspaceControllerGetProjectDir(workspaceId: string,
|
|
2243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId,
|
|
2107
|
+
async workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2108
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId, options);
|
|
2244
2109
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2245
2110
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGetProjectDir']?.[localVarOperationServerIndex]?.url;
|
|
2246
2111
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2262,13 +2127,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2262
2127
|
* Add files to git commit
|
|
2263
2128
|
* @summary Add files
|
|
2264
2129
|
* @param {string} workspaceId
|
|
2265
|
-
* @param {string} projectId
|
|
2266
2130
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2267
2131
|
* @param {*} [options] Override http request option.
|
|
2268
2132
|
* @throws {RequiredError}
|
|
2269
2133
|
*/
|
|
2270
|
-
async workspaceControllerGitAddFiles(workspaceId: string,
|
|
2271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId,
|
|
2134
|
+
async workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options);
|
|
2272
2136
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2273
2137
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitAddFiles']?.[localVarOperationServerIndex]?.url;
|
|
2274
2138
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2277,13 +2141,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2277
2141
|
* Get branch list from git repository
|
|
2278
2142
|
* @summary Get branch list
|
|
2279
2143
|
* @param {string} workspaceId
|
|
2280
|
-
* @param {string} projectId
|
|
2281
2144
|
* @param {string} path
|
|
2282
2145
|
* @param {*} [options] Override http request option.
|
|
2283
2146
|
* @throws {RequiredError}
|
|
2284
2147
|
*/
|
|
2285
|
-
async workspaceControllerGitBranchList(workspaceId: string,
|
|
2286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId,
|
|
2148
|
+
async workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId, path, options);
|
|
2287
2150
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2288
2151
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitBranchList']?.[localVarOperationServerIndex]?.url;
|
|
2289
2152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2292,13 +2155,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2292
2155
|
* Clone git repository
|
|
2293
2156
|
* @summary Clone repository
|
|
2294
2157
|
* @param {string} workspaceId
|
|
2295
|
-
* @param {string} projectId
|
|
2296
2158
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2297
2159
|
* @param {*} [options] Override http request option.
|
|
2298
2160
|
* @throws {RequiredError}
|
|
2299
2161
|
*/
|
|
2300
|
-
async workspaceControllerGitCloneRepository(workspaceId: string,
|
|
2301
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId,
|
|
2162
|
+
async workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options);
|
|
2302
2164
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2303
2165
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCloneRepository']?.[localVarOperationServerIndex]?.url;
|
|
2304
2166
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2307,13 +2169,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2307
2169
|
* Commit changes to git repository
|
|
2308
2170
|
* @summary Commit changes
|
|
2309
2171
|
* @param {string} workspaceId
|
|
2310
|
-
* @param {string} projectId
|
|
2311
2172
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2312
2173
|
* @param {*} [options] Override http request option.
|
|
2313
2174
|
* @throws {RequiredError}
|
|
2314
2175
|
*/
|
|
2315
|
-
async workspaceControllerGitCommitChanges(workspaceId: string,
|
|
2316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId,
|
|
2176
|
+
async workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options);
|
|
2317
2178
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2318
2179
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCommitChanges']?.[localVarOperationServerIndex]?.url;
|
|
2319
2180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2322,13 +2183,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2322
2183
|
* Get commit history from git repository
|
|
2323
2184
|
* @summary Get commit history
|
|
2324
2185
|
* @param {string} workspaceId
|
|
2325
|
-
* @param {string} projectId
|
|
2326
2186
|
* @param {string} path
|
|
2327
2187
|
* @param {*} [options] Override http request option.
|
|
2328
2188
|
* @throws {RequiredError}
|
|
2329
2189
|
*/
|
|
2330
|
-
async workspaceControllerGitCommitHistory(workspaceId: string,
|
|
2331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId,
|
|
2190
|
+
async workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId, path, options);
|
|
2332
2192
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2333
2193
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCommitHistory']?.[localVarOperationServerIndex]?.url;
|
|
2334
2194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2337,13 +2197,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2337
2197
|
* Create branch on git repository
|
|
2338
2198
|
* @summary Create branch
|
|
2339
2199
|
* @param {string} workspaceId
|
|
2340
|
-
* @param {string} projectId
|
|
2341
2200
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2342
2201
|
* @param {*} [options] Override http request option.
|
|
2343
2202
|
* @throws {RequiredError}
|
|
2344
2203
|
*/
|
|
2345
|
-
async workspaceControllerGitCreateBranch(workspaceId: string,
|
|
2346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId,
|
|
2204
|
+
async workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options);
|
|
2347
2206
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2348
2207
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCreateBranch']?.[localVarOperationServerIndex]?.url;
|
|
2349
2208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2352,13 +2211,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2352
2211
|
* Pull changes from remote
|
|
2353
2212
|
* @summary Pull changes
|
|
2354
2213
|
* @param {string} workspaceId
|
|
2355
|
-
* @param {string} projectId
|
|
2356
2214
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2357
2215
|
* @param {*} [options] Override http request option.
|
|
2358
2216
|
* @throws {RequiredError}
|
|
2359
2217
|
*/
|
|
2360
|
-
async workspaceControllerGitPullChanges(workspaceId: string,
|
|
2361
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId,
|
|
2218
|
+
async workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options);
|
|
2362
2220
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2363
2221
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitPullChanges']?.[localVarOperationServerIndex]?.url;
|
|
2364
2222
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2367,13 +2225,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2367
2225
|
* Push changes to remote
|
|
2368
2226
|
* @summary Push changes
|
|
2369
2227
|
* @param {string} workspaceId
|
|
2370
|
-
* @param {string} projectId
|
|
2371
2228
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2372
2229
|
* @param {*} [options] Override http request option.
|
|
2373
2230
|
* @throws {RequiredError}
|
|
2374
2231
|
*/
|
|
2375
|
-
async workspaceControllerGitPushChanges(workspaceId: string,
|
|
2376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId,
|
|
2232
|
+
async workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options);
|
|
2377
2234
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2378
2235
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitPushChanges']?.[localVarOperationServerIndex]?.url;
|
|
2379
2236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2382,28 +2239,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2382
2239
|
* Get status from git repository
|
|
2383
2240
|
* @summary Get git status
|
|
2384
2241
|
* @param {string} workspaceId
|
|
2385
|
-
* @param {string} projectId
|
|
2386
2242
|
* @param {string} path
|
|
2387
2243
|
* @param {*} [options] Override http request option.
|
|
2388
2244
|
* @throws {RequiredError}
|
|
2389
2245
|
*/
|
|
2390
|
-
async workspaceControllerGitStatus(workspaceId: string,
|
|
2391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId,
|
|
2246
|
+
async workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId, path, options);
|
|
2392
2248
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2393
2249
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitStatus']?.[localVarOperationServerIndex]?.url;
|
|
2394
2250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2395
2251
|
},
|
|
2396
2252
|
/**
|
|
2397
|
-
* List files inside workspace
|
|
2253
|
+
* List files inside workspace
|
|
2398
2254
|
* @summary List files
|
|
2399
2255
|
* @param {string} workspaceId
|
|
2400
|
-
* @param {string} projectId
|
|
2401
2256
|
* @param {string} [path]
|
|
2402
2257
|
* @param {*} [options] Override http request option.
|
|
2403
2258
|
* @throws {RequiredError}
|
|
2404
2259
|
*/
|
|
2405
|
-
async workspaceControllerListFiles(workspaceId: string,
|
|
2406
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId,
|
|
2260
|
+
async workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId, path, options);
|
|
2407
2262
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
2263
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerListFiles']?.[localVarOperationServerIndex]?.url;
|
|
2409
2264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2421,17 +2276,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2421
2276
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2422
2277
|
},
|
|
2423
2278
|
/**
|
|
2424
|
-
* Move file inside workspace
|
|
2279
|
+
* Move file inside workspace
|
|
2425
2280
|
* @summary Move file
|
|
2426
2281
|
* @param {string} workspaceId
|
|
2427
|
-
* @param {string} projectId
|
|
2428
2282
|
* @param {string} source
|
|
2429
2283
|
* @param {string} destination
|
|
2430
2284
|
* @param {*} [options] Override http request option.
|
|
2431
2285
|
* @throws {RequiredError}
|
|
2432
2286
|
*/
|
|
2433
|
-
async workspaceControllerMoveFile(workspaceId: string,
|
|
2434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId,
|
|
2287
|
+
async workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId, source, destination, options);
|
|
2435
2289
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2436
2290
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerMoveFile']?.[localVarOperationServerIndex]?.url;
|
|
2437
2291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2450,16 +2304,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2450
2304
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2451
2305
|
},
|
|
2452
2306
|
/**
|
|
2453
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2307
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2454
2308
|
* @summary Replace in files
|
|
2455
2309
|
* @param {string} workspaceId
|
|
2456
|
-
* @param {string} projectId
|
|
2457
2310
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2458
2311
|
* @param {*} [options] Override http request option.
|
|
2459
2312
|
* @throws {RequiredError}
|
|
2460
2313
|
*/
|
|
2461
|
-
async workspaceControllerReplaceInFiles(workspaceId: string,
|
|
2462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId,
|
|
2314
|
+
async workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options);
|
|
2463
2316
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2464
2317
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerReplaceInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2465
2318
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2479,26 +2332,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2479
2332
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2480
2333
|
},
|
|
2481
2334
|
/**
|
|
2482
|
-
* Search for files inside workspace
|
|
2335
|
+
* Search for files inside workspace
|
|
2483
2336
|
* @summary Search files
|
|
2484
2337
|
* @param {string} workspaceId
|
|
2485
|
-
* @param {string} projectId
|
|
2486
2338
|
* @param {string} path
|
|
2487
2339
|
* @param {string} pattern
|
|
2488
2340
|
* @param {*} [options] Override http request option.
|
|
2489
2341
|
* @throws {RequiredError}
|
|
2490
2342
|
*/
|
|
2491
|
-
async workspaceControllerSearchFiles(workspaceId: string,
|
|
2492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId,
|
|
2343
|
+
async workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId, path, pattern, options);
|
|
2493
2345
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2494
2346
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerSearchFiles']?.[localVarOperationServerIndex]?.url;
|
|
2495
2347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2496
2348
|
},
|
|
2497
2349
|
/**
|
|
2498
|
-
* Set file owner/group/permissions inside workspace
|
|
2350
|
+
* Set file owner/group/permissions inside workspace
|
|
2499
2351
|
* @summary Set file permissions
|
|
2500
2352
|
* @param {string} workspaceId
|
|
2501
|
-
* @param {string} projectId
|
|
2502
2353
|
* @param {string} path
|
|
2503
2354
|
* @param {string} owner
|
|
2504
2355
|
* @param {string} group
|
|
@@ -2506,25 +2357,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2506
2357
|
* @param {*} [options] Override http request option.
|
|
2507
2358
|
* @throws {RequiredError}
|
|
2508
2359
|
*/
|
|
2509
|
-
async workspaceControllerSetFilePermissions(workspaceId: string,
|
|
2510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId,
|
|
2360
|
+
async workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options);
|
|
2511
2362
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2512
2363
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerSetFilePermissions']?.[localVarOperationServerIndex]?.url;
|
|
2513
2364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2514
2365
|
},
|
|
2515
|
-
/**
|
|
2516
|
-
*
|
|
2517
|
-
* @param {string} workspaceId
|
|
2518
|
-
* @param {string} projectId
|
|
2519
|
-
* @param {*} [options] Override http request option.
|
|
2520
|
-
* @throws {RequiredError}
|
|
2521
|
-
*/
|
|
2522
|
-
async workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2523
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerStartProject(workspaceId, projectId, options);
|
|
2524
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2525
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerStartProject']?.[localVarOperationServerIndex]?.url;
|
|
2526
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2527
|
-
},
|
|
2528
2366
|
/**
|
|
2529
2367
|
*
|
|
2530
2368
|
* @param {string} workspaceId
|
|
@@ -2540,40 +2378,40 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2540
2378
|
/**
|
|
2541
2379
|
*
|
|
2542
2380
|
* @param {string} workspaceId
|
|
2543
|
-
* @param {string} projectId
|
|
2544
2381
|
* @param {*} [options] Override http request option.
|
|
2545
2382
|
* @throws {RequiredError}
|
|
2546
2383
|
*/
|
|
2547
|
-
async
|
|
2548
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2384
|
+
async workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerStopWorkspace(workspaceId, options);
|
|
2549
2386
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2550
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.
|
|
2387
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerStopWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
2551
2388
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2552
2389
|
},
|
|
2553
2390
|
/**
|
|
2554
|
-
*
|
|
2555
|
-
* @
|
|
2391
|
+
* Change public preview status of a workspace
|
|
2392
|
+
* @summary Change public preview status
|
|
2393
|
+
* @param {string} workspaceId ID of the workspace
|
|
2394
|
+
* @param {boolean} isPublic Public status to set
|
|
2556
2395
|
* @param {*} [options] Override http request option.
|
|
2557
2396
|
* @throws {RequiredError}
|
|
2558
2397
|
*/
|
|
2559
|
-
async
|
|
2560
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2398
|
+
async workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerUpdatePublicStatus(workspaceId, isPublic, options);
|
|
2561
2400
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2562
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.
|
|
2401
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerUpdatePublicStatus']?.[localVarOperationServerIndex]?.url;
|
|
2563
2402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2564
2403
|
},
|
|
2565
2404
|
/**
|
|
2566
|
-
* Upload file inside workspace
|
|
2405
|
+
* Upload file inside workspace
|
|
2567
2406
|
* @summary Upload file
|
|
2568
2407
|
* @param {string} workspaceId
|
|
2569
|
-
* @param {string} projectId
|
|
2570
2408
|
* @param {string} path
|
|
2571
2409
|
* @param {File} [file]
|
|
2572
2410
|
* @param {*} [options] Override http request option.
|
|
2573
2411
|
* @throws {RequiredError}
|
|
2574
2412
|
*/
|
|
2575
|
-
async workspaceControllerUploadFile(workspaceId: string,
|
|
2576
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId,
|
|
2413
|
+
async workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId, path, file, options);
|
|
2577
2415
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2578
2416
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2579
2417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2688,17 +2526,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2688
2526
|
return localVarFp.userControllerRegenerateKeyPair(id, options).then((request) => request(axios, basePath));
|
|
2689
2527
|
},
|
|
2690
2528
|
/**
|
|
2691
|
-
* Create folder inside workspace
|
|
2529
|
+
* Create folder inside workspace
|
|
2692
2530
|
* @summary Create folder
|
|
2693
2531
|
* @param {string} workspaceId
|
|
2694
|
-
* @param {string} projectId
|
|
2695
2532
|
* @param {string} path
|
|
2696
2533
|
* @param {string} mode
|
|
2697
2534
|
* @param {*} [options] Override http request option.
|
|
2698
2535
|
* @throws {RequiredError}
|
|
2699
2536
|
*/
|
|
2700
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
2701
|
-
return localVarFp.workspaceControllerCreateFolder(workspaceId,
|
|
2537
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2538
|
+
return localVarFp.workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
|
|
2702
2539
|
},
|
|
2703
2540
|
/**
|
|
2704
2541
|
*
|
|
@@ -2720,76 +2557,70 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2720
2557
|
return localVarFp.workspaceControllerCreateWorkspace(createWorkspaceDto, options).then((request) => request(axios, basePath));
|
|
2721
2558
|
},
|
|
2722
2559
|
/**
|
|
2723
|
-
* Delete file inside workspace
|
|
2560
|
+
* Delete file inside workspace
|
|
2724
2561
|
* @summary Delete file
|
|
2725
2562
|
* @param {string} workspaceId
|
|
2726
|
-
* @param {string} projectId
|
|
2727
2563
|
* @param {string} path
|
|
2728
2564
|
* @param {*} [options] Override http request option.
|
|
2729
2565
|
* @throws {RequiredError}
|
|
2730
2566
|
*/
|
|
2731
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
2732
|
-
return localVarFp.workspaceControllerDeleteFile(workspaceId,
|
|
2567
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2568
|
+
return localVarFp.workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2733
2569
|
},
|
|
2734
2570
|
/**
|
|
2735
|
-
* Download file from workspace
|
|
2571
|
+
* Download file from workspace
|
|
2736
2572
|
* @summary Download file
|
|
2737
2573
|
* @param {string} workspaceId
|
|
2738
|
-
* @param {string} projectId
|
|
2739
2574
|
* @param {string} path
|
|
2740
2575
|
* @param {*} [options] Override http request option.
|
|
2741
2576
|
* @throws {RequiredError}
|
|
2742
2577
|
*/
|
|
2743
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
2744
|
-
return localVarFp.workspaceControllerDownloadFile(workspaceId,
|
|
2578
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2579
|
+
return localVarFp.workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2745
2580
|
},
|
|
2746
2581
|
/**
|
|
2747
|
-
* Execute command synchronously inside workspace
|
|
2582
|
+
* Execute command synchronously inside workspace
|
|
2748
2583
|
* @summary Execute command
|
|
2749
2584
|
* @param {string} workspaceId
|
|
2750
|
-
* @param {string} projectId
|
|
2751
2585
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
2752
2586
|
* @param {*} [options] Override http request option.
|
|
2753
2587
|
* @throws {RequiredError}
|
|
2754
2588
|
*/
|
|
2755
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
2756
|
-
return localVarFp.workspaceControllerExecuteCommand(workspaceId,
|
|
2589
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto> {
|
|
2590
|
+
return localVarFp.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
|
|
2757
2591
|
},
|
|
2758
2592
|
/**
|
|
2759
|
-
* Search for text/pattern inside workspace
|
|
2593
|
+
* Search for text/pattern inside workspace files
|
|
2760
2594
|
* @summary Search for text/pattern in files
|
|
2761
2595
|
* @param {string} workspaceId
|
|
2762
|
-
* @param {string} projectId
|
|
2763
2596
|
* @param {string} path
|
|
2764
2597
|
* @param {string} pattern
|
|
2765
2598
|
* @param {*} [options] Override http request option.
|
|
2766
2599
|
* @throws {RequiredError}
|
|
2767
2600
|
*/
|
|
2768
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
2769
|
-
return localVarFp.workspaceControllerFindInFiles(workspaceId,
|
|
2601
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2602
|
+
return localVarFp.workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2770
2603
|
},
|
|
2771
2604
|
/**
|
|
2772
|
-
* Get file info inside workspace
|
|
2605
|
+
* Get file info inside workspace
|
|
2773
2606
|
* @summary Get file info
|
|
2774
2607
|
* @param {string} workspaceId
|
|
2775
|
-
* @param {string} projectId
|
|
2776
2608
|
* @param {string} path
|
|
2777
2609
|
* @param {*} [options] Override http request option.
|
|
2778
2610
|
* @throws {RequiredError}
|
|
2779
2611
|
*/
|
|
2780
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
2781
|
-
return localVarFp.workspaceControllerGetFileInfo(workspaceId,
|
|
2612
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2613
|
+
return localVarFp.workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2782
2614
|
},
|
|
2783
2615
|
/**
|
|
2784
|
-
* Get project directory
|
|
2785
|
-
* @summary Get project dir
|
|
2616
|
+
* Get workspace project directory
|
|
2617
|
+
* @summary Get workspace project dir
|
|
2786
2618
|
* @param {string} workspaceId
|
|
2787
|
-
* @param {string} projectId
|
|
2788
2619
|
* @param {*} [options] Override http request option.
|
|
2789
2620
|
* @throws {RequiredError}
|
|
2790
2621
|
*/
|
|
2791
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
2792
|
-
return localVarFp.workspaceControllerGetProjectDir(workspaceId,
|
|
2622
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2623
|
+
return localVarFp.workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(axios, basePath));
|
|
2793
2624
|
},
|
|
2794
2625
|
/**
|
|
2795
2626
|
*
|
|
@@ -2805,121 +2636,111 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2805
2636
|
* Add files to git commit
|
|
2806
2637
|
* @summary Add files
|
|
2807
2638
|
* @param {string} workspaceId
|
|
2808
|
-
* @param {string} projectId
|
|
2809
2639
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2810
2640
|
* @param {*} [options] Override http request option.
|
|
2811
2641
|
* @throws {RequiredError}
|
|
2812
2642
|
*/
|
|
2813
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
2814
|
-
return localVarFp.workspaceControllerGitAddFiles(workspaceId,
|
|
2643
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2644
|
+
return localVarFp.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
|
|
2815
2645
|
},
|
|
2816
2646
|
/**
|
|
2817
2647
|
* Get branch list from git repository
|
|
2818
2648
|
* @summary Get branch list
|
|
2819
2649
|
* @param {string} workspaceId
|
|
2820
|
-
* @param {string} projectId
|
|
2821
2650
|
* @param {string} path
|
|
2822
2651
|
* @param {*} [options] Override http request option.
|
|
2823
2652
|
* @throws {RequiredError}
|
|
2824
2653
|
*/
|
|
2825
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
2826
|
-
return localVarFp.workspaceControllerGitBranchList(workspaceId,
|
|
2654
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2655
|
+
return localVarFp.workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2827
2656
|
},
|
|
2828
2657
|
/**
|
|
2829
2658
|
* Clone git repository
|
|
2830
2659
|
* @summary Clone repository
|
|
2831
2660
|
* @param {string} workspaceId
|
|
2832
|
-
* @param {string} projectId
|
|
2833
2661
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2834
2662
|
* @param {*} [options] Override http request option.
|
|
2835
2663
|
* @throws {RequiredError}
|
|
2836
2664
|
*/
|
|
2837
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
2838
|
-
return localVarFp.workspaceControllerGitCloneRepository(workspaceId,
|
|
2665
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2666
|
+
return localVarFp.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
|
|
2839
2667
|
},
|
|
2840
2668
|
/**
|
|
2841
2669
|
* Commit changes to git repository
|
|
2842
2670
|
* @summary Commit changes
|
|
2843
2671
|
* @param {string} workspaceId
|
|
2844
|
-
* @param {string} projectId
|
|
2845
2672
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2846
2673
|
* @param {*} [options] Override http request option.
|
|
2847
2674
|
* @throws {RequiredError}
|
|
2848
2675
|
*/
|
|
2849
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
2850
|
-
return localVarFp.workspaceControllerGitCommitChanges(workspaceId,
|
|
2676
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2677
|
+
return localVarFp.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
|
|
2851
2678
|
},
|
|
2852
2679
|
/**
|
|
2853
2680
|
* Get commit history from git repository
|
|
2854
2681
|
* @summary Get commit history
|
|
2855
2682
|
* @param {string} workspaceId
|
|
2856
|
-
* @param {string} projectId
|
|
2857
2683
|
* @param {string} path
|
|
2858
2684
|
* @param {*} [options] Override http request option.
|
|
2859
2685
|
* @throws {RequiredError}
|
|
2860
2686
|
*/
|
|
2861
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
2862
|
-
return localVarFp.workspaceControllerGitCommitHistory(workspaceId,
|
|
2687
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2688
|
+
return localVarFp.workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2863
2689
|
},
|
|
2864
2690
|
/**
|
|
2865
2691
|
* Create branch on git repository
|
|
2866
2692
|
* @summary Create branch
|
|
2867
2693
|
* @param {string} workspaceId
|
|
2868
|
-
* @param {string} projectId
|
|
2869
2694
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2870
2695
|
* @param {*} [options] Override http request option.
|
|
2871
2696
|
* @throws {RequiredError}
|
|
2872
2697
|
*/
|
|
2873
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
2874
|
-
return localVarFp.workspaceControllerGitCreateBranch(workspaceId,
|
|
2698
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2699
|
+
return localVarFp.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
|
|
2875
2700
|
},
|
|
2876
2701
|
/**
|
|
2877
2702
|
* Pull changes from remote
|
|
2878
2703
|
* @summary Pull changes
|
|
2879
2704
|
* @param {string} workspaceId
|
|
2880
|
-
* @param {string} projectId
|
|
2881
2705
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2882
2706
|
* @param {*} [options] Override http request option.
|
|
2883
2707
|
* @throws {RequiredError}
|
|
2884
2708
|
*/
|
|
2885
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
2886
|
-
return localVarFp.workspaceControllerGitPullChanges(workspaceId,
|
|
2709
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2710
|
+
return localVarFp.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2887
2711
|
},
|
|
2888
2712
|
/**
|
|
2889
2713
|
* Push changes to remote
|
|
2890
2714
|
* @summary Push changes
|
|
2891
2715
|
* @param {string} workspaceId
|
|
2892
|
-
* @param {string} projectId
|
|
2893
2716
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2894
2717
|
* @param {*} [options] Override http request option.
|
|
2895
2718
|
* @throws {RequiredError}
|
|
2896
2719
|
*/
|
|
2897
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
2898
|
-
return localVarFp.workspaceControllerGitPushChanges(workspaceId,
|
|
2720
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2721
|
+
return localVarFp.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2899
2722
|
},
|
|
2900
2723
|
/**
|
|
2901
2724
|
* Get status from git repository
|
|
2902
2725
|
* @summary Get git status
|
|
2903
2726
|
* @param {string} workspaceId
|
|
2904
|
-
* @param {string} projectId
|
|
2905
2727
|
* @param {string} path
|
|
2906
2728
|
* @param {*} [options] Override http request option.
|
|
2907
2729
|
* @throws {RequiredError}
|
|
2908
2730
|
*/
|
|
2909
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
2910
|
-
return localVarFp.workspaceControllerGitStatus(workspaceId,
|
|
2731
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2732
|
+
return localVarFp.workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2911
2733
|
},
|
|
2912
2734
|
/**
|
|
2913
|
-
* List files inside workspace
|
|
2735
|
+
* List files inside workspace
|
|
2914
2736
|
* @summary List files
|
|
2915
2737
|
* @param {string} workspaceId
|
|
2916
|
-
* @param {string} projectId
|
|
2917
2738
|
* @param {string} [path]
|
|
2918
2739
|
* @param {*} [options] Override http request option.
|
|
2919
2740
|
* @throws {RequiredError}
|
|
2920
2741
|
*/
|
|
2921
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
2922
|
-
return localVarFp.workspaceControllerListFiles(workspaceId,
|
|
2742
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2743
|
+
return localVarFp.workspaceControllerListFiles(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2923
2744
|
},
|
|
2924
2745
|
/**
|
|
2925
2746
|
*
|
|
@@ -2931,17 +2752,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2931
2752
|
return localVarFp.workspaceControllerListWorkspaces(verbose, options).then((request) => request(axios, basePath));
|
|
2932
2753
|
},
|
|
2933
2754
|
/**
|
|
2934
|
-
* Move file inside workspace
|
|
2755
|
+
* Move file inside workspace
|
|
2935
2756
|
* @summary Move file
|
|
2936
2757
|
* @param {string} workspaceId
|
|
2937
|
-
* @param {string} projectId
|
|
2938
2758
|
* @param {string} source
|
|
2939
2759
|
* @param {string} destination
|
|
2940
2760
|
* @param {*} [options] Override http request option.
|
|
2941
2761
|
* @throws {RequiredError}
|
|
2942
2762
|
*/
|
|
2943
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
2944
|
-
return localVarFp.workspaceControllerMoveFile(workspaceId,
|
|
2763
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2764
|
+
return localVarFp.workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
|
|
2945
2765
|
},
|
|
2946
2766
|
/**
|
|
2947
2767
|
*
|
|
@@ -2954,16 +2774,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2954
2774
|
return localVarFp.workspaceControllerRemoveWorkspace(workspaceId, force, options).then((request) => request(axios, basePath));
|
|
2955
2775
|
},
|
|
2956
2776
|
/**
|
|
2957
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2777
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2958
2778
|
* @summary Replace in files
|
|
2959
2779
|
* @param {string} workspaceId
|
|
2960
|
-
* @param {string} projectId
|
|
2961
2780
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2962
2781
|
* @param {*} [options] Override http request option.
|
|
2963
2782
|
* @throws {RequiredError}
|
|
2964
2783
|
*/
|
|
2965
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
2966
|
-
return localVarFp.workspaceControllerReplaceInFiles(workspaceId,
|
|
2784
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2785
|
+
return localVarFp.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
|
|
2967
2786
|
},
|
|
2968
2787
|
/**
|
|
2969
2788
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
@@ -2977,23 +2796,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2977
2796
|
return localVarFp.workspaceControllerReplaceLabels(workspaceId, workspaceLabelsDto, options).then((request) => request(axios, basePath));
|
|
2978
2797
|
},
|
|
2979
2798
|
/**
|
|
2980
|
-
* Search for files inside workspace
|
|
2799
|
+
* Search for files inside workspace
|
|
2981
2800
|
* @summary Search files
|
|
2982
2801
|
* @param {string} workspaceId
|
|
2983
|
-
* @param {string} projectId
|
|
2984
2802
|
* @param {string} path
|
|
2985
2803
|
* @param {string} pattern
|
|
2986
2804
|
* @param {*} [options] Override http request option.
|
|
2987
2805
|
* @throws {RequiredError}
|
|
2988
2806
|
*/
|
|
2989
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
2990
|
-
return localVarFp.workspaceControllerSearchFiles(workspaceId,
|
|
2807
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2808
|
+
return localVarFp.workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2991
2809
|
},
|
|
2992
2810
|
/**
|
|
2993
|
-
* Set file owner/group/permissions inside workspace
|
|
2811
|
+
* Set file owner/group/permissions inside workspace
|
|
2994
2812
|
* @summary Set file permissions
|
|
2995
2813
|
* @param {string} workspaceId
|
|
2996
|
-
* @param {string} projectId
|
|
2997
2814
|
* @param {string} path
|
|
2998
2815
|
* @param {string} owner
|
|
2999
2816
|
* @param {string} group
|
|
@@ -3001,18 +2818,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3001
2818
|
* @param {*} [options] Override http request option.
|
|
3002
2819
|
* @throws {RequiredError}
|
|
3003
2820
|
*/
|
|
3004
|
-
workspaceControllerSetFilePermissions(workspaceId: string,
|
|
3005
|
-
return localVarFp.workspaceControllerSetFilePermissions(workspaceId,
|
|
3006
|
-
},
|
|
3007
|
-
/**
|
|
3008
|
-
*
|
|
3009
|
-
* @param {string} workspaceId
|
|
3010
|
-
* @param {string} projectId
|
|
3011
|
-
* @param {*} [options] Override http request option.
|
|
3012
|
-
* @throws {RequiredError}
|
|
3013
|
-
*/
|
|
3014
|
-
workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3015
|
-
return localVarFp.workspaceControllerStartProject(workspaceId, projectId, options).then((request) => request(axios, basePath));
|
|
2821
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2822
|
+
return localVarFp.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
|
|
3016
2823
|
},
|
|
3017
2824
|
/**
|
|
3018
2825
|
*
|
|
@@ -3026,34 +2833,34 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3026
2833
|
/**
|
|
3027
2834
|
*
|
|
3028
2835
|
* @param {string} workspaceId
|
|
3029
|
-
* @param {string} projectId
|
|
3030
2836
|
* @param {*} [options] Override http request option.
|
|
3031
2837
|
* @throws {RequiredError}
|
|
3032
2838
|
*/
|
|
3033
|
-
|
|
3034
|
-
return localVarFp.
|
|
2839
|
+
workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2840
|
+
return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
|
|
3035
2841
|
},
|
|
3036
2842
|
/**
|
|
3037
|
-
*
|
|
3038
|
-
* @
|
|
2843
|
+
* Change public preview status of a workspace
|
|
2844
|
+
* @summary Change public preview status
|
|
2845
|
+
* @param {string} workspaceId ID of the workspace
|
|
2846
|
+
* @param {boolean} isPublic Public status to set
|
|
3039
2847
|
* @param {*} [options] Override http request option.
|
|
3040
2848
|
* @throws {RequiredError}
|
|
3041
2849
|
*/
|
|
3042
|
-
|
|
3043
|
-
return localVarFp.
|
|
2850
|
+
workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2851
|
+
return localVarFp.workspaceControllerUpdatePublicStatus(workspaceId, isPublic, options).then((request) => request(axios, basePath));
|
|
3044
2852
|
},
|
|
3045
2853
|
/**
|
|
3046
|
-
* Upload file inside workspace
|
|
2854
|
+
* Upload file inside workspace
|
|
3047
2855
|
* @summary Upload file
|
|
3048
2856
|
* @param {string} workspaceId
|
|
3049
|
-
* @param {string} projectId
|
|
3050
2857
|
* @param {string} path
|
|
3051
2858
|
* @param {File} [file]
|
|
3052
2859
|
* @param {*} [options] Override http request option.
|
|
3053
2860
|
* @throws {RequiredError}
|
|
3054
2861
|
*/
|
|
3055
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
3056
|
-
return localVarFp.workspaceControllerUploadFile(workspaceId,
|
|
2862
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2863
|
+
return localVarFp.workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
|
|
3057
2864
|
},
|
|
3058
2865
|
};
|
|
3059
2866
|
};
|
|
@@ -3187,18 +2994,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3187
2994
|
}
|
|
3188
2995
|
|
|
3189
2996
|
/**
|
|
3190
|
-
* Create folder inside workspace
|
|
2997
|
+
* Create folder inside workspace
|
|
3191
2998
|
* @summary Create folder
|
|
3192
2999
|
* @param {string} workspaceId
|
|
3193
|
-
* @param {string} projectId
|
|
3194
3000
|
* @param {string} path
|
|
3195
3001
|
* @param {string} mode
|
|
3196
3002
|
* @param {*} [options] Override http request option.
|
|
3197
3003
|
* @throws {RequiredError}
|
|
3198
3004
|
* @memberof DefaultApi
|
|
3199
3005
|
*/
|
|
3200
|
-
public workspaceControllerCreateFolder(workspaceId: string,
|
|
3201
|
-
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId,
|
|
3006
|
+
public workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) {
|
|
3007
|
+
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3202
3008
|
}
|
|
3203
3009
|
|
|
3204
3010
|
/**
|
|
@@ -3225,87 +3031,81 @@ export class DefaultApi extends BaseAPI {
|
|
|
3225
3031
|
}
|
|
3226
3032
|
|
|
3227
3033
|
/**
|
|
3228
|
-
* Delete file inside workspace
|
|
3034
|
+
* Delete file inside workspace
|
|
3229
3035
|
* @summary Delete file
|
|
3230
3036
|
* @param {string} workspaceId
|
|
3231
|
-
* @param {string} projectId
|
|
3232
3037
|
* @param {string} path
|
|
3233
3038
|
* @param {*} [options] Override http request option.
|
|
3234
3039
|
* @throws {RequiredError}
|
|
3235
3040
|
* @memberof DefaultApi
|
|
3236
3041
|
*/
|
|
3237
|
-
public workspaceControllerDeleteFile(workspaceId: string,
|
|
3238
|
-
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId,
|
|
3042
|
+
public workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3043
|
+
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3239
3044
|
}
|
|
3240
3045
|
|
|
3241
3046
|
/**
|
|
3242
|
-
* Download file from workspace
|
|
3047
|
+
* Download file from workspace
|
|
3243
3048
|
* @summary Download file
|
|
3244
3049
|
* @param {string} workspaceId
|
|
3245
|
-
* @param {string} projectId
|
|
3246
3050
|
* @param {string} path
|
|
3247
3051
|
* @param {*} [options] Override http request option.
|
|
3248
3052
|
* @throws {RequiredError}
|
|
3249
3053
|
* @memberof DefaultApi
|
|
3250
3054
|
*/
|
|
3251
|
-
public workspaceControllerDownloadFile(workspaceId: string,
|
|
3252
|
-
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId,
|
|
3055
|
+
public workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3056
|
+
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3253
3057
|
}
|
|
3254
3058
|
|
|
3255
3059
|
/**
|
|
3256
|
-
* Execute command synchronously inside workspace
|
|
3060
|
+
* Execute command synchronously inside workspace
|
|
3257
3061
|
* @summary Execute command
|
|
3258
3062
|
* @param {string} workspaceId
|
|
3259
|
-
* @param {string} projectId
|
|
3260
3063
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
3261
3064
|
* @param {*} [options] Override http request option.
|
|
3262
3065
|
* @throws {RequiredError}
|
|
3263
3066
|
* @memberof DefaultApi
|
|
3264
3067
|
*/
|
|
3265
|
-
public workspaceControllerExecuteCommand(workspaceId: string,
|
|
3266
|
-
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId,
|
|
3068
|
+
public workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) {
|
|
3069
|
+
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3267
3070
|
}
|
|
3268
3071
|
|
|
3269
3072
|
/**
|
|
3270
|
-
* Search for text/pattern inside workspace
|
|
3073
|
+
* Search for text/pattern inside workspace files
|
|
3271
3074
|
* @summary Search for text/pattern in files
|
|
3272
3075
|
* @param {string} workspaceId
|
|
3273
|
-
* @param {string} projectId
|
|
3274
3076
|
* @param {string} path
|
|
3275
3077
|
* @param {string} pattern
|
|
3276
3078
|
* @param {*} [options] Override http request option.
|
|
3277
3079
|
* @throws {RequiredError}
|
|
3278
3080
|
* @memberof DefaultApi
|
|
3279
3081
|
*/
|
|
3280
|
-
public workspaceControllerFindInFiles(workspaceId: string,
|
|
3281
|
-
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId,
|
|
3082
|
+
public workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
3083
|
+
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3282
3084
|
}
|
|
3283
3085
|
|
|
3284
3086
|
/**
|
|
3285
|
-
* Get file info inside workspace
|
|
3087
|
+
* Get file info inside workspace
|
|
3286
3088
|
* @summary Get file info
|
|
3287
3089
|
* @param {string} workspaceId
|
|
3288
|
-
* @param {string} projectId
|
|
3289
3090
|
* @param {string} path
|
|
3290
3091
|
* @param {*} [options] Override http request option.
|
|
3291
3092
|
* @throws {RequiredError}
|
|
3292
3093
|
* @memberof DefaultApi
|
|
3293
3094
|
*/
|
|
3294
|
-
public workspaceControllerGetFileInfo(workspaceId: string,
|
|
3295
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId,
|
|
3095
|
+
public workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3096
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3296
3097
|
}
|
|
3297
3098
|
|
|
3298
3099
|
/**
|
|
3299
|
-
* Get project directory
|
|
3300
|
-
* @summary Get project dir
|
|
3100
|
+
* Get workspace project directory
|
|
3101
|
+
* @summary Get workspace project dir
|
|
3301
3102
|
* @param {string} workspaceId
|
|
3302
|
-
* @param {string} projectId
|
|
3303
3103
|
* @param {*} [options] Override http request option.
|
|
3304
3104
|
* @throws {RequiredError}
|
|
3305
3105
|
* @memberof DefaultApi
|
|
3306
3106
|
*/
|
|
3307
|
-
public workspaceControllerGetProjectDir(workspaceId: string,
|
|
3308
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId,
|
|
3107
|
+
public workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
3108
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3309
3109
|
}
|
|
3310
3110
|
|
|
3311
3111
|
/**
|
|
@@ -3324,140 +3124,130 @@ export class DefaultApi extends BaseAPI {
|
|
|
3324
3124
|
* Add files to git commit
|
|
3325
3125
|
* @summary Add files
|
|
3326
3126
|
* @param {string} workspaceId
|
|
3327
|
-
* @param {string} projectId
|
|
3328
3127
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
3329
3128
|
* @param {*} [options] Override http request option.
|
|
3330
3129
|
* @throws {RequiredError}
|
|
3331
3130
|
* @memberof DefaultApi
|
|
3332
3131
|
*/
|
|
3333
|
-
public workspaceControllerGitAddFiles(workspaceId: string,
|
|
3334
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId,
|
|
3132
|
+
public workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) {
|
|
3133
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3335
3134
|
}
|
|
3336
3135
|
|
|
3337
3136
|
/**
|
|
3338
3137
|
* Get branch list from git repository
|
|
3339
3138
|
* @summary Get branch list
|
|
3340
3139
|
* @param {string} workspaceId
|
|
3341
|
-
* @param {string} projectId
|
|
3342
3140
|
* @param {string} path
|
|
3343
3141
|
* @param {*} [options] Override http request option.
|
|
3344
3142
|
* @throws {RequiredError}
|
|
3345
3143
|
* @memberof DefaultApi
|
|
3346
3144
|
*/
|
|
3347
|
-
public workspaceControllerGitBranchList(workspaceId: string,
|
|
3348
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId,
|
|
3145
|
+
public workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3146
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3349
3147
|
}
|
|
3350
3148
|
|
|
3351
3149
|
/**
|
|
3352
3150
|
* Clone git repository
|
|
3353
3151
|
* @summary Clone repository
|
|
3354
3152
|
* @param {string} workspaceId
|
|
3355
|
-
* @param {string} projectId
|
|
3356
3153
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
3357
3154
|
* @param {*} [options] Override http request option.
|
|
3358
3155
|
* @throws {RequiredError}
|
|
3359
3156
|
* @memberof DefaultApi
|
|
3360
3157
|
*/
|
|
3361
|
-
public workspaceControllerGitCloneRepository(workspaceId: string,
|
|
3362
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId,
|
|
3158
|
+
public workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) {
|
|
3159
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3363
3160
|
}
|
|
3364
3161
|
|
|
3365
3162
|
/**
|
|
3366
3163
|
* Commit changes to git repository
|
|
3367
3164
|
* @summary Commit changes
|
|
3368
3165
|
* @param {string} workspaceId
|
|
3369
|
-
* @param {string} projectId
|
|
3370
3166
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
3371
3167
|
* @param {*} [options] Override http request option.
|
|
3372
3168
|
* @throws {RequiredError}
|
|
3373
3169
|
* @memberof DefaultApi
|
|
3374
3170
|
*/
|
|
3375
|
-
public workspaceControllerGitCommitChanges(workspaceId: string,
|
|
3376
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId,
|
|
3171
|
+
public workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) {
|
|
3172
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3377
3173
|
}
|
|
3378
3174
|
|
|
3379
3175
|
/**
|
|
3380
3176
|
* Get commit history from git repository
|
|
3381
3177
|
* @summary Get commit history
|
|
3382
3178
|
* @param {string} workspaceId
|
|
3383
|
-
* @param {string} projectId
|
|
3384
3179
|
* @param {string} path
|
|
3385
3180
|
* @param {*} [options] Override http request option.
|
|
3386
3181
|
* @throws {RequiredError}
|
|
3387
3182
|
* @memberof DefaultApi
|
|
3388
3183
|
*/
|
|
3389
|
-
public workspaceControllerGitCommitHistory(workspaceId: string,
|
|
3390
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId,
|
|
3184
|
+
public workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3185
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3391
3186
|
}
|
|
3392
3187
|
|
|
3393
3188
|
/**
|
|
3394
3189
|
* Create branch on git repository
|
|
3395
3190
|
* @summary Create branch
|
|
3396
3191
|
* @param {string} workspaceId
|
|
3397
|
-
* @param {string} projectId
|
|
3398
3192
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
3399
3193
|
* @param {*} [options] Override http request option.
|
|
3400
3194
|
* @throws {RequiredError}
|
|
3401
3195
|
* @memberof DefaultApi
|
|
3402
3196
|
*/
|
|
3403
|
-
public workspaceControllerGitCreateBranch(workspaceId: string,
|
|
3404
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId,
|
|
3197
|
+
public workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) {
|
|
3198
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3405
3199
|
}
|
|
3406
3200
|
|
|
3407
3201
|
/**
|
|
3408
3202
|
* Pull changes from remote
|
|
3409
3203
|
* @summary Pull changes
|
|
3410
3204
|
* @param {string} workspaceId
|
|
3411
|
-
* @param {string} projectId
|
|
3412
3205
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3413
3206
|
* @param {*} [options] Override http request option.
|
|
3414
3207
|
* @throws {RequiredError}
|
|
3415
3208
|
* @memberof DefaultApi
|
|
3416
3209
|
*/
|
|
3417
|
-
public workspaceControllerGitPullChanges(workspaceId: string,
|
|
3418
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId,
|
|
3210
|
+
public workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) {
|
|
3211
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3419
3212
|
}
|
|
3420
3213
|
|
|
3421
3214
|
/**
|
|
3422
3215
|
* Push changes to remote
|
|
3423
3216
|
* @summary Push changes
|
|
3424
3217
|
* @param {string} workspaceId
|
|
3425
|
-
* @param {string} projectId
|
|
3426
3218
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3427
3219
|
* @param {*} [options] Override http request option.
|
|
3428
3220
|
* @throws {RequiredError}
|
|
3429
3221
|
* @memberof DefaultApi
|
|
3430
3222
|
*/
|
|
3431
|
-
public workspaceControllerGitPushChanges(workspaceId: string,
|
|
3432
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId,
|
|
3223
|
+
public workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) {
|
|
3224
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3433
3225
|
}
|
|
3434
3226
|
|
|
3435
3227
|
/**
|
|
3436
3228
|
* Get status from git repository
|
|
3437
3229
|
* @summary Get git status
|
|
3438
3230
|
* @param {string} workspaceId
|
|
3439
|
-
* @param {string} projectId
|
|
3440
3231
|
* @param {string} path
|
|
3441
3232
|
* @param {*} [options] Override http request option.
|
|
3442
3233
|
* @throws {RequiredError}
|
|
3443
3234
|
* @memberof DefaultApi
|
|
3444
3235
|
*/
|
|
3445
|
-
public workspaceControllerGitStatus(workspaceId: string,
|
|
3446
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId,
|
|
3236
|
+
public workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3237
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3447
3238
|
}
|
|
3448
3239
|
|
|
3449
3240
|
/**
|
|
3450
|
-
* List files inside workspace
|
|
3241
|
+
* List files inside workspace
|
|
3451
3242
|
* @summary List files
|
|
3452
3243
|
* @param {string} workspaceId
|
|
3453
|
-
* @param {string} projectId
|
|
3454
3244
|
* @param {string} [path]
|
|
3455
3245
|
* @param {*} [options] Override http request option.
|
|
3456
3246
|
* @throws {RequiredError}
|
|
3457
3247
|
* @memberof DefaultApi
|
|
3458
3248
|
*/
|
|
3459
|
-
public workspaceControllerListFiles(workspaceId: string,
|
|
3460
|
-
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId,
|
|
3249
|
+
public workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig) {
|
|
3250
|
+
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3461
3251
|
}
|
|
3462
3252
|
|
|
3463
3253
|
/**
|
|
@@ -3472,18 +3262,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3472
3262
|
}
|
|
3473
3263
|
|
|
3474
3264
|
/**
|
|
3475
|
-
* Move file inside workspace
|
|
3265
|
+
* Move file inside workspace
|
|
3476
3266
|
* @summary Move file
|
|
3477
3267
|
* @param {string} workspaceId
|
|
3478
|
-
* @param {string} projectId
|
|
3479
3268
|
* @param {string} source
|
|
3480
3269
|
* @param {string} destination
|
|
3481
3270
|
* @param {*} [options] Override http request option.
|
|
3482
3271
|
* @throws {RequiredError}
|
|
3483
3272
|
* @memberof DefaultApi
|
|
3484
3273
|
*/
|
|
3485
|
-
public workspaceControllerMoveFile(workspaceId: string,
|
|
3486
|
-
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId,
|
|
3274
|
+
public workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) {
|
|
3275
|
+
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
|
|
3487
3276
|
}
|
|
3488
3277
|
|
|
3489
3278
|
/**
|
|
@@ -3499,17 +3288,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3499
3288
|
}
|
|
3500
3289
|
|
|
3501
3290
|
/**
|
|
3502
|
-
* Replace text/pattern in multiple files inside workspace
|
|
3291
|
+
* Replace text/pattern in multiple files inside workspace
|
|
3503
3292
|
* @summary Replace in files
|
|
3504
3293
|
* @param {string} workspaceId
|
|
3505
|
-
* @param {string} projectId
|
|
3506
3294
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
3507
3295
|
* @param {*} [options] Override http request option.
|
|
3508
3296
|
* @throws {RequiredError}
|
|
3509
3297
|
* @memberof DefaultApi
|
|
3510
3298
|
*/
|
|
3511
|
-
public workspaceControllerReplaceInFiles(workspaceId: string,
|
|
3512
|
-
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId,
|
|
3299
|
+
public workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) {
|
|
3300
|
+
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3513
3301
|
}
|
|
3514
3302
|
|
|
3515
3303
|
/**
|
|
@@ -3526,25 +3314,23 @@ export class DefaultApi extends BaseAPI {
|
|
|
3526
3314
|
}
|
|
3527
3315
|
|
|
3528
3316
|
/**
|
|
3529
|
-
* Search for files inside workspace
|
|
3317
|
+
* Search for files inside workspace
|
|
3530
3318
|
* @summary Search files
|
|
3531
3319
|
* @param {string} workspaceId
|
|
3532
|
-
* @param {string} projectId
|
|
3533
3320
|
* @param {string} path
|
|
3534
3321
|
* @param {string} pattern
|
|
3535
3322
|
* @param {*} [options] Override http request option.
|
|
3536
3323
|
* @throws {RequiredError}
|
|
3537
3324
|
* @memberof DefaultApi
|
|
3538
3325
|
*/
|
|
3539
|
-
public workspaceControllerSearchFiles(workspaceId: string,
|
|
3540
|
-
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId,
|
|
3326
|
+
public workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
3327
|
+
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3541
3328
|
}
|
|
3542
3329
|
|
|
3543
3330
|
/**
|
|
3544
|
-
* Set file owner/group/permissions inside workspace
|
|
3331
|
+
* Set file owner/group/permissions inside workspace
|
|
3545
3332
|
* @summary Set file permissions
|
|
3546
3333
|
* @param {string} workspaceId
|
|
3547
|
-
* @param {string} projectId
|
|
3548
3334
|
* @param {string} path
|
|
3549
3335
|
* @param {string} owner
|
|
3550
3336
|
* @param {string} group
|
|
@@ -3553,20 +3339,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
3553
3339
|
* @throws {RequiredError}
|
|
3554
3340
|
* @memberof DefaultApi
|
|
3555
3341
|
*/
|
|
3556
|
-
public workspaceControllerSetFilePermissions(workspaceId: string,
|
|
3557
|
-
return DefaultApiFp(this.configuration).workspaceControllerSetFilePermissions(workspaceId,
|
|
3558
|
-
}
|
|
3559
|
-
|
|
3560
|
-
/**
|
|
3561
|
-
*
|
|
3562
|
-
* @param {string} workspaceId
|
|
3563
|
-
* @param {string} projectId
|
|
3564
|
-
* @param {*} [options] Override http request option.
|
|
3565
|
-
* @throws {RequiredError}
|
|
3566
|
-
* @memberof DefaultApi
|
|
3567
|
-
*/
|
|
3568
|
-
public workspaceControllerStartProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) {
|
|
3569
|
-
return DefaultApiFp(this.configuration).workspaceControllerStartProject(workspaceId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
public workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) {
|
|
3343
|
+
return DefaultApiFp(this.configuration).workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3570
3344
|
}
|
|
3571
3345
|
|
|
3572
3346
|
/**
|
|
@@ -3583,39 +3357,39 @@ export class DefaultApi extends BaseAPI {
|
|
|
3583
3357
|
/**
|
|
3584
3358
|
*
|
|
3585
3359
|
* @param {string} workspaceId
|
|
3586
|
-
* @param {string} projectId
|
|
3587
3360
|
* @param {*} [options] Override http request option.
|
|
3588
3361
|
* @throws {RequiredError}
|
|
3589
3362
|
* @memberof DefaultApi
|
|
3590
3363
|
*/
|
|
3591
|
-
public
|
|
3592
|
-
return DefaultApiFp(this.configuration).
|
|
3364
|
+
public workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
3365
|
+
return DefaultApiFp(this.configuration).workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3593
3366
|
}
|
|
3594
3367
|
|
|
3595
3368
|
/**
|
|
3596
|
-
*
|
|
3597
|
-
* @
|
|
3369
|
+
* Change public preview status of a workspace
|
|
3370
|
+
* @summary Change public preview status
|
|
3371
|
+
* @param {string} workspaceId ID of the workspace
|
|
3372
|
+
* @param {boolean} isPublic Public status to set
|
|
3598
3373
|
* @param {*} [options] Override http request option.
|
|
3599
3374
|
* @throws {RequiredError}
|
|
3600
3375
|
* @memberof DefaultApi
|
|
3601
3376
|
*/
|
|
3602
|
-
public
|
|
3603
|
-
return DefaultApiFp(this.configuration).
|
|
3377
|
+
public workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig) {
|
|
3378
|
+
return DefaultApiFp(this.configuration).workspaceControllerUpdatePublicStatus(workspaceId, isPublic, options).then((request) => request(this.axios, this.basePath));
|
|
3604
3379
|
}
|
|
3605
3380
|
|
|
3606
3381
|
/**
|
|
3607
|
-
* Upload file inside workspace
|
|
3382
|
+
* Upload file inside workspace
|
|
3608
3383
|
* @summary Upload file
|
|
3609
3384
|
* @param {string} workspaceId
|
|
3610
|
-
* @param {string} projectId
|
|
3611
3385
|
* @param {string} path
|
|
3612
3386
|
* @param {File} [file]
|
|
3613
3387
|
* @param {*} [options] Override http request option.
|
|
3614
3388
|
* @throws {RequiredError}
|
|
3615
3389
|
* @memberof DefaultApi
|
|
3616
3390
|
*/
|
|
3617
|
-
public workspaceControllerUploadFile(workspaceId: string,
|
|
3618
|
-
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId,
|
|
3391
|
+
public workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) {
|
|
3392
|
+
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
|
|
3619
3393
|
}
|
|
3620
3394
|
}
|
|
3621
3395
|
|