@daytonaio/api-client 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/default-api.ts +254 -560
- package/dist/api/default-api.d.ts +144 -298
- package/dist/api/default-api.js +272 -570
- package/dist/api/docker-registry-api.js +6 -6
- package/dist/esm/api/default-api.d.ts +144 -298
- package/dist/esm/api/default-api.js +272 -570
- package/dist/esm/api/docker-registry-api.js +6 -6
- package/dist/esm/models/create-workspace-dto.d.ts +24 -0
- package/dist/esm/models/workspace-dto.d.ts +24 -0
- package/dist/models/create-workspace-dto.d.ts +24 -0
- package/dist/models/workspace-dto.d.ts +24 -0
- package/models/create-workspace-dto.ts +24 -0
- package/models/workspace-dto.ts +24 -0
- package/package.json +1 -1
package/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};
|
|
@@ -1827,47 +1702,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1827
1702
|
|
|
1828
1703
|
|
|
1829
1704
|
|
|
1830
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1831
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1832
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1833
|
-
|
|
1834
|
-
return {
|
|
1835
|
-
url: toPathString(localVarUrlObj),
|
|
1836
|
-
options: localVarRequestOptions,
|
|
1837
|
-
};
|
|
1838
|
-
},
|
|
1839
|
-
/**
|
|
1840
|
-
*
|
|
1841
|
-
* @param {string} workspaceId
|
|
1842
|
-
* @param {string} projectId
|
|
1843
|
-
* @param {*} [options] Override http request option.
|
|
1844
|
-
* @throws {RequiredError}
|
|
1845
|
-
*/
|
|
1846
|
-
workspaceControllerStopProject: async (workspaceId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1847
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1848
|
-
assertParamExists('workspaceControllerStopProject', 'workspaceId', workspaceId)
|
|
1849
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1850
|
-
assertParamExists('workspaceControllerStopProject', 'projectId', projectId)
|
|
1851
|
-
const localVarPath = `/workspace/{workspaceId}/{projectId}/stop`
|
|
1852
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1853
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1854
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1855
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1856
|
-
let baseOptions;
|
|
1857
|
-
if (configuration) {
|
|
1858
|
-
baseOptions = configuration.baseOptions;
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1862
|
-
const localVarHeaderParameter = {} as any;
|
|
1863
|
-
const localVarQueryParameter = {} as any;
|
|
1864
|
-
|
|
1865
|
-
// authentication oauth2 required
|
|
1866
|
-
// oauth required
|
|
1867
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
1705
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1872
1706
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1873
1707
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1915,25 +1749,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1915
1749
|
};
|
|
1916
1750
|
},
|
|
1917
1751
|
/**
|
|
1918
|
-
* Upload file inside workspace
|
|
1752
|
+
* Upload file inside workspace
|
|
1919
1753
|
* @summary Upload file
|
|
1920
1754
|
* @param {string} workspaceId
|
|
1921
|
-
* @param {string} projectId
|
|
1922
1755
|
* @param {string} path
|
|
1923
1756
|
* @param {File} [file]
|
|
1924
1757
|
* @param {*} [options] Override http request option.
|
|
1925
1758
|
* @throws {RequiredError}
|
|
1926
1759
|
*/
|
|
1927
|
-
workspaceControllerUploadFile: async (workspaceId: string,
|
|
1760
|
+
workspaceControllerUploadFile: async (workspaceId: string, path: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1928
1761
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1929
1762
|
assertParamExists('workspaceControllerUploadFile', 'workspaceId', workspaceId)
|
|
1930
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1931
|
-
assertParamExists('workspaceControllerUploadFile', 'projectId', projectId)
|
|
1932
1763
|
// verify required parameter 'path' is not null or undefined
|
|
1933
1764
|
assertParamExists('workspaceControllerUploadFile', 'path', path)
|
|
1934
|
-
const localVarPath = `/workspace/{workspaceId}/
|
|
1935
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1936
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1765
|
+
const localVarPath = `/workspace/{workspaceId}/toolbox/files/upload`
|
|
1766
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1937
1767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1938
1768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1939
1769
|
let baseOptions;
|
|
@@ -2115,17 +1945,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2115
1945
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2116
1946
|
},
|
|
2117
1947
|
/**
|
|
2118
|
-
* Create folder inside workspace
|
|
1948
|
+
* Create folder inside workspace
|
|
2119
1949
|
* @summary Create folder
|
|
2120
1950
|
* @param {string} workspaceId
|
|
2121
|
-
* @param {string} projectId
|
|
2122
1951
|
* @param {string} path
|
|
2123
1952
|
* @param {string} mode
|
|
2124
1953
|
* @param {*} [options] Override http request option.
|
|
2125
1954
|
* @throws {RequiredError}
|
|
2126
1955
|
*/
|
|
2127
|
-
async workspaceControllerCreateFolder(workspaceId: string,
|
|
2128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId,
|
|
1956
|
+
async workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerCreateFolder(workspaceId, path, mode, options);
|
|
2129
1958
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2130
1959
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerCreateFolder']?.[localVarOperationServerIndex]?.url;
|
|
2131
1960
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2156,91 +1985,85 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2156
1985
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2157
1986
|
},
|
|
2158
1987
|
/**
|
|
2159
|
-
* Delete file inside workspace
|
|
1988
|
+
* Delete file inside workspace
|
|
2160
1989
|
* @summary Delete file
|
|
2161
1990
|
* @param {string} workspaceId
|
|
2162
|
-
* @param {string} projectId
|
|
2163
1991
|
* @param {string} path
|
|
2164
1992
|
* @param {*} [options] Override http request option.
|
|
2165
1993
|
* @throws {RequiredError}
|
|
2166
1994
|
*/
|
|
2167
|
-
async workspaceControllerDeleteFile(workspaceId: string,
|
|
2168
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId,
|
|
1995
|
+
async workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDeleteFile(workspaceId, path, options);
|
|
2169
1997
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2170
1998
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerDeleteFile']?.[localVarOperationServerIndex]?.url;
|
|
2171
1999
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2172
2000
|
},
|
|
2173
2001
|
/**
|
|
2174
|
-
* Download file from workspace
|
|
2002
|
+
* Download file from workspace
|
|
2175
2003
|
* @summary Download file
|
|
2176
2004
|
* @param {string} workspaceId
|
|
2177
|
-
* @param {string} projectId
|
|
2178
2005
|
* @param {string} path
|
|
2179
2006
|
* @param {*} [options] Override http request option.
|
|
2180
2007
|
* @throws {RequiredError}
|
|
2181
2008
|
*/
|
|
2182
|
-
async workspaceControllerDownloadFile(workspaceId: string,
|
|
2183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId,
|
|
2009
|
+
async workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2010
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerDownloadFile(workspaceId, path, options);
|
|
2184
2011
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2185
2012
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerDownloadFile']?.[localVarOperationServerIndex]?.url;
|
|
2186
2013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2187
2014
|
},
|
|
2188
2015
|
/**
|
|
2189
|
-
* Execute command synchronously inside workspace
|
|
2016
|
+
* Execute command synchronously inside workspace
|
|
2190
2017
|
* @summary Execute command
|
|
2191
2018
|
* @param {string} workspaceId
|
|
2192
|
-
* @param {string} projectId
|
|
2193
2019
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
2194
2020
|
* @param {*} [options] Override http request option.
|
|
2195
2021
|
* @throws {RequiredError}
|
|
2196
2022
|
*/
|
|
2197
|
-
async workspaceControllerExecuteCommand(workspaceId: string,
|
|
2198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId,
|
|
2023
|
+
async workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>> {
|
|
2024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options);
|
|
2199
2025
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2200
2026
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerExecuteCommand']?.[localVarOperationServerIndex]?.url;
|
|
2201
2027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2202
2028
|
},
|
|
2203
2029
|
/**
|
|
2204
|
-
* Search for text/pattern inside workspace
|
|
2030
|
+
* Search for text/pattern inside workspace files
|
|
2205
2031
|
* @summary Search for text/pattern in files
|
|
2206
2032
|
* @param {string} workspaceId
|
|
2207
|
-
* @param {string} projectId
|
|
2208
2033
|
* @param {string} path
|
|
2209
2034
|
* @param {string} pattern
|
|
2210
2035
|
* @param {*} [options] Override http request option.
|
|
2211
2036
|
* @throws {RequiredError}
|
|
2212
2037
|
*/
|
|
2213
|
-
async workspaceControllerFindInFiles(workspaceId: string,
|
|
2214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId,
|
|
2038
|
+
async workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerFindInFiles(workspaceId, path, pattern, options);
|
|
2215
2040
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2216
2041
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerFindInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2217
2042
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2218
2043
|
},
|
|
2219
2044
|
/**
|
|
2220
|
-
* Get file info inside workspace
|
|
2045
|
+
* Get file info inside workspace
|
|
2221
2046
|
* @summary Get file info
|
|
2222
2047
|
* @param {string} workspaceId
|
|
2223
|
-
* @param {string} projectId
|
|
2224
2048
|
* @param {string} path
|
|
2225
2049
|
* @param {*} [options] Override http request option.
|
|
2226
2050
|
* @throws {RequiredError}
|
|
2227
2051
|
*/
|
|
2228
|
-
async workspaceControllerGetFileInfo(workspaceId: string,
|
|
2229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId,
|
|
2052
|
+
async workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetFileInfo(workspaceId, path, options);
|
|
2230
2054
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2231
2055
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGetFileInfo']?.[localVarOperationServerIndex]?.url;
|
|
2232
2056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2233
2057
|
},
|
|
2234
2058
|
/**
|
|
2235
|
-
* Get project directory
|
|
2236
|
-
* @summary Get project dir
|
|
2059
|
+
* Get workspace project directory
|
|
2060
|
+
* @summary Get workspace project dir
|
|
2237
2061
|
* @param {string} workspaceId
|
|
2238
|
-
* @param {string} projectId
|
|
2239
2062
|
* @param {*} [options] Override http request option.
|
|
2240
2063
|
* @throws {RequiredError}
|
|
2241
2064
|
*/
|
|
2242
|
-
async workspaceControllerGetProjectDir(workspaceId: string,
|
|
2243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId,
|
|
2065
|
+
async workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGetProjectDir(workspaceId, options);
|
|
2244
2067
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2245
2068
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGetProjectDir']?.[localVarOperationServerIndex]?.url;
|
|
2246
2069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2262,13 +2085,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2262
2085
|
* Add files to git commit
|
|
2263
2086
|
* @summary Add files
|
|
2264
2087
|
* @param {string} workspaceId
|
|
2265
|
-
* @param {string} projectId
|
|
2266
2088
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2267
2089
|
* @param {*} [options] Override http request option.
|
|
2268
2090
|
* @throws {RequiredError}
|
|
2269
2091
|
*/
|
|
2270
|
-
async workspaceControllerGitAddFiles(workspaceId: string,
|
|
2271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId,
|
|
2092
|
+
async workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2093
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options);
|
|
2272
2094
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2273
2095
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitAddFiles']?.[localVarOperationServerIndex]?.url;
|
|
2274
2096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2277,13 +2099,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2277
2099
|
* Get branch list from git repository
|
|
2278
2100
|
* @summary Get branch list
|
|
2279
2101
|
* @param {string} workspaceId
|
|
2280
|
-
* @param {string} projectId
|
|
2281
2102
|
* @param {string} path
|
|
2282
2103
|
* @param {*} [options] Override http request option.
|
|
2283
2104
|
* @throws {RequiredError}
|
|
2284
2105
|
*/
|
|
2285
|
-
async workspaceControllerGitBranchList(workspaceId: string,
|
|
2286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId,
|
|
2106
|
+
async workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitBranchList(workspaceId, path, options);
|
|
2287
2108
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2288
2109
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitBranchList']?.[localVarOperationServerIndex]?.url;
|
|
2289
2110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2292,13 +2113,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2292
2113
|
* Clone git repository
|
|
2293
2114
|
* @summary Clone repository
|
|
2294
2115
|
* @param {string} workspaceId
|
|
2295
|
-
* @param {string} projectId
|
|
2296
2116
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2297
2117
|
* @param {*} [options] Override http request option.
|
|
2298
2118
|
* @throws {RequiredError}
|
|
2299
2119
|
*/
|
|
2300
|
-
async workspaceControllerGitCloneRepository(workspaceId: string,
|
|
2301
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId,
|
|
2120
|
+
async workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options);
|
|
2302
2122
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2303
2123
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCloneRepository']?.[localVarOperationServerIndex]?.url;
|
|
2304
2124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2307,13 +2127,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2307
2127
|
* Commit changes to git repository
|
|
2308
2128
|
* @summary Commit changes
|
|
2309
2129
|
* @param {string} workspaceId
|
|
2310
|
-
* @param {string} projectId
|
|
2311
2130
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2312
2131
|
* @param {*} [options] Override http request option.
|
|
2313
2132
|
* @throws {RequiredError}
|
|
2314
2133
|
*/
|
|
2315
|
-
async workspaceControllerGitCommitChanges(workspaceId: string,
|
|
2316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId,
|
|
2134
|
+
async workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options);
|
|
2317
2136
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2318
2137
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCommitChanges']?.[localVarOperationServerIndex]?.url;
|
|
2319
2138
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2322,13 +2141,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2322
2141
|
* Get commit history from git repository
|
|
2323
2142
|
* @summary Get commit history
|
|
2324
2143
|
* @param {string} workspaceId
|
|
2325
|
-
* @param {string} projectId
|
|
2326
2144
|
* @param {string} path
|
|
2327
2145
|
* @param {*} [options] Override http request option.
|
|
2328
2146
|
* @throws {RequiredError}
|
|
2329
2147
|
*/
|
|
2330
|
-
async workspaceControllerGitCommitHistory(workspaceId: string,
|
|
2331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId,
|
|
2148
|
+
async workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCommitHistory(workspaceId, path, options);
|
|
2332
2150
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2333
2151
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCommitHistory']?.[localVarOperationServerIndex]?.url;
|
|
2334
2152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2337,13 +2155,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2337
2155
|
* Create branch on git repository
|
|
2338
2156
|
* @summary Create branch
|
|
2339
2157
|
* @param {string} workspaceId
|
|
2340
|
-
* @param {string} projectId
|
|
2341
2158
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2342
2159
|
* @param {*} [options] Override http request option.
|
|
2343
2160
|
* @throws {RequiredError}
|
|
2344
2161
|
*/
|
|
2345
|
-
async workspaceControllerGitCreateBranch(workspaceId: string,
|
|
2346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId,
|
|
2162
|
+
async workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options);
|
|
2347
2164
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2348
2165
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitCreateBranch']?.[localVarOperationServerIndex]?.url;
|
|
2349
2166
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2352,13 +2169,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2352
2169
|
* Pull changes from remote
|
|
2353
2170
|
* @summary Pull changes
|
|
2354
2171
|
* @param {string} workspaceId
|
|
2355
|
-
* @param {string} projectId
|
|
2356
2172
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2357
2173
|
* @param {*} [options] Override http request option.
|
|
2358
2174
|
* @throws {RequiredError}
|
|
2359
2175
|
*/
|
|
2360
|
-
async workspaceControllerGitPullChanges(workspaceId: string,
|
|
2361
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId,
|
|
2176
|
+
async workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options);
|
|
2362
2178
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2363
2179
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitPullChanges']?.[localVarOperationServerIndex]?.url;
|
|
2364
2180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2367,13 +2183,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2367
2183
|
* Push changes to remote
|
|
2368
2184
|
* @summary Push changes
|
|
2369
2185
|
* @param {string} workspaceId
|
|
2370
|
-
* @param {string} projectId
|
|
2371
2186
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2372
2187
|
* @param {*} [options] Override http request option.
|
|
2373
2188
|
* @throws {RequiredError}
|
|
2374
2189
|
*/
|
|
2375
|
-
async workspaceControllerGitPushChanges(workspaceId: string,
|
|
2376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId,
|
|
2190
|
+
async workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options);
|
|
2377
2192
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2378
2193
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitPushChanges']?.[localVarOperationServerIndex]?.url;
|
|
2379
2194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2382,28 +2197,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2382
2197
|
* Get status from git repository
|
|
2383
2198
|
* @summary Get git status
|
|
2384
2199
|
* @param {string} workspaceId
|
|
2385
|
-
* @param {string} projectId
|
|
2386
2200
|
* @param {string} path
|
|
2387
2201
|
* @param {*} [options] Override http request option.
|
|
2388
2202
|
* @throws {RequiredError}
|
|
2389
2203
|
*/
|
|
2390
|
-
async workspaceControllerGitStatus(workspaceId: string,
|
|
2391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId,
|
|
2204
|
+
async workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerGitStatus(workspaceId, path, options);
|
|
2392
2206
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2393
2207
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerGitStatus']?.[localVarOperationServerIndex]?.url;
|
|
2394
2208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2395
2209
|
},
|
|
2396
2210
|
/**
|
|
2397
|
-
* List files inside workspace
|
|
2211
|
+
* List files inside workspace
|
|
2398
2212
|
* @summary List files
|
|
2399
2213
|
* @param {string} workspaceId
|
|
2400
|
-
* @param {string} projectId
|
|
2401
2214
|
* @param {string} [path]
|
|
2402
2215
|
* @param {*} [options] Override http request option.
|
|
2403
2216
|
* @throws {RequiredError}
|
|
2404
2217
|
*/
|
|
2405
|
-
async workspaceControllerListFiles(workspaceId: string,
|
|
2406
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId,
|
|
2218
|
+
async workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerListFiles(workspaceId, path, options);
|
|
2407
2220
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
2221
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerListFiles']?.[localVarOperationServerIndex]?.url;
|
|
2409
2222
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2421,17 +2234,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2421
2234
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2422
2235
|
},
|
|
2423
2236
|
/**
|
|
2424
|
-
* Move file inside workspace
|
|
2237
|
+
* Move file inside workspace
|
|
2425
2238
|
* @summary Move file
|
|
2426
2239
|
* @param {string} workspaceId
|
|
2427
|
-
* @param {string} projectId
|
|
2428
2240
|
* @param {string} source
|
|
2429
2241
|
* @param {string} destination
|
|
2430
2242
|
* @param {*} [options] Override http request option.
|
|
2431
2243
|
* @throws {RequiredError}
|
|
2432
2244
|
*/
|
|
2433
|
-
async workspaceControllerMoveFile(workspaceId: string,
|
|
2434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId,
|
|
2245
|
+
async workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerMoveFile(workspaceId, source, destination, options);
|
|
2435
2247
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2436
2248
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerMoveFile']?.[localVarOperationServerIndex]?.url;
|
|
2437
2249
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2450,16 +2262,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2450
2262
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2451
2263
|
},
|
|
2452
2264
|
/**
|
|
2453
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2265
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2454
2266
|
* @summary Replace in files
|
|
2455
2267
|
* @param {string} workspaceId
|
|
2456
|
-
* @param {string} projectId
|
|
2457
2268
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2458
2269
|
* @param {*} [options] Override http request option.
|
|
2459
2270
|
* @throws {RequiredError}
|
|
2460
2271
|
*/
|
|
2461
|
-
async workspaceControllerReplaceInFiles(workspaceId: string,
|
|
2462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId,
|
|
2272
|
+
async workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options);
|
|
2463
2274
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2464
2275
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerReplaceInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2465
2276
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2479,26 +2290,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2479
2290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2480
2291
|
},
|
|
2481
2292
|
/**
|
|
2482
|
-
* Search for files inside workspace
|
|
2293
|
+
* Search for files inside workspace
|
|
2483
2294
|
* @summary Search files
|
|
2484
2295
|
* @param {string} workspaceId
|
|
2485
|
-
* @param {string} projectId
|
|
2486
2296
|
* @param {string} path
|
|
2487
2297
|
* @param {string} pattern
|
|
2488
2298
|
* @param {*} [options] Override http request option.
|
|
2489
2299
|
* @throws {RequiredError}
|
|
2490
2300
|
*/
|
|
2491
|
-
async workspaceControllerSearchFiles(workspaceId: string,
|
|
2492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId,
|
|
2301
|
+
async workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSearchFiles(workspaceId, path, pattern, options);
|
|
2493
2303
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2494
2304
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerSearchFiles']?.[localVarOperationServerIndex]?.url;
|
|
2495
2305
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2496
2306
|
},
|
|
2497
2307
|
/**
|
|
2498
|
-
* Set file owner/group/permissions inside workspace
|
|
2308
|
+
* Set file owner/group/permissions inside workspace
|
|
2499
2309
|
* @summary Set file permissions
|
|
2500
2310
|
* @param {string} workspaceId
|
|
2501
|
-
* @param {string} projectId
|
|
2502
2311
|
* @param {string} path
|
|
2503
2312
|
* @param {string} owner
|
|
2504
2313
|
* @param {string} group
|
|
@@ -2506,25 +2315,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2506
2315
|
* @param {*} [options] Override http request option.
|
|
2507
2316
|
* @throws {RequiredError}
|
|
2508
2317
|
*/
|
|
2509
|
-
async workspaceControllerSetFilePermissions(workspaceId: string,
|
|
2510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId,
|
|
2318
|
+
async workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options);
|
|
2511
2320
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2512
2321
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerSetFilePermissions']?.[localVarOperationServerIndex]?.url;
|
|
2513
2322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2514
2323
|
},
|
|
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
2324
|
/**
|
|
2529
2325
|
*
|
|
2530
2326
|
* @param {string} workspaceId
|
|
@@ -2537,19 +2333,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2537
2333
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerStartWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
2538
2334
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2539
2335
|
},
|
|
2540
|
-
/**
|
|
2541
|
-
*
|
|
2542
|
-
* @param {string} workspaceId
|
|
2543
|
-
* @param {string} projectId
|
|
2544
|
-
* @param {*} [options] Override http request option.
|
|
2545
|
-
* @throws {RequiredError}
|
|
2546
|
-
*/
|
|
2547
|
-
async workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2548
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerStopProject(workspaceId, projectId, options);
|
|
2549
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2550
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerStopProject']?.[localVarOperationServerIndex]?.url;
|
|
2551
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2552
|
-
},
|
|
2553
2336
|
/**
|
|
2554
2337
|
*
|
|
2555
2338
|
* @param {string} workspaceId
|
|
@@ -2563,17 +2346,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2563
2346
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2564
2347
|
},
|
|
2565
2348
|
/**
|
|
2566
|
-
* Upload file inside workspace
|
|
2349
|
+
* Upload file inside workspace
|
|
2567
2350
|
* @summary Upload file
|
|
2568
2351
|
* @param {string} workspaceId
|
|
2569
|
-
* @param {string} projectId
|
|
2570
2352
|
* @param {string} path
|
|
2571
2353
|
* @param {File} [file]
|
|
2572
2354
|
* @param {*} [options] Override http request option.
|
|
2573
2355
|
* @throws {RequiredError}
|
|
2574
2356
|
*/
|
|
2575
|
-
async workspaceControllerUploadFile(workspaceId: string,
|
|
2576
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId,
|
|
2357
|
+
async workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workspaceControllerUploadFile(workspaceId, path, file, options);
|
|
2577
2359
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2578
2360
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.workspaceControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2579
2361
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2688,17 +2470,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2688
2470
|
return localVarFp.userControllerRegenerateKeyPair(id, options).then((request) => request(axios, basePath));
|
|
2689
2471
|
},
|
|
2690
2472
|
/**
|
|
2691
|
-
* Create folder inside workspace
|
|
2473
|
+
* Create folder inside workspace
|
|
2692
2474
|
* @summary Create folder
|
|
2693
2475
|
* @param {string} workspaceId
|
|
2694
|
-
* @param {string} projectId
|
|
2695
2476
|
* @param {string} path
|
|
2696
2477
|
* @param {string} mode
|
|
2697
2478
|
* @param {*} [options] Override http request option.
|
|
2698
2479
|
* @throws {RequiredError}
|
|
2699
2480
|
*/
|
|
2700
|
-
workspaceControllerCreateFolder(workspaceId: string,
|
|
2701
|
-
return localVarFp.workspaceControllerCreateFolder(workspaceId,
|
|
2481
|
+
workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2482
|
+
return localVarFp.workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
|
|
2702
2483
|
},
|
|
2703
2484
|
/**
|
|
2704
2485
|
*
|
|
@@ -2720,76 +2501,70 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2720
2501
|
return localVarFp.workspaceControllerCreateWorkspace(createWorkspaceDto, options).then((request) => request(axios, basePath));
|
|
2721
2502
|
},
|
|
2722
2503
|
/**
|
|
2723
|
-
* Delete file inside workspace
|
|
2504
|
+
* Delete file inside workspace
|
|
2724
2505
|
* @summary Delete file
|
|
2725
2506
|
* @param {string} workspaceId
|
|
2726
|
-
* @param {string} projectId
|
|
2727
2507
|
* @param {string} path
|
|
2728
2508
|
* @param {*} [options] Override http request option.
|
|
2729
2509
|
* @throws {RequiredError}
|
|
2730
2510
|
*/
|
|
2731
|
-
workspaceControllerDeleteFile(workspaceId: string,
|
|
2732
|
-
return localVarFp.workspaceControllerDeleteFile(workspaceId,
|
|
2511
|
+
workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2512
|
+
return localVarFp.workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2733
2513
|
},
|
|
2734
2514
|
/**
|
|
2735
|
-
* Download file from workspace
|
|
2515
|
+
* Download file from workspace
|
|
2736
2516
|
* @summary Download file
|
|
2737
2517
|
* @param {string} workspaceId
|
|
2738
|
-
* @param {string} projectId
|
|
2739
2518
|
* @param {string} path
|
|
2740
2519
|
* @param {*} [options] Override http request option.
|
|
2741
2520
|
* @throws {RequiredError}
|
|
2742
2521
|
*/
|
|
2743
|
-
workspaceControllerDownloadFile(workspaceId: string,
|
|
2744
|
-
return localVarFp.workspaceControllerDownloadFile(workspaceId,
|
|
2522
|
+
workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2523
|
+
return localVarFp.workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2745
2524
|
},
|
|
2746
2525
|
/**
|
|
2747
|
-
* Execute command synchronously inside workspace
|
|
2526
|
+
* Execute command synchronously inside workspace
|
|
2748
2527
|
* @summary Execute command
|
|
2749
2528
|
* @param {string} workspaceId
|
|
2750
|
-
* @param {string} projectId
|
|
2751
2529
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
2752
2530
|
* @param {*} [options] Override http request option.
|
|
2753
2531
|
* @throws {RequiredError}
|
|
2754
2532
|
*/
|
|
2755
|
-
workspaceControllerExecuteCommand(workspaceId: string,
|
|
2756
|
-
return localVarFp.workspaceControllerExecuteCommand(workspaceId,
|
|
2533
|
+
workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto> {
|
|
2534
|
+
return localVarFp.workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(axios, basePath));
|
|
2757
2535
|
},
|
|
2758
2536
|
/**
|
|
2759
|
-
* Search for text/pattern inside workspace
|
|
2537
|
+
* Search for text/pattern inside workspace files
|
|
2760
2538
|
* @summary Search for text/pattern in files
|
|
2761
2539
|
* @param {string} workspaceId
|
|
2762
|
-
* @param {string} projectId
|
|
2763
2540
|
* @param {string} path
|
|
2764
2541
|
* @param {string} pattern
|
|
2765
2542
|
* @param {*} [options] Override http request option.
|
|
2766
2543
|
* @throws {RequiredError}
|
|
2767
2544
|
*/
|
|
2768
|
-
workspaceControllerFindInFiles(workspaceId: string,
|
|
2769
|
-
return localVarFp.workspaceControllerFindInFiles(workspaceId,
|
|
2545
|
+
workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2546
|
+
return localVarFp.workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2770
2547
|
},
|
|
2771
2548
|
/**
|
|
2772
|
-
* Get file info inside workspace
|
|
2549
|
+
* Get file info inside workspace
|
|
2773
2550
|
* @summary Get file info
|
|
2774
2551
|
* @param {string} workspaceId
|
|
2775
|
-
* @param {string} projectId
|
|
2776
2552
|
* @param {string} path
|
|
2777
2553
|
* @param {*} [options] Override http request option.
|
|
2778
2554
|
* @throws {RequiredError}
|
|
2779
2555
|
*/
|
|
2780
|
-
workspaceControllerGetFileInfo(workspaceId: string,
|
|
2781
|
-
return localVarFp.workspaceControllerGetFileInfo(workspaceId,
|
|
2556
|
+
workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2557
|
+
return localVarFp.workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2782
2558
|
},
|
|
2783
2559
|
/**
|
|
2784
|
-
* Get project directory
|
|
2785
|
-
* @summary Get project dir
|
|
2560
|
+
* Get workspace project directory
|
|
2561
|
+
* @summary Get workspace project dir
|
|
2786
2562
|
* @param {string} workspaceId
|
|
2787
|
-
* @param {string} projectId
|
|
2788
2563
|
* @param {*} [options] Override http request option.
|
|
2789
2564
|
* @throws {RequiredError}
|
|
2790
2565
|
*/
|
|
2791
|
-
workspaceControllerGetProjectDir(workspaceId: string,
|
|
2792
|
-
return localVarFp.workspaceControllerGetProjectDir(workspaceId,
|
|
2566
|
+
workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2567
|
+
return localVarFp.workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(axios, basePath));
|
|
2793
2568
|
},
|
|
2794
2569
|
/**
|
|
2795
2570
|
*
|
|
@@ -2805,121 +2580,111 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2805
2580
|
* Add files to git commit
|
|
2806
2581
|
* @summary Add files
|
|
2807
2582
|
* @param {string} workspaceId
|
|
2808
|
-
* @param {string} projectId
|
|
2809
2583
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
2810
2584
|
* @param {*} [options] Override http request option.
|
|
2811
2585
|
* @throws {RequiredError}
|
|
2812
2586
|
*/
|
|
2813
|
-
workspaceControllerGitAddFiles(workspaceId: string,
|
|
2814
|
-
return localVarFp.workspaceControllerGitAddFiles(workspaceId,
|
|
2587
|
+
workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2588
|
+
return localVarFp.workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(axios, basePath));
|
|
2815
2589
|
},
|
|
2816
2590
|
/**
|
|
2817
2591
|
* Get branch list from git repository
|
|
2818
2592
|
* @summary Get branch list
|
|
2819
2593
|
* @param {string} workspaceId
|
|
2820
|
-
* @param {string} projectId
|
|
2821
2594
|
* @param {string} path
|
|
2822
2595
|
* @param {*} [options] Override http request option.
|
|
2823
2596
|
* @throws {RequiredError}
|
|
2824
2597
|
*/
|
|
2825
|
-
workspaceControllerGitBranchList(workspaceId: string,
|
|
2826
|
-
return localVarFp.workspaceControllerGitBranchList(workspaceId,
|
|
2598
|
+
workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2599
|
+
return localVarFp.workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2827
2600
|
},
|
|
2828
2601
|
/**
|
|
2829
2602
|
* Clone git repository
|
|
2830
2603
|
* @summary Clone repository
|
|
2831
2604
|
* @param {string} workspaceId
|
|
2832
|
-
* @param {string} projectId
|
|
2833
2605
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
2834
2606
|
* @param {*} [options] Override http request option.
|
|
2835
2607
|
* @throws {RequiredError}
|
|
2836
2608
|
*/
|
|
2837
|
-
workspaceControllerGitCloneRepository(workspaceId: string,
|
|
2838
|
-
return localVarFp.workspaceControllerGitCloneRepository(workspaceId,
|
|
2609
|
+
workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2610
|
+
return localVarFp.workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(axios, basePath));
|
|
2839
2611
|
},
|
|
2840
2612
|
/**
|
|
2841
2613
|
* Commit changes to git repository
|
|
2842
2614
|
* @summary Commit changes
|
|
2843
2615
|
* @param {string} workspaceId
|
|
2844
|
-
* @param {string} projectId
|
|
2845
2616
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
2846
2617
|
* @param {*} [options] Override http request option.
|
|
2847
2618
|
* @throws {RequiredError}
|
|
2848
2619
|
*/
|
|
2849
|
-
workspaceControllerGitCommitChanges(workspaceId: string,
|
|
2850
|
-
return localVarFp.workspaceControllerGitCommitChanges(workspaceId,
|
|
2620
|
+
workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2621
|
+
return localVarFp.workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(axios, basePath));
|
|
2851
2622
|
},
|
|
2852
2623
|
/**
|
|
2853
2624
|
* Get commit history from git repository
|
|
2854
2625
|
* @summary Get commit history
|
|
2855
2626
|
* @param {string} workspaceId
|
|
2856
|
-
* @param {string} projectId
|
|
2857
2627
|
* @param {string} path
|
|
2858
2628
|
* @param {*} [options] Override http request option.
|
|
2859
2629
|
* @throws {RequiredError}
|
|
2860
2630
|
*/
|
|
2861
|
-
workspaceControllerGitCommitHistory(workspaceId: string,
|
|
2862
|
-
return localVarFp.workspaceControllerGitCommitHistory(workspaceId,
|
|
2631
|
+
workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2632
|
+
return localVarFp.workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2863
2633
|
},
|
|
2864
2634
|
/**
|
|
2865
2635
|
* Create branch on git repository
|
|
2866
2636
|
* @summary Create branch
|
|
2867
2637
|
* @param {string} workspaceId
|
|
2868
|
-
* @param {string} projectId
|
|
2869
2638
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
2870
2639
|
* @param {*} [options] Override http request option.
|
|
2871
2640
|
* @throws {RequiredError}
|
|
2872
2641
|
*/
|
|
2873
|
-
workspaceControllerGitCreateBranch(workspaceId: string,
|
|
2874
|
-
return localVarFp.workspaceControllerGitCreateBranch(workspaceId,
|
|
2642
|
+
workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2643
|
+
return localVarFp.workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(axios, basePath));
|
|
2875
2644
|
},
|
|
2876
2645
|
/**
|
|
2877
2646
|
* Pull changes from remote
|
|
2878
2647
|
* @summary Pull changes
|
|
2879
2648
|
* @param {string} workspaceId
|
|
2880
|
-
* @param {string} projectId
|
|
2881
2649
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2882
2650
|
* @param {*} [options] Override http request option.
|
|
2883
2651
|
* @throws {RequiredError}
|
|
2884
2652
|
*/
|
|
2885
|
-
workspaceControllerGitPullChanges(workspaceId: string,
|
|
2886
|
-
return localVarFp.workspaceControllerGitPullChanges(workspaceId,
|
|
2653
|
+
workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2654
|
+
return localVarFp.workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2887
2655
|
},
|
|
2888
2656
|
/**
|
|
2889
2657
|
* Push changes to remote
|
|
2890
2658
|
* @summary Push changes
|
|
2891
2659
|
* @param {string} workspaceId
|
|
2892
|
-
* @param {string} projectId
|
|
2893
2660
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
2894
2661
|
* @param {*} [options] Override http request option.
|
|
2895
2662
|
* @throws {RequiredError}
|
|
2896
2663
|
*/
|
|
2897
|
-
workspaceControllerGitPushChanges(workspaceId: string,
|
|
2898
|
-
return localVarFp.workspaceControllerGitPushChanges(workspaceId,
|
|
2664
|
+
workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2665
|
+
return localVarFp.workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(axios, basePath));
|
|
2899
2666
|
},
|
|
2900
2667
|
/**
|
|
2901
2668
|
* Get status from git repository
|
|
2902
2669
|
* @summary Get git status
|
|
2903
2670
|
* @param {string} workspaceId
|
|
2904
|
-
* @param {string} projectId
|
|
2905
2671
|
* @param {string} path
|
|
2906
2672
|
* @param {*} [options] Override http request option.
|
|
2907
2673
|
* @throws {RequiredError}
|
|
2908
2674
|
*/
|
|
2909
|
-
workspaceControllerGitStatus(workspaceId: string,
|
|
2910
|
-
return localVarFp.workspaceControllerGitStatus(workspaceId,
|
|
2675
|
+
workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2676
|
+
return localVarFp.workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2911
2677
|
},
|
|
2912
2678
|
/**
|
|
2913
|
-
* List files inside workspace
|
|
2679
|
+
* List files inside workspace
|
|
2914
2680
|
* @summary List files
|
|
2915
2681
|
* @param {string} workspaceId
|
|
2916
|
-
* @param {string} projectId
|
|
2917
2682
|
* @param {string} [path]
|
|
2918
2683
|
* @param {*} [options] Override http request option.
|
|
2919
2684
|
* @throws {RequiredError}
|
|
2920
2685
|
*/
|
|
2921
|
-
workspaceControllerListFiles(workspaceId: string,
|
|
2922
|
-
return localVarFp.workspaceControllerListFiles(workspaceId,
|
|
2686
|
+
workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2687
|
+
return localVarFp.workspaceControllerListFiles(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2923
2688
|
},
|
|
2924
2689
|
/**
|
|
2925
2690
|
*
|
|
@@ -2931,17 +2696,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2931
2696
|
return localVarFp.workspaceControllerListWorkspaces(verbose, options).then((request) => request(axios, basePath));
|
|
2932
2697
|
},
|
|
2933
2698
|
/**
|
|
2934
|
-
* Move file inside workspace
|
|
2699
|
+
* Move file inside workspace
|
|
2935
2700
|
* @summary Move file
|
|
2936
2701
|
* @param {string} workspaceId
|
|
2937
|
-
* @param {string} projectId
|
|
2938
2702
|
* @param {string} source
|
|
2939
2703
|
* @param {string} destination
|
|
2940
2704
|
* @param {*} [options] Override http request option.
|
|
2941
2705
|
* @throws {RequiredError}
|
|
2942
2706
|
*/
|
|
2943
|
-
workspaceControllerMoveFile(workspaceId: string,
|
|
2944
|
-
return localVarFp.workspaceControllerMoveFile(workspaceId,
|
|
2707
|
+
workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2708
|
+
return localVarFp.workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
|
|
2945
2709
|
},
|
|
2946
2710
|
/**
|
|
2947
2711
|
*
|
|
@@ -2954,16 +2718,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2954
2718
|
return localVarFp.workspaceControllerRemoveWorkspace(workspaceId, force, options).then((request) => request(axios, basePath));
|
|
2955
2719
|
},
|
|
2956
2720
|
/**
|
|
2957
|
-
* Replace text/pattern in multiple files inside workspace
|
|
2721
|
+
* Replace text/pattern in multiple files inside workspace
|
|
2958
2722
|
* @summary Replace in files
|
|
2959
2723
|
* @param {string} workspaceId
|
|
2960
|
-
* @param {string} projectId
|
|
2961
2724
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
2962
2725
|
* @param {*} [options] Override http request option.
|
|
2963
2726
|
* @throws {RequiredError}
|
|
2964
2727
|
*/
|
|
2965
|
-
workspaceControllerReplaceInFiles(workspaceId: string,
|
|
2966
|
-
return localVarFp.workspaceControllerReplaceInFiles(workspaceId,
|
|
2728
|
+
workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2729
|
+
return localVarFp.workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(axios, basePath));
|
|
2967
2730
|
},
|
|
2968
2731
|
/**
|
|
2969
2732
|
* Replace all labels for a workspace. Existing labels will be removed.
|
|
@@ -2977,23 +2740,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2977
2740
|
return localVarFp.workspaceControllerReplaceLabels(workspaceId, workspaceLabelsDto, options).then((request) => request(axios, basePath));
|
|
2978
2741
|
},
|
|
2979
2742
|
/**
|
|
2980
|
-
* Search for files inside workspace
|
|
2743
|
+
* Search for files inside workspace
|
|
2981
2744
|
* @summary Search files
|
|
2982
2745
|
* @param {string} workspaceId
|
|
2983
|
-
* @param {string} projectId
|
|
2984
2746
|
* @param {string} path
|
|
2985
2747
|
* @param {string} pattern
|
|
2986
2748
|
* @param {*} [options] Override http request option.
|
|
2987
2749
|
* @throws {RequiredError}
|
|
2988
2750
|
*/
|
|
2989
|
-
workspaceControllerSearchFiles(workspaceId: string,
|
|
2990
|
-
return localVarFp.workspaceControllerSearchFiles(workspaceId,
|
|
2751
|
+
workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2752
|
+
return localVarFp.workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2991
2753
|
},
|
|
2992
2754
|
/**
|
|
2993
|
-
* Set file owner/group/permissions inside workspace
|
|
2755
|
+
* Set file owner/group/permissions inside workspace
|
|
2994
2756
|
* @summary Set file permissions
|
|
2995
2757
|
* @param {string} workspaceId
|
|
2996
|
-
* @param {string} projectId
|
|
2997
2758
|
* @param {string} path
|
|
2998
2759
|
* @param {string} owner
|
|
2999
2760
|
* @param {string} group
|
|
@@ -3001,18 +2762,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3001
2762
|
* @param {*} [options] Override http request option.
|
|
3002
2763
|
* @throws {RequiredError}
|
|
3003
2764
|
*/
|
|
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));
|
|
2765
|
+
workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2766
|
+
return localVarFp.workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
|
|
3016
2767
|
},
|
|
3017
2768
|
/**
|
|
3018
2769
|
*
|
|
@@ -3023,16 +2774,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3023
2774
|
workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3024
2775
|
return localVarFp.workspaceControllerStartWorkspace(workspaceId, options).then((request) => request(axios, basePath));
|
|
3025
2776
|
},
|
|
3026
|
-
/**
|
|
3027
|
-
*
|
|
3028
|
-
* @param {string} workspaceId
|
|
3029
|
-
* @param {string} projectId
|
|
3030
|
-
* @param {*} [options] Override http request option.
|
|
3031
|
-
* @throws {RequiredError}
|
|
3032
|
-
*/
|
|
3033
|
-
workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3034
|
-
return localVarFp.workspaceControllerStopProject(workspaceId, projectId, options).then((request) => request(axios, basePath));
|
|
3035
|
-
},
|
|
3036
2777
|
/**
|
|
3037
2778
|
*
|
|
3038
2779
|
* @param {string} workspaceId
|
|
@@ -3043,17 +2784,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3043
2784
|
return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
|
|
3044
2785
|
},
|
|
3045
2786
|
/**
|
|
3046
|
-
* Upload file inside workspace
|
|
2787
|
+
* Upload file inside workspace
|
|
3047
2788
|
* @summary Upload file
|
|
3048
2789
|
* @param {string} workspaceId
|
|
3049
|
-
* @param {string} projectId
|
|
3050
2790
|
* @param {string} path
|
|
3051
2791
|
* @param {File} [file]
|
|
3052
2792
|
* @param {*} [options] Override http request option.
|
|
3053
2793
|
* @throws {RequiredError}
|
|
3054
2794
|
*/
|
|
3055
|
-
workspaceControllerUploadFile(workspaceId: string,
|
|
3056
|
-
return localVarFp.workspaceControllerUploadFile(workspaceId,
|
|
2795
|
+
workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2796
|
+
return localVarFp.workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
|
|
3057
2797
|
},
|
|
3058
2798
|
};
|
|
3059
2799
|
};
|
|
@@ -3187,18 +2927,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3187
2927
|
}
|
|
3188
2928
|
|
|
3189
2929
|
/**
|
|
3190
|
-
* Create folder inside workspace
|
|
2930
|
+
* Create folder inside workspace
|
|
3191
2931
|
* @summary Create folder
|
|
3192
2932
|
* @param {string} workspaceId
|
|
3193
|
-
* @param {string} projectId
|
|
3194
2933
|
* @param {string} path
|
|
3195
2934
|
* @param {string} mode
|
|
3196
2935
|
* @param {*} [options] Override http request option.
|
|
3197
2936
|
* @throws {RequiredError}
|
|
3198
2937
|
* @memberof DefaultApi
|
|
3199
2938
|
*/
|
|
3200
|
-
public workspaceControllerCreateFolder(workspaceId: string,
|
|
3201
|
-
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId,
|
|
2939
|
+
public workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) {
|
|
2940
|
+
return DefaultApiFp(this.configuration).workspaceControllerCreateFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3202
2941
|
}
|
|
3203
2942
|
|
|
3204
2943
|
/**
|
|
@@ -3225,87 +2964,81 @@ export class DefaultApi extends BaseAPI {
|
|
|
3225
2964
|
}
|
|
3226
2965
|
|
|
3227
2966
|
/**
|
|
3228
|
-
* Delete file inside workspace
|
|
2967
|
+
* Delete file inside workspace
|
|
3229
2968
|
* @summary Delete file
|
|
3230
2969
|
* @param {string} workspaceId
|
|
3231
|
-
* @param {string} projectId
|
|
3232
2970
|
* @param {string} path
|
|
3233
2971
|
* @param {*} [options] Override http request option.
|
|
3234
2972
|
* @throws {RequiredError}
|
|
3235
2973
|
* @memberof DefaultApi
|
|
3236
2974
|
*/
|
|
3237
|
-
public workspaceControllerDeleteFile(workspaceId: string,
|
|
3238
|
-
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId,
|
|
2975
|
+
public workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2976
|
+
return DefaultApiFp(this.configuration).workspaceControllerDeleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3239
2977
|
}
|
|
3240
2978
|
|
|
3241
2979
|
/**
|
|
3242
|
-
* Download file from workspace
|
|
2980
|
+
* Download file from workspace
|
|
3243
2981
|
* @summary Download file
|
|
3244
2982
|
* @param {string} workspaceId
|
|
3245
|
-
* @param {string} projectId
|
|
3246
2983
|
* @param {string} path
|
|
3247
2984
|
* @param {*} [options] Override http request option.
|
|
3248
2985
|
* @throws {RequiredError}
|
|
3249
2986
|
* @memberof DefaultApi
|
|
3250
2987
|
*/
|
|
3251
|
-
public workspaceControllerDownloadFile(workspaceId: string,
|
|
3252
|
-
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId,
|
|
2988
|
+
public workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2989
|
+
return DefaultApiFp(this.configuration).workspaceControllerDownloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3253
2990
|
}
|
|
3254
2991
|
|
|
3255
2992
|
/**
|
|
3256
|
-
* Execute command synchronously inside workspace
|
|
2993
|
+
* Execute command synchronously inside workspace
|
|
3257
2994
|
* @summary Execute command
|
|
3258
2995
|
* @param {string} workspaceId
|
|
3259
|
-
* @param {string} projectId
|
|
3260
2996
|
* @param {ExecuteRequestDto} executeRequestDto
|
|
3261
2997
|
* @param {*} [options] Override http request option.
|
|
3262
2998
|
* @throws {RequiredError}
|
|
3263
2999
|
* @memberof DefaultApi
|
|
3264
3000
|
*/
|
|
3265
|
-
public workspaceControllerExecuteCommand(workspaceId: string,
|
|
3266
|
-
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId,
|
|
3001
|
+
public workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) {
|
|
3002
|
+
return DefaultApiFp(this.configuration).workspaceControllerExecuteCommand(workspaceId, executeRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3267
3003
|
}
|
|
3268
3004
|
|
|
3269
3005
|
/**
|
|
3270
|
-
* Search for text/pattern inside workspace
|
|
3006
|
+
* Search for text/pattern inside workspace files
|
|
3271
3007
|
* @summary Search for text/pattern in files
|
|
3272
3008
|
* @param {string} workspaceId
|
|
3273
|
-
* @param {string} projectId
|
|
3274
3009
|
* @param {string} path
|
|
3275
3010
|
* @param {string} pattern
|
|
3276
3011
|
* @param {*} [options] Override http request option.
|
|
3277
3012
|
* @throws {RequiredError}
|
|
3278
3013
|
* @memberof DefaultApi
|
|
3279
3014
|
*/
|
|
3280
|
-
public workspaceControllerFindInFiles(workspaceId: string,
|
|
3281
|
-
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId,
|
|
3015
|
+
public workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
3016
|
+
return DefaultApiFp(this.configuration).workspaceControllerFindInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3282
3017
|
}
|
|
3283
3018
|
|
|
3284
3019
|
/**
|
|
3285
|
-
* Get file info inside workspace
|
|
3020
|
+
* Get file info inside workspace
|
|
3286
3021
|
* @summary Get file info
|
|
3287
3022
|
* @param {string} workspaceId
|
|
3288
|
-
* @param {string} projectId
|
|
3289
3023
|
* @param {string} path
|
|
3290
3024
|
* @param {*} [options] Override http request option.
|
|
3291
3025
|
* @throws {RequiredError}
|
|
3292
3026
|
* @memberof DefaultApi
|
|
3293
3027
|
*/
|
|
3294
|
-
public workspaceControllerGetFileInfo(workspaceId: string,
|
|
3295
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId,
|
|
3028
|
+
public workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3029
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3296
3030
|
}
|
|
3297
3031
|
|
|
3298
3032
|
/**
|
|
3299
|
-
* Get project directory
|
|
3300
|
-
* @summary Get project dir
|
|
3033
|
+
* Get workspace project directory
|
|
3034
|
+
* @summary Get workspace project dir
|
|
3301
3035
|
* @param {string} workspaceId
|
|
3302
|
-
* @param {string} projectId
|
|
3303
3036
|
* @param {*} [options] Override http request option.
|
|
3304
3037
|
* @throws {RequiredError}
|
|
3305
3038
|
* @memberof DefaultApi
|
|
3306
3039
|
*/
|
|
3307
|
-
public workspaceControllerGetProjectDir(workspaceId: string,
|
|
3308
|
-
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId,
|
|
3040
|
+
public workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
3041
|
+
return DefaultApiFp(this.configuration).workspaceControllerGetProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3309
3042
|
}
|
|
3310
3043
|
|
|
3311
3044
|
/**
|
|
@@ -3324,140 +3057,130 @@ export class DefaultApi extends BaseAPI {
|
|
|
3324
3057
|
* Add files to git commit
|
|
3325
3058
|
* @summary Add files
|
|
3326
3059
|
* @param {string} workspaceId
|
|
3327
|
-
* @param {string} projectId
|
|
3328
3060
|
* @param {GitAddRequestDto} gitAddRequestDto
|
|
3329
3061
|
* @param {*} [options] Override http request option.
|
|
3330
3062
|
* @throws {RequiredError}
|
|
3331
3063
|
* @memberof DefaultApi
|
|
3332
3064
|
*/
|
|
3333
|
-
public workspaceControllerGitAddFiles(workspaceId: string,
|
|
3334
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId,
|
|
3065
|
+
public workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) {
|
|
3066
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitAddFiles(workspaceId, gitAddRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3335
3067
|
}
|
|
3336
3068
|
|
|
3337
3069
|
/**
|
|
3338
3070
|
* Get branch list from git repository
|
|
3339
3071
|
* @summary Get branch list
|
|
3340
3072
|
* @param {string} workspaceId
|
|
3341
|
-
* @param {string} projectId
|
|
3342
3073
|
* @param {string} path
|
|
3343
3074
|
* @param {*} [options] Override http request option.
|
|
3344
3075
|
* @throws {RequiredError}
|
|
3345
3076
|
* @memberof DefaultApi
|
|
3346
3077
|
*/
|
|
3347
|
-
public workspaceControllerGitBranchList(workspaceId: string,
|
|
3348
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId,
|
|
3078
|
+
public workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3079
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitBranchList(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3349
3080
|
}
|
|
3350
3081
|
|
|
3351
3082
|
/**
|
|
3352
3083
|
* Clone git repository
|
|
3353
3084
|
* @summary Clone repository
|
|
3354
3085
|
* @param {string} workspaceId
|
|
3355
|
-
* @param {string} projectId
|
|
3356
3086
|
* @param {GitCloneRequestDto} gitCloneRequestDto
|
|
3357
3087
|
* @param {*} [options] Override http request option.
|
|
3358
3088
|
* @throws {RequiredError}
|
|
3359
3089
|
* @memberof DefaultApi
|
|
3360
3090
|
*/
|
|
3361
|
-
public workspaceControllerGitCloneRepository(workspaceId: string,
|
|
3362
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId,
|
|
3091
|
+
public workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) {
|
|
3092
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCloneRepository(workspaceId, gitCloneRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3363
3093
|
}
|
|
3364
3094
|
|
|
3365
3095
|
/**
|
|
3366
3096
|
* Commit changes to git repository
|
|
3367
3097
|
* @summary Commit changes
|
|
3368
3098
|
* @param {string} workspaceId
|
|
3369
|
-
* @param {string} projectId
|
|
3370
3099
|
* @param {GitCommitRequestDto} gitCommitRequestDto
|
|
3371
3100
|
* @param {*} [options] Override http request option.
|
|
3372
3101
|
* @throws {RequiredError}
|
|
3373
3102
|
* @memberof DefaultApi
|
|
3374
3103
|
*/
|
|
3375
|
-
public workspaceControllerGitCommitChanges(workspaceId: string,
|
|
3376
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId,
|
|
3104
|
+
public workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) {
|
|
3105
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitChanges(workspaceId, gitCommitRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3377
3106
|
}
|
|
3378
3107
|
|
|
3379
3108
|
/**
|
|
3380
3109
|
* Get commit history from git repository
|
|
3381
3110
|
* @summary Get commit history
|
|
3382
3111
|
* @param {string} workspaceId
|
|
3383
|
-
* @param {string} projectId
|
|
3384
3112
|
* @param {string} path
|
|
3385
3113
|
* @param {*} [options] Override http request option.
|
|
3386
3114
|
* @throws {RequiredError}
|
|
3387
3115
|
* @memberof DefaultApi
|
|
3388
3116
|
*/
|
|
3389
|
-
public workspaceControllerGitCommitHistory(workspaceId: string,
|
|
3390
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId,
|
|
3117
|
+
public workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3118
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCommitHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3391
3119
|
}
|
|
3392
3120
|
|
|
3393
3121
|
/**
|
|
3394
3122
|
* Create branch on git repository
|
|
3395
3123
|
* @summary Create branch
|
|
3396
3124
|
* @param {string} workspaceId
|
|
3397
|
-
* @param {string} projectId
|
|
3398
3125
|
* @param {GitBranchRequestDto} gitBranchRequestDto
|
|
3399
3126
|
* @param {*} [options] Override http request option.
|
|
3400
3127
|
* @throws {RequiredError}
|
|
3401
3128
|
* @memberof DefaultApi
|
|
3402
3129
|
*/
|
|
3403
|
-
public workspaceControllerGitCreateBranch(workspaceId: string,
|
|
3404
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId,
|
|
3130
|
+
public workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) {
|
|
3131
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitCreateBranch(workspaceId, gitBranchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3405
3132
|
}
|
|
3406
3133
|
|
|
3407
3134
|
/**
|
|
3408
3135
|
* Pull changes from remote
|
|
3409
3136
|
* @summary Pull changes
|
|
3410
3137
|
* @param {string} workspaceId
|
|
3411
|
-
* @param {string} projectId
|
|
3412
3138
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3413
3139
|
* @param {*} [options] Override http request option.
|
|
3414
3140
|
* @throws {RequiredError}
|
|
3415
3141
|
* @memberof DefaultApi
|
|
3416
3142
|
*/
|
|
3417
|
-
public workspaceControllerGitPullChanges(workspaceId: string,
|
|
3418
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId,
|
|
3143
|
+
public workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) {
|
|
3144
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPullChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3419
3145
|
}
|
|
3420
3146
|
|
|
3421
3147
|
/**
|
|
3422
3148
|
* Push changes to remote
|
|
3423
3149
|
* @summary Push changes
|
|
3424
3150
|
* @param {string} workspaceId
|
|
3425
|
-
* @param {string} projectId
|
|
3426
3151
|
* @param {GitRepoRequestDto} gitRepoRequestDto
|
|
3427
3152
|
* @param {*} [options] Override http request option.
|
|
3428
3153
|
* @throws {RequiredError}
|
|
3429
3154
|
* @memberof DefaultApi
|
|
3430
3155
|
*/
|
|
3431
|
-
public workspaceControllerGitPushChanges(workspaceId: string,
|
|
3432
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId,
|
|
3156
|
+
public workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) {
|
|
3157
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitPushChanges(workspaceId, gitRepoRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3433
3158
|
}
|
|
3434
3159
|
|
|
3435
3160
|
/**
|
|
3436
3161
|
* Get status from git repository
|
|
3437
3162
|
* @summary Get git status
|
|
3438
3163
|
* @param {string} workspaceId
|
|
3439
|
-
* @param {string} projectId
|
|
3440
3164
|
* @param {string} path
|
|
3441
3165
|
* @param {*} [options] Override http request option.
|
|
3442
3166
|
* @throws {RequiredError}
|
|
3443
3167
|
* @memberof DefaultApi
|
|
3444
3168
|
*/
|
|
3445
|
-
public workspaceControllerGitStatus(workspaceId: string,
|
|
3446
|
-
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId,
|
|
3169
|
+
public workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
3170
|
+
return DefaultApiFp(this.configuration).workspaceControllerGitStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3447
3171
|
}
|
|
3448
3172
|
|
|
3449
3173
|
/**
|
|
3450
|
-
* List files inside workspace
|
|
3174
|
+
* List files inside workspace
|
|
3451
3175
|
* @summary List files
|
|
3452
3176
|
* @param {string} workspaceId
|
|
3453
|
-
* @param {string} projectId
|
|
3454
3177
|
* @param {string} [path]
|
|
3455
3178
|
* @param {*} [options] Override http request option.
|
|
3456
3179
|
* @throws {RequiredError}
|
|
3457
3180
|
* @memberof DefaultApi
|
|
3458
3181
|
*/
|
|
3459
|
-
public workspaceControllerListFiles(workspaceId: string,
|
|
3460
|
-
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId,
|
|
3182
|
+
public workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig) {
|
|
3183
|
+
return DefaultApiFp(this.configuration).workspaceControllerListFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3461
3184
|
}
|
|
3462
3185
|
|
|
3463
3186
|
/**
|
|
@@ -3472,18 +3195,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3472
3195
|
}
|
|
3473
3196
|
|
|
3474
3197
|
/**
|
|
3475
|
-
* Move file inside workspace
|
|
3198
|
+
* Move file inside workspace
|
|
3476
3199
|
* @summary Move file
|
|
3477
3200
|
* @param {string} workspaceId
|
|
3478
|
-
* @param {string} projectId
|
|
3479
3201
|
* @param {string} source
|
|
3480
3202
|
* @param {string} destination
|
|
3481
3203
|
* @param {*} [options] Override http request option.
|
|
3482
3204
|
* @throws {RequiredError}
|
|
3483
3205
|
* @memberof DefaultApi
|
|
3484
3206
|
*/
|
|
3485
|
-
public workspaceControllerMoveFile(workspaceId: string,
|
|
3486
|
-
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId,
|
|
3207
|
+
public workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) {
|
|
3208
|
+
return DefaultApiFp(this.configuration).workspaceControllerMoveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
|
|
3487
3209
|
}
|
|
3488
3210
|
|
|
3489
3211
|
/**
|
|
@@ -3499,17 +3221,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3499
3221
|
}
|
|
3500
3222
|
|
|
3501
3223
|
/**
|
|
3502
|
-
* Replace text/pattern in multiple files inside workspace
|
|
3224
|
+
* Replace text/pattern in multiple files inside workspace
|
|
3503
3225
|
* @summary Replace in files
|
|
3504
3226
|
* @param {string} workspaceId
|
|
3505
|
-
* @param {string} projectId
|
|
3506
3227
|
* @param {ReplaceRequestDto} replaceRequestDto
|
|
3507
3228
|
* @param {*} [options] Override http request option.
|
|
3508
3229
|
* @throws {RequiredError}
|
|
3509
3230
|
* @memberof DefaultApi
|
|
3510
3231
|
*/
|
|
3511
|
-
public workspaceControllerReplaceInFiles(workspaceId: string,
|
|
3512
|
-
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId,
|
|
3232
|
+
public workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) {
|
|
3233
|
+
return DefaultApiFp(this.configuration).workspaceControllerReplaceInFiles(workspaceId, replaceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
3513
3234
|
}
|
|
3514
3235
|
|
|
3515
3236
|
/**
|
|
@@ -3526,25 +3247,23 @@ export class DefaultApi extends BaseAPI {
|
|
|
3526
3247
|
}
|
|
3527
3248
|
|
|
3528
3249
|
/**
|
|
3529
|
-
* Search for files inside workspace
|
|
3250
|
+
* Search for files inside workspace
|
|
3530
3251
|
* @summary Search files
|
|
3531
3252
|
* @param {string} workspaceId
|
|
3532
|
-
* @param {string} projectId
|
|
3533
3253
|
* @param {string} path
|
|
3534
3254
|
* @param {string} pattern
|
|
3535
3255
|
* @param {*} [options] Override http request option.
|
|
3536
3256
|
* @throws {RequiredError}
|
|
3537
3257
|
* @memberof DefaultApi
|
|
3538
3258
|
*/
|
|
3539
|
-
public workspaceControllerSearchFiles(workspaceId: string,
|
|
3540
|
-
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId,
|
|
3259
|
+
public workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
3260
|
+
return DefaultApiFp(this.configuration).workspaceControllerSearchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3541
3261
|
}
|
|
3542
3262
|
|
|
3543
3263
|
/**
|
|
3544
|
-
* Set file owner/group/permissions inside workspace
|
|
3264
|
+
* Set file owner/group/permissions inside workspace
|
|
3545
3265
|
* @summary Set file permissions
|
|
3546
3266
|
* @param {string} workspaceId
|
|
3547
|
-
* @param {string} projectId
|
|
3548
3267
|
* @param {string} path
|
|
3549
3268
|
* @param {string} owner
|
|
3550
3269
|
* @param {string} group
|
|
@@ -3553,20 +3272,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
3553
3272
|
* @throws {RequiredError}
|
|
3554
3273
|
* @memberof DefaultApi
|
|
3555
3274
|
*/
|
|
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));
|
|
3275
|
+
public workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) {
|
|
3276
|
+
return DefaultApiFp(this.configuration).workspaceControllerSetFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3570
3277
|
}
|
|
3571
3278
|
|
|
3572
3279
|
/**
|
|
@@ -3580,18 +3287,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
3580
3287
|
return DefaultApiFp(this.configuration).workspaceControllerStartWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3581
3288
|
}
|
|
3582
3289
|
|
|
3583
|
-
/**
|
|
3584
|
-
*
|
|
3585
|
-
* @param {string} workspaceId
|
|
3586
|
-
* @param {string} projectId
|
|
3587
|
-
* @param {*} [options] Override http request option.
|
|
3588
|
-
* @throws {RequiredError}
|
|
3589
|
-
* @memberof DefaultApi
|
|
3590
|
-
*/
|
|
3591
|
-
public workspaceControllerStopProject(workspaceId: string, projectId: string, options?: RawAxiosRequestConfig) {
|
|
3592
|
-
return DefaultApiFp(this.configuration).workspaceControllerStopProject(workspaceId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
3593
|
-
}
|
|
3594
|
-
|
|
3595
3290
|
/**
|
|
3596
3291
|
*
|
|
3597
3292
|
* @param {string} workspaceId
|
|
@@ -3604,18 +3299,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3604
3299
|
}
|
|
3605
3300
|
|
|
3606
3301
|
/**
|
|
3607
|
-
* Upload file inside workspace
|
|
3302
|
+
* Upload file inside workspace
|
|
3608
3303
|
* @summary Upload file
|
|
3609
3304
|
* @param {string} workspaceId
|
|
3610
|
-
* @param {string} projectId
|
|
3611
3305
|
* @param {string} path
|
|
3612
3306
|
* @param {File} [file]
|
|
3613
3307
|
* @param {*} [options] Override http request option.
|
|
3614
3308
|
* @throws {RequiredError}
|
|
3615
3309
|
* @memberof DefaultApi
|
|
3616
3310
|
*/
|
|
3617
|
-
public workspaceControllerUploadFile(workspaceId: string,
|
|
3618
|
-
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId,
|
|
3311
|
+
public workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) {
|
|
3312
|
+
return DefaultApiFp(this.configuration).workspaceControllerUploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
|
|
3619
3313
|
}
|
|
3620
3314
|
}
|
|
3621
3315
|
|