azure-devops-extension-api 5.273.0 → 5.275.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AdvancedSecurity.Reporting/Reporting.d.ts +10 -2
- package/AdvancedSecurity.Reporting/Reporting.js +8 -0
- package/AdvancedSecurity.Reporting/Reporting.min.js +1 -1
- package/Alert/Alert.d.ts +62 -3
- package/Alert/Alert.js +12 -0
- package/Alert/Alert.min.js +1 -1
- package/Alert/AlertClient.d.ts +18 -3
- package/Alert/AlertClient.js +55 -5
- package/Alert/AlertClient.min.js +1 -1
- package/Build/Build.d.ts +23 -15
- package/Gallery/Gallery.d.ts +4 -0
- package/Gallery/Gallery.js +4 -0
- package/Gallery/Gallery.min.js +1 -1
- package/Git/Git.d.ts +627 -0
- package/Git/Git.js +213 -1
- package/Git/Git.min.js +1 -1
- package/Management/Management.d.ts +26 -0
- package/Management/Management.js +28 -1
- package/Management/Management.min.js +1 -1
- package/Release/ReleaseClient.d.ts +2 -2
- package/Release/ReleaseClient.js +2 -2
- package/TaskAgent/TaskAgent.d.ts +9 -1
- package/Test/Test.d.ts +14 -0
- package/TestResults/TestResultsClient.d.ts +12 -0
- package/TestResults/TestResultsClient.js +31 -0
- package/TestResults/TestResultsClient.min.js +1 -1
- package/_manifest/spdx_2.2/ESRPClientLogs0716164721553.json +1 -0
- package/_manifest/spdx_2.2/bsi.cose +0 -0
- package/_manifest/spdx_2.2/bsi.json +1 -1
- package/_manifest/spdx_2.2/manifest.cat +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.json +1 -1
- package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -1
- package/_manifest/spdx_3.0/manifest.spdx.json +1 -1
- package/_manifest/spdx_3.0/manifest.spdx.json.sha256 +1 -1
- package/esm/AdvancedSecurity.Reporting/Reporting.js +8 -0
- package/esm/AdvancedSecurity.Reporting/Reporting.min.js +1 -1
- package/esm/Alert/Alert.js +12 -0
- package/esm/Alert/Alert.min.js +1 -1
- package/esm/Alert/AlertClient.js +51 -5
- package/esm/Alert/AlertClient.min.js +1 -1
- package/esm/Gallery/Gallery.js +4 -0
- package/esm/Gallery/Gallery.min.js +1 -1
- package/esm/Git/Git.js +212 -0
- package/esm/Git/Git.min.js +1 -1
- package/esm/Management/Management.js +27 -0
- package/esm/Management/Management.min.js +1 -1
- package/esm/Release/ReleaseClient.js +2 -2
- package/esm/TestResults/TestResultsClient.js +27 -0
- package/esm/TestResults/TestResultsClient.min.js +1 -1
- package/package.json +1 -1
- package/_manifest/spdx_2.2/ESRPClientLogs0609213623913.json +0 -1
package/Git/Git.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ---------------------------------------------------------
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.VersionControlRecursionType = exports.VersionControlChangeType = exports.TfvcVersionType = exports.TfvcVersionOption = exports.TagsFilterOperator = exports.SupportedIdeType = exports.RefFavoriteType = exports.PullRequestTimeRangeType = exports.PullRequestStatus = exports.PullRequestMergeFailureType = exports.PullRequestAsyncStatus = exports.LineDiffBlockChangeType = exports.IterationReason = exports.ItemContentType = exports.GitVersionType = exports.GitVersionOptions = exports.GitStatusState = exports.GitResolutionWhichAction = exports.GitResolutionStatus = exports.GitResolutionRename1to2Action = exports.GitResolutionPathConflictAction = exports.GitResolutionMergeType = exports.GitResolutionError = exports.GitRefUpdateStatus = exports.GitRefUpdateMode = exports.GitRefSearchType = exports.GitPullRequestReviewFileType = exports.GitPullRequestQueryType = exports.GitPullRequestQueryIncludeOptions = exports.GitPullRequestMergeStrategy = exports.GitPathActions = exports.GitObjectType = exports.GitHistoryMode = exports.GitConflictUpdateStatus = exports.GitConflictType = exports.GitAsyncRefOperationFailureStatus = exports.GitAsyncOperationStatus = exports.CommentType = exports.CommentThreadStatus = void 0;
|
|
8
|
+
exports.VersionControlRecursionType = exports.VersionControlChangeType = exports.TfvcVersionType = exports.TfvcVersionOption = exports.TagsFilterOperator = exports.SupportedIdeType = exports.SkipValidationPolicy = exports.RefFavoriteType = exports.PullRequestTimeRangeType = exports.PullRequestStatus = exports.PullRequestMergeFailureType = exports.PullRequestAsyncStatus = exports.PipelineRewireStatus = exports.PipelineClassification = exports.MigrationStatus = exports.MigrationStage = exports.LineDiffBlockChangeType = exports.IterationReason = exports.ItemContentType = exports.GitVersionType = exports.GitVersionOptions = exports.GitStatusState = exports.GitResolutionWhichAction = exports.GitResolutionStatus = exports.GitResolutionRename1to2Action = exports.GitResolutionPathConflictAction = exports.GitResolutionMergeType = exports.GitResolutionError = exports.GitRefUpdateStatus = exports.GitRefUpdateMode = exports.GitRefSearchType = exports.GitPullRequestReviewFileType = exports.GitPullRequestQueryType = exports.GitPullRequestQueryIncludeOptions = exports.GitPullRequestMergeStrategy = exports.GitPathActions = exports.GitObjectType = exports.GitHistoryMode = exports.GitConflictUpdateStatus = exports.GitConflictType = exports.GitAsyncRefOperationFailureStatus = exports.GitAsyncOperationStatus = exports.ElmMigrationOption = exports.CommentType = exports.CommentThreadStatus = void 0;
|
|
9
9
|
/**
|
|
10
10
|
* The status of a comment thread.
|
|
11
11
|
*/
|
|
@@ -62,6 +62,20 @@ var CommentType;
|
|
|
62
62
|
*/
|
|
63
63
|
CommentType[CommentType["System"] = 3] = "System";
|
|
64
64
|
})(CommentType || (exports.CommentType = CommentType = {}));
|
|
65
|
+
/**
|
|
66
|
+
* Configuration flags for an Enterprise Live Migration. Bits 16-30, allocated downward from 30. Bits 0-15 are reserved for SkipValidationPolicy -- both share the same DB column.
|
|
67
|
+
*/
|
|
68
|
+
var ElmMigrationOption;
|
|
69
|
+
(function (ElmMigrationOption) {
|
|
70
|
+
/**
|
|
71
|
+
* Default configuration.
|
|
72
|
+
*/
|
|
73
|
+
ElmMigrationOption[ElmMigrationOption["None"] = 0] = "None";
|
|
74
|
+
/**
|
|
75
|
+
* When set, the sync job auto-discovers pipelines for the repository. When unset (default), the user must manually submit pipelines via the POST /pipelines API. Pipelines already in the config file are processed normally regardless.
|
|
76
|
+
*/
|
|
77
|
+
ElmMigrationOption[ElmMigrationOption["EnableAutoDiscoverPipelines"] = 1073741824] = "EnableAutoDiscoverPipelines";
|
|
78
|
+
})(ElmMigrationOption || (exports.ElmMigrationOption = ElmMigrationOption = {}));
|
|
65
79
|
/**
|
|
66
80
|
* Current status of the asynchronous operation.
|
|
67
81
|
*/
|
|
@@ -602,6 +616,146 @@ var LineDiffBlockChangeType;
|
|
|
602
616
|
*/
|
|
603
617
|
LineDiffBlockChangeType[LineDiffBlockChangeType["Edit"] = 3] = "Edit";
|
|
604
618
|
})(LineDiffBlockChangeType || (exports.LineDiffBlockChangeType = LineDiffBlockChangeType = {}));
|
|
619
|
+
/**
|
|
620
|
+
* The current stage of an Enterprise Live Migration.
|
|
621
|
+
*/
|
|
622
|
+
var MigrationStage;
|
|
623
|
+
(function (MigrationStage) {
|
|
624
|
+
/**
|
|
625
|
+
* The migration has been created but pre-check validation has not started yet.
|
|
626
|
+
*/
|
|
627
|
+
MigrationStage[MigrationStage["Queued"] = 0] = "Queued";
|
|
628
|
+
/**
|
|
629
|
+
* Pre-check validation is in progress.
|
|
630
|
+
*/
|
|
631
|
+
MigrationStage[MigrationStage["Validation"] = 1] = "Validation";
|
|
632
|
+
/**
|
|
633
|
+
* Code and PR synchronization is in progress.
|
|
634
|
+
*/
|
|
635
|
+
MigrationStage[MigrationStage["Synchronization"] = 2] = "Synchronization";
|
|
636
|
+
/**
|
|
637
|
+
* The migration is in the cutover phase.
|
|
638
|
+
*/
|
|
639
|
+
MigrationStage[MigrationStage["Cutover"] = 3] = "Cutover";
|
|
640
|
+
/**
|
|
641
|
+
* The migration has been fully migrated.
|
|
642
|
+
*/
|
|
643
|
+
MigrationStage[MigrationStage["Migrated"] = 4] = "Migrated";
|
|
644
|
+
/**
|
|
645
|
+
* Initial backfill is complete. Delta synchronization continues until cutover is scheduled.
|
|
646
|
+
*/
|
|
647
|
+
MigrationStage[MigrationStage["ReadyForCutover"] = 5] = "ReadyForCutover";
|
|
648
|
+
/**
|
|
649
|
+
* GitHub migration provisioning failed; the migration will retry synchronization on the next job run without re-running validation.
|
|
650
|
+
*/
|
|
651
|
+
MigrationStage[MigrationStage["Degraded"] = 6] = "Degraded";
|
|
652
|
+
/**
|
|
653
|
+
* Cutover is blocked because failed or blocked resources were detected. The user must review failures and approve before cutover can proceed.
|
|
654
|
+
*/
|
|
655
|
+
MigrationStage[MigrationStage["ReviewForCutover"] = 7] = "ReviewForCutover";
|
|
656
|
+
})(MigrationStage || (exports.MigrationStage = MigrationStage = {}));
|
|
657
|
+
/**
|
|
658
|
+
* The status of an Enterprise Live Migration.
|
|
659
|
+
*/
|
|
660
|
+
var MigrationStatus;
|
|
661
|
+
(function (MigrationStatus) {
|
|
662
|
+
/**
|
|
663
|
+
* The migration is active.
|
|
664
|
+
*/
|
|
665
|
+
MigrationStatus[MigrationStatus["Active"] = 0] = "Active";
|
|
666
|
+
/**
|
|
667
|
+
* The migration has completed successfully.
|
|
668
|
+
*/
|
|
669
|
+
MigrationStatus[MigrationStatus["Completed"] = 1] = "Completed";
|
|
670
|
+
/**
|
|
671
|
+
* The migration has completed with a failure. The error details can be found in the Migration.Error property.
|
|
672
|
+
*/
|
|
673
|
+
MigrationStatus[MigrationStatus["Failed"] = 2] = "Failed";
|
|
674
|
+
/**
|
|
675
|
+
* The migration was paused.
|
|
676
|
+
*/
|
|
677
|
+
MigrationStatus[MigrationStatus["Paused"] = 3] = "Paused";
|
|
678
|
+
})(MigrationStatus || (exports.MigrationStatus = MigrationStatus = {}));
|
|
679
|
+
/**
|
|
680
|
+
* Classification of a pipeline being rewired.
|
|
681
|
+
*/
|
|
682
|
+
var PipelineClassification;
|
|
683
|
+
(function (PipelineClassification) {
|
|
684
|
+
/**
|
|
685
|
+
* Classification has not been determined yet.
|
|
686
|
+
*/
|
|
687
|
+
PipelineClassification[PipelineClassification["Unknown"] = 0] = "Unknown";
|
|
688
|
+
/**
|
|
689
|
+
* Pipeline is in the same project, uses only self repo, no cross-repo templates.
|
|
690
|
+
*/
|
|
691
|
+
PipelineClassification[PipelineClassification["Simple"] = 1] = "Simple";
|
|
692
|
+
/**
|
|
693
|
+
* Pipeline uses extends/template from the same repo (resolves via self).
|
|
694
|
+
*/
|
|
695
|
+
PipelineClassification[PipelineClassification["SameRepoTemplates"] = 2] = "SameRepoTemplates";
|
|
696
|
+
/**
|
|
697
|
+
* Pipeline references templates from another repo via resources.repositories.
|
|
698
|
+
*/
|
|
699
|
+
PipelineClassification[PipelineClassification["CrossRepoTemplates"] = 3] = "CrossRepoTemplates";
|
|
700
|
+
/**
|
|
701
|
+
* Pipeline checks out multiple repos including the migrated one.
|
|
702
|
+
*/
|
|
703
|
+
PipelineClassification[PipelineClassification["MultiRepoCheckout"] = 4] = "MultiRepoCheckout";
|
|
704
|
+
/**
|
|
705
|
+
* Pipeline YAML lives in a different repo; the migrated repo is referenced in resources.
|
|
706
|
+
*/
|
|
707
|
+
PipelineClassification[PipelineClassification["SeparatePipelineRepo"] = 5] = "SeparatePipelineRepo";
|
|
708
|
+
/**
|
|
709
|
+
* Pipeline is in a different AzDO project than the migrated repo.
|
|
710
|
+
*/
|
|
711
|
+
PipelineClassification[PipelineClassification["CrossProject"] = 6] = "CrossProject";
|
|
712
|
+
})(PipelineClassification || (exports.PipelineClassification = PipelineClassification = {}));
|
|
713
|
+
/**
|
|
714
|
+
* The rewiring status of a pipeline.
|
|
715
|
+
*/
|
|
716
|
+
var PipelineRewireStatus;
|
|
717
|
+
(function (PipelineRewireStatus) {
|
|
718
|
+
/**
|
|
719
|
+
* Pipeline has been submitted but classification has not started.
|
|
720
|
+
*/
|
|
721
|
+
PipelineRewireStatus[PipelineRewireStatus["Pending"] = 0] = "Pending";
|
|
722
|
+
/**
|
|
723
|
+
* Pipeline is being classified.
|
|
724
|
+
*/
|
|
725
|
+
PipelineRewireStatus[PipelineRewireStatus["Classifying"] = 1] = "Classifying";
|
|
726
|
+
/**
|
|
727
|
+
* Pre-checks passed. Ready for rewiring.
|
|
728
|
+
*/
|
|
729
|
+
PipelineRewireStatus[PipelineRewireStatus["PreCheckPassed"] = 2] = "PreCheckPassed";
|
|
730
|
+
/**
|
|
731
|
+
* Pre-checks failed.
|
|
732
|
+
*/
|
|
733
|
+
PipelineRewireStatus[PipelineRewireStatus["PreCheckFailed"] = 3] = "PreCheckFailed";
|
|
734
|
+
/**
|
|
735
|
+
* Pipeline has cross-repo references that require repository mappings from the user.
|
|
736
|
+
*/
|
|
737
|
+
PipelineRewireStatus[PipelineRewireStatus["NeedsMappings"] = 4] = "NeedsMappings";
|
|
738
|
+
/**
|
|
739
|
+
* A clone definition has been created for testing.
|
|
740
|
+
*/
|
|
741
|
+
PipelineRewireStatus[PipelineRewireStatus["CloneCreated"] = 5] = "CloneCreated";
|
|
742
|
+
/**
|
|
743
|
+
* Rewiring is complete — clone created and ready or original swapped at cutover.
|
|
744
|
+
*/
|
|
745
|
+
PipelineRewireStatus[PipelineRewireStatus["Rewired"] = 8] = "Rewired";
|
|
746
|
+
/**
|
|
747
|
+
* The original pipeline has been swapped to point at GitHub. Cutover complete.
|
|
748
|
+
*/
|
|
749
|
+
PipelineRewireStatus[PipelineRewireStatus["SwapComplete"] = 9] = "SwapComplete";
|
|
750
|
+
/**
|
|
751
|
+
* Rewiring failed.
|
|
752
|
+
*/
|
|
753
|
+
PipelineRewireStatus[PipelineRewireStatus["Failed"] = 10] = "Failed";
|
|
754
|
+
/**
|
|
755
|
+
* Clone YAML has been written to the AzDO source repo's \<c\>elm/migrations\</c\> branch and is waiting for ELM code sync to mirror it to GitHub before the clone BuildDefinition can be created. Each sync cycle re-checks GitHub for the snapshotted commit; once visible the entry advances to CloneCreated.
|
|
756
|
+
*/
|
|
757
|
+
PipelineRewireStatus[PipelineRewireStatus["AwaitingCodeSync"] = 11] = "AwaitingCodeSync";
|
|
758
|
+
})(PipelineRewireStatus || (exports.PipelineRewireStatus = PipelineRewireStatus = {}));
|
|
605
759
|
/**
|
|
606
760
|
* The status of a pull request merge.
|
|
607
761
|
*/
|
|
@@ -700,6 +854,64 @@ var RefFavoriteType;
|
|
|
700
854
|
RefFavoriteType[RefFavoriteType["Folder"] = 1] = "Folder";
|
|
701
855
|
RefFavoriteType[RefFavoriteType["Ref"] = 2] = "Ref";
|
|
702
856
|
})(RefFavoriteType || (exports.RefFavoriteType = RefFavoriteType = {}));
|
|
857
|
+
/**
|
|
858
|
+
* Flags that identify which pre-migration validation policies to skip.
|
|
859
|
+
*/
|
|
860
|
+
var SkipValidationPolicy;
|
|
861
|
+
(function (SkipValidationPolicy) {
|
|
862
|
+
/**
|
|
863
|
+
* Do not skip any validation policies.
|
|
864
|
+
*/
|
|
865
|
+
SkipValidationPolicy[SkipValidationPolicy["None"] = 0] = "None";
|
|
866
|
+
/**
|
|
867
|
+
* Skip the active pull request count policy.
|
|
868
|
+
*/
|
|
869
|
+
SkipValidationPolicy[SkipValidationPolicy["ActivePullRequestCount"] = 1] = "ActivePullRequestCount";
|
|
870
|
+
/**
|
|
871
|
+
* Skip the pull request delta size policy.
|
|
872
|
+
*/
|
|
873
|
+
SkipValidationPolicy[SkipValidationPolicy["PullRequestDeltaSize"] = 2] = "PullRequestDeltaSize";
|
|
874
|
+
/**
|
|
875
|
+
* Skip the agent pool exists policy.
|
|
876
|
+
*/
|
|
877
|
+
SkipValidationPolicy[SkipValidationPolicy["AgentPoolExists"] = 4] = "AgentPoolExists";
|
|
878
|
+
/**
|
|
879
|
+
* Skip the max file size policy.
|
|
880
|
+
*/
|
|
881
|
+
SkipValidationPolicy[SkipValidationPolicy["MaxFileSize"] = 8] = "MaxFileSize";
|
|
882
|
+
/**
|
|
883
|
+
* Skip the max pull request size policy.
|
|
884
|
+
*/
|
|
885
|
+
SkipValidationPolicy[SkipValidationPolicy["MaxPullRequestSize"] = 16] = "MaxPullRequestSize";
|
|
886
|
+
/**
|
|
887
|
+
* Skip the max push pack size policy.
|
|
888
|
+
*/
|
|
889
|
+
SkipValidationPolicy[SkipValidationPolicy["MaxPushPackSize"] = 32] = "MaxPushPackSize";
|
|
890
|
+
/**
|
|
891
|
+
* Skip the max reference name length policy.
|
|
892
|
+
*/
|
|
893
|
+
SkipValidationPolicy[SkipValidationPolicy["MaxReferenceNameLength"] = 64] = "MaxReferenceNameLength";
|
|
894
|
+
/**
|
|
895
|
+
* Skip the target repository does not exist policy.
|
|
896
|
+
*/
|
|
897
|
+
SkipValidationPolicy[SkipValidationPolicy["TargetRepositoryDoesNotExist"] = 256] = "TargetRepositoryDoesNotExist";
|
|
898
|
+
/**
|
|
899
|
+
* Skip the source repository contains LFS objects policy.
|
|
900
|
+
*/
|
|
901
|
+
SkipValidationPolicy[SkipValidationPolicy["SourceRepositoryContainsLfsObjects"] = 512] = "SourceRepositoryContainsLfsObjects";
|
|
902
|
+
/**
|
|
903
|
+
* Skip the source repository read-only (maintenance) check policy.
|
|
904
|
+
*/
|
|
905
|
+
SkipValidationPolicy[SkipValidationPolicy["SourceRepositoryNotReadOnly"] = 1024] = "SourceRepositoryNotReadOnly";
|
|
906
|
+
/**
|
|
907
|
+
* Skip provisioning of Boards GitHub connection.
|
|
908
|
+
*/
|
|
909
|
+
SkipValidationPolicy[SkipValidationPolicy["BoardsGitHubConnectionProvisioning"] = 2048] = "BoardsGitHubConnectionProvisioning";
|
|
910
|
+
/**
|
|
911
|
+
* Skip all validation policies.
|
|
912
|
+
*/
|
|
913
|
+
SkipValidationPolicy[SkipValidationPolicy["All"] = 2147483647] = "All";
|
|
914
|
+
})(SkipValidationPolicy || (exports.SkipValidationPolicy = SkipValidationPolicy = {}));
|
|
703
915
|
/**
|
|
704
916
|
* Enumeration that represents the types of IDEs supported.
|
|
705
917
|
*/
|
package/Git/Git.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionControlRecursionType=exports.VersionControlChangeType=exports.TfvcVersionType=exports.TfvcVersionOption=exports.TagsFilterOperator=exports.SupportedIdeType=exports.RefFavoriteType=exports.PullRequestTimeRangeType=exports.PullRequestStatus=exports.PullRequestMergeFailureType=exports.PullRequestAsyncStatus=exports.LineDiffBlockChangeType=exports.IterationReason=exports.ItemContentType=exports.GitVersionType=exports.GitVersionOptions=exports.GitStatusState=exports.GitResolutionWhichAction=exports.GitResolutionStatus=exports.GitResolutionRename1to2Action=exports.GitResolutionPathConflictAction=exports.GitResolutionMergeType=exports.GitResolutionError=exports.GitRefUpdateStatus=exports.GitRefUpdateMode=exports.GitRefSearchType=exports.GitPullRequestReviewFileType=exports.GitPullRequestQueryType=exports.GitPullRequestQueryIncludeOptions=exports.GitPullRequestMergeStrategy=exports.GitPathActions=exports.GitObjectType=exports.GitHistoryMode=exports.GitConflictUpdateStatus=exports.GitConflictType=exports.GitAsyncRefOperationFailureStatus=exports.GitAsyncOperationStatus=exports.CommentType=exports.CommentThreadStatus=void 0;var CommentThreadStatus;!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Fixed=2]="Fixed",e[e.WontFix=3]="WontFix",e[e.Closed=4]="Closed",e[e.ByDesign=5]="ByDesign",e[e.Pending=6]="Pending"}(CommentThreadStatus||(exports.CommentThreadStatus=CommentThreadStatus={}));var CommentType;!function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.CodeChange=2]="CodeChange",e[e.System=3]="System"}(CommentType||(exports.CommentType=CommentType={}));var GitAsyncOperationStatus;!function(e){e[e.Queued=1]="Queued",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Abandoned=5]="Abandoned"}(GitAsyncOperationStatus||(exports.GitAsyncOperationStatus=GitAsyncOperationStatus={}));var GitAsyncRefOperationFailureStatus;!function(e){e[e.None=0]="None",e[e.InvalidRefName=1]="InvalidRefName",e[e.RefNameConflict=2]="RefNameConflict",e[e.CreateBranchPermissionRequired=3]="CreateBranchPermissionRequired",e[e.WritePermissionRequired=4]="WritePermissionRequired",e[e.TargetBranchDeleted=5]="TargetBranchDeleted",e[e.GitObjectTooLarge=6]="GitObjectTooLarge",e[e.OperationIndentityNotFound=7]="OperationIndentityNotFound",e[e.AsyncOperationNotFound=8]="AsyncOperationNotFound",e[e.Other=9]="Other",e[e.EmptyCommitterSignature=10]="EmptyCommitterSignature"}(GitAsyncRefOperationFailureStatus||(exports.GitAsyncRefOperationFailureStatus=GitAsyncRefOperationFailureStatus={}));var GitConflictType;!function(e){e[e.None=0]="None",e[e.AddAdd=1]="AddAdd",e[e.AddRename=2]="AddRename",e[e.DeleteEdit=3]="DeleteEdit",e[e.DeleteRename=4]="DeleteRename",e[e.DirectoryFile=5]="DirectoryFile",e[e.DirectoryChild=6]="DirectoryChild",e[e.EditDelete=7]="EditDelete",e[e.EditEdit=8]="EditEdit",e[e.FileDirectory=9]="FileDirectory",e[e.Rename1to2=10]="Rename1to2",e[e.Rename2to1=11]="Rename2to1",e[e.RenameAdd=12]="RenameAdd",e[e.RenameDelete=13]="RenameDelete",e[e.RenameRename=14]="RenameRename"}(GitConflictType||(exports.GitConflictType=GitConflictType={}));var GitConflictUpdateStatus;!function(e){e[e.Succeeded=0]="Succeeded",e[e.BadRequest=1]="BadRequest",e[e.InvalidResolution=2]="InvalidResolution",e[e.UnsupportedConflictType=3]="UnsupportedConflictType",e[e.NotFound=4]="NotFound"}(GitConflictUpdateStatus||(exports.GitConflictUpdateStatus=GitConflictUpdateStatus={}));var GitHistoryMode;!function(e){e[e.SimplifiedHistory=0]="SimplifiedHistory",e[e.FirstParent=1]="FirstParent",e[e.FullHistory=2]="FullHistory",e[e.FullHistorySimplifyMerges=3]="FullHistorySimplifyMerges"}(GitHistoryMode||(exports.GitHistoryMode=GitHistoryMode={}));var GitObjectType;!function(e){e[e.Bad=0]="Bad",e[e.Commit=1]="Commit",e[e.Tree=2]="Tree",e[e.Blob=3]="Blob",e[e.Tag=4]="Tag",e[e.Ext2=5]="Ext2",e[e.OfsDelta=6]="OfsDelta",e[e.RefDelta=7]="RefDelta"}(GitObjectType||(exports.GitObjectType=GitObjectType={}));var GitPathActions;!function(e){e[e.None=0]="None",e[e.Edit=1]="Edit",e[e.Delete=2]="Delete",e[e.Add=3]="Add",e[e.Rename=4]="Rename"}(GitPathActions||(exports.GitPathActions=GitPathActions={}));var GitPullRequestMergeStrategy;!function(e){e[e.NoFastForward=1]="NoFastForward",e[e.Squash=2]="Squash",e[e.Rebase=3]="Rebase",e[e.RebaseMerge=4]="RebaseMerge"}(GitPullRequestMergeStrategy||(exports.GitPullRequestMergeStrategy=GitPullRequestMergeStrategy={}));var GitPullRequestQueryIncludeOptions;!function(e){e[e.NotSet=0]="NotSet",e[e.Labels=1]="Labels"}(GitPullRequestQueryIncludeOptions||(exports.GitPullRequestQueryIncludeOptions=GitPullRequestQueryIncludeOptions={}));var GitPullRequestQueryType;!function(e){e[e.NotSet=0]="NotSet",e[e.LastMergeCommit=1]="LastMergeCommit",e[e.Commit=2]="Commit"}(GitPullRequestQueryType||(exports.GitPullRequestQueryType=GitPullRequestQueryType={}));var GitPullRequestReviewFileType;!function(e){e[e.ChangeEntry=0]="ChangeEntry",e[e.Attachment=1]="Attachment"}(GitPullRequestReviewFileType||(exports.GitPullRequestReviewFileType=GitPullRequestReviewFileType={}));var GitRefSearchType;!function(e){e[e.Exact=0]="Exact",e[e.StartsWith=1]="StartsWith",e[e.Contains=2]="Contains"}(GitRefSearchType||(exports.GitRefSearchType=GitRefSearchType={}));var GitRefUpdateMode;!function(e){e[e.BestEffort=0]="BestEffort",e[e.AllOrNone=1]="AllOrNone"}(GitRefUpdateMode||(exports.GitRefUpdateMode=GitRefUpdateMode={}));var GitRefUpdateStatus;!function(e){e[e.Succeeded=0]="Succeeded",e[e.ForcePushRequired=1]="ForcePushRequired",e[e.StaleOldObjectId=2]="StaleOldObjectId",e[e.InvalidRefName=3]="InvalidRefName",e[e.Unprocessed=4]="Unprocessed",e[e.UnresolvableToCommit=5]="UnresolvableToCommit",e[e.WritePermissionRequired=6]="WritePermissionRequired",e[e.ManageNotePermissionRequired=7]="ManageNotePermissionRequired",e[e.CreateBranchPermissionRequired=8]="CreateBranchPermissionRequired",e[e.CreateTagPermissionRequired=9]="CreateTagPermissionRequired",e[e.RejectedByPlugin=10]="RejectedByPlugin",e[e.Locked=11]="Locked",e[e.RefNameConflict=12]="RefNameConflict",e[e.RejectedByPolicy=13]="RejectedByPolicy",e[e.SucceededNonExistentRef=14]="SucceededNonExistentRef",e[e.SucceededCorruptRef=15]="SucceededCorruptRef"}(GitRefUpdateStatus||(exports.GitRefUpdateStatus=GitRefUpdateStatus={}));var GitResolutionError;!function(e){e[e.None=0]="None",e[e.MergeContentNotFound=1]="MergeContentNotFound",e[e.PathInUse=2]="PathInUse",e[e.InvalidPath=3]="InvalidPath",e[e.UnknownAction=4]="UnknownAction",e[e.UnknownMergeType=5]="UnknownMergeType",e[e.OtherError=255]="OtherError"}(GitResolutionError||(exports.GitResolutionError=GitResolutionError={}));var GitResolutionMergeType;!function(e){e[e.Undecided=0]="Undecided",e[e.TakeSourceContent=1]="TakeSourceContent",e[e.TakeTargetContent=2]="TakeTargetContent",e[e.AutoMerged=3]="AutoMerged",e[e.UserMerged=4]="UserMerged"}(GitResolutionMergeType||(exports.GitResolutionMergeType=GitResolutionMergeType={}));var GitResolutionPathConflictAction;!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourceRenameTarget=1]="KeepSourceRenameTarget",e[e.KeepSourceDeleteTarget=2]="KeepSourceDeleteTarget",e[e.KeepTargetRenameSource=3]="KeepTargetRenameSource",e[e.KeepTargetDeleteSource=4]="KeepTargetDeleteSource"}(GitResolutionPathConflictAction||(exports.GitResolutionPathConflictAction=GitResolutionPathConflictAction={}));var GitResolutionRename1to2Action;!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourcePath=1]="KeepSourcePath",e[e.KeepTargetPath=2]="KeepTargetPath",e[e.KeepBothFiles=3]="KeepBothFiles"}(GitResolutionRename1to2Action||(exports.GitResolutionRename1to2Action=GitResolutionRename1to2Action={}));var GitResolutionStatus;!function(e){e[e.Unresolved=0]="Unresolved",e[e.PartiallyResolved=1]="PartiallyResolved",e[e.Resolved=2]="Resolved"}(GitResolutionStatus||(exports.GitResolutionStatus=GitResolutionStatus={}));var GitResolutionWhichAction;!function(e){e[e.Undecided=0]="Undecided",e[e.PickSourceAction=1]="PickSourceAction",e[e.PickTargetAction=2]="PickTargetAction"}(GitResolutionWhichAction||(exports.GitResolutionWhichAction=GitResolutionWhichAction={}));var GitStatusState;!function(e){e[e.NotSet=0]="NotSet",e[e.Pending=1]="Pending",e[e.Succeeded=2]="Succeeded",e[e.Failed=3]="Failed",e[e.Error=4]="Error",e[e.NotApplicable=5]="NotApplicable",e[e.PartiallySucceeded=6]="PartiallySucceeded"}(GitStatusState||(exports.GitStatusState=GitStatusState={}));var GitVersionOptions;!function(e){e[e.None=0]="None",e[e.PreviousChange=1]="PreviousChange",e[e.FirstParent=2]="FirstParent"}(GitVersionOptions||(exports.GitVersionOptions=GitVersionOptions={}));var GitVersionType;!function(e){e[e.Branch=0]="Branch",e[e.Tag=1]="Tag",e[e.Commit=2]="Commit"}(GitVersionType||(exports.GitVersionType=GitVersionType={}));var ItemContentType;!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(ItemContentType||(exports.ItemContentType=ItemContentType={}));var IterationReason;!function(e){e[e.Push=0]="Push",e[e.ForcePush=1]="ForcePush",e[e.Create=2]="Create",e[e.Rebase=4]="Rebase",e[e.Unknown=8]="Unknown",e[e.Retarget=16]="Retarget",e[e.ResolveConflicts=32]="ResolveConflicts"}(IterationReason||(exports.IterationReason=IterationReason={}));var LineDiffBlockChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Delete=2]="Delete",e[e.Edit=3]="Edit"}(LineDiffBlockChangeType||(exports.LineDiffBlockChangeType=LineDiffBlockChangeType={}));var PullRequestAsyncStatus;!function(e){e[e.NotSet=0]="NotSet",e[e.Queued=1]="Queued",e[e.Conflicts=2]="Conflicts",e[e.Succeeded=3]="Succeeded",e[e.RejectedByPolicy=4]="RejectedByPolicy",e[e.Failure=5]="Failure"}(PullRequestAsyncStatus||(exports.PullRequestAsyncStatus=PullRequestAsyncStatus={}));var PullRequestMergeFailureType;!function(e){e[e.None=0]="None",e[e.Unknown=1]="Unknown",e[e.CaseSensitive=2]="CaseSensitive",e[e.ObjectTooLarge=3]="ObjectTooLarge"}(PullRequestMergeFailureType||(exports.PullRequestMergeFailureType=PullRequestMergeFailureType={}));var PullRequestStatus;!function(e){e[e.NotSet=0]="NotSet",e[e.Active=1]="Active",e[e.Abandoned=2]="Abandoned",e[e.Completed=3]="Completed",e[e.All=4]="All"}(PullRequestStatus||(exports.PullRequestStatus=PullRequestStatus={}));var PullRequestTimeRangeType;!function(e){e[e.Created=1]="Created",e[e.Closed=2]="Closed"}(PullRequestTimeRangeType||(exports.PullRequestTimeRangeType=PullRequestTimeRangeType={}));var RefFavoriteType;!function(e){e[e.Invalid=0]="Invalid",e[e.Folder=1]="Folder",e[e.Ref=2]="Ref"}(RefFavoriteType||(exports.RefFavoriteType=RefFavoriteType={}));var SupportedIdeType;!function(e){e[e.Unknown=0]="Unknown",e[e.AndroidStudio=1]="AndroidStudio",e[e.AppCode=2]="AppCode",e[e.CLion=3]="CLion",e[e.DataGrip=4]="DataGrip",e[e.Eclipse=13]="Eclipse",e[e.IntelliJ=5]="IntelliJ",e[e.MPS=6]="MPS",e[e.PhpStorm=7]="PhpStorm",e[e.PyCharm=8]="PyCharm",e[e.RubyMine=9]="RubyMine",e[e.Tower=10]="Tower",e[e.VisualStudio=11]="VisualStudio",e[e.VSCode=14]="VSCode",e[e.WebStorm=12]="WebStorm"}(SupportedIdeType||(exports.SupportedIdeType=SupportedIdeType={}));var TagsFilterOperator;!function(e){e[e.And=0]="And",e[e.Or=1]="Or"}(TagsFilterOperator||(exports.TagsFilterOperator=TagsFilterOperator={}));var TfvcVersionOption;!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(TfvcVersionOption||(exports.TfvcVersionOption=TfvcVersionOption={}));var TfvcVersionType;!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(TfvcVersionType||(exports.TfvcVersionType=TfvcVersionType={}));var VersionControlChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(VersionControlChangeType||(exports.VersionControlChangeType=VersionControlChangeType={}));var VersionControlRecursionType;!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(VersionControlRecursionType||(exports.VersionControlRecursionType=VersionControlRecursionType={}));
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionControlRecursionType=exports.VersionControlChangeType=exports.TfvcVersionType=exports.TfvcVersionOption=exports.TagsFilterOperator=exports.SupportedIdeType=exports.SkipValidationPolicy=exports.RefFavoriteType=exports.PullRequestTimeRangeType=exports.PullRequestStatus=exports.PullRequestMergeFailureType=exports.PullRequestAsyncStatus=exports.PipelineRewireStatus=exports.PipelineClassification=exports.MigrationStatus=exports.MigrationStage=exports.LineDiffBlockChangeType=exports.IterationReason=exports.ItemContentType=exports.GitVersionType=exports.GitVersionOptions=exports.GitStatusState=exports.GitResolutionWhichAction=exports.GitResolutionStatus=exports.GitResolutionRename1to2Action=exports.GitResolutionPathConflictAction=exports.GitResolutionMergeType=exports.GitResolutionError=exports.GitRefUpdateStatus=exports.GitRefUpdateMode=exports.GitRefSearchType=exports.GitPullRequestReviewFileType=exports.GitPullRequestQueryType=exports.GitPullRequestQueryIncludeOptions=exports.GitPullRequestMergeStrategy=exports.GitPathActions=exports.GitObjectType=exports.GitHistoryMode=exports.GitConflictUpdateStatus=exports.GitConflictType=exports.GitAsyncRefOperationFailureStatus=exports.GitAsyncOperationStatus=exports.ElmMigrationOption=exports.CommentType=exports.CommentThreadStatus=void 0;var CommentThreadStatus;!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Fixed=2]="Fixed",e[e.WontFix=3]="WontFix",e[e.Closed=4]="Closed",e[e.ByDesign=5]="ByDesign",e[e.Pending=6]="Pending"}(CommentThreadStatus||(exports.CommentThreadStatus=CommentThreadStatus={}));var CommentType;!function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.CodeChange=2]="CodeChange",e[e.System=3]="System"}(CommentType||(exports.CommentType=CommentType={}));var ElmMigrationOption;!function(e){e[e.None=0]="None",e[e.EnableAutoDiscoverPipelines=1073741824]="EnableAutoDiscoverPipelines"}(ElmMigrationOption||(exports.ElmMigrationOption=ElmMigrationOption={}));var GitAsyncOperationStatus;!function(e){e[e.Queued=1]="Queued",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Abandoned=5]="Abandoned"}(GitAsyncOperationStatus||(exports.GitAsyncOperationStatus=GitAsyncOperationStatus={}));var GitAsyncRefOperationFailureStatus;!function(e){e[e.None=0]="None",e[e.InvalidRefName=1]="InvalidRefName",e[e.RefNameConflict=2]="RefNameConflict",e[e.CreateBranchPermissionRequired=3]="CreateBranchPermissionRequired",e[e.WritePermissionRequired=4]="WritePermissionRequired",e[e.TargetBranchDeleted=5]="TargetBranchDeleted",e[e.GitObjectTooLarge=6]="GitObjectTooLarge",e[e.OperationIndentityNotFound=7]="OperationIndentityNotFound",e[e.AsyncOperationNotFound=8]="AsyncOperationNotFound",e[e.Other=9]="Other",e[e.EmptyCommitterSignature=10]="EmptyCommitterSignature"}(GitAsyncRefOperationFailureStatus||(exports.GitAsyncRefOperationFailureStatus=GitAsyncRefOperationFailureStatus={}));var GitConflictType;!function(e){e[e.None=0]="None",e[e.AddAdd=1]="AddAdd",e[e.AddRename=2]="AddRename",e[e.DeleteEdit=3]="DeleteEdit",e[e.DeleteRename=4]="DeleteRename",e[e.DirectoryFile=5]="DirectoryFile",e[e.DirectoryChild=6]="DirectoryChild",e[e.EditDelete=7]="EditDelete",e[e.EditEdit=8]="EditEdit",e[e.FileDirectory=9]="FileDirectory",e[e.Rename1to2=10]="Rename1to2",e[e.Rename2to1=11]="Rename2to1",e[e.RenameAdd=12]="RenameAdd",e[e.RenameDelete=13]="RenameDelete",e[e.RenameRename=14]="RenameRename"}(GitConflictType||(exports.GitConflictType=GitConflictType={}));var GitConflictUpdateStatus;!function(e){e[e.Succeeded=0]="Succeeded",e[e.BadRequest=1]="BadRequest",e[e.InvalidResolution=2]="InvalidResolution",e[e.UnsupportedConflictType=3]="UnsupportedConflictType",e[e.NotFound=4]="NotFound"}(GitConflictUpdateStatus||(exports.GitConflictUpdateStatus=GitConflictUpdateStatus={}));var GitHistoryMode;!function(e){e[e.SimplifiedHistory=0]="SimplifiedHistory",e[e.FirstParent=1]="FirstParent",e[e.FullHistory=2]="FullHistory",e[e.FullHistorySimplifyMerges=3]="FullHistorySimplifyMerges"}(GitHistoryMode||(exports.GitHistoryMode=GitHistoryMode={}));var GitObjectType;!function(e){e[e.Bad=0]="Bad",e[e.Commit=1]="Commit",e[e.Tree=2]="Tree",e[e.Blob=3]="Blob",e[e.Tag=4]="Tag",e[e.Ext2=5]="Ext2",e[e.OfsDelta=6]="OfsDelta",e[e.RefDelta=7]="RefDelta"}(GitObjectType||(exports.GitObjectType=GitObjectType={}));var GitPathActions;!function(e){e[e.None=0]="None",e[e.Edit=1]="Edit",e[e.Delete=2]="Delete",e[e.Add=3]="Add",e[e.Rename=4]="Rename"}(GitPathActions||(exports.GitPathActions=GitPathActions={}));var GitPullRequestMergeStrategy;!function(e){e[e.NoFastForward=1]="NoFastForward",e[e.Squash=2]="Squash",e[e.Rebase=3]="Rebase",e[e.RebaseMerge=4]="RebaseMerge"}(GitPullRequestMergeStrategy||(exports.GitPullRequestMergeStrategy=GitPullRequestMergeStrategy={}));var GitPullRequestQueryIncludeOptions;!function(e){e[e.NotSet=0]="NotSet",e[e.Labels=1]="Labels"}(GitPullRequestQueryIncludeOptions||(exports.GitPullRequestQueryIncludeOptions=GitPullRequestQueryIncludeOptions={}));var GitPullRequestQueryType;!function(e){e[e.NotSet=0]="NotSet",e[e.LastMergeCommit=1]="LastMergeCommit",e[e.Commit=2]="Commit"}(GitPullRequestQueryType||(exports.GitPullRequestQueryType=GitPullRequestQueryType={}));var GitPullRequestReviewFileType;!function(e){e[e.ChangeEntry=0]="ChangeEntry",e[e.Attachment=1]="Attachment"}(GitPullRequestReviewFileType||(exports.GitPullRequestReviewFileType=GitPullRequestReviewFileType={}));var GitRefSearchType;!function(e){e[e.Exact=0]="Exact",e[e.StartsWith=1]="StartsWith",e[e.Contains=2]="Contains"}(GitRefSearchType||(exports.GitRefSearchType=GitRefSearchType={}));var GitRefUpdateMode;!function(e){e[e.BestEffort=0]="BestEffort",e[e.AllOrNone=1]="AllOrNone"}(GitRefUpdateMode||(exports.GitRefUpdateMode=GitRefUpdateMode={}));var GitRefUpdateStatus;!function(e){e[e.Succeeded=0]="Succeeded",e[e.ForcePushRequired=1]="ForcePushRequired",e[e.StaleOldObjectId=2]="StaleOldObjectId",e[e.InvalidRefName=3]="InvalidRefName",e[e.Unprocessed=4]="Unprocessed",e[e.UnresolvableToCommit=5]="UnresolvableToCommit",e[e.WritePermissionRequired=6]="WritePermissionRequired",e[e.ManageNotePermissionRequired=7]="ManageNotePermissionRequired",e[e.CreateBranchPermissionRequired=8]="CreateBranchPermissionRequired",e[e.CreateTagPermissionRequired=9]="CreateTagPermissionRequired",e[e.RejectedByPlugin=10]="RejectedByPlugin",e[e.Locked=11]="Locked",e[e.RefNameConflict=12]="RefNameConflict",e[e.RejectedByPolicy=13]="RejectedByPolicy",e[e.SucceededNonExistentRef=14]="SucceededNonExistentRef",e[e.SucceededCorruptRef=15]="SucceededCorruptRef"}(GitRefUpdateStatus||(exports.GitRefUpdateStatus=GitRefUpdateStatus={}));var GitResolutionError;!function(e){e[e.None=0]="None",e[e.MergeContentNotFound=1]="MergeContentNotFound",e[e.PathInUse=2]="PathInUse",e[e.InvalidPath=3]="InvalidPath",e[e.UnknownAction=4]="UnknownAction",e[e.UnknownMergeType=5]="UnknownMergeType",e[e.OtherError=255]="OtherError"}(GitResolutionError||(exports.GitResolutionError=GitResolutionError={}));var GitResolutionMergeType;!function(e){e[e.Undecided=0]="Undecided",e[e.TakeSourceContent=1]="TakeSourceContent",e[e.TakeTargetContent=2]="TakeTargetContent",e[e.AutoMerged=3]="AutoMerged",e[e.UserMerged=4]="UserMerged"}(GitResolutionMergeType||(exports.GitResolutionMergeType=GitResolutionMergeType={}));var GitResolutionPathConflictAction;!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourceRenameTarget=1]="KeepSourceRenameTarget",e[e.KeepSourceDeleteTarget=2]="KeepSourceDeleteTarget",e[e.KeepTargetRenameSource=3]="KeepTargetRenameSource",e[e.KeepTargetDeleteSource=4]="KeepTargetDeleteSource"}(GitResolutionPathConflictAction||(exports.GitResolutionPathConflictAction=GitResolutionPathConflictAction={}));var GitResolutionRename1to2Action;!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourcePath=1]="KeepSourcePath",e[e.KeepTargetPath=2]="KeepTargetPath",e[e.KeepBothFiles=3]="KeepBothFiles"}(GitResolutionRename1to2Action||(exports.GitResolutionRename1to2Action=GitResolutionRename1to2Action={}));var GitResolutionStatus;!function(e){e[e.Unresolved=0]="Unresolved",e[e.PartiallyResolved=1]="PartiallyResolved",e[e.Resolved=2]="Resolved"}(GitResolutionStatus||(exports.GitResolutionStatus=GitResolutionStatus={}));var GitResolutionWhichAction;!function(e){e[e.Undecided=0]="Undecided",e[e.PickSourceAction=1]="PickSourceAction",e[e.PickTargetAction=2]="PickTargetAction"}(GitResolutionWhichAction||(exports.GitResolutionWhichAction=GitResolutionWhichAction={}));var GitStatusState;!function(e){e[e.NotSet=0]="NotSet",e[e.Pending=1]="Pending",e[e.Succeeded=2]="Succeeded",e[e.Failed=3]="Failed",e[e.Error=4]="Error",e[e.NotApplicable=5]="NotApplicable",e[e.PartiallySucceeded=6]="PartiallySucceeded"}(GitStatusState||(exports.GitStatusState=GitStatusState={}));var GitVersionOptions;!function(e){e[e.None=0]="None",e[e.PreviousChange=1]="PreviousChange",e[e.FirstParent=2]="FirstParent"}(GitVersionOptions||(exports.GitVersionOptions=GitVersionOptions={}));var GitVersionType;!function(e){e[e.Branch=0]="Branch",e[e.Tag=1]="Tag",e[e.Commit=2]="Commit"}(GitVersionType||(exports.GitVersionType=GitVersionType={}));var ItemContentType;!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(ItemContentType||(exports.ItemContentType=ItemContentType={}));var IterationReason;!function(e){e[e.Push=0]="Push",e[e.ForcePush=1]="ForcePush",e[e.Create=2]="Create",e[e.Rebase=4]="Rebase",e[e.Unknown=8]="Unknown",e[e.Retarget=16]="Retarget",e[e.ResolveConflicts=32]="ResolveConflicts"}(IterationReason||(exports.IterationReason=IterationReason={}));var LineDiffBlockChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Delete=2]="Delete",e[e.Edit=3]="Edit"}(LineDiffBlockChangeType||(exports.LineDiffBlockChangeType=LineDiffBlockChangeType={}));var MigrationStage;!function(e){e[e.Queued=0]="Queued",e[e.Validation=1]="Validation",e[e.Synchronization=2]="Synchronization",e[e.Cutover=3]="Cutover",e[e.Migrated=4]="Migrated",e[e.ReadyForCutover=5]="ReadyForCutover",e[e.Degraded=6]="Degraded",e[e.ReviewForCutover=7]="ReviewForCutover"}(MigrationStage||(exports.MigrationStage=MigrationStage={}));var MigrationStatus;!function(e){e[e.Active=0]="Active",e[e.Completed=1]="Completed",e[e.Failed=2]="Failed",e[e.Paused=3]="Paused"}(MigrationStatus||(exports.MigrationStatus=MigrationStatus={}));var PipelineClassification;!function(e){e[e.Unknown=0]="Unknown",e[e.Simple=1]="Simple",e[e.SameRepoTemplates=2]="SameRepoTemplates",e[e.CrossRepoTemplates=3]="CrossRepoTemplates",e[e.MultiRepoCheckout=4]="MultiRepoCheckout",e[e.SeparatePipelineRepo=5]="SeparatePipelineRepo",e[e.CrossProject=6]="CrossProject"}(PipelineClassification||(exports.PipelineClassification=PipelineClassification={}));var PipelineRewireStatus;!function(e){e[e.Pending=0]="Pending",e[e.Classifying=1]="Classifying",e[e.PreCheckPassed=2]="PreCheckPassed",e[e.PreCheckFailed=3]="PreCheckFailed",e[e.NeedsMappings=4]="NeedsMappings",e[e.CloneCreated=5]="CloneCreated",e[e.Rewired=8]="Rewired",e[e.SwapComplete=9]="SwapComplete",e[e.Failed=10]="Failed",e[e.AwaitingCodeSync=11]="AwaitingCodeSync"}(PipelineRewireStatus||(exports.PipelineRewireStatus=PipelineRewireStatus={}));var PullRequestAsyncStatus;!function(e){e[e.NotSet=0]="NotSet",e[e.Queued=1]="Queued",e[e.Conflicts=2]="Conflicts",e[e.Succeeded=3]="Succeeded",e[e.RejectedByPolicy=4]="RejectedByPolicy",e[e.Failure=5]="Failure"}(PullRequestAsyncStatus||(exports.PullRequestAsyncStatus=PullRequestAsyncStatus={}));var PullRequestMergeFailureType;!function(e){e[e.None=0]="None",e[e.Unknown=1]="Unknown",e[e.CaseSensitive=2]="CaseSensitive",e[e.ObjectTooLarge=3]="ObjectTooLarge"}(PullRequestMergeFailureType||(exports.PullRequestMergeFailureType=PullRequestMergeFailureType={}));var PullRequestStatus;!function(e){e[e.NotSet=0]="NotSet",e[e.Active=1]="Active",e[e.Abandoned=2]="Abandoned",e[e.Completed=3]="Completed",e[e.All=4]="All"}(PullRequestStatus||(exports.PullRequestStatus=PullRequestStatus={}));var PullRequestTimeRangeType;!function(e){e[e.Created=1]="Created",e[e.Closed=2]="Closed"}(PullRequestTimeRangeType||(exports.PullRequestTimeRangeType=PullRequestTimeRangeType={}));var RefFavoriteType;!function(e){e[e.Invalid=0]="Invalid",e[e.Folder=1]="Folder",e[e.Ref=2]="Ref"}(RefFavoriteType||(exports.RefFavoriteType=RefFavoriteType={}));var SkipValidationPolicy;!function(e){e[e.None=0]="None",e[e.ActivePullRequestCount=1]="ActivePullRequestCount",e[e.PullRequestDeltaSize=2]="PullRequestDeltaSize",e[e.AgentPoolExists=4]="AgentPoolExists",e[e.MaxFileSize=8]="MaxFileSize",e[e.MaxPullRequestSize=16]="MaxPullRequestSize",e[e.MaxPushPackSize=32]="MaxPushPackSize",e[e.MaxReferenceNameLength=64]="MaxReferenceNameLength",e[e.TargetRepositoryDoesNotExist=256]="TargetRepositoryDoesNotExist",e[e.SourceRepositoryContainsLfsObjects=512]="SourceRepositoryContainsLfsObjects",e[e.SourceRepositoryNotReadOnly=1024]="SourceRepositoryNotReadOnly",e[e.BoardsGitHubConnectionProvisioning=2048]="BoardsGitHubConnectionProvisioning",e[e.All=2147483647]="All"}(SkipValidationPolicy||(exports.SkipValidationPolicy=SkipValidationPolicy={}));var SupportedIdeType;!function(e){e[e.Unknown=0]="Unknown",e[e.AndroidStudio=1]="AndroidStudio",e[e.AppCode=2]="AppCode",e[e.CLion=3]="CLion",e[e.DataGrip=4]="DataGrip",e[e.Eclipse=13]="Eclipse",e[e.IntelliJ=5]="IntelliJ",e[e.MPS=6]="MPS",e[e.PhpStorm=7]="PhpStorm",e[e.PyCharm=8]="PyCharm",e[e.RubyMine=9]="RubyMine",e[e.Tower=10]="Tower",e[e.VisualStudio=11]="VisualStudio",e[e.VSCode=14]="VSCode",e[e.WebStorm=12]="WebStorm"}(SupportedIdeType||(exports.SupportedIdeType=SupportedIdeType={}));var TagsFilterOperator;!function(e){e[e.And=0]="And",e[e.Or=1]="Or"}(TagsFilterOperator||(exports.TagsFilterOperator=TagsFilterOperator={}));var TfvcVersionOption;!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(TfvcVersionOption||(exports.TfvcVersionOption=TfvcVersionOption={}));var TfvcVersionType;!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(TfvcVersionType||(exports.TfvcVersionType=TfvcVersionType={}));var VersionControlChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(VersionControlChangeType||(exports.VersionControlChangeType=VersionControlChangeType={}));var VersionControlRecursionType;!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(VersionControlRecursionType||(exports.VersionControlRecursionType=VersionControlRecursionType={}));
|
|
@@ -101,6 +101,32 @@ export interface AgentPoolDetails {
|
|
|
101
101
|
*/
|
|
102
102
|
currentAgentPool: string;
|
|
103
103
|
}
|
|
104
|
+
export declare enum AlertType {
|
|
105
|
+
/**
|
|
106
|
+
* The code has an unspecified vulnerability type
|
|
107
|
+
*/
|
|
108
|
+
Unknown = 0,
|
|
109
|
+
/**
|
|
110
|
+
* The code uses a dependency with a known vulnerability.
|
|
111
|
+
*/
|
|
112
|
+
Dependency = 1,
|
|
113
|
+
/**
|
|
114
|
+
* The code contains a secret that has now been compromised and must be revoked.
|
|
115
|
+
*/
|
|
116
|
+
Secret = 2,
|
|
117
|
+
/**
|
|
118
|
+
* The code contains a weakness determined by static analysis.
|
|
119
|
+
*/
|
|
120
|
+
Code = 3,
|
|
121
|
+
/**
|
|
122
|
+
* The code uses a dependency with potential license incompliance.
|
|
123
|
+
*/
|
|
124
|
+
License = 4,
|
|
125
|
+
/**
|
|
126
|
+
* The code contains a weakness determined by AI-powered analysis.
|
|
127
|
+
*/
|
|
128
|
+
AICode = 5
|
|
129
|
+
}
|
|
104
130
|
/**
|
|
105
131
|
* Billable Committers Details for Advanced Security Services
|
|
106
132
|
*/
|
package/Management/Management.js
CHANGED
|
@@ -5,7 +5,34 @@
|
|
|
5
5
|
* ---------------------------------------------------------
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Plan = void 0;
|
|
8
|
+
exports.Plan = exports.AlertType = void 0;
|
|
9
|
+
var AlertType;
|
|
10
|
+
(function (AlertType) {
|
|
11
|
+
/**
|
|
12
|
+
* The code has an unspecified vulnerability type
|
|
13
|
+
*/
|
|
14
|
+
AlertType[AlertType["Unknown"] = 0] = "Unknown";
|
|
15
|
+
/**
|
|
16
|
+
* The code uses a dependency with a known vulnerability.
|
|
17
|
+
*/
|
|
18
|
+
AlertType[AlertType["Dependency"] = 1] = "Dependency";
|
|
19
|
+
/**
|
|
20
|
+
* The code contains a secret that has now been compromised and must be revoked.
|
|
21
|
+
*/
|
|
22
|
+
AlertType[AlertType["Secret"] = 2] = "Secret";
|
|
23
|
+
/**
|
|
24
|
+
* The code contains a weakness determined by static analysis.
|
|
25
|
+
*/
|
|
26
|
+
AlertType[AlertType["Code"] = 3] = "Code";
|
|
27
|
+
/**
|
|
28
|
+
* The code uses a dependency with potential license incompliance.
|
|
29
|
+
*/
|
|
30
|
+
AlertType[AlertType["License"] = 4] = "License";
|
|
31
|
+
/**
|
|
32
|
+
* The code contains a weakness determined by AI-powered analysis.
|
|
33
|
+
*/
|
|
34
|
+
AlertType[AlertType["AICode"] = 5] = "AICode";
|
|
35
|
+
})(AlertType || (exports.AlertType = AlertType = {}));
|
|
9
36
|
var Plan;
|
|
10
37
|
(function (Plan) {
|
|
11
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Plan=void 0;var Plan;!function(e){e[e.None=0]="None",e[e.CodeSecurity=1]="CodeSecurity",e[e.SecretProtection=2]="SecretProtection",e[e.All=3]="All"}(Plan||(exports.Plan=Plan={}));
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Plan=exports.AlertType=void 0;var AlertType;!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.Secret=2]="Secret",e[e.Code=3]="Code",e[e.License=4]="License",e[e.AICode=5]="AICode"}(AlertType||(exports.AlertType=AlertType={}));var Plan;!function(e){e[e.None=0]="None",e[e.CodeSecurity=1]="CodeSecurity",e[e.SecretProtection=2]="SecretProtection",e[e.All=3]="All"}(Plan||(exports.Plan=Plan={}));
|
|
@@ -472,11 +472,11 @@ export declare class ReleaseRestClient extends RestClientBase {
|
|
|
472
472
|
*
|
|
473
473
|
* @param project - Project ID or project name
|
|
474
474
|
* @param definitionId - Releases from this release definition Id.
|
|
475
|
-
* @param definitionEnvironmentId -
|
|
475
|
+
* @param definitionEnvironmentId - Id of the definition environment. Required when using environmentStatusFilter.
|
|
476
476
|
* @param searchText - Releases with names containing searchText.
|
|
477
477
|
* @param createdBy - Releases created by this user.
|
|
478
478
|
* @param statusFilter - Releases that have this status.
|
|
479
|
-
* @param environmentStatusFilter -
|
|
479
|
+
* @param environmentStatusFilter - Filters releases by environment status. Must be used with definitionEnvironmentId. Values: Undefined (0), NotStarted (1), InProgress (2), Succeeded (4), Canceled (8), Rejected (16), Queued (32), Scheduled (64), PartiallySucceeded (128). These are [Flags] values and can be combined (e.g. 4|16 = 20 for Succeeded or Rejected). Cannot be used with sourceBranchFilter.
|
|
480
480
|
* @param minCreatedTime - Releases that were created after this time.
|
|
481
481
|
* @param maxCreatedTime - Releases that were created before this time.
|
|
482
482
|
* @param queryOrder - Gets the results in the defined order of created date for releases. Default is descending.
|
package/Release/ReleaseClient.js
CHANGED
|
@@ -1310,11 +1310,11 @@ class ReleaseRestClient extends RestClientBase_1.RestClientBase {
|
|
|
1310
1310
|
*
|
|
1311
1311
|
* @param project - Project ID or project name
|
|
1312
1312
|
* @param definitionId - Releases from this release definition Id.
|
|
1313
|
-
* @param definitionEnvironmentId -
|
|
1313
|
+
* @param definitionEnvironmentId - Id of the definition environment. Required when using environmentStatusFilter.
|
|
1314
1314
|
* @param searchText - Releases with names containing searchText.
|
|
1315
1315
|
* @param createdBy - Releases created by this user.
|
|
1316
1316
|
* @param statusFilter - Releases that have this status.
|
|
1317
|
-
* @param environmentStatusFilter -
|
|
1317
|
+
* @param environmentStatusFilter - Filters releases by environment status. Must be used with definitionEnvironmentId. Values: Undefined (0), NotStarted (1), InProgress (2), Succeeded (4), Canceled (8), Rejected (16), Queued (32), Scheduled (64), PartiallySucceeded (128). These are [Flags] values and can be combined (e.g. 4|16 = 20 for Succeeded or Rejected). Cannot be used with sourceBranchFilter.
|
|
1318
1318
|
* @param minCreatedTime - Releases that were created after this time.
|
|
1319
1319
|
* @param maxCreatedTime - Releases that were created before this time.
|
|
1320
1320
|
* @param queryOrder - Gets the results in the defined order of created date for releases. Default is descending.
|
package/TaskAgent/TaskAgent.d.ts
CHANGED
|
@@ -2697,7 +2697,7 @@ export interface TaskAgentSkuUsageSummaryQuery {
|
|
|
2697
2697
|
*/
|
|
2698
2698
|
queueId: number;
|
|
2699
2699
|
/**
|
|
2700
|
-
* Optional: narrow results to a specific project before grouping. Typically used when drilling down from pool
|
|
2700
|
+
* Optional: narrow results to a specific project before grouping. Typically used when drilling down from pool to project, with GroupBy set to DefinitionId to see pipelines within that project.
|
|
2701
2701
|
*/
|
|
2702
2702
|
scopeIdentifier: string;
|
|
2703
2703
|
/**
|
|
@@ -2713,6 +2713,10 @@ export interface TaskAgentSkuUsageSummaryQuery {
|
|
|
2713
2713
|
* Result of a SKU usage query. Contains the original query and the ranked usage rows.
|
|
2714
2714
|
*/
|
|
2715
2715
|
export interface TaskAgentSkuUsageSummaryResult {
|
|
2716
|
+
/**
|
|
2717
|
+
* Freshness marker on the result: jobs that finished after this moment are not yet reflected in Usages.
|
|
2718
|
+
*/
|
|
2719
|
+
lastBilledAt: Date;
|
|
2716
2720
|
/**
|
|
2717
2721
|
* The query that produced this result.
|
|
2718
2722
|
*/
|
|
@@ -2763,6 +2767,10 @@ export interface TaskAgentSkuUsageTrendQuery {
|
|
|
2763
2767
|
* Result of a SKU usage trend query. Contains the original query and the daily usage data points.
|
|
2764
2768
|
*/
|
|
2765
2769
|
export interface TaskAgentSkuUsageTrendResult {
|
|
2770
|
+
/**
|
|
2771
|
+
* Freshness marker on the result: jobs that finished after this moment are not yet reflected in Points.
|
|
2772
|
+
*/
|
|
2773
|
+
lastBilledAt: Date;
|
|
2766
2774
|
/**
|
|
2767
2775
|
* Usage data points, ordered by date ascending. Buckets with no usage are not included.
|
|
2768
2776
|
*/
|
package/Test/Test.d.ts
CHANGED
|
@@ -1589,10 +1589,18 @@ export interface PipelineDebuggerResponse {
|
|
|
1589
1589
|
* When the analysis has already completed for this build, contains the cached result so the caller does not need a separate GET request. Null when the job is newly queued or still in progress.
|
|
1590
1590
|
*/
|
|
1591
1591
|
analysisResult: PipelineDebuggerAnalysisOutput;
|
|
1592
|
+
/**
|
|
1593
|
+
* GitHub OAuth authorization URL. Present only when NeedsAuth is true.
|
|
1594
|
+
*/
|
|
1595
|
+
authUrl: string;
|
|
1592
1596
|
/**
|
|
1593
1597
|
* Human-readable status message (e.g. "queued successfully", "already running", or "Analysis already completed").
|
|
1594
1598
|
*/
|
|
1595
1599
|
message: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* True when the user needs to authorize the GitHub Copilot app before analysis can proceed. The client should open a popup to AuthUrl and retry after authorization completes.
|
|
1602
|
+
*/
|
|
1603
|
+
needsAuth: boolean;
|
|
1596
1604
|
}
|
|
1597
1605
|
/**
|
|
1598
1606
|
* Pipeline reference
|
|
@@ -2912,11 +2920,17 @@ export interface TestActionResultModel extends TestResultModelBase {
|
|
|
2912
2920
|
url: string;
|
|
2913
2921
|
}
|
|
2914
2922
|
export interface TestAgentCallbackRequest {
|
|
2923
|
+
buildId: number;
|
|
2924
|
+
resultPayload: string;
|
|
2915
2925
|
success: boolean;
|
|
2916
2926
|
task: string;
|
|
2917
2927
|
workItemId: number;
|
|
2918
2928
|
}
|
|
2919
2929
|
export interface TestAgentTriggerRequest {
|
|
2930
|
+
branchName: string;
|
|
2931
|
+
configJsonPath: string;
|
|
2932
|
+
repoName: string;
|
|
2933
|
+
scriptFolderName: string;
|
|
2920
2934
|
task: string;
|
|
2921
2935
|
workItemId: number;
|
|
2922
2936
|
}
|
|
@@ -276,6 +276,13 @@ export declare class TestResultsRestClient extends RestClientBase {
|
|
|
276
276
|
* @param groupByNode - Group summary for each node of the pipleine heirarchy
|
|
277
277
|
*/
|
|
278
278
|
getTestPipelineMetrics(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, metricNames?: Test.Metrics[], groupByNode?: boolean): Promise<Test.PipelineTestMetrics>;
|
|
279
|
+
/**
|
|
280
|
+
* Callback endpoint invoked by ADOTestAgent when pipeline debug analysis completes. Writes the result to blob storage and fires a SignalR notification to the UI.
|
|
281
|
+
*
|
|
282
|
+
* @param request -
|
|
283
|
+
* @param project - Project ID or project name
|
|
284
|
+
*/
|
|
285
|
+
completeAnalysisJob(request: Test.TestAgentCallbackRequest, project: string): Promise<boolean>;
|
|
279
286
|
/**
|
|
280
287
|
* Retrieves the AI analysis result for a given build. Downloads the analysis JSON from the TCM Log Store (Azure Blob Storage) where it was uploaded by PipelineDebuggerJob upon completion.
|
|
281
288
|
*
|
|
@@ -638,6 +645,11 @@ export declare class TestResultsRestClient extends RestClientBase {
|
|
|
638
645
|
* @param project - Project ID or project name
|
|
639
646
|
*/
|
|
640
647
|
callbackTestAgent(request: Test.TestAgentCallbackRequest, project: string): Promise<boolean>;
|
|
648
|
+
/**
|
|
649
|
+
* Returns the current user's GitHub OAuth token with permission to access Copilot APIs, gated behind a feature flag.
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
getTestAgentToken(): Promise<string>;
|
|
641
653
|
/**
|
|
642
654
|
* @param request -
|
|
643
655
|
* @param project - Project ID or project name
|
|
@@ -819,6 +819,25 @@ class TestResultsRestClient extends RestClientBase_1.RestClientBase {
|
|
|
819
819
|
});
|
|
820
820
|
});
|
|
821
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Callback endpoint invoked by ADOTestAgent when pipeline debug analysis completes. Writes the result to blob storage and fires a SignalR notification to the UI.
|
|
824
|
+
*
|
|
825
|
+
* @param request -
|
|
826
|
+
* @param project - Project ID or project name
|
|
827
|
+
*/
|
|
828
|
+
completeAnalysisJob(request, project) {
|
|
829
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
830
|
+
return this.beginRequest({
|
|
831
|
+
apiVersion: "7.2-preview.1",
|
|
832
|
+
method: "POST",
|
|
833
|
+
routeTemplate: "{project}/_apis/testresults/pipelinedebugger/completeanalysisjob",
|
|
834
|
+
routeValues: {
|
|
835
|
+
project: project
|
|
836
|
+
},
|
|
837
|
+
body: request
|
|
838
|
+
});
|
|
839
|
+
});
|
|
840
|
+
}
|
|
822
841
|
/**
|
|
823
842
|
* Retrieves the AI analysis result for a given build. Downloads the analysis JSON from the TCM Log Store (Azure Blob Storage) where it was uploaded by PipelineDebuggerJob upon completion.
|
|
824
843
|
*
|
|
@@ -1899,6 +1918,18 @@ class TestResultsRestClient extends RestClientBase_1.RestClientBase {
|
|
|
1899
1918
|
});
|
|
1900
1919
|
});
|
|
1901
1920
|
}
|
|
1921
|
+
/**
|
|
1922
|
+
* Returns the current user's GitHub OAuth token with permission to access Copilot APIs, gated behind a feature flag.
|
|
1923
|
+
*
|
|
1924
|
+
*/
|
|
1925
|
+
getTestAgentToken() {
|
|
1926
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1927
|
+
return this.beginRequest({
|
|
1928
|
+
apiVersion: "7.2-preview.1",
|
|
1929
|
+
routeTemplate: "_apis/testresults/testagent/token"
|
|
1930
|
+
});
|
|
1931
|
+
});
|
|
1932
|
+
}
|
|
1902
1933
|
/**
|
|
1903
1934
|
* @param request -
|
|
1904
1935
|
* @param project - Project ID or project name
|