azure-devops-extension-api 4.248.0 → 4.250.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/{bin/Alert → Alert}/Alert.d.ts +12 -2
- package/{bin/Alert → Alert}/Alert.js +11 -0
- package/Alert/Alert.min.js +1 -0
- package/{bin/Alert → Alert}/AlertClient.d.ts +2 -1
- package/{bin/Alert → Alert}/AlertClient.js +3 -1
- package/Alert/AlertClient.min.js +1 -0
- package/{bin/Gallery → Gallery}/GalleryClient.d.ts +7 -5
- package/{bin/Gallery → Gallery}/GalleryClient.js +20 -19
- package/Gallery/GalleryClient.min.js +1 -0
- package/{bin/Management → Management}/Management.d.ts +4 -0
- package/{bin/Release → Release}/ReleaseClient.d.ts +4 -2
- package/{bin/Release → Release}/ReleaseClient.js +8 -4
- package/Release/ReleaseClient.min.js +1 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.d.ts +4 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.d.ts +3 -2
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.js +5 -3
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
- package/{bin/TestResults → TestResults}/TestResultsClient.d.ts +8 -0
- package/{bin/TestResults → TestResults}/TestResultsClient.js +28 -9
- package/{bin/TestResults → TestResults}/TestResultsClient.min.js +1 -1
- package/package.json +1 -1
- package/SECURITY.md +0 -41
- package/bin/Alert/Alert.min.js +0 -1
- package/bin/Alert/AlertClient.min.js +0 -1
- package/bin/Gallery/GalleryClient.min.js +0 -1
- package/bin/LICENSE +0 -21
- package/bin/README.md +0 -2
- package/bin/Release/ReleaseClient.min.js +0 -1
- package/bin/ServiceEndpoint/ServiceEndpointClient.min.js +0 -1
- package/bin/package.json +0 -37
- package/buildpackage.js +0 -80
- package/src/Accounts/Accounts.ts +0 -134
- package/src/Accounts/AccountsClient.ts +0 -83
- package/src/Accounts/index.ts +0 -2
- package/src/AdvancedSecurity.Reporting/Reporting.ts +0 -180
- package/src/AdvancedSecurity.Reporting/ReportingClient.ts +0 -47
- package/src/Alert/Alert.ts +0 -1037
- package/src/Alert/AlertClient.ts +0 -330
- package/src/Boards/Boards.ts +0 -684
- package/src/Boards/BoardsClient.ts +0 -593
- package/src/Boards/index.ts +0 -2
- package/src/Build/Build.ts +0 -3416
- package/src/Build/BuildClient.ts +0 -2740
- package/src/Build/BuildServices.ts +0 -39
- package/src/Build/index.ts +0 -3
- package/src/Comments/Comments.ts +0 -330
- package/src/Comments/index.ts +0 -1
- package/src/Common/Client.ts +0 -37
- package/src/Common/CommonServices.ts +0 -853
- package/src/Common/Context.d.ts +0 -46
- package/src/Common/Fetch.ts +0 -239
- package/src/Common/RestClientBase.ts +0 -186
- package/src/Common/System.ts +0 -36
- package/src/Common/SystemData.ts +0 -135
- package/src/Common/Util/Serialization.ts +0 -59
- package/src/Common/Util/Url.ts +0 -773
- package/src/Common/index.ts +0 -3
- package/src/Contributions/Contributions.ts +0 -708
- package/src/Contributions/ContributionsClient.ts +0 -109
- package/src/Contributions/index.ts +0 -2
- package/src/Core/Core.ts +0 -579
- package/src/Core/CoreClient.ts +0 -765
- package/src/Core/index.ts +0 -2
- package/src/Dashboard/Dashboard.ts +0 -419
- package/src/Dashboard/DashboardClient.ts +0 -370
- package/src/Dashboard/WidgetConfigHelpers.ts +0 -43
- package/src/Dashboard/WidgetContracts.ts +0 -226
- package/src/Dashboard/WidgetHelpers.ts +0 -145
- package/src/Dashboard/index.ts +0 -5
- package/src/DistributedTaskCommon/DistributedTaskCommon.ts +0 -108
- package/src/DistributedTaskCommon/index.ts +0 -1
- package/src/ExtensionManagement/ExtensionManagement.ts +0 -1205
- package/src/ExtensionManagement/ExtensionManagementClient.ts +0 -646
- package/src/ExtensionManagement/index.ts +0 -2
- package/src/Favorite/Favorite.ts +0 -136
- package/src/Favorite/FavoriteClient.ts +0 -301
- package/src/FeatureAvailability/FeatureAvailability.ts +0 -20
- package/src/FeatureAvailability/FeatureAvailabilityClient.ts +0 -153
- package/src/FeatureAvailability/index.ts +0 -2
- package/src/FeatureManagement/FeatureManagement.ts +0 -166
- package/src/FeatureManagement/FeatureManagementClient.ts +0 -246
- package/src/FeatureManagement/index.ts +0 -2
- package/src/FileContainer/FileContainer.ts +0 -205
- package/src/FileContainer/FileContainerClient.ts +0 -154
- package/src/FileContainer/index.ts +0 -2
- package/src/FormInput/FormInput.ts +0 -288
- package/src/FormInput/index.ts +0 -1
- package/src/Gallery/Gallery.ts +0 -1977
- package/src/Gallery/GalleryClient.ts +0 -2251
- package/src/Gallery/index.ts +0 -2
- package/src/Git/CodeEditorTypes.ts +0 -335
- package/src/Git/Git.ts +0 -4062
- package/src/Git/GitClient.ts +0 -4750
- package/src/Git/GitServices.ts +0 -18
- package/src/Git/index.ts +0 -4
- package/src/Graph/Graph.ts +0 -572
- package/src/Graph/GraphClient.ts +0 -846
- package/src/Graph/index.ts +0 -2
- package/src/Identities/Identities.ts +0 -261
- package/src/Identities/IdentityProvider.ts +0 -90
- package/src/Identities/IdentityService.ts +0 -89
- package/src/Identities/index.ts +0 -3
- package/src/Locations/Locations.ts +0 -165
- package/src/Locations/LocationsClient.ts +0 -220
- package/src/Locations/index.ts +0 -2
- package/src/Management/Management.ts +0 -176
- package/src/Management/ManagementClient.ts +0 -348
- package/src/Notification/Notification.ts +0 -1460
- package/src/Notification/NotificationClient.ts +0 -477
- package/src/Notification/index.ts +0 -2
- package/src/Operations/Operations.ts +0 -86
- package/src/Operations/OperationsClient.ts +0 -42
- package/src/Operations/index.ts +0 -2
- package/src/Pipelines/Pipelines.ts +0 -354
- package/src/Pipelines/PipelinesClient.ts +0 -306
- package/src/Policy/Policy.ts +0 -173
- package/src/Policy/PolicyClient.ts +0 -315
- package/src/Policy/index.ts +0 -2
- package/src/Profile/Profile.ts +0 -187
- package/src/Profile/ProfileClient.ts +0 -328
- package/src/Profile/index.ts +0 -2
- package/src/ProjectAnalysis/ProjectAnalysis.ts +0 -74
- package/src/ProjectAnalysis/ProjectAnalysisClient.ts +0 -124
- package/src/ProjectAnalysis/index.ts +0 -2
- package/src/Release/Release.ts +0 -4237
- package/src/Release/ReleaseClient.ts +0 -2450
- package/src/Release/index.ts +0 -2
- package/src/ResourceUsage/ResourceUsage.ts +0 -19
- package/src/ResourceUsage/ResourceUsageClient.ts +0 -48
- package/src/ServiceEndpoint/ServiceEndpoint.ts +0 -930
- package/src/ServiceEndpoint/ServiceEndpointClient.ts +0 -617
- package/src/ServiceEndpoint/index.ts +0 -2
- package/src/ServiceHooks/ServiceHooks.ts +0 -759
- package/src/ServiceHooks/ServiceHooksClient.ts +0 -499
- package/src/ServiceHooks/index.ts +0 -2
- package/src/TaskAgent/TaskAgent.ts +0 -3896
- package/src/TaskAgent/TaskAgentClient.ts +0 -3918
- package/src/TaskAgent/index.ts +0 -2
- package/src/Test/Test.ts +0 -5853
- package/src/Test/TestClient.ts +0 -2201
- package/src/Test/index.ts +0 -2
- package/src/TestPlan/TestPlan.ts +0 -1384
- package/src/TestPlan/TestPlanClient.ts +0 -1367
- package/src/TestPlan/index.ts +0 -2
- package/src/TestResults/TestResults.ts +0 -11
- package/src/TestResults/TestResultsClient.ts +0 -3506
- package/src/TestResults/index.ts +0 -2
- package/src/Tfvc/Tfvc.ts +0 -770
- package/src/Tfvc/TfvcClient.ts +0 -757
- package/src/Tfvc/index.ts +0 -2
- package/src/WebApi/WebApi.ts +0 -452
- package/src/WebApi/index.ts +0 -1
- package/src/Wiki/Wiki.ts +0 -352
- package/src/Wiki/WikiClient.ts +0 -712
- package/src/Wiki/index.ts +0 -2
- package/src/Work/Work.ts +0 -1367
- package/src/Work/WorkClient.ts +0 -1489
- package/src/Work/index.ts +0 -2
- package/src/WorkItemTracking/WorkItemTracking.ts +0 -2215
- package/src/WorkItemTracking/WorkItemTrackingClient.ts +0 -2032
- package/src/WorkItemTracking/WorkItemTrackingServices.ts +0 -329
- package/src/WorkItemTracking/index.ts +0 -3
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +0 -1295
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +0 -1455
- package/src/WorkItemTrackingProcess/index.ts +0 -2
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +0 -606
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +0 -1175
- package/src/WorkItemTrackingProcessDefinitions/index.ts +0 -2
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -21
- /package/{bin/Accounts → Accounts}/Accounts.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.js +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.min.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.min.js +0 -0
- /package/{bin/Accounts → Accounts}/index.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/index.js +0 -0
- /package/{bin/Accounts → Accounts}/index.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
- /package/{bin/Boards → Boards}/Boards.d.ts +0 -0
- /package/{bin/Boards → Boards}/Boards.js +0 -0
- /package/{bin/Boards → Boards}/Boards.min.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.d.ts +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.min.js +0 -0
- /package/{bin/Boards → Boards}/index.d.ts +0 -0
- /package/{bin/Boards → Boards}/index.js +0 -0
- /package/{bin/Boards → Boards}/index.min.js +0 -0
- /package/{bin/Build → Build}/Build.d.ts +0 -0
- /package/{bin/Build → Build}/Build.js +0 -0
- /package/{bin/Build → Build}/Build.min.js +0 -0
- /package/{bin/Build → Build}/BuildClient.d.ts +0 -0
- /package/{bin/Build → Build}/BuildClient.js +0 -0
- /package/{bin/Build → Build}/BuildClient.min.js +0 -0
- /package/{bin/Build → Build}/BuildServices.d.ts +0 -0
- /package/{bin/Build → Build}/BuildServices.js +0 -0
- /package/{bin/Build → Build}/BuildServices.min.js +0 -0
- /package/{bin/Build → Build}/index.d.ts +0 -0
- /package/{bin/Build → Build}/index.js +0 -0
- /package/{bin/Build → Build}/index.min.js +0 -0
- /package/{bin/Comments → Comments}/Comments.d.ts +0 -0
- /package/{bin/Comments → Comments}/Comments.js +0 -0
- /package/{bin/Comments → Comments}/Comments.min.js +0 -0
- /package/{bin/Comments → Comments}/index.d.ts +0 -0
- /package/{bin/Comments → Comments}/index.js +0 -0
- /package/{bin/Comments → Comments}/index.min.js +0 -0
- /package/{bin/Common → Common}/Client.d.ts +0 -0
- /package/{bin/Common → Common}/Client.js +0 -0
- /package/{bin/Common → Common}/Client.min.js +0 -0
- /package/{bin/Common → Common}/CommonServices.d.ts +0 -0
- /package/{bin/Common → Common}/CommonServices.js +0 -0
- /package/{bin/Common → Common}/CommonServices.min.js +0 -0
- /package/{bin/Common → Common}/Context.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.js +0 -0
- /package/{bin/Common → Common}/Fetch.min.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.d.ts +0 -0
- /package/{bin/Common → Common}/RestClientBase.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.min.js +0 -0
- /package/{bin/Common → Common}/System.d.ts +0 -0
- /package/{bin/Common → Common}/System.js +0 -0
- /package/{bin/Common → Common}/System.min.js +0 -0
- /package/{bin/Common → Common}/SystemData.d.ts +0 -0
- /package/{bin/Common → Common}/SystemData.js +0 -0
- /package/{bin/Common → Common}/SystemData.min.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Serialization.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.min.js +0 -0
- /package/{bin/Common → Common}/Util/Url.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Url.js +0 -0
- /package/{bin/Common → Common}/Util/Url.min.js +0 -0
- /package/{bin/Common → Common}/index.d.ts +0 -0
- /package/{bin/Common → Common}/index.js +0 -0
- /package/{bin/Common → Common}/index.min.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.min.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.min.js +0 -0
- /package/{bin/Contributions → Contributions}/index.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/index.js +0 -0
- /package/{bin/Contributions → Contributions}/index.min.js +0 -0
- /package/{bin/Core → Core}/Core.d.ts +0 -0
- /package/{bin/Core → Core}/Core.js +0 -0
- /package/{bin/Core → Core}/Core.min.js +0 -0
- /package/{bin/Core → Core}/CoreClient.d.ts +0 -0
- /package/{bin/Core → Core}/CoreClient.js +0 -0
- /package/{bin/Core → Core}/CoreClient.min.js +0 -0
- /package/{bin/Core → Core}/index.d.ts +0 -0
- /package/{bin/Core → Core}/index.js +0 -0
- /package/{bin/Core → Core}/index.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/index.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.min.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.min.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/index.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.min.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.min.js +0 -0
- /package/{bin/FormInput → FormInput}/index.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/index.js +0 -0
- /package/{bin/FormInput → FormInput}/index.min.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.min.js +0 -0
- /package/{bin/Gallery → Gallery}/index.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/index.js +0 -0
- /package/{bin/Gallery → Gallery}/index.min.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.d.ts +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.min.js +0 -0
- /package/{bin/Git → Git}/Git.d.ts +0 -0
- /package/{bin/Git → Git}/Git.js +0 -0
- /package/{bin/Git → Git}/Git.min.js +0 -0
- /package/{bin/Git → Git}/GitClient.d.ts +0 -0
- /package/{bin/Git → Git}/GitClient.js +0 -0
- /package/{bin/Git → Git}/GitClient.min.js +0 -0
- /package/{bin/Git → Git}/GitServices.d.ts +0 -0
- /package/{bin/Git → Git}/GitServices.js +0 -0
- /package/{bin/Git → Git}/GitServices.min.js +0 -0
- /package/{bin/Git → Git}/index.d.ts +0 -0
- /package/{bin/Git → Git}/index.js +0 -0
- /package/{bin/Git → Git}/index.min.js +0 -0
- /package/{bin/Graph → Graph}/Graph.d.ts +0 -0
- /package/{bin/Graph → Graph}/Graph.js +0 -0
- /package/{bin/Graph → Graph}/Graph.min.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.d.ts +0 -0
- /package/{bin/Graph → Graph}/GraphClient.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.min.js +0 -0
- /package/{bin/Graph → Graph}/index.d.ts +0 -0
- /package/{bin/Graph → Graph}/index.js +0 -0
- /package/{bin/Graph → Graph}/index.min.js +0 -0
- /package/{bin/Identities → Identities}/Identities.d.ts +0 -0
- /package/{bin/Identities → Identities}/Identities.js +0 -0
- /package/{bin/Identities → Identities}/Identities.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityService.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.min.js +0 -0
- /package/{bin/Identities → Identities}/index.d.ts +0 -0
- /package/{bin/Identities → Identities}/index.js +0 -0
- /package/{bin/Identities → Identities}/index.min.js +0 -0
- /package/{bin/Locations → Locations}/Locations.d.ts +0 -0
- /package/{bin/Locations → Locations}/Locations.js +0 -0
- /package/{bin/Locations → Locations}/Locations.min.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.d.ts +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.min.js +0 -0
- /package/{bin/Locations → Locations}/index.d.ts +0 -0
- /package/{bin/Locations → Locations}/index.js +0 -0
- /package/{bin/Locations → Locations}/index.min.js +0 -0
- /package/{bin/Management → Management}/Management.js +0 -0
- /package/{bin/Management → Management}/Management.min.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.d.ts +0 -0
- /package/{bin/Management → Management}/ManagementClient.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.min.js +0 -0
- /package/{bin/Notification → Notification}/Notification.d.ts +0 -0
- /package/{bin/Notification → Notification}/Notification.js +0 -0
- /package/{bin/Notification → Notification}/Notification.min.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.d.ts +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.min.js +0 -0
- /package/{bin/Notification → Notification}/index.d.ts +0 -0
- /package/{bin/Notification → Notification}/index.js +0 -0
- /package/{bin/Notification → Notification}/index.min.js +0 -0
- /package/{bin/Operations → Operations}/Operations.d.ts +0 -0
- /package/{bin/Operations → Operations}/Operations.js +0 -0
- /package/{bin/Operations → Operations}/Operations.min.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.d.ts +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.min.js +0 -0
- /package/{bin/Operations → Operations}/index.d.ts +0 -0
- /package/{bin/Operations → Operations}/index.js +0 -0
- /package/{bin/Operations → Operations}/index.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.min.js +0 -0
- /package/{bin/Policy → Policy}/Policy.d.ts +0 -0
- /package/{bin/Policy → Policy}/Policy.js +0 -0
- /package/{bin/Policy → Policy}/Policy.min.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.d.ts +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.min.js +0 -0
- /package/{bin/Policy → Policy}/index.d.ts +0 -0
- /package/{bin/Policy → Policy}/index.js +0 -0
- /package/{bin/Policy → Policy}/index.min.js +0 -0
- /package/{bin/Profile → Profile}/Profile.d.ts +0 -0
- /package/{bin/Profile → Profile}/Profile.js +0 -0
- /package/{bin/Profile → Profile}/Profile.min.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.d.ts +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.min.js +0 -0
- /package/{bin/Profile → Profile}/index.d.ts +0 -0
- /package/{bin/Profile → Profile}/index.js +0 -0
- /package/{bin/Profile → Profile}/index.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.min.js +0 -0
- /package/{bin/Release → Release}/Release.d.ts +0 -0
- /package/{bin/Release → Release}/Release.js +0 -0
- /package/{bin/Release → Release}/Release.min.js +0 -0
- /package/{bin/Release → Release}/index.d.ts +0 -0
- /package/{bin/Release → Release}/index.js +0 -0
- /package/{bin/Release → Release}/index.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.d.ts +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.min.js +0 -0
- /package/{bin/Test → Test}/Test.d.ts +0 -0
- /package/{bin/Test → Test}/Test.js +0 -0
- /package/{bin/Test → Test}/Test.min.js +0 -0
- /package/{bin/Test → Test}/TestClient.d.ts +0 -0
- /package/{bin/Test → Test}/TestClient.js +0 -0
- /package/{bin/Test → Test}/TestClient.min.js +0 -0
- /package/{bin/Test → Test}/index.d.ts +0 -0
- /package/{bin/Test → Test}/index.js +0 -0
- /package/{bin/Test → Test}/index.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/index.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.min.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.min.js +0 -0
- /package/{bin/TestResults → TestResults}/index.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/index.js +0 -0
- /package/{bin/TestResults → TestResults}/index.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/index.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.min.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.min.js +0 -0
- /package/{bin/WebApi → WebApi}/index.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/index.js +0 -0
- /package/{bin/WebApi → WebApi}/index.min.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.min.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.min.js +0 -0
- /package/{bin/Wiki → Wiki}/index.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/index.js +0 -0
- /package/{bin/Wiki → Wiki}/index.min.js +0 -0
- /package/{bin/Work → Work}/Work.d.ts +0 -0
- /package/{bin/Work → Work}/Work.js +0 -0
- /package/{bin/Work → Work}/Work.min.js +0 -0
- /package/{bin/Work → Work}/WorkClient.d.ts +0 -0
- /package/{bin/Work → Work}/WorkClient.js +0 -0
- /package/{bin/Work → Work}/WorkClient.min.js +0 -0
- /package/{bin/Work → Work}/index.d.ts +0 -0
- /package/{bin/Work → Work}/index.js +0 -0
- /package/{bin/Work → Work}/index.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
- /package/{bin/index.d.ts → index.d.ts} +0 -0
- /package/{bin/index.js → index.js} +0 -0
- /package/{bin/index.min.js → index.min.js} +0 -0
package/src/Tfvc/TfvcClient.ts
DELETED
|
@@ -1,757 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { IVssRestClientOptions } from "../Common/Context";
|
|
8
|
-
import { RestClientBase } from "../Common/RestClientBase";
|
|
9
|
-
import { deserializeVssJsonObject } from "../Common/Util/Serialization";
|
|
10
|
-
|
|
11
|
-
import * as Tfvc from "../Tfvc/Tfvc";
|
|
12
|
-
import * as WebApi from "../WebApi/WebApi";
|
|
13
|
-
|
|
14
|
-
export class TfvcRestClient extends RestClientBase {
|
|
15
|
-
constructor(options: IVssRestClientOptions) {
|
|
16
|
-
super(options);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
public static readonly RESOURCE_AREA_ID = "8aa40520-446d-40e6-89f6-9c9f9ce44c48";
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Get a single branch hierarchy at the given path with parents or children as specified.
|
|
23
|
-
*
|
|
24
|
-
* @param path - Full path to the branch. Default: $/ Examples: $/, $/MyProject, $/MyProject/SomeFolder.
|
|
25
|
-
* @param project - Project ID or project name
|
|
26
|
-
* @param includeParent - Return the parent branch, if there is one. Default: False
|
|
27
|
-
* @param includeChildren - Return child branches, if there are any. Default: False
|
|
28
|
-
*/
|
|
29
|
-
public async getBranch(
|
|
30
|
-
path: string,
|
|
31
|
-
project?: string,
|
|
32
|
-
includeParent?: boolean,
|
|
33
|
-
includeChildren?: boolean
|
|
34
|
-
): Promise<Tfvc.TfvcBranch> {
|
|
35
|
-
|
|
36
|
-
const queryValues: any = {
|
|
37
|
-
path: path,
|
|
38
|
-
includeParent: includeParent,
|
|
39
|
-
includeChildren: includeChildren
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return this.beginRequest<Tfvc.TfvcBranch>({
|
|
43
|
-
apiVersion: "7.2-preview.1",
|
|
44
|
-
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
|
|
45
|
-
routeValues: {
|
|
46
|
-
project: project
|
|
47
|
-
},
|
|
48
|
-
queryParams: queryValues
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Get a collection of branch roots -- first-level children, branches with no parents.
|
|
54
|
-
*
|
|
55
|
-
* @param project - Project ID or project name
|
|
56
|
-
* @param includeParent - Return the parent branch, if there is one. Default: False
|
|
57
|
-
* @param includeChildren - Return the child branches for each root branch. Default: False
|
|
58
|
-
* @param includeDeleted - Return deleted branches. Default: False
|
|
59
|
-
* @param includeLinks - Return links. Default: False
|
|
60
|
-
*/
|
|
61
|
-
public async getBranches(
|
|
62
|
-
project?: string,
|
|
63
|
-
includeParent?: boolean,
|
|
64
|
-
includeChildren?: boolean,
|
|
65
|
-
includeDeleted?: boolean,
|
|
66
|
-
includeLinks?: boolean
|
|
67
|
-
): Promise<Tfvc.TfvcBranch[]> {
|
|
68
|
-
|
|
69
|
-
const queryValues: any = {
|
|
70
|
-
includeParent: includeParent,
|
|
71
|
-
includeChildren: includeChildren,
|
|
72
|
-
includeDeleted: includeDeleted,
|
|
73
|
-
includeLinks: includeLinks
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
return this.beginRequest<Tfvc.TfvcBranch[]>({
|
|
77
|
-
apiVersion: "7.2-preview.1",
|
|
78
|
-
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
|
|
79
|
-
routeValues: {
|
|
80
|
-
project: project
|
|
81
|
-
},
|
|
82
|
-
queryParams: queryValues
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Get branch hierarchies below the specified scopePath
|
|
88
|
-
*
|
|
89
|
-
* @param scopePath - Full path to the branch. Default: $/ Examples: $/, $/MyProject, $/MyProject/SomeFolder.
|
|
90
|
-
* @param project - Project ID or project name
|
|
91
|
-
* @param includeDeleted - Return deleted branches. Default: False
|
|
92
|
-
* @param includeLinks - Return links. Default: False
|
|
93
|
-
*/
|
|
94
|
-
public async getBranchRefs(
|
|
95
|
-
scopePath: string,
|
|
96
|
-
project?: string,
|
|
97
|
-
includeDeleted?: boolean,
|
|
98
|
-
includeLinks?: boolean
|
|
99
|
-
): Promise<Tfvc.TfvcBranchRef[]> {
|
|
100
|
-
|
|
101
|
-
const queryValues: any = {
|
|
102
|
-
scopePath: scopePath,
|
|
103
|
-
includeDeleted: includeDeleted,
|
|
104
|
-
includeLinks: includeLinks
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
return this.beginRequest<Tfvc.TfvcBranchRef[]>({
|
|
108
|
-
apiVersion: "7.2-preview.1",
|
|
109
|
-
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
|
|
110
|
-
routeValues: {
|
|
111
|
-
project: project
|
|
112
|
-
},
|
|
113
|
-
queryParams: queryValues
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Retrieve Tfvc changes for a given changeset.
|
|
119
|
-
*
|
|
120
|
-
* @param id - ID of the changeset. Default: null
|
|
121
|
-
* @param skip - Number of results to skip. Default: null
|
|
122
|
-
* @param top - The maximum number of results to return. Default: null
|
|
123
|
-
*/
|
|
124
|
-
public async getChangesetChanges(
|
|
125
|
-
id?: number,
|
|
126
|
-
skip?: number,
|
|
127
|
-
top?: number
|
|
128
|
-
): Promise<WebApi.PagedList<Tfvc.TfvcChange>> {
|
|
129
|
-
|
|
130
|
-
const queryValues: any = {
|
|
131
|
-
'$skip': skip,
|
|
132
|
-
'$top': top
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
return this.beginRequest<Response>({
|
|
136
|
-
apiVersion: "7.2-preview.1",
|
|
137
|
-
routeTemplate: "_apis/tfvc/changesets/{id}/changes",
|
|
138
|
-
routeValues: {
|
|
139
|
-
id: id
|
|
140
|
-
},
|
|
141
|
-
queryParams: queryValues,
|
|
142
|
-
returnRawResponse: true
|
|
143
|
-
}).then(async response => {
|
|
144
|
-
const body = <WebApi.PagedList<Tfvc.TfvcChange>>await response.text().then(deserializeVssJsonObject);
|
|
145
|
-
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
146
|
-
return body;
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Create a new changeset.
|
|
152
|
-
*
|
|
153
|
-
* @param changeset -
|
|
154
|
-
* @param project - Project ID or project name
|
|
155
|
-
*/
|
|
156
|
-
public async createChangeset(
|
|
157
|
-
changeset: Tfvc.TfvcChangeset,
|
|
158
|
-
project?: string
|
|
159
|
-
): Promise<Tfvc.TfvcChangesetRef> {
|
|
160
|
-
|
|
161
|
-
return this.beginRequest<Tfvc.TfvcChangesetRef>({
|
|
162
|
-
apiVersion: "7.2-preview.3",
|
|
163
|
-
method: "POST",
|
|
164
|
-
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
|
|
165
|
-
routeValues: {
|
|
166
|
-
project: project
|
|
167
|
-
},
|
|
168
|
-
body: changeset
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Retrieve a Tfvc Changeset
|
|
174
|
-
*
|
|
175
|
-
* @param id - Changeset Id to retrieve.
|
|
176
|
-
* @param project - Project ID or project name
|
|
177
|
-
* @param maxChangeCount - Number of changes to return (maximum 100 changes) Default: 0
|
|
178
|
-
* @param includeDetails - Include policy details and check-in notes in the response. Default: false
|
|
179
|
-
* @param includeWorkItems - Include workitems. Default: false
|
|
180
|
-
* @param maxCommentLength - Include details about associated work items in the response. Default: null
|
|
181
|
-
* @param includeSourceRename - Include renames. Default: false
|
|
182
|
-
* @param skip - Number of results to skip. Default: null
|
|
183
|
-
* @param top - The maximum number of results to return. Default: null
|
|
184
|
-
* @param orderby - Results are sorted by ID in descending order by default. Use id asc to sort by ID in ascending order.
|
|
185
|
-
* @param searchCriteria - Following criteria available (.itemPath, .version, .versionType, .versionOption, .author, .fromId, .toId, .fromDate, .toDate) Default: null
|
|
186
|
-
*/
|
|
187
|
-
public async getChangeset(
|
|
188
|
-
id: number,
|
|
189
|
-
project?: string,
|
|
190
|
-
maxChangeCount?: number,
|
|
191
|
-
includeDetails?: boolean,
|
|
192
|
-
includeWorkItems?: boolean,
|
|
193
|
-
maxCommentLength?: number,
|
|
194
|
-
includeSourceRename?: boolean,
|
|
195
|
-
skip?: number,
|
|
196
|
-
top?: number,
|
|
197
|
-
orderby?: string,
|
|
198
|
-
searchCriteria?: Tfvc.TfvcChangesetSearchCriteria
|
|
199
|
-
): Promise<Tfvc.TfvcChangeset> {
|
|
200
|
-
|
|
201
|
-
const queryValues: any = {
|
|
202
|
-
maxChangeCount: maxChangeCount,
|
|
203
|
-
includeDetails: includeDetails,
|
|
204
|
-
includeWorkItems: includeWorkItems,
|
|
205
|
-
maxCommentLength: maxCommentLength,
|
|
206
|
-
includeSourceRename: includeSourceRename,
|
|
207
|
-
'$skip': skip,
|
|
208
|
-
'$top': top,
|
|
209
|
-
'$orderby': orderby,
|
|
210
|
-
searchCriteria: searchCriteria
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
return this.beginRequest<Tfvc.TfvcChangeset>({
|
|
214
|
-
apiVersion: "7.2-preview.3",
|
|
215
|
-
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
|
|
216
|
-
routeValues: {
|
|
217
|
-
project: project,
|
|
218
|
-
id: id
|
|
219
|
-
},
|
|
220
|
-
queryParams: queryValues
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Retrieve Tfvc Changesets
|
|
226
|
-
*
|
|
227
|
-
* @param project - Project ID or project name
|
|
228
|
-
* @param maxCommentLength - Include details about associated work items in the response. Default: null
|
|
229
|
-
* @param skip - Number of results to skip. Default: null
|
|
230
|
-
* @param top - The maximum number of results to return. Default: null
|
|
231
|
-
* @param orderby - Results are sorted by ID in descending order by default. Use id asc to sort by ID in ascending order.
|
|
232
|
-
* @param searchCriteria - Following criteria available (.itemPath, .version, .versionType, .versionOption, .author, .fromId, .toId, .fromDate, .toDate) Default: null
|
|
233
|
-
*/
|
|
234
|
-
public async getChangesets(
|
|
235
|
-
project?: string,
|
|
236
|
-
maxCommentLength?: number,
|
|
237
|
-
skip?: number,
|
|
238
|
-
top?: number,
|
|
239
|
-
orderby?: string,
|
|
240
|
-
searchCriteria?: Tfvc.TfvcChangesetSearchCriteria
|
|
241
|
-
): Promise<Tfvc.TfvcChangesetRef[]> {
|
|
242
|
-
|
|
243
|
-
const queryValues: any = {
|
|
244
|
-
maxCommentLength: maxCommentLength,
|
|
245
|
-
'$skip': skip,
|
|
246
|
-
'$top': top,
|
|
247
|
-
'$orderby': orderby,
|
|
248
|
-
searchCriteria: searchCriteria
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
return this.beginRequest<Tfvc.TfvcChangesetRef[]>({
|
|
252
|
-
apiVersion: "7.2-preview.3",
|
|
253
|
-
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
|
|
254
|
-
routeValues: {
|
|
255
|
-
project: project
|
|
256
|
-
},
|
|
257
|
-
queryParams: queryValues
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Returns changesets for a given list of changeset Ids.
|
|
263
|
-
*
|
|
264
|
-
* @param changesetsRequestData - List of changeset IDs.
|
|
265
|
-
*/
|
|
266
|
-
public async getBatchedChangesets(
|
|
267
|
-
changesetsRequestData: Tfvc.TfvcChangesetsRequestData
|
|
268
|
-
): Promise<Tfvc.TfvcChangesetRef[]> {
|
|
269
|
-
|
|
270
|
-
return this.beginRequest<Tfvc.TfvcChangesetRef[]>({
|
|
271
|
-
apiVersion: "7.2-preview.1",
|
|
272
|
-
method: "POST",
|
|
273
|
-
routeTemplate: "_apis/tfvc/ChangesetsBatch",
|
|
274
|
-
body: changesetsRequestData
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Retrieves the work items associated with a particular changeset.
|
|
280
|
-
*
|
|
281
|
-
* @param id - ID of the changeset.
|
|
282
|
-
*/
|
|
283
|
-
public async getChangesetWorkItems(
|
|
284
|
-
id?: number
|
|
285
|
-
): Promise<Tfvc.AssociatedWorkItem[]> {
|
|
286
|
-
|
|
287
|
-
return this.beginRequest<Tfvc.AssociatedWorkItem[]>({
|
|
288
|
-
apiVersion: "7.2-preview.1",
|
|
289
|
-
routeTemplate: "_apis/tfvc/changesets/{id}/workItems",
|
|
290
|
-
routeValues: {
|
|
291
|
-
id: id
|
|
292
|
-
}
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
|
|
298
|
-
*
|
|
299
|
-
* @param itemRequestData -
|
|
300
|
-
* @param project - Project ID or project name
|
|
301
|
-
*/
|
|
302
|
-
public async getItemsBatch(
|
|
303
|
-
itemRequestData: Tfvc.TfvcItemRequestData,
|
|
304
|
-
project?: string
|
|
305
|
-
): Promise<Tfvc.TfvcItem[][]> {
|
|
306
|
-
|
|
307
|
-
return this.beginRequest<Tfvc.TfvcItem[][]>({
|
|
308
|
-
apiVersion: "7.2-preview.1",
|
|
309
|
-
method: "POST",
|
|
310
|
-
routeTemplate: "{project}/_apis/tfvc/ItemBatch",
|
|
311
|
-
routeValues: {
|
|
312
|
-
project: project
|
|
313
|
-
},
|
|
314
|
-
body: itemRequestData
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
|
|
320
|
-
*
|
|
321
|
-
* @param itemRequestData -
|
|
322
|
-
* @param project - Project ID or project name
|
|
323
|
-
*/
|
|
324
|
-
public async getItemsBatchZip(
|
|
325
|
-
itemRequestData: Tfvc.TfvcItemRequestData,
|
|
326
|
-
project?: string
|
|
327
|
-
): Promise<ArrayBuffer> {
|
|
328
|
-
|
|
329
|
-
return this.beginRequest<ArrayBuffer>({
|
|
330
|
-
apiVersion: "7.2-preview.1",
|
|
331
|
-
method: "POST",
|
|
332
|
-
httpResponseType: "application/zip",
|
|
333
|
-
routeTemplate: "{project}/_apis/tfvc/ItemBatch",
|
|
334
|
-
routeValues: {
|
|
335
|
-
project: project
|
|
336
|
-
},
|
|
337
|
-
body: itemRequestData
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
|
|
343
|
-
*
|
|
344
|
-
* @param path - Version control path of an individual item to return.
|
|
345
|
-
* @param project - Project ID or project name
|
|
346
|
-
* @param fileName - file name of item returned.
|
|
347
|
-
* @param download - If true, create a downloadable attachment.
|
|
348
|
-
* @param scopePath - Version control path of a folder to return multiple items.
|
|
349
|
-
* @param recursionLevel - None (just the item), or OneLevel (contents of a folder).
|
|
350
|
-
* @param versionDescriptor - Version descriptor. Default is null.
|
|
351
|
-
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
352
|
-
*/
|
|
353
|
-
public async getItem(
|
|
354
|
-
path: string,
|
|
355
|
-
project?: string,
|
|
356
|
-
fileName?: string,
|
|
357
|
-
download?: boolean,
|
|
358
|
-
scopePath?: string,
|
|
359
|
-
recursionLevel?: Tfvc.VersionControlRecursionType,
|
|
360
|
-
versionDescriptor?: Tfvc.TfvcVersionDescriptor,
|
|
361
|
-
includeContent?: boolean
|
|
362
|
-
): Promise<Tfvc.TfvcItem> {
|
|
363
|
-
|
|
364
|
-
const queryValues: any = {
|
|
365
|
-
path: path,
|
|
366
|
-
fileName: fileName,
|
|
367
|
-
download: download,
|
|
368
|
-
scopePath: scopePath,
|
|
369
|
-
recursionLevel: recursionLevel,
|
|
370
|
-
versionDescriptor: versionDescriptor,
|
|
371
|
-
includeContent: includeContent
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
return this.beginRequest<Tfvc.TfvcItem>({
|
|
375
|
-
apiVersion: "7.2-preview.1",
|
|
376
|
-
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
|
|
377
|
-
routeValues: {
|
|
378
|
-
project: project
|
|
379
|
-
},
|
|
380
|
-
queryParams: queryValues
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
|
|
386
|
-
*
|
|
387
|
-
* @param path - Version control path of an individual item to return.
|
|
388
|
-
* @param project - Project ID or project name
|
|
389
|
-
* @param fileName - file name of item returned.
|
|
390
|
-
* @param download - If true, create a downloadable attachment.
|
|
391
|
-
* @param scopePath - Version control path of a folder to return multiple items.
|
|
392
|
-
* @param recursionLevel - None (just the item), or OneLevel (contents of a folder).
|
|
393
|
-
* @param versionDescriptor - Version descriptor. Default is null.
|
|
394
|
-
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
395
|
-
*/
|
|
396
|
-
public async getItemContent(
|
|
397
|
-
path: string,
|
|
398
|
-
project?: string,
|
|
399
|
-
fileName?: string,
|
|
400
|
-
download?: boolean,
|
|
401
|
-
scopePath?: string,
|
|
402
|
-
recursionLevel?: Tfvc.VersionControlRecursionType,
|
|
403
|
-
versionDescriptor?: Tfvc.TfvcVersionDescriptor,
|
|
404
|
-
includeContent?: boolean
|
|
405
|
-
): Promise<ArrayBuffer> {
|
|
406
|
-
|
|
407
|
-
const queryValues: any = {
|
|
408
|
-
path: path,
|
|
409
|
-
fileName: fileName,
|
|
410
|
-
download: download,
|
|
411
|
-
scopePath: scopePath,
|
|
412
|
-
recursionLevel: recursionLevel,
|
|
413
|
-
versionDescriptor: versionDescriptor,
|
|
414
|
-
includeContent: includeContent
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
return this.beginRequest<ArrayBuffer>({
|
|
418
|
-
apiVersion: "7.2-preview.1",
|
|
419
|
-
httpResponseType: "application/octet-stream",
|
|
420
|
-
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
|
|
421
|
-
routeValues: {
|
|
422
|
-
project: project
|
|
423
|
-
},
|
|
424
|
-
queryParams: queryValues
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Get a list of Tfvc items
|
|
430
|
-
*
|
|
431
|
-
* @param project - Project ID or project name
|
|
432
|
-
* @param scopePath - Version control path of a folder to return multiple items.
|
|
433
|
-
* @param recursionLevel - None (just the item), or OneLevel (contents of a folder).
|
|
434
|
-
* @param includeLinks - True to include links.
|
|
435
|
-
* @param versionDescriptor -
|
|
436
|
-
*/
|
|
437
|
-
public async getItems(
|
|
438
|
-
project?: string,
|
|
439
|
-
scopePath?: string,
|
|
440
|
-
recursionLevel?: Tfvc.VersionControlRecursionType,
|
|
441
|
-
includeLinks?: boolean,
|
|
442
|
-
versionDescriptor?: Tfvc.TfvcVersionDescriptor
|
|
443
|
-
): Promise<Tfvc.TfvcItem[]> {
|
|
444
|
-
|
|
445
|
-
const queryValues: any = {
|
|
446
|
-
scopePath: scopePath,
|
|
447
|
-
recursionLevel: recursionLevel,
|
|
448
|
-
includeLinks: includeLinks,
|
|
449
|
-
versionDescriptor: versionDescriptor
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
return this.beginRequest<Tfvc.TfvcItem[]>({
|
|
453
|
-
apiVersion: "7.2-preview.1",
|
|
454
|
-
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
|
|
455
|
-
routeValues: {
|
|
456
|
-
project: project
|
|
457
|
-
},
|
|
458
|
-
queryParams: queryValues
|
|
459
|
-
});
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
|
|
464
|
-
*
|
|
465
|
-
* @param path - Version control path of an individual item to return.
|
|
466
|
-
* @param project - Project ID or project name
|
|
467
|
-
* @param fileName - file name of item returned.
|
|
468
|
-
* @param download - If true, create a downloadable attachment.
|
|
469
|
-
* @param scopePath - Version control path of a folder to return multiple items.
|
|
470
|
-
* @param recursionLevel - None (just the item), or OneLevel (contents of a folder).
|
|
471
|
-
* @param versionDescriptor - Version descriptor. Default is null.
|
|
472
|
-
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
473
|
-
*/
|
|
474
|
-
public async getItemText(
|
|
475
|
-
path: string,
|
|
476
|
-
project?: string,
|
|
477
|
-
fileName?: string,
|
|
478
|
-
download?: boolean,
|
|
479
|
-
scopePath?: string,
|
|
480
|
-
recursionLevel?: Tfvc.VersionControlRecursionType,
|
|
481
|
-
versionDescriptor?: Tfvc.TfvcVersionDescriptor,
|
|
482
|
-
includeContent?: boolean
|
|
483
|
-
): Promise<string> {
|
|
484
|
-
|
|
485
|
-
const queryValues: any = {
|
|
486
|
-
path: path,
|
|
487
|
-
fileName: fileName,
|
|
488
|
-
download: download,
|
|
489
|
-
scopePath: scopePath,
|
|
490
|
-
recursionLevel: recursionLevel,
|
|
491
|
-
versionDescriptor: versionDescriptor,
|
|
492
|
-
includeContent: includeContent
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
return this.beginRequest<string>({
|
|
496
|
-
apiVersion: "7.2-preview.1",
|
|
497
|
-
httpResponseType: "text/plain",
|
|
498
|
-
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
|
|
499
|
-
routeValues: {
|
|
500
|
-
project: project
|
|
501
|
-
},
|
|
502
|
-
queryParams: queryValues
|
|
503
|
-
});
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
|
|
508
|
-
*
|
|
509
|
-
* @param path - Version control path of an individual item to return.
|
|
510
|
-
* @param project - Project ID or project name
|
|
511
|
-
* @param fileName - file name of item returned.
|
|
512
|
-
* @param download - If true, create a downloadable attachment.
|
|
513
|
-
* @param scopePath - Version control path of a folder to return multiple items.
|
|
514
|
-
* @param recursionLevel - None (just the item), or OneLevel (contents of a folder).
|
|
515
|
-
* @param versionDescriptor - Version descriptor. Default is null.
|
|
516
|
-
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
517
|
-
*/
|
|
518
|
-
public async getItemZip(
|
|
519
|
-
path: string,
|
|
520
|
-
project?: string,
|
|
521
|
-
fileName?: string,
|
|
522
|
-
download?: boolean,
|
|
523
|
-
scopePath?: string,
|
|
524
|
-
recursionLevel?: Tfvc.VersionControlRecursionType,
|
|
525
|
-
versionDescriptor?: Tfvc.TfvcVersionDescriptor,
|
|
526
|
-
includeContent?: boolean
|
|
527
|
-
): Promise<ArrayBuffer> {
|
|
528
|
-
|
|
529
|
-
const queryValues: any = {
|
|
530
|
-
path: path,
|
|
531
|
-
fileName: fileName,
|
|
532
|
-
download: download,
|
|
533
|
-
scopePath: scopePath,
|
|
534
|
-
recursionLevel: recursionLevel,
|
|
535
|
-
versionDescriptor: versionDescriptor,
|
|
536
|
-
includeContent: includeContent
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
return this.beginRequest<ArrayBuffer>({
|
|
540
|
-
apiVersion: "7.2-preview.1",
|
|
541
|
-
httpResponseType: "application/zip",
|
|
542
|
-
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
|
|
543
|
-
routeValues: {
|
|
544
|
-
project: project
|
|
545
|
-
},
|
|
546
|
-
queryParams: queryValues
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* Get items under a label.
|
|
552
|
-
*
|
|
553
|
-
* @param labelId - Unique identifier of label
|
|
554
|
-
* @param top - Max number of items to return
|
|
555
|
-
* @param skip - Number of items to skip
|
|
556
|
-
*/
|
|
557
|
-
public async getLabelItems(
|
|
558
|
-
labelId: string,
|
|
559
|
-
top?: number,
|
|
560
|
-
skip?: number
|
|
561
|
-
): Promise<Tfvc.TfvcItem[]> {
|
|
562
|
-
|
|
563
|
-
const queryValues: any = {
|
|
564
|
-
'$top': top,
|
|
565
|
-
'$skip': skip
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
return this.beginRequest<Tfvc.TfvcItem[]>({
|
|
569
|
-
apiVersion: "7.2-preview.1",
|
|
570
|
-
routeTemplate: "_apis/tfvc/labels/{labelId}/items",
|
|
571
|
-
routeValues: {
|
|
572
|
-
labelId: labelId
|
|
573
|
-
},
|
|
574
|
-
queryParams: queryValues
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* Get a single deep label.
|
|
580
|
-
*
|
|
581
|
-
* @param labelId - Unique identifier of label
|
|
582
|
-
* @param requestData - maxItemCount
|
|
583
|
-
* @param project - Project ID or project name
|
|
584
|
-
*/
|
|
585
|
-
public async getLabel(
|
|
586
|
-
labelId: string,
|
|
587
|
-
requestData: Tfvc.TfvcLabelRequestData,
|
|
588
|
-
project?: string
|
|
589
|
-
): Promise<Tfvc.TfvcLabel> {
|
|
590
|
-
|
|
591
|
-
const queryValues: any = {
|
|
592
|
-
requestData: requestData
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
return this.beginRequest<Tfvc.TfvcLabel>({
|
|
596
|
-
apiVersion: "7.2-preview.1",
|
|
597
|
-
routeTemplate: "{project}/_apis/tfvc/Labels/{labelId}",
|
|
598
|
-
routeValues: {
|
|
599
|
-
project: project,
|
|
600
|
-
labelId: labelId
|
|
601
|
-
},
|
|
602
|
-
queryParams: queryValues
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* Get a collection of shallow label references.
|
|
608
|
-
*
|
|
609
|
-
* @param requestData - labelScope, name, owner, and itemLabelFilter
|
|
610
|
-
* @param project - Project ID or project name
|
|
611
|
-
* @param top - Max number of labels to return, defaults to 100 when undefined
|
|
612
|
-
* @param skip - Number of labels to skip
|
|
613
|
-
*/
|
|
614
|
-
public async getLabels(
|
|
615
|
-
requestData: Tfvc.TfvcLabelRequestData,
|
|
616
|
-
project?: string,
|
|
617
|
-
top?: number,
|
|
618
|
-
skip?: number
|
|
619
|
-
): Promise<Tfvc.TfvcLabelRef[]> {
|
|
620
|
-
|
|
621
|
-
const queryValues: any = {
|
|
622
|
-
requestData: requestData,
|
|
623
|
-
'$top': top,
|
|
624
|
-
'$skip': skip
|
|
625
|
-
};
|
|
626
|
-
|
|
627
|
-
return this.beginRequest<Tfvc.TfvcLabelRef[]>({
|
|
628
|
-
apiVersion: "7.2-preview.1",
|
|
629
|
-
routeTemplate: "{project}/_apis/tfvc/Labels/{labelId}",
|
|
630
|
-
routeValues: {
|
|
631
|
-
project: project
|
|
632
|
-
},
|
|
633
|
-
queryParams: queryValues
|
|
634
|
-
});
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Get changes included in a shelveset.
|
|
639
|
-
*
|
|
640
|
-
* @param shelvesetId - Shelveset's unique ID
|
|
641
|
-
* @param top - Max number of changes to return
|
|
642
|
-
* @param skip - Number of changes to skip
|
|
643
|
-
*/
|
|
644
|
-
public async getShelvesetChanges(
|
|
645
|
-
shelvesetId: string,
|
|
646
|
-
top?: number,
|
|
647
|
-
skip?: number
|
|
648
|
-
): Promise<Tfvc.TfvcChange[]> {
|
|
649
|
-
|
|
650
|
-
const queryValues: any = {
|
|
651
|
-
shelvesetId: shelvesetId,
|
|
652
|
-
'$top': top,
|
|
653
|
-
'$skip': skip
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
return this.beginRequest<Tfvc.TfvcChange[]>({
|
|
657
|
-
apiVersion: "7.2-preview.1",
|
|
658
|
-
routeTemplate: "_apis/tfvc/shelvesets/changes",
|
|
659
|
-
queryParams: queryValues
|
|
660
|
-
});
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Get a single deep shelveset.
|
|
665
|
-
*
|
|
666
|
-
* @param shelvesetId - Shelveset's unique ID
|
|
667
|
-
* @param requestData - includeDetails, includeWorkItems, maxChangeCount, and maxCommentLength
|
|
668
|
-
*/
|
|
669
|
-
public async getShelveset(
|
|
670
|
-
shelvesetId: string,
|
|
671
|
-
requestData?: Tfvc.TfvcShelvesetRequestData
|
|
672
|
-
): Promise<Tfvc.TfvcShelveset> {
|
|
673
|
-
|
|
674
|
-
const queryValues: any = {
|
|
675
|
-
shelvesetId: shelvesetId,
|
|
676
|
-
requestData: requestData
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
return this.beginRequest<Tfvc.TfvcShelveset>({
|
|
680
|
-
apiVersion: "7.2-preview.1",
|
|
681
|
-
routeTemplate: "_apis/tfvc/shelvesets",
|
|
682
|
-
queryParams: queryValues
|
|
683
|
-
});
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Return a collection of shallow shelveset references.
|
|
688
|
-
*
|
|
689
|
-
* @param requestData - name, owner, and maxCommentLength
|
|
690
|
-
* @param top - Max number of shelvesets to return
|
|
691
|
-
* @param skip - Number of shelvesets to skip
|
|
692
|
-
*/
|
|
693
|
-
public async getShelvesets(
|
|
694
|
-
requestData?: Tfvc.TfvcShelvesetRequestData,
|
|
695
|
-
top?: number,
|
|
696
|
-
skip?: number
|
|
697
|
-
): Promise<Tfvc.TfvcShelvesetRef[]> {
|
|
698
|
-
|
|
699
|
-
const queryValues: any = {
|
|
700
|
-
requestData: requestData,
|
|
701
|
-
'$top': top,
|
|
702
|
-
'$skip': skip
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
return this.beginRequest<Tfvc.TfvcShelvesetRef[]>({
|
|
706
|
-
apiVersion: "7.2-preview.1",
|
|
707
|
-
routeTemplate: "_apis/tfvc/shelvesets",
|
|
708
|
-
queryParams: queryValues
|
|
709
|
-
});
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Get work items associated with a shelveset.
|
|
714
|
-
*
|
|
715
|
-
* @param shelvesetId - Shelveset's unique ID
|
|
716
|
-
*/
|
|
717
|
-
public async getShelvesetWorkItems(
|
|
718
|
-
shelvesetId: string
|
|
719
|
-
): Promise<Tfvc.AssociatedWorkItem[]> {
|
|
720
|
-
|
|
721
|
-
const queryValues: any = {
|
|
722
|
-
shelvesetId: shelvesetId
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
return this.beginRequest<Tfvc.AssociatedWorkItem[]>({
|
|
726
|
-
apiVersion: "7.2-preview.1",
|
|
727
|
-
routeTemplate: "_apis/tfvc/shelvesets/workitems",
|
|
728
|
-
queryParams: queryValues
|
|
729
|
-
});
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.
|
|
734
|
-
*
|
|
735
|
-
* @param project - Project ID or project name
|
|
736
|
-
* @param scopePath - '$/' for collection, '$/project' for specific project
|
|
737
|
-
*/
|
|
738
|
-
public async getTfvcStatistics(
|
|
739
|
-
project?: string,
|
|
740
|
-
scopePath?: string
|
|
741
|
-
): Promise<Tfvc.TfvcStatistics> {
|
|
742
|
-
|
|
743
|
-
const queryValues: any = {
|
|
744
|
-
scopePath: scopePath
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
return this.beginRequest<Tfvc.TfvcStatistics>({
|
|
748
|
-
apiVersion: "7.2-preview.1",
|
|
749
|
-
routeTemplate: "{project}/_apis/tfvc/stats",
|
|
750
|
-
routeValues: {
|
|
751
|
-
project: project
|
|
752
|
-
},
|
|
753
|
-
queryParams: queryValues
|
|
754
|
-
});
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
}
|