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