azure-devops-extension-api 4.246.0 → 4.247.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/SECURITY.md +41 -0
- package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/Reporting.d.ts +48 -0
- package/bin/AdvancedSecurity.Reporting/Reporting.js +32 -0
- package/bin/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
- package/{Alert → bin/Alert}/Alert.d.ts +8 -8
- package/{Contributions → bin/Contributions}/ContributionsClient.js +2 -2
- package/{Contributions → bin/Contributions}/ContributionsClient.min.js +1 -1
- package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.js +7 -7
- package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.min.js +1 -1
- package/bin/LICENSE +21 -0
- package/bin/README.md +2 -0
- package/{TaskAgent → bin/TaskAgent}/TaskAgent.d.ts +8 -0
- package/{Test → bin/Test}/Test.d.ts +31 -7
- package/{TestPlan → bin/TestPlan}/TestPlan.d.ts +6 -2
- package/{TestResults → bin/TestResults}/TestResultsClient.d.ts +8 -0
- package/{TestResults → bin/TestResults}/TestResultsClient.js +23 -0
- package/{TestResults → bin/TestResults}/TestResultsClient.min.js +1 -1
- package/bin/package.json +37 -0
- package/buildpackage.js +80 -0
- package/package.json +1 -1
- package/src/Accounts/Accounts.ts +134 -0
- package/src/Accounts/AccountsClient.ts +83 -0
- package/src/Accounts/index.ts +2 -0
- package/src/AdvancedSecurity.Reporting/Reporting.ts +180 -0
- package/src/AdvancedSecurity.Reporting/ReportingClient.ts +47 -0
- package/src/Alert/Alert.ts +1037 -0
- package/src/Alert/AlertClient.ts +330 -0
- package/src/Boards/Boards.ts +684 -0
- package/src/Boards/BoardsClient.ts +593 -0
- package/src/Boards/index.ts +2 -0
- package/src/Build/Build.ts +3416 -0
- package/src/Build/BuildClient.ts +2740 -0
- package/src/Build/BuildServices.ts +39 -0
- package/src/Build/index.ts +3 -0
- package/src/Comments/Comments.ts +330 -0
- package/src/Comments/index.ts +1 -0
- package/src/Common/Client.ts +37 -0
- package/src/Common/CommonServices.ts +853 -0
- package/src/Common/Context.d.ts +46 -0
- package/src/Common/Fetch.ts +239 -0
- package/src/Common/RestClientBase.ts +186 -0
- package/src/Common/System.ts +36 -0
- package/src/Common/SystemData.ts +135 -0
- package/src/Common/Util/Serialization.ts +59 -0
- package/src/Common/Util/Url.ts +773 -0
- package/src/Common/index.ts +3 -0
- package/src/Contributions/Contributions.ts +708 -0
- package/src/Contributions/ContributionsClient.ts +109 -0
- package/src/Contributions/index.ts +2 -0
- package/src/Core/Core.ts +579 -0
- package/src/Core/CoreClient.ts +765 -0
- package/src/Core/index.ts +2 -0
- package/src/Dashboard/Dashboard.ts +419 -0
- package/src/Dashboard/DashboardClient.ts +370 -0
- package/src/Dashboard/WidgetConfigHelpers.ts +43 -0
- package/src/Dashboard/WidgetContracts.ts +226 -0
- package/src/Dashboard/WidgetHelpers.ts +145 -0
- package/src/Dashboard/index.ts +5 -0
- package/src/DistributedTaskCommon/DistributedTaskCommon.ts +108 -0
- package/src/DistributedTaskCommon/index.ts +1 -0
- package/src/ExtensionManagement/ExtensionManagement.ts +1205 -0
- package/src/ExtensionManagement/ExtensionManagementClient.ts +646 -0
- package/src/ExtensionManagement/index.ts +2 -0
- package/src/Favorite/Favorite.ts +136 -0
- package/src/Favorite/FavoriteClient.ts +301 -0
- package/src/FeatureAvailability/FeatureAvailability.ts +20 -0
- package/src/FeatureAvailability/FeatureAvailabilityClient.ts +153 -0
- package/src/FeatureAvailability/index.ts +2 -0
- package/src/FeatureManagement/FeatureManagement.ts +166 -0
- package/src/FeatureManagement/FeatureManagementClient.ts +246 -0
- package/src/FeatureManagement/index.ts +2 -0
- package/src/FileContainer/FileContainer.ts +205 -0
- package/src/FileContainer/FileContainerClient.ts +154 -0
- package/src/FileContainer/index.ts +2 -0
- package/src/FormInput/FormInput.ts +288 -0
- package/src/FormInput/index.ts +1 -0
- package/src/Gallery/Gallery.ts +1977 -0
- package/src/Gallery/GalleryClient.ts +2251 -0
- package/src/Gallery/index.ts +2 -0
- package/src/Git/CodeEditorTypes.ts +335 -0
- package/src/Git/Git.ts +4058 -0
- package/src/Git/GitClient.ts +4750 -0
- package/src/Git/GitServices.ts +18 -0
- package/src/Git/index.ts +4 -0
- package/src/Graph/Graph.ts +572 -0
- package/src/Graph/GraphClient.ts +846 -0
- package/src/Graph/index.ts +2 -0
- package/src/Identities/Identities.ts +261 -0
- package/src/Identities/IdentityProvider.ts +90 -0
- package/src/Identities/IdentityService.ts +89 -0
- package/src/Identities/index.ts +3 -0
- package/src/Locations/Locations.ts +165 -0
- package/src/Locations/LocationsClient.ts +220 -0
- package/src/Locations/index.ts +2 -0
- package/src/Management/Management.ts +172 -0
- package/src/Management/ManagementClient.ts +348 -0
- package/src/Notification/Notification.ts +1460 -0
- package/src/Notification/NotificationClient.ts +477 -0
- package/src/Notification/index.ts +2 -0
- package/src/Operations/Operations.ts +86 -0
- package/src/Operations/OperationsClient.ts +42 -0
- package/src/Operations/index.ts +2 -0
- package/src/Pipelines/Pipelines.ts +354 -0
- package/src/Pipelines/PipelinesClient.ts +306 -0
- package/src/Policy/Policy.ts +173 -0
- package/src/Policy/PolicyClient.ts +315 -0
- package/src/Policy/index.ts +2 -0
- package/src/Profile/Profile.ts +187 -0
- package/src/Profile/ProfileClient.ts +328 -0
- package/src/Profile/index.ts +2 -0
- package/src/ProjectAnalysis/ProjectAnalysis.ts +74 -0
- package/src/ProjectAnalysis/ProjectAnalysisClient.ts +124 -0
- package/src/ProjectAnalysis/index.ts +2 -0
- package/src/Release/Release.ts +4237 -0
- package/src/Release/ReleaseClient.ts +2450 -0
- package/src/Release/index.ts +2 -0
- package/src/ResourceUsage/ResourceUsage.ts +19 -0
- package/src/ResourceUsage/ResourceUsageClient.ts +48 -0
- package/src/ServiceEndpoint/ServiceEndpoint.ts +930 -0
- package/src/ServiceEndpoint/ServiceEndpointClient.ts +617 -0
- package/src/ServiceEndpoint/index.ts +2 -0
- package/src/ServiceHooks/ServiceHooks.ts +759 -0
- package/src/ServiceHooks/ServiceHooksClient.ts +499 -0
- package/src/ServiceHooks/index.ts +2 -0
- package/src/TaskAgent/TaskAgent.ts +3896 -0
- package/src/TaskAgent/TaskAgentClient.ts +3918 -0
- package/src/TaskAgent/index.ts +2 -0
- package/src/Test/Test.ts +5853 -0
- package/src/Test/TestClient.ts +2201 -0
- package/src/Test/index.ts +2 -0
- package/src/TestPlan/TestPlan.ts +1384 -0
- package/src/TestPlan/TestPlanClient.ts +1367 -0
- package/src/TestPlan/index.ts +2 -0
- package/{AdvancedSecurity.Reporting/Reporting.js → src/TestResults/TestResults.ts} +7 -5
- package/src/TestResults/TestResultsClient.ts +3450 -0
- package/src/TestResults/index.ts +2 -0
- package/src/Tfvc/Tfvc.ts +770 -0
- package/src/Tfvc/TfvcClient.ts +757 -0
- package/src/Tfvc/index.ts +2 -0
- package/src/WebApi/WebApi.ts +452 -0
- package/src/WebApi/index.ts +1 -0
- package/src/Wiki/Wiki.ts +352 -0
- package/src/Wiki/WikiClient.ts +712 -0
- package/src/Wiki/index.ts +2 -0
- package/src/Work/Work.ts +1367 -0
- package/src/Work/WorkClient.ts +1489 -0
- package/src/Work/index.ts +2 -0
- package/src/WorkItemTracking/WorkItemTracking.ts +2215 -0
- package/src/WorkItemTracking/WorkItemTrackingClient.ts +2032 -0
- package/src/WorkItemTracking/WorkItemTrackingServices.ts +329 -0
- package/src/WorkItemTracking/index.ts +3 -0
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +1295 -0
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +1455 -0
- package/src/WorkItemTrackingProcess/index.ts +2 -0
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +606 -0
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +1175 -0
- package/src/WorkItemTrackingProcessDefinitions/index.ts +2 -0
- package/src/index.ts +1 -0
- package/tsconfig.json +21 -0
- package/AdvancedSecurity.Reporting/Reporting.min.js +0 -1
- /package/{Accounts → bin/Accounts}/Accounts.d.ts +0 -0
- /package/{Accounts → bin/Accounts}/Accounts.js +0 -0
- /package/{Accounts → bin/Accounts}/Accounts.min.js +0 -0
- /package/{Accounts → bin/Accounts}/AccountsClient.d.ts +0 -0
- /package/{Accounts → bin/Accounts}/AccountsClient.js +0 -0
- /package/{Accounts → bin/Accounts}/AccountsClient.min.js +0 -0
- /package/{Accounts → bin/Accounts}/index.d.ts +0 -0
- /package/{Accounts → bin/Accounts}/index.js +0 -0
- /package/{Accounts → bin/Accounts}/index.min.js +0 -0
- /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
- /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
- /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
- /package/{Alert → bin/Alert}/Alert.js +0 -0
- /package/{Alert → bin/Alert}/Alert.min.js +0 -0
- /package/{Alert → bin/Alert}/AlertClient.d.ts +0 -0
- /package/{Alert → bin/Alert}/AlertClient.js +0 -0
- /package/{Alert → bin/Alert}/AlertClient.min.js +0 -0
- /package/{Boards → bin/Boards}/Boards.d.ts +0 -0
- /package/{Boards → bin/Boards}/Boards.js +0 -0
- /package/{Boards → bin/Boards}/Boards.min.js +0 -0
- /package/{Boards → bin/Boards}/BoardsClient.d.ts +0 -0
- /package/{Boards → bin/Boards}/BoardsClient.js +0 -0
- /package/{Boards → bin/Boards}/BoardsClient.min.js +0 -0
- /package/{Boards → bin/Boards}/index.d.ts +0 -0
- /package/{Boards → bin/Boards}/index.js +0 -0
- /package/{Boards → bin/Boards}/index.min.js +0 -0
- /package/{Build → bin/Build}/Build.d.ts +0 -0
- /package/{Build → bin/Build}/Build.js +0 -0
- /package/{Build → bin/Build}/Build.min.js +0 -0
- /package/{Build → bin/Build}/BuildClient.d.ts +0 -0
- /package/{Build → bin/Build}/BuildClient.js +0 -0
- /package/{Build → bin/Build}/BuildClient.min.js +0 -0
- /package/{Build → bin/Build}/BuildServices.d.ts +0 -0
- /package/{Build → bin/Build}/BuildServices.js +0 -0
- /package/{Build → bin/Build}/BuildServices.min.js +0 -0
- /package/{Build → bin/Build}/index.d.ts +0 -0
- /package/{Build → bin/Build}/index.js +0 -0
- /package/{Build → bin/Build}/index.min.js +0 -0
- /package/{Comments → bin/Comments}/Comments.d.ts +0 -0
- /package/{Comments → bin/Comments}/Comments.js +0 -0
- /package/{Comments → bin/Comments}/Comments.min.js +0 -0
- /package/{Comments → bin/Comments}/index.d.ts +0 -0
- /package/{Comments → bin/Comments}/index.js +0 -0
- /package/{Comments → bin/Comments}/index.min.js +0 -0
- /package/{Common → bin/Common}/Client.d.ts +0 -0
- /package/{Common → bin/Common}/Client.js +0 -0
- /package/{Common → bin/Common}/Client.min.js +0 -0
- /package/{Common → bin/Common}/CommonServices.d.ts +0 -0
- /package/{Common → bin/Common}/CommonServices.js +0 -0
- /package/{Common → bin/Common}/CommonServices.min.js +0 -0
- /package/{Common → bin/Common}/Context.d.ts +0 -0
- /package/{Common → bin/Common}/Fetch.d.ts +0 -0
- /package/{Common → bin/Common}/Fetch.js +0 -0
- /package/{Common → bin/Common}/Fetch.min.js +0 -0
- /package/{Common → bin/Common}/RestClientBase.d.ts +0 -0
- /package/{Common → bin/Common}/RestClientBase.js +0 -0
- /package/{Common → bin/Common}/RestClientBase.min.js +0 -0
- /package/{Common → bin/Common}/System.d.ts +0 -0
- /package/{Common → bin/Common}/System.js +0 -0
- /package/{Common → bin/Common}/System.min.js +0 -0
- /package/{Common → bin/Common}/SystemData.d.ts +0 -0
- /package/{Common → bin/Common}/SystemData.js +0 -0
- /package/{Common → bin/Common}/SystemData.min.js +0 -0
- /package/{Common → bin/Common}/Util/Serialization.d.ts +0 -0
- /package/{Common → bin/Common}/Util/Serialization.js +0 -0
- /package/{Common → bin/Common}/Util/Serialization.min.js +0 -0
- /package/{Common → bin/Common}/Util/Url.d.ts +0 -0
- /package/{Common → bin/Common}/Util/Url.js +0 -0
- /package/{Common → bin/Common}/Util/Url.min.js +0 -0
- /package/{Common → bin/Common}/index.d.ts +0 -0
- /package/{Common → bin/Common}/index.js +0 -0
- /package/{Common → bin/Common}/index.min.js +0 -0
- /package/{Contributions → bin/Contributions}/Contributions.d.ts +0 -0
- /package/{Contributions → bin/Contributions}/Contributions.js +0 -0
- /package/{Contributions → bin/Contributions}/Contributions.min.js +0 -0
- /package/{Contributions → bin/Contributions}/ContributionsClient.d.ts +0 -0
- /package/{Contributions → bin/Contributions}/index.d.ts +0 -0
- /package/{Contributions → bin/Contributions}/index.js +0 -0
- /package/{Contributions → bin/Contributions}/index.min.js +0 -0
- /package/{Core → bin/Core}/Core.d.ts +0 -0
- /package/{Core → bin/Core}/Core.js +0 -0
- /package/{Core → bin/Core}/Core.min.js +0 -0
- /package/{Core → bin/Core}/CoreClient.d.ts +0 -0
- /package/{Core → bin/Core}/CoreClient.js +0 -0
- /package/{Core → bin/Core}/CoreClient.min.js +0 -0
- /package/{Core → bin/Core}/index.d.ts +0 -0
- /package/{Core → bin/Core}/index.js +0 -0
- /package/{Core → bin/Core}/index.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/Dashboard.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/Dashboard.js +0 -0
- /package/{Dashboard → bin/Dashboard}/Dashboard.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/DashboardClient.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/DashboardClient.js +0 -0
- /package/{Dashboard → bin/Dashboard}/DashboardClient.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetContracts.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetContracts.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetContracts.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetHelpers.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetHelpers.js +0 -0
- /package/{Dashboard → bin/Dashboard}/WidgetHelpers.min.js +0 -0
- /package/{Dashboard → bin/Dashboard}/index.d.ts +0 -0
- /package/{Dashboard → bin/Dashboard}/index.js +0 -0
- /package/{Dashboard → bin/Dashboard}/index.min.js +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.d.ts +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.js +0 -0
- /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.min.js +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.d.ts +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.js +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.min.js +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/index.d.ts +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/index.js +0 -0
- /package/{ExtensionManagement → bin/ExtensionManagement}/index.min.js +0 -0
- /package/{Favorite → bin/Favorite}/Favorite.d.ts +0 -0
- /package/{Favorite → bin/Favorite}/Favorite.js +0 -0
- /package/{Favorite → bin/Favorite}/Favorite.min.js +0 -0
- /package/{Favorite → bin/Favorite}/FavoriteClient.d.ts +0 -0
- /package/{Favorite → bin/Favorite}/FavoriteClient.js +0 -0
- /package/{Favorite → bin/Favorite}/FavoriteClient.min.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.d.ts +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.min.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/index.d.ts +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/index.js +0 -0
- /package/{FeatureAvailability → bin/FeatureAvailability}/index.min.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.d.ts +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.min.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.d.ts +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.min.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/index.d.ts +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/index.js +0 -0
- /package/{FeatureManagement → bin/FeatureManagement}/index.min.js +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainer.d.ts +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainer.js +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainer.min.js +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainerClient.d.ts +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainerClient.js +0 -0
- /package/{FileContainer → bin/FileContainer}/FileContainerClient.min.js +0 -0
- /package/{FileContainer → bin/FileContainer}/index.d.ts +0 -0
- /package/{FileContainer → bin/FileContainer}/index.js +0 -0
- /package/{FileContainer → bin/FileContainer}/index.min.js +0 -0
- /package/{FormInput → bin/FormInput}/FormInput.d.ts +0 -0
- /package/{FormInput → bin/FormInput}/FormInput.js +0 -0
- /package/{FormInput → bin/FormInput}/FormInput.min.js +0 -0
- /package/{FormInput → bin/FormInput}/index.d.ts +0 -0
- /package/{FormInput → bin/FormInput}/index.js +0 -0
- /package/{FormInput → bin/FormInput}/index.min.js +0 -0
- /package/{Gallery → bin/Gallery}/Gallery.d.ts +0 -0
- /package/{Gallery → bin/Gallery}/Gallery.js +0 -0
- /package/{Gallery → bin/Gallery}/Gallery.min.js +0 -0
- /package/{Gallery → bin/Gallery}/GalleryClient.d.ts +0 -0
- /package/{Gallery → bin/Gallery}/GalleryClient.js +0 -0
- /package/{Gallery → bin/Gallery}/GalleryClient.min.js +0 -0
- /package/{Gallery → bin/Gallery}/index.d.ts +0 -0
- /package/{Gallery → bin/Gallery}/index.js +0 -0
- /package/{Gallery → bin/Gallery}/index.min.js +0 -0
- /package/{Git → bin/Git}/CodeEditorTypes.d.ts +0 -0
- /package/{Git → bin/Git}/CodeEditorTypes.js +0 -0
- /package/{Git → bin/Git}/CodeEditorTypes.min.js +0 -0
- /package/{Git → bin/Git}/Git.d.ts +0 -0
- /package/{Git → bin/Git}/Git.js +0 -0
- /package/{Git → bin/Git}/Git.min.js +0 -0
- /package/{Git → bin/Git}/GitClient.d.ts +0 -0
- /package/{Git → bin/Git}/GitClient.js +0 -0
- /package/{Git → bin/Git}/GitClient.min.js +0 -0
- /package/{Git → bin/Git}/GitServices.d.ts +0 -0
- /package/{Git → bin/Git}/GitServices.js +0 -0
- /package/{Git → bin/Git}/GitServices.min.js +0 -0
- /package/{Git → bin/Git}/index.d.ts +0 -0
- /package/{Git → bin/Git}/index.js +0 -0
- /package/{Git → bin/Git}/index.min.js +0 -0
- /package/{Graph → bin/Graph}/Graph.d.ts +0 -0
- /package/{Graph → bin/Graph}/Graph.js +0 -0
- /package/{Graph → bin/Graph}/Graph.min.js +0 -0
- /package/{Graph → bin/Graph}/GraphClient.d.ts +0 -0
- /package/{Graph → bin/Graph}/GraphClient.js +0 -0
- /package/{Graph → bin/Graph}/GraphClient.min.js +0 -0
- /package/{Graph → bin/Graph}/index.d.ts +0 -0
- /package/{Graph → bin/Graph}/index.js +0 -0
- /package/{Graph → bin/Graph}/index.min.js +0 -0
- /package/{Identities → bin/Identities}/Identities.d.ts +0 -0
- /package/{Identities → bin/Identities}/Identities.js +0 -0
- /package/{Identities → bin/Identities}/Identities.min.js +0 -0
- /package/{Identities → bin/Identities}/IdentityProvider.d.ts +0 -0
- /package/{Identities → bin/Identities}/IdentityProvider.js +0 -0
- /package/{Identities → bin/Identities}/IdentityProvider.min.js +0 -0
- /package/{Identities → bin/Identities}/IdentityService.d.ts +0 -0
- /package/{Identities → bin/Identities}/IdentityService.js +0 -0
- /package/{Identities → bin/Identities}/IdentityService.min.js +0 -0
- /package/{Identities → bin/Identities}/index.d.ts +0 -0
- /package/{Identities → bin/Identities}/index.js +0 -0
- /package/{Identities → bin/Identities}/index.min.js +0 -0
- /package/{Locations → bin/Locations}/Locations.d.ts +0 -0
- /package/{Locations → bin/Locations}/Locations.js +0 -0
- /package/{Locations → bin/Locations}/Locations.min.js +0 -0
- /package/{Locations → bin/Locations}/LocationsClient.d.ts +0 -0
- /package/{Locations → bin/Locations}/LocationsClient.js +0 -0
- /package/{Locations → bin/Locations}/LocationsClient.min.js +0 -0
- /package/{Locations → bin/Locations}/index.d.ts +0 -0
- /package/{Locations → bin/Locations}/index.js +0 -0
- /package/{Locations → bin/Locations}/index.min.js +0 -0
- /package/{Management → bin/Management}/Management.d.ts +0 -0
- /package/{Management → bin/Management}/Management.js +0 -0
- /package/{Management → bin/Management}/Management.min.js +0 -0
- /package/{Management → bin/Management}/ManagementClient.d.ts +0 -0
- /package/{Management → bin/Management}/ManagementClient.js +0 -0
- /package/{Management → bin/Management}/ManagementClient.min.js +0 -0
- /package/{Notification → bin/Notification}/Notification.d.ts +0 -0
- /package/{Notification → bin/Notification}/Notification.js +0 -0
- /package/{Notification → bin/Notification}/Notification.min.js +0 -0
- /package/{Notification → bin/Notification}/NotificationClient.d.ts +0 -0
- /package/{Notification → bin/Notification}/NotificationClient.js +0 -0
- /package/{Notification → bin/Notification}/NotificationClient.min.js +0 -0
- /package/{Notification → bin/Notification}/index.d.ts +0 -0
- /package/{Notification → bin/Notification}/index.js +0 -0
- /package/{Notification → bin/Notification}/index.min.js +0 -0
- /package/{Operations → bin/Operations}/Operations.d.ts +0 -0
- /package/{Operations → bin/Operations}/Operations.js +0 -0
- /package/{Operations → bin/Operations}/Operations.min.js +0 -0
- /package/{Operations → bin/Operations}/OperationsClient.d.ts +0 -0
- /package/{Operations → bin/Operations}/OperationsClient.js +0 -0
- /package/{Operations → bin/Operations}/OperationsClient.min.js +0 -0
- /package/{Operations → bin/Operations}/index.d.ts +0 -0
- /package/{Operations → bin/Operations}/index.js +0 -0
- /package/{Operations → bin/Operations}/index.min.js +0 -0
- /package/{Pipelines → bin/Pipelines}/Pipelines.d.ts +0 -0
- /package/{Pipelines → bin/Pipelines}/Pipelines.js +0 -0
- /package/{Pipelines → bin/Pipelines}/Pipelines.min.js +0 -0
- /package/{Pipelines → bin/Pipelines}/PipelinesClient.d.ts +0 -0
- /package/{Pipelines → bin/Pipelines}/PipelinesClient.js +0 -0
- /package/{Pipelines → bin/Pipelines}/PipelinesClient.min.js +0 -0
- /package/{Policy → bin/Policy}/Policy.d.ts +0 -0
- /package/{Policy → bin/Policy}/Policy.js +0 -0
- /package/{Policy → bin/Policy}/Policy.min.js +0 -0
- /package/{Policy → bin/Policy}/PolicyClient.d.ts +0 -0
- /package/{Policy → bin/Policy}/PolicyClient.js +0 -0
- /package/{Policy → bin/Policy}/PolicyClient.min.js +0 -0
- /package/{Policy → bin/Policy}/index.d.ts +0 -0
- /package/{Policy → bin/Policy}/index.js +0 -0
- /package/{Policy → bin/Policy}/index.min.js +0 -0
- /package/{Profile → bin/Profile}/Profile.d.ts +0 -0
- /package/{Profile → bin/Profile}/Profile.js +0 -0
- /package/{Profile → bin/Profile}/Profile.min.js +0 -0
- /package/{Profile → bin/Profile}/ProfileClient.d.ts +0 -0
- /package/{Profile → bin/Profile}/ProfileClient.js +0 -0
- /package/{Profile → bin/Profile}/ProfileClient.min.js +0 -0
- /package/{Profile → bin/Profile}/index.d.ts +0 -0
- /package/{Profile → bin/Profile}/index.js +0 -0
- /package/{Profile → bin/Profile}/index.min.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.d.ts +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.js +0 -0
- /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.min.js +0 -0
- /package/{Release → bin/Release}/Release.d.ts +0 -0
- /package/{Release → bin/Release}/Release.js +0 -0
- /package/{Release → bin/Release}/Release.min.js +0 -0
- /package/{Release → bin/Release}/ReleaseClient.d.ts +0 -0
- /package/{Release → bin/Release}/ReleaseClient.js +0 -0
- /package/{Release → bin/Release}/ReleaseClient.min.js +0 -0
- /package/{Release → bin/Release}/index.d.ts +0 -0
- /package/{Release → bin/Release}/index.js +0 -0
- /package/{Release → bin/Release}/index.min.js +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.d.ts +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.js +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.min.js +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.d.ts +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.js +0 -0
- /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.min.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.d.ts +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.d.ts +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.min.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.d.ts +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.js +0 -0
- /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.min.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.d.ts +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.min.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.d.ts +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.min.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/index.d.ts +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/index.js +0 -0
- /package/{ServiceHooks → bin/ServiceHooks}/index.min.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/TaskAgent.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/TaskAgent.min.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.d.ts +0 -0
- /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.min.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/index.d.ts +0 -0
- /package/{TaskAgent → bin/TaskAgent}/index.js +0 -0
- /package/{TaskAgent → bin/TaskAgent}/index.min.js +0 -0
- /package/{Test → bin/Test}/Test.js +0 -0
- /package/{Test → bin/Test}/Test.min.js +0 -0
- /package/{Test → bin/Test}/TestClient.d.ts +0 -0
- /package/{Test → bin/Test}/TestClient.js +0 -0
- /package/{Test → bin/Test}/TestClient.min.js +0 -0
- /package/{Test → bin/Test}/index.d.ts +0 -0
- /package/{Test → bin/Test}/index.js +0 -0
- /package/{Test → bin/Test}/index.min.js +0 -0
- /package/{TestPlan → bin/TestPlan}/TestPlan.js +0 -0
- /package/{TestPlan → bin/TestPlan}/TestPlan.min.js +0 -0
- /package/{TestPlan → bin/TestPlan}/TestPlanClient.d.ts +0 -0
- /package/{TestPlan → bin/TestPlan}/TestPlanClient.js +0 -0
- /package/{TestPlan → bin/TestPlan}/TestPlanClient.min.js +0 -0
- /package/{TestPlan → bin/TestPlan}/index.d.ts +0 -0
- /package/{TestPlan → bin/TestPlan}/index.js +0 -0
- /package/{TestPlan → bin/TestPlan}/index.min.js +0 -0
- /package/{TestResults → bin/TestResults}/TestResults.d.ts +0 -0
- /package/{TestResults → bin/TestResults}/TestResults.js +0 -0
- /package/{TestResults → bin/TestResults}/TestResults.min.js +0 -0
- /package/{TestResults → bin/TestResults}/index.d.ts +0 -0
- /package/{TestResults → bin/TestResults}/index.js +0 -0
- /package/{TestResults → bin/TestResults}/index.min.js +0 -0
- /package/{Tfvc → bin/Tfvc}/Tfvc.d.ts +0 -0
- /package/{Tfvc → bin/Tfvc}/Tfvc.js +0 -0
- /package/{Tfvc → bin/Tfvc}/Tfvc.min.js +0 -0
- /package/{Tfvc → bin/Tfvc}/TfvcClient.d.ts +0 -0
- /package/{Tfvc → bin/Tfvc}/TfvcClient.js +0 -0
- /package/{Tfvc → bin/Tfvc}/TfvcClient.min.js +0 -0
- /package/{Tfvc → bin/Tfvc}/index.d.ts +0 -0
- /package/{Tfvc → bin/Tfvc}/index.js +0 -0
- /package/{Tfvc → bin/Tfvc}/index.min.js +0 -0
- /package/{WebApi → bin/WebApi}/WebApi.d.ts +0 -0
- /package/{WebApi → bin/WebApi}/WebApi.js +0 -0
- /package/{WebApi → bin/WebApi}/WebApi.min.js +0 -0
- /package/{WebApi → bin/WebApi}/index.d.ts +0 -0
- /package/{WebApi → bin/WebApi}/index.js +0 -0
- /package/{WebApi → bin/WebApi}/index.min.js +0 -0
- /package/{Wiki → bin/Wiki}/Wiki.d.ts +0 -0
- /package/{Wiki → bin/Wiki}/Wiki.js +0 -0
- /package/{Wiki → bin/Wiki}/Wiki.min.js +0 -0
- /package/{Wiki → bin/Wiki}/WikiClient.d.ts +0 -0
- /package/{Wiki → bin/Wiki}/WikiClient.js +0 -0
- /package/{Wiki → bin/Wiki}/WikiClient.min.js +0 -0
- /package/{Wiki → bin/Wiki}/index.d.ts +0 -0
- /package/{Wiki → bin/Wiki}/index.js +0 -0
- /package/{Wiki → bin/Wiki}/index.min.js +0 -0
- /package/{Work → bin/Work}/Work.d.ts +0 -0
- /package/{Work → bin/Work}/Work.js +0 -0
- /package/{Work → bin/Work}/Work.min.js +0 -0
- /package/{Work → bin/Work}/WorkClient.d.ts +0 -0
- /package/{Work → bin/Work}/WorkClient.js +0 -0
- /package/{Work → bin/Work}/WorkClient.min.js +0 -0
- /package/{Work → bin/Work}/index.d.ts +0 -0
- /package/{Work → bin/Work}/index.js +0 -0
- /package/{Work → bin/Work}/index.min.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.d.ts +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.min.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/index.d.ts +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/index.js +0 -0
- /package/{WorkItemTracking → bin/WorkItemTracking}/index.min.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.d.ts +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.js +0 -0
- /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.min.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.js +0 -0
- /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
- /package/{index.d.ts → bin/index.d.ts} +0 -0
- /package/{index.js → bin/index.js} +0 -0
- /package/{index.min.js → bin/index.min.js} +0 -0
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ---------------------------------------------------------
|
|
3
|
+
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* ---------------------------------------------------------
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as WebApi from "../WebApi/WebApi";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Artifacts are collections of files produced by a pipeline. Use artifacts to share files between stages in a pipeline or between different pipelines.
|
|
11
|
+
*/
|
|
12
|
+
export interface Artifact {
|
|
13
|
+
/**
|
|
14
|
+
* The name of the artifact.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Signed url for downloading this artifact
|
|
19
|
+
*/
|
|
20
|
+
signedContent: WebApi.SignedUrl;
|
|
21
|
+
/**
|
|
22
|
+
* Self-referential url
|
|
23
|
+
*/
|
|
24
|
+
url: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Build {
|
|
28
|
+
artifactSourceVersionUrl: string;
|
|
29
|
+
type: string;
|
|
30
|
+
versionId: string;
|
|
31
|
+
versionName: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface BuildResourceParameters {
|
|
35
|
+
version: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export enum ConfigurationType {
|
|
39
|
+
/**
|
|
40
|
+
* Unknown type.
|
|
41
|
+
*/
|
|
42
|
+
Unknown = 0,
|
|
43
|
+
/**
|
|
44
|
+
* YAML.
|
|
45
|
+
*/
|
|
46
|
+
Yaml = 1,
|
|
47
|
+
/**
|
|
48
|
+
* Designer JSON.
|
|
49
|
+
*/
|
|
50
|
+
DesignerJson = 2,
|
|
51
|
+
/**
|
|
52
|
+
* Just-in-time.
|
|
53
|
+
*/
|
|
54
|
+
JustInTime = 3,
|
|
55
|
+
/**
|
|
56
|
+
* Designer-JSON.
|
|
57
|
+
*/
|
|
58
|
+
DesignerHyphenJson = 2
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface Container {
|
|
62
|
+
environment: { [key: string] : string; };
|
|
63
|
+
image: string;
|
|
64
|
+
mapDockerSocket: boolean;
|
|
65
|
+
options: string;
|
|
66
|
+
ports: string[];
|
|
67
|
+
volumes: string[];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface ContainerResource {
|
|
71
|
+
container: Container;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface ContainerResourceParameters {
|
|
75
|
+
version: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Configuration parameters of the pipeline.
|
|
80
|
+
*/
|
|
81
|
+
export interface CreatePipelineConfigurationParameters {
|
|
82
|
+
/**
|
|
83
|
+
* Type of configuration.
|
|
84
|
+
*/
|
|
85
|
+
type: ConfigurationType;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Parameters to create a pipeline.
|
|
90
|
+
*/
|
|
91
|
+
export interface CreatePipelineParameters {
|
|
92
|
+
/**
|
|
93
|
+
* Configuration parameters of the pipeline.
|
|
94
|
+
*/
|
|
95
|
+
configuration: CreatePipelineConfigurationParameters;
|
|
96
|
+
/**
|
|
97
|
+
* Folder of the pipeline.
|
|
98
|
+
*/
|
|
99
|
+
folder: string;
|
|
100
|
+
/**
|
|
101
|
+
* Name of the pipeline.
|
|
102
|
+
*/
|
|
103
|
+
name: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Expansion options for GetArtifact and ListArtifacts.
|
|
108
|
+
*/
|
|
109
|
+
export enum GetArtifactExpandOptions {
|
|
110
|
+
/**
|
|
111
|
+
* No expansion.
|
|
112
|
+
*/
|
|
113
|
+
None = 0,
|
|
114
|
+
/**
|
|
115
|
+
* Include signed content.
|
|
116
|
+
*/
|
|
117
|
+
SignedContent = 1
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* $expand options for GetLog and ListLogs.
|
|
122
|
+
*/
|
|
123
|
+
export enum GetLogExpandOptions {
|
|
124
|
+
None = 0,
|
|
125
|
+
SignedContent = 1
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Log for a pipeline.
|
|
130
|
+
*/
|
|
131
|
+
export interface Log {
|
|
132
|
+
/**
|
|
133
|
+
* The date and time the log was created.
|
|
134
|
+
*/
|
|
135
|
+
createdOn: Date;
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the log.
|
|
138
|
+
*/
|
|
139
|
+
id: number;
|
|
140
|
+
/**
|
|
141
|
+
* The date and time the log was last changed.
|
|
142
|
+
*/
|
|
143
|
+
lastChangedOn: Date;
|
|
144
|
+
/**
|
|
145
|
+
* The number of lines in the log.
|
|
146
|
+
*/
|
|
147
|
+
lineCount: number;
|
|
148
|
+
signedContent: WebApi.SignedUrl;
|
|
149
|
+
url: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* A collection of logs.
|
|
154
|
+
*/
|
|
155
|
+
export interface LogCollection {
|
|
156
|
+
/**
|
|
157
|
+
* The list of logs.
|
|
158
|
+
*/
|
|
159
|
+
logs: Log[];
|
|
160
|
+
signedContent: WebApi.SignedUrl;
|
|
161
|
+
/**
|
|
162
|
+
* URL of the log.
|
|
163
|
+
*/
|
|
164
|
+
url: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface PackageResourceParameters {
|
|
168
|
+
version: string;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Definition of a pipeline.
|
|
173
|
+
*/
|
|
174
|
+
export interface Pipeline extends PipelineBase {
|
|
175
|
+
_links: any;
|
|
176
|
+
configuration: PipelineConfiguration;
|
|
177
|
+
/**
|
|
178
|
+
* URL of the pipeline
|
|
179
|
+
*/
|
|
180
|
+
url: string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface PipelineBase {
|
|
184
|
+
/**
|
|
185
|
+
* Pipeline folder
|
|
186
|
+
*/
|
|
187
|
+
folder: string;
|
|
188
|
+
/**
|
|
189
|
+
* Pipeline ID
|
|
190
|
+
*/
|
|
191
|
+
id: number;
|
|
192
|
+
/**
|
|
193
|
+
* Pipeline name
|
|
194
|
+
*/
|
|
195
|
+
name: string;
|
|
196
|
+
/**
|
|
197
|
+
* Revision number
|
|
198
|
+
*/
|
|
199
|
+
revision: number;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface PipelineConfiguration {
|
|
203
|
+
type: ConfigurationType;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* A reference to a Pipeline.
|
|
208
|
+
*/
|
|
209
|
+
export interface PipelineReference extends PipelineBase {
|
|
210
|
+
url: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface PipelineResource {
|
|
214
|
+
pipeline: PipelineReference;
|
|
215
|
+
version: string;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface PipelineResourceParameters {
|
|
219
|
+
runId: number;
|
|
220
|
+
version: string;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface PreviewRun {
|
|
224
|
+
finalYaml: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export interface Repository {
|
|
228
|
+
type: RepositoryType;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface RepositoryResource {
|
|
232
|
+
refName: string;
|
|
233
|
+
repository: Repository;
|
|
234
|
+
version: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface RepositoryResourceParameters {
|
|
238
|
+
refName: string;
|
|
239
|
+
/**
|
|
240
|
+
* This is the security token to use when connecting to the repository.
|
|
241
|
+
*/
|
|
242
|
+
token: string;
|
|
243
|
+
/**
|
|
244
|
+
* Optional. This is the type of the token given. If not provided, a type of "Bearer" is assumed. Note: Use "Basic" for a PAT token.
|
|
245
|
+
*/
|
|
246
|
+
tokenType: string;
|
|
247
|
+
version: string;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export enum RepositoryType {
|
|
251
|
+
Unknown = 0,
|
|
252
|
+
GitHub = 1,
|
|
253
|
+
AzureReposGit = 2,
|
|
254
|
+
GitHubEnterprise = 3,
|
|
255
|
+
AzureReposGitHyphenated = 2
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export interface Run extends RunReference {
|
|
259
|
+
_links: any;
|
|
260
|
+
createdDate: Date;
|
|
261
|
+
finalYaml: string;
|
|
262
|
+
finishedDate: Date;
|
|
263
|
+
pipeline: PipelineReference;
|
|
264
|
+
resources: RunResources;
|
|
265
|
+
result: RunResult;
|
|
266
|
+
state: RunState;
|
|
267
|
+
templateParameters: { [key: string] : any; };
|
|
268
|
+
url: string;
|
|
269
|
+
variables: { [key: string] : Variable; };
|
|
270
|
+
yamlDetails: RunYamlDetails;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Settings which influence pipeline runs.
|
|
275
|
+
*/
|
|
276
|
+
export interface RunPipelineParameters {
|
|
277
|
+
/**
|
|
278
|
+
* If true, don't actually create a new run. Instead, return the final YAML document after parsing templates.
|
|
279
|
+
*/
|
|
280
|
+
previewRun: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* The resources the run requires.
|
|
283
|
+
*/
|
|
284
|
+
resources: RunResourcesParameters;
|
|
285
|
+
stagesToSkip: string[];
|
|
286
|
+
templateParameters: { [key: string] : string; };
|
|
287
|
+
variables: { [key: string] : Variable; };
|
|
288
|
+
/**
|
|
289
|
+
* If you use the preview run option, you may optionally supply different YAML. This allows you to preview the final YAML document without committing a changed file.
|
|
290
|
+
*/
|
|
291
|
+
yamlOverride: string;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export interface RunReference {
|
|
295
|
+
id: number;
|
|
296
|
+
name: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export interface RunResources {
|
|
300
|
+
builds: { [key: string] : Build; };
|
|
301
|
+
containers: { [key: string] : ContainerResource; };
|
|
302
|
+
pipelines: { [key: string] : PipelineResource; };
|
|
303
|
+
repositories: { [key: string] : RepositoryResource; };
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface RunResourcesParameters {
|
|
307
|
+
builds: { [key: string] : BuildResourceParameters; };
|
|
308
|
+
containers: { [key: string] : ContainerResourceParameters; };
|
|
309
|
+
packages: { [key: string] : PackageResourceParameters; };
|
|
310
|
+
pipelines: { [key: string] : PipelineResourceParameters; };
|
|
311
|
+
repositories: { [key: string] : RepositoryResourceParameters; };
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* This is not a Flags enum because we don't want to set multiple results on a build. However, when adding values, please stick to powers of 2 as if it were a Flags enum. This will make it easier to query multiple results.
|
|
316
|
+
*/
|
|
317
|
+
export enum RunResult {
|
|
318
|
+
Unknown = 0,
|
|
319
|
+
Succeeded = 1,
|
|
320
|
+
Failed = 2,
|
|
321
|
+
Canceled = 4
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* This is not a Flags enum because we don't want to set multiple states on a build. However, when adding values, please stick to powers of 2 as if it were a Flags enum. This will make it easier to query multiple states.
|
|
326
|
+
*/
|
|
327
|
+
export enum RunState {
|
|
328
|
+
Unknown = 0,
|
|
329
|
+
InProgress = 1,
|
|
330
|
+
Canceling = 2,
|
|
331
|
+
Completed = 4
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface RunYamlDetails {
|
|
335
|
+
expandedYamlUrl: string;
|
|
336
|
+
extendedTemplates: YamlFileDetails[];
|
|
337
|
+
includedTemplates: YamlFileDetails[];
|
|
338
|
+
rootYamlFile: YamlFileDetails;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface SignalRConnection {
|
|
342
|
+
signedContent: WebApi.SignedUrl;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export interface Variable {
|
|
346
|
+
isSecret: boolean;
|
|
347
|
+
value: string;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface YamlFileDetails {
|
|
351
|
+
ref: string;
|
|
352
|
+
repoAlias: string;
|
|
353
|
+
yamlFile: string;
|
|
354
|
+
}
|
|
@@ -0,0 +1,306 @@
|
|
|
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
|
+
|
|
10
|
+
import * as Pipelines from "../Pipelines/Pipelines";
|
|
11
|
+
|
|
12
|
+
export class PipelinesRestClient extends RestClientBase {
|
|
13
|
+
constructor(options: IVssRestClientOptions) {
|
|
14
|
+
super(options);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Get a specific artifact from a pipeline run
|
|
19
|
+
*
|
|
20
|
+
* @param project - Project ID or project name
|
|
21
|
+
* @param pipelineId - ID of the pipeline.
|
|
22
|
+
* @param runId - ID of the run of that pipeline.
|
|
23
|
+
* @param artifactName - Name of the artifact.
|
|
24
|
+
* @param expand - Expand options. Default is None.
|
|
25
|
+
*/
|
|
26
|
+
public async getArtifact(
|
|
27
|
+
project: string,
|
|
28
|
+
pipelineId: number,
|
|
29
|
+
runId: number,
|
|
30
|
+
artifactName: string,
|
|
31
|
+
expand?: Pipelines.GetArtifactExpandOptions
|
|
32
|
+
): Promise<Pipelines.Artifact> {
|
|
33
|
+
|
|
34
|
+
const queryValues: any = {
|
|
35
|
+
artifactName: artifactName,
|
|
36
|
+
'$expand': expand
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return this.beginRequest<Pipelines.Artifact>({
|
|
40
|
+
apiVersion: "7.2-preview.1",
|
|
41
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/artifacts",
|
|
42
|
+
routeValues: {
|
|
43
|
+
project: project,
|
|
44
|
+
pipelineId: pipelineId,
|
|
45
|
+
runId: runId
|
|
46
|
+
},
|
|
47
|
+
queryParams: queryValues
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Get a specific log from a pipeline run
|
|
53
|
+
*
|
|
54
|
+
* @param project - Project ID or project name
|
|
55
|
+
* @param pipelineId - ID of the pipeline.
|
|
56
|
+
* @param runId - ID of the run of that pipeline.
|
|
57
|
+
* @param logId - ID of the log.
|
|
58
|
+
* @param expand - Expand options. Default is None.
|
|
59
|
+
*/
|
|
60
|
+
public async getLog(
|
|
61
|
+
project: string,
|
|
62
|
+
pipelineId: number,
|
|
63
|
+
runId: number,
|
|
64
|
+
logId: number,
|
|
65
|
+
expand?: Pipelines.GetLogExpandOptions
|
|
66
|
+
): Promise<Pipelines.Log> {
|
|
67
|
+
|
|
68
|
+
const queryValues: any = {
|
|
69
|
+
'$expand': expand
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
return this.beginRequest<Pipelines.Log>({
|
|
73
|
+
apiVersion: "7.2-preview.1",
|
|
74
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}",
|
|
75
|
+
routeValues: {
|
|
76
|
+
project: project,
|
|
77
|
+
pipelineId: pipelineId,
|
|
78
|
+
runId: runId,
|
|
79
|
+
logId: logId
|
|
80
|
+
},
|
|
81
|
+
queryParams: queryValues
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Get a list of logs from a pipeline run.
|
|
87
|
+
*
|
|
88
|
+
* @param project - Project ID or project name
|
|
89
|
+
* @param pipelineId - ID of the pipeline.
|
|
90
|
+
* @param runId - ID of the run of that pipeline.
|
|
91
|
+
* @param expand - Expand options. Default is None.
|
|
92
|
+
*/
|
|
93
|
+
public async listLogs(
|
|
94
|
+
project: string,
|
|
95
|
+
pipelineId: number,
|
|
96
|
+
runId: number,
|
|
97
|
+
expand?: Pipelines.GetLogExpandOptions
|
|
98
|
+
): Promise<Pipelines.LogCollection> {
|
|
99
|
+
|
|
100
|
+
const queryValues: any = {
|
|
101
|
+
'$expand': expand
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
return this.beginRequest<Pipelines.LogCollection>({
|
|
105
|
+
apiVersion: "7.2-preview.1",
|
|
106
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}",
|
|
107
|
+
routeValues: {
|
|
108
|
+
project: project,
|
|
109
|
+
pipelineId: pipelineId,
|
|
110
|
+
runId: runId
|
|
111
|
+
},
|
|
112
|
+
queryParams: queryValues
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Create a pipeline.
|
|
118
|
+
*
|
|
119
|
+
* @param inputParameters - Input parameters.
|
|
120
|
+
* @param project - Project ID or project name
|
|
121
|
+
*/
|
|
122
|
+
public async createPipeline(
|
|
123
|
+
inputParameters: Pipelines.CreatePipelineParameters,
|
|
124
|
+
project: string
|
|
125
|
+
): Promise<Pipelines.Pipeline> {
|
|
126
|
+
|
|
127
|
+
return this.beginRequest<Pipelines.Pipeline>({
|
|
128
|
+
apiVersion: "7.2-preview.1",
|
|
129
|
+
method: "POST",
|
|
130
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
|
|
131
|
+
routeValues: {
|
|
132
|
+
project: project
|
|
133
|
+
},
|
|
134
|
+
body: inputParameters
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Gets a pipeline, optionally at the specified version
|
|
140
|
+
*
|
|
141
|
+
* @param project - Project ID or project name
|
|
142
|
+
* @param pipelineId - The pipeline ID
|
|
143
|
+
* @param pipelineVersion - The pipeline version
|
|
144
|
+
*/
|
|
145
|
+
public async getPipeline(
|
|
146
|
+
project: string,
|
|
147
|
+
pipelineId: number,
|
|
148
|
+
pipelineVersion?: number
|
|
149
|
+
): Promise<Pipelines.Pipeline> {
|
|
150
|
+
|
|
151
|
+
const queryValues: any = {
|
|
152
|
+
pipelineVersion: pipelineVersion
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
return this.beginRequest<Pipelines.Pipeline>({
|
|
156
|
+
apiVersion: "7.2-preview.1",
|
|
157
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
|
|
158
|
+
routeValues: {
|
|
159
|
+
project: project,
|
|
160
|
+
pipelineId: pipelineId
|
|
161
|
+
},
|
|
162
|
+
queryParams: queryValues
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Get a list of pipelines.
|
|
168
|
+
*
|
|
169
|
+
* @param project - Project ID or project name
|
|
170
|
+
* @param orderBy - A sort expression. Defaults to "name asc"
|
|
171
|
+
* @param top - The maximum number of pipelines to return
|
|
172
|
+
* @param continuationToken - A continuation token from a previous request, to retrieve the next page of results
|
|
173
|
+
*/
|
|
174
|
+
public async listPipelines(
|
|
175
|
+
project: string,
|
|
176
|
+
orderBy?: string,
|
|
177
|
+
top?: number,
|
|
178
|
+
continuationToken?: string
|
|
179
|
+
): Promise<Pipelines.Pipeline[]> {
|
|
180
|
+
|
|
181
|
+
const queryValues: any = {
|
|
182
|
+
orderBy: orderBy,
|
|
183
|
+
'$top': top,
|
|
184
|
+
continuationToken: continuationToken
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
return this.beginRequest<Pipelines.Pipeline[]>({
|
|
188
|
+
apiVersion: "7.2-preview.1",
|
|
189
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
|
|
190
|
+
routeValues: {
|
|
191
|
+
project: project
|
|
192
|
+
},
|
|
193
|
+
queryParams: queryValues
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Queues a dry run of the pipeline and returns an object containing the final yaml.
|
|
199
|
+
*
|
|
200
|
+
* @param runParameters - Optional additional parameters for this run.
|
|
201
|
+
* @param project - Project ID or project name
|
|
202
|
+
* @param pipelineId - The pipeline ID.
|
|
203
|
+
* @param pipelineVersion - The pipeline version.
|
|
204
|
+
*/
|
|
205
|
+
public async preview(
|
|
206
|
+
runParameters: Pipelines.RunPipelineParameters,
|
|
207
|
+
project: string,
|
|
208
|
+
pipelineId: number,
|
|
209
|
+
pipelineVersion?: number
|
|
210
|
+
): Promise<Pipelines.PreviewRun> {
|
|
211
|
+
|
|
212
|
+
const queryValues: any = {
|
|
213
|
+
pipelineVersion: pipelineVersion
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
return this.beginRequest<Pipelines.PreviewRun>({
|
|
217
|
+
apiVersion: "7.2-preview.1",
|
|
218
|
+
method: "POST",
|
|
219
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/preview",
|
|
220
|
+
routeValues: {
|
|
221
|
+
project: project,
|
|
222
|
+
pipelineId: pipelineId
|
|
223
|
+
},
|
|
224
|
+
queryParams: queryValues,
|
|
225
|
+
body: runParameters
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Gets a run for a particular pipeline.
|
|
231
|
+
*
|
|
232
|
+
* @param project - Project ID or project name
|
|
233
|
+
* @param pipelineId - The pipeline id
|
|
234
|
+
* @param runId - The run id
|
|
235
|
+
*/
|
|
236
|
+
public async getRun(
|
|
237
|
+
project: string,
|
|
238
|
+
pipelineId: number,
|
|
239
|
+
runId: number
|
|
240
|
+
): Promise<Pipelines.Run> {
|
|
241
|
+
|
|
242
|
+
return this.beginRequest<Pipelines.Run>({
|
|
243
|
+
apiVersion: "7.2-preview.1",
|
|
244
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
|
|
245
|
+
routeValues: {
|
|
246
|
+
project: project,
|
|
247
|
+
pipelineId: pipelineId,
|
|
248
|
+
runId: runId
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Gets top 10000 runs for a particular pipeline.
|
|
255
|
+
*
|
|
256
|
+
* @param project - Project ID or project name
|
|
257
|
+
* @param pipelineId - The pipeline id
|
|
258
|
+
*/
|
|
259
|
+
public async listRuns(
|
|
260
|
+
project: string,
|
|
261
|
+
pipelineId: number
|
|
262
|
+
): Promise<Pipelines.Run[]> {
|
|
263
|
+
|
|
264
|
+
return this.beginRequest<Pipelines.Run[]>({
|
|
265
|
+
apiVersion: "7.2-preview.1",
|
|
266
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
|
|
267
|
+
routeValues: {
|
|
268
|
+
project: project,
|
|
269
|
+
pipelineId: pipelineId
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Runs a pipeline.
|
|
276
|
+
*
|
|
277
|
+
* @param runParameters - Optional additional parameters for this run.
|
|
278
|
+
* @param project - Project ID or project name
|
|
279
|
+
* @param pipelineId - The pipeline ID.
|
|
280
|
+
* @param pipelineVersion - The pipeline version.
|
|
281
|
+
*/
|
|
282
|
+
public async runPipeline(
|
|
283
|
+
runParameters: Pipelines.RunPipelineParameters,
|
|
284
|
+
project: string,
|
|
285
|
+
pipelineId: number,
|
|
286
|
+
pipelineVersion?: number
|
|
287
|
+
): Promise<Pipelines.Run> {
|
|
288
|
+
|
|
289
|
+
const queryValues: any = {
|
|
290
|
+
pipelineVersion: pipelineVersion
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
return this.beginRequest<Pipelines.Run>({
|
|
294
|
+
apiVersion: "7.2-preview.1",
|
|
295
|
+
method: "POST",
|
|
296
|
+
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
|
|
297
|
+
routeValues: {
|
|
298
|
+
project: project,
|
|
299
|
+
pipelineId: pipelineId
|
|
300
|
+
},
|
|
301
|
+
queryParams: queryValues,
|
|
302
|
+
body: runParameters
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
}
|