@daytonaio/api-client 0.3.0 → 0.4.0

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