azure-devops-extension-api 4.245.1 → 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/{Alert → bin/Alert}/AlertClient.d.ts +1 -1
- package/{Alert → bin/Alert}/AlertClient.js +1 -1
- 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/{FormInput → bin/FormInput}/FormInput.d.ts +8 -0
- package/bin/LICENSE +21 -0
- package/bin/README.md +2 -0
- package/{TaskAgent → bin/TaskAgent}/TaskAgent.d.ts +12 -0
- package/{Test → bin/Test}/Test.d.ts +31 -7
- package/{TestPlan → bin/TestPlan}/TestPlan.d.ts +6 -2
- package/{TestPlan → bin/TestPlan}/TestPlanClient.d.ts +19 -0
- package/{TestPlan → bin/TestPlan}/TestPlanClient.js +84 -0
- package/{TestPlan → bin/TestPlan}/TestPlanClient.min.js +1 -1
- 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.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.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}/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,173 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ---------------------------------------------------------
|
|
3
|
+
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* ---------------------------------------------------------
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as WebApi from "../WebApi/WebApi";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The full policy configuration with settings.
|
|
11
|
+
*/
|
|
12
|
+
export interface PolicyConfiguration extends VersionedPolicyConfigurationRef {
|
|
13
|
+
/**
|
|
14
|
+
* The links to other objects related to this object.
|
|
15
|
+
*/
|
|
16
|
+
_links: any;
|
|
17
|
+
/**
|
|
18
|
+
* A reference to the identity that created the policy.
|
|
19
|
+
*/
|
|
20
|
+
createdBy: WebApi.IdentityRef;
|
|
21
|
+
/**
|
|
22
|
+
* The date and time when the policy was created.
|
|
23
|
+
*/
|
|
24
|
+
createdDate: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates whether the policy is blocking.
|
|
27
|
+
*/
|
|
28
|
+
isBlocking: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Indicates whether the policy has been (soft) deleted.
|
|
31
|
+
*/
|
|
32
|
+
isDeleted: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether the policy is enabled.
|
|
35
|
+
*/
|
|
36
|
+
isEnabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If set, this policy requires "Manage Enterprise Policies" permission to create, edit, or delete.
|
|
39
|
+
*/
|
|
40
|
+
isEnterpriseManaged: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The policy configuration settings.
|
|
43
|
+
*/
|
|
44
|
+
settings: any;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Policy configuration reference.
|
|
49
|
+
*/
|
|
50
|
+
export interface PolicyConfigurationRef {
|
|
51
|
+
/**
|
|
52
|
+
* The policy configuration ID.
|
|
53
|
+
*/
|
|
54
|
+
id: number;
|
|
55
|
+
/**
|
|
56
|
+
* The policy configuration type.
|
|
57
|
+
*/
|
|
58
|
+
type: PolicyTypeRef;
|
|
59
|
+
/**
|
|
60
|
+
* The URL where the policy configuration can be retrieved.
|
|
61
|
+
*/
|
|
62
|
+
url: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* This record encapsulates the current state of a policy as it applies to one specific pull request. Each pull request has a unique PolicyEvaluationRecord for each pull request which the policy applies to.
|
|
67
|
+
*/
|
|
68
|
+
export interface PolicyEvaluationRecord {
|
|
69
|
+
/**
|
|
70
|
+
* Links to other related objects
|
|
71
|
+
*/
|
|
72
|
+
_links: any;
|
|
73
|
+
/**
|
|
74
|
+
* A string which uniquely identifies the target of a policy evaluation.
|
|
75
|
+
*/
|
|
76
|
+
artifactId: string;
|
|
77
|
+
/**
|
|
78
|
+
* Time when this policy finished evaluating on this pull request.
|
|
79
|
+
*/
|
|
80
|
+
completedDate: Date;
|
|
81
|
+
/**
|
|
82
|
+
* Contains all configuration data for the policy which is being evaluated.
|
|
83
|
+
*/
|
|
84
|
+
configuration: PolicyConfiguration;
|
|
85
|
+
/**
|
|
86
|
+
* Internal context data of this policy evaluation.
|
|
87
|
+
*/
|
|
88
|
+
context: any;
|
|
89
|
+
/**
|
|
90
|
+
* Guid which uniquely identifies this evaluation record (one policy running on one pull request).
|
|
91
|
+
*/
|
|
92
|
+
evaluationId: string;
|
|
93
|
+
/**
|
|
94
|
+
* Time when this policy was first evaluated on this pull request.
|
|
95
|
+
*/
|
|
96
|
+
startedDate: Date;
|
|
97
|
+
/**
|
|
98
|
+
* Status of the policy (Running, Approved, Failed, etc.)
|
|
99
|
+
*/
|
|
100
|
+
status: PolicyEvaluationStatus;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Status of a policy which is running against a specific pull request.
|
|
105
|
+
*/
|
|
106
|
+
export enum PolicyEvaluationStatus {
|
|
107
|
+
/**
|
|
108
|
+
* The policy is either queued to run, or is waiting for some event before progressing.
|
|
109
|
+
*/
|
|
110
|
+
Queued = 0,
|
|
111
|
+
/**
|
|
112
|
+
* The policy is currently running.
|
|
113
|
+
*/
|
|
114
|
+
Running = 1,
|
|
115
|
+
/**
|
|
116
|
+
* The policy has been fulfilled for this pull request.
|
|
117
|
+
*/
|
|
118
|
+
Approved = 2,
|
|
119
|
+
/**
|
|
120
|
+
* The policy has rejected this pull request.
|
|
121
|
+
*/
|
|
122
|
+
Rejected = 3,
|
|
123
|
+
/**
|
|
124
|
+
* The policy does not apply to this pull request.
|
|
125
|
+
*/
|
|
126
|
+
NotApplicable = 4,
|
|
127
|
+
/**
|
|
128
|
+
* The policy has encountered an unexpected error.
|
|
129
|
+
*/
|
|
130
|
+
Broken = 5
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* User-friendly policy type with description (used for querying policy types).
|
|
135
|
+
*/
|
|
136
|
+
export interface PolicyType extends PolicyTypeRef {
|
|
137
|
+
/**
|
|
138
|
+
* The links to other objects related to this object.
|
|
139
|
+
*/
|
|
140
|
+
_links: any;
|
|
141
|
+
/**
|
|
142
|
+
* Detailed description of the policy type.
|
|
143
|
+
*/
|
|
144
|
+
description: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Policy type reference.
|
|
149
|
+
*/
|
|
150
|
+
export interface PolicyTypeRef {
|
|
151
|
+
/**
|
|
152
|
+
* Display name of the policy type.
|
|
153
|
+
*/
|
|
154
|
+
displayName: string;
|
|
155
|
+
/**
|
|
156
|
+
* The policy type ID.
|
|
157
|
+
*/
|
|
158
|
+
id: string;
|
|
159
|
+
/**
|
|
160
|
+
* The URL where the policy type can be retrieved.
|
|
161
|
+
*/
|
|
162
|
+
url: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* A particular revision for a policy configuration.
|
|
167
|
+
*/
|
|
168
|
+
export interface VersionedPolicyConfigurationRef extends PolicyConfigurationRef {
|
|
169
|
+
/**
|
|
170
|
+
* The policy configuration revision ID.
|
|
171
|
+
*/
|
|
172
|
+
revision: number;
|
|
173
|
+
}
|
|
@@ -0,0 +1,315 @@
|
|
|
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 Policy from "../Policy/Policy";
|
|
12
|
+
import * as WebApi from "../WebApi/WebApi";
|
|
13
|
+
|
|
14
|
+
export class PolicyRestClient extends RestClientBase {
|
|
15
|
+
constructor(options: IVssRestClientOptions) {
|
|
16
|
+
super(options);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public static readonly RESOURCE_AREA_ID = "fb13a388-40dd-4a04-b530-013a739c72ef";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a policy configuration of a given policy type.
|
|
23
|
+
*
|
|
24
|
+
* @param configuration - The policy configuration to create.
|
|
25
|
+
* @param project - Project ID or project name
|
|
26
|
+
*/
|
|
27
|
+
public async createPolicyConfiguration(
|
|
28
|
+
configuration: Policy.PolicyConfiguration,
|
|
29
|
+
project: string
|
|
30
|
+
): Promise<Policy.PolicyConfiguration> {
|
|
31
|
+
|
|
32
|
+
return this.beginRequest<Policy.PolicyConfiguration>({
|
|
33
|
+
apiVersion: "7.2-preview.1",
|
|
34
|
+
method: "POST",
|
|
35
|
+
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
|
|
36
|
+
routeValues: {
|
|
37
|
+
project: project
|
|
38
|
+
},
|
|
39
|
+
body: configuration
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Delete a policy configuration by its ID.
|
|
45
|
+
*
|
|
46
|
+
* @param project - Project ID or project name
|
|
47
|
+
* @param configurationId - ID of the policy configuration to delete.
|
|
48
|
+
*/
|
|
49
|
+
public async deletePolicyConfiguration(
|
|
50
|
+
project: string,
|
|
51
|
+
configurationId: number
|
|
52
|
+
): Promise<void> {
|
|
53
|
+
|
|
54
|
+
return this.beginRequest<void>({
|
|
55
|
+
apiVersion: "7.2-preview.1",
|
|
56
|
+
method: "DELETE",
|
|
57
|
+
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
|
|
58
|
+
routeValues: {
|
|
59
|
+
project: project,
|
|
60
|
+
configurationId: configurationId
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Get a policy configuration by its ID.
|
|
67
|
+
*
|
|
68
|
+
* @param project - Project ID or project name
|
|
69
|
+
* @param configurationId - ID of the policy configuration
|
|
70
|
+
*/
|
|
71
|
+
public async getPolicyConfiguration(
|
|
72
|
+
project: string,
|
|
73
|
+
configurationId: number
|
|
74
|
+
): Promise<Policy.PolicyConfiguration> {
|
|
75
|
+
|
|
76
|
+
return this.beginRequest<Policy.PolicyConfiguration>({
|
|
77
|
+
apiVersion: "7.2-preview.1",
|
|
78
|
+
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
|
|
79
|
+
routeValues: {
|
|
80
|
+
project: project,
|
|
81
|
+
configurationId: configurationId
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Get a list of policy configurations in a project.
|
|
88
|
+
*
|
|
89
|
+
* @param project - Project ID or project name
|
|
90
|
+
* @param scope - [Provided for legacy reasons] The scope on which a subset of policies is defined.
|
|
91
|
+
* @param policyType - Filter returned policies to only this type
|
|
92
|
+
*/
|
|
93
|
+
public async getPolicyConfigurations(
|
|
94
|
+
project: string,
|
|
95
|
+
scope?: string,
|
|
96
|
+
policyType?: string
|
|
97
|
+
): Promise<WebApi.PagedList<Policy.PolicyConfiguration>> {
|
|
98
|
+
|
|
99
|
+
const queryValues: any = {
|
|
100
|
+
scope: scope,
|
|
101
|
+
policyType: policyType
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
return this.beginRequest<Response>({
|
|
105
|
+
apiVersion: "7.2-preview.1",
|
|
106
|
+
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
|
|
107
|
+
routeValues: {
|
|
108
|
+
project: project
|
|
109
|
+
},
|
|
110
|
+
queryParams: queryValues,
|
|
111
|
+
returnRawResponse: true
|
|
112
|
+
}).then(async response => {
|
|
113
|
+
const body = <WebApi.PagedList<Policy.PolicyConfiguration>>await response.text().then(deserializeVssJsonObject);
|
|
114
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
115
|
+
return body;
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Update a policy configuration by its ID.
|
|
121
|
+
*
|
|
122
|
+
* @param configuration - The policy configuration to update.
|
|
123
|
+
* @param project - Project ID or project name
|
|
124
|
+
* @param configurationId - ID of the existing policy configuration to be updated.
|
|
125
|
+
*/
|
|
126
|
+
public async updatePolicyConfiguration(
|
|
127
|
+
configuration: Policy.PolicyConfiguration,
|
|
128
|
+
project: string,
|
|
129
|
+
configurationId: number
|
|
130
|
+
): Promise<Policy.PolicyConfiguration> {
|
|
131
|
+
|
|
132
|
+
return this.beginRequest<Policy.PolicyConfiguration>({
|
|
133
|
+
apiVersion: "7.2-preview.1",
|
|
134
|
+
method: "PUT",
|
|
135
|
+
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
|
|
136
|
+
routeValues: {
|
|
137
|
+
project: project,
|
|
138
|
+
configurationId: configurationId
|
|
139
|
+
},
|
|
140
|
+
body: configuration
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Gets the present evaluation state of a policy.
|
|
146
|
+
*
|
|
147
|
+
* @param project - Project ID or project name
|
|
148
|
+
* @param evaluationId - ID of the policy evaluation to be retrieved.
|
|
149
|
+
*/
|
|
150
|
+
public async getPolicyEvaluation(
|
|
151
|
+
project: string,
|
|
152
|
+
evaluationId: string
|
|
153
|
+
): Promise<Policy.PolicyEvaluationRecord> {
|
|
154
|
+
|
|
155
|
+
return this.beginRequest<Policy.PolicyEvaluationRecord>({
|
|
156
|
+
apiVersion: "7.2-preview.1",
|
|
157
|
+
routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
|
|
158
|
+
routeValues: {
|
|
159
|
+
project: project,
|
|
160
|
+
evaluationId: evaluationId
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Requeue the policy evaluation.
|
|
167
|
+
*
|
|
168
|
+
* @param project - Project ID or project name
|
|
169
|
+
* @param evaluationId - ID of the policy evaluation to be retrieved.
|
|
170
|
+
*/
|
|
171
|
+
public async requeuePolicyEvaluation(
|
|
172
|
+
project: string,
|
|
173
|
+
evaluationId: string
|
|
174
|
+
): Promise<Policy.PolicyEvaluationRecord> {
|
|
175
|
+
|
|
176
|
+
return this.beginRequest<Policy.PolicyEvaluationRecord>({
|
|
177
|
+
apiVersion: "7.2-preview.1",
|
|
178
|
+
method: "PATCH",
|
|
179
|
+
routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
|
|
180
|
+
routeValues: {
|
|
181
|
+
project: project,
|
|
182
|
+
evaluationId: evaluationId
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Retrieves a list of all the policy evaluation statuses for a specific pull request.
|
|
189
|
+
*
|
|
190
|
+
* @param project - Project ID or project name
|
|
191
|
+
* @param artifactId - A string which uniquely identifies the target of a policy evaluation.
|
|
192
|
+
* @param includeNotApplicable - Some policies might determine that they do not apply to a specific pull request. Setting this parameter to true will return evaluation records even for policies which don't apply to this pull request.
|
|
193
|
+
* @param top - The number of policy evaluation records to retrieve.
|
|
194
|
+
* @param skip - The number of policy evaluation records to ignore. For example, to retrieve results 101-150, set top to 50 and skip to 100.
|
|
195
|
+
*/
|
|
196
|
+
public async getPolicyEvaluations(
|
|
197
|
+
project: string,
|
|
198
|
+
artifactId: string,
|
|
199
|
+
includeNotApplicable?: boolean,
|
|
200
|
+
top?: number,
|
|
201
|
+
skip?: number
|
|
202
|
+
): Promise<Policy.PolicyEvaluationRecord[]> {
|
|
203
|
+
|
|
204
|
+
const queryValues: any = {
|
|
205
|
+
artifactId: artifactId,
|
|
206
|
+
includeNotApplicable: includeNotApplicable,
|
|
207
|
+
'$top': top,
|
|
208
|
+
'$skip': skip
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
return this.beginRequest<Policy.PolicyEvaluationRecord[]>({
|
|
212
|
+
apiVersion: "7.2-preview.1",
|
|
213
|
+
routeTemplate: "{project}/_apis/policy/Evaluations",
|
|
214
|
+
routeValues: {
|
|
215
|
+
project: project
|
|
216
|
+
},
|
|
217
|
+
queryParams: queryValues
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Retrieve a specific revision of a given policy by ID.
|
|
223
|
+
*
|
|
224
|
+
* @param project - Project ID or project name
|
|
225
|
+
* @param configurationId - The policy configuration ID.
|
|
226
|
+
* @param revisionId - The revision ID.
|
|
227
|
+
*/
|
|
228
|
+
public async getPolicyConfigurationRevision(
|
|
229
|
+
project: string,
|
|
230
|
+
configurationId: number,
|
|
231
|
+
revisionId: number
|
|
232
|
+
): Promise<Policy.PolicyConfiguration> {
|
|
233
|
+
|
|
234
|
+
return this.beginRequest<Policy.PolicyConfiguration>({
|
|
235
|
+
apiVersion: "7.2-preview.1",
|
|
236
|
+
routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
|
|
237
|
+
routeValues: {
|
|
238
|
+
project: project,
|
|
239
|
+
configurationId: configurationId,
|
|
240
|
+
revisionId: revisionId
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Retrieve all revisions for a given policy.
|
|
247
|
+
*
|
|
248
|
+
* @param project - Project ID or project name
|
|
249
|
+
* @param configurationId - The policy configuration ID.
|
|
250
|
+
* @param top - The number of revisions to retrieve.
|
|
251
|
+
* @param skip - The number of revisions to ignore. For example, to retrieve results 101-150, set top to 50 and skip to 100.
|
|
252
|
+
*/
|
|
253
|
+
public async getPolicyConfigurationRevisions(
|
|
254
|
+
project: string,
|
|
255
|
+
configurationId: number,
|
|
256
|
+
top?: number,
|
|
257
|
+
skip?: number
|
|
258
|
+
): Promise<Policy.PolicyConfiguration[]> {
|
|
259
|
+
|
|
260
|
+
const queryValues: any = {
|
|
261
|
+
'$top': top,
|
|
262
|
+
'$skip': skip
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
return this.beginRequest<Policy.PolicyConfiguration[]>({
|
|
266
|
+
apiVersion: "7.2-preview.1",
|
|
267
|
+
routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
|
|
268
|
+
routeValues: {
|
|
269
|
+
project: project,
|
|
270
|
+
configurationId: configurationId
|
|
271
|
+
},
|
|
272
|
+
queryParams: queryValues
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Retrieve a specific policy type by ID.
|
|
278
|
+
*
|
|
279
|
+
* @param project - Project ID or project name
|
|
280
|
+
* @param typeId - The policy ID.
|
|
281
|
+
*/
|
|
282
|
+
public async getPolicyType(
|
|
283
|
+
project: string,
|
|
284
|
+
typeId: string
|
|
285
|
+
): Promise<Policy.PolicyType> {
|
|
286
|
+
|
|
287
|
+
return this.beginRequest<Policy.PolicyType>({
|
|
288
|
+
apiVersion: "7.2-preview.1",
|
|
289
|
+
routeTemplate: "{project}/_apis/policy/Types/{typeId}",
|
|
290
|
+
routeValues: {
|
|
291
|
+
project: project,
|
|
292
|
+
typeId: typeId
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Retrieve all available policy types.
|
|
299
|
+
*
|
|
300
|
+
* @param project - Project ID or project name
|
|
301
|
+
*/
|
|
302
|
+
public async getPolicyTypes(
|
|
303
|
+
project: string
|
|
304
|
+
): Promise<Policy.PolicyType[]> {
|
|
305
|
+
|
|
306
|
+
return this.beginRequest<Policy.PolicyType[]>({
|
|
307
|
+
apiVersion: "7.2-preview.1",
|
|
308
|
+
routeTemplate: "{project}/_apis/policy/Types/{typeId}",
|
|
309
|
+
routeValues: {
|
|
310
|
+
project: project
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ---------------------------------------------------------
|
|
3
|
+
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* ---------------------------------------------------------
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Identifies an attribute with a name and a container.
|
|
9
|
+
*/
|
|
10
|
+
export interface AttributeDescriptor {
|
|
11
|
+
/**
|
|
12
|
+
* The name of the attribute.
|
|
13
|
+
*/
|
|
14
|
+
attributeName: string;
|
|
15
|
+
/**
|
|
16
|
+
* The container the attribute resides in.
|
|
17
|
+
*/
|
|
18
|
+
containerName: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Stores a set of named profile attributes.
|
|
23
|
+
*/
|
|
24
|
+
export interface AttributesContainer {
|
|
25
|
+
/**
|
|
26
|
+
* The attributes stored by the container.
|
|
27
|
+
*/
|
|
28
|
+
attributes: { [key: string] : ProfileAttribute; };
|
|
29
|
+
/**
|
|
30
|
+
* The name of the container.
|
|
31
|
+
*/
|
|
32
|
+
containerName: string;
|
|
33
|
+
/**
|
|
34
|
+
* The maximum revision number of any attribute within the container.
|
|
35
|
+
*/
|
|
36
|
+
revision: number;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Avatar {
|
|
40
|
+
isAutoGenerated: boolean;
|
|
41
|
+
size: AvatarSize;
|
|
42
|
+
timeStamp: Date;
|
|
43
|
+
value: number[];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Small = 34 x 34 pixels; Medium = 44 x 44 pixels; Large = 220 x 220 pixels
|
|
48
|
+
*/
|
|
49
|
+
export enum AvatarSize {
|
|
50
|
+
Small = 0,
|
|
51
|
+
Medium = 1,
|
|
52
|
+
Large = 2
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* A profile attribute which always has a value for each profile.
|
|
57
|
+
*/
|
|
58
|
+
export interface CoreProfileAttribute extends ProfileAttributeBase<any> {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface CreateProfileContext {
|
|
62
|
+
ciData: { [key: string] : any; };
|
|
63
|
+
contactWithOffers: boolean;
|
|
64
|
+
countryName: string;
|
|
65
|
+
displayName: string;
|
|
66
|
+
emailAddress: string;
|
|
67
|
+
hasAccount: boolean;
|
|
68
|
+
language: string;
|
|
69
|
+
phoneNumber: string;
|
|
70
|
+
/**
|
|
71
|
+
* The current state of the profile.
|
|
72
|
+
*/
|
|
73
|
+
profileState: ProfileState;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface GeoRegion {
|
|
77
|
+
regionCode: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* A user profile.
|
|
82
|
+
*/
|
|
83
|
+
export interface Profile {
|
|
84
|
+
/**
|
|
85
|
+
* The attributes of this profile.
|
|
86
|
+
*/
|
|
87
|
+
applicationContainer: AttributesContainer;
|
|
88
|
+
/**
|
|
89
|
+
* The core attributes of this profile.
|
|
90
|
+
*/
|
|
91
|
+
coreAttributes: { [key: string] : CoreProfileAttribute; };
|
|
92
|
+
/**
|
|
93
|
+
* The maximum revision number of any attribute.
|
|
94
|
+
*/
|
|
95
|
+
coreRevision: number;
|
|
96
|
+
/**
|
|
97
|
+
* The unique identifier of the profile.
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* The current state of the profile.
|
|
102
|
+
*/
|
|
103
|
+
profileState: ProfileState;
|
|
104
|
+
/**
|
|
105
|
+
* The maximum revision number of any attribute.
|
|
106
|
+
*/
|
|
107
|
+
revision: number;
|
|
108
|
+
/**
|
|
109
|
+
* The time at which this profile was last changed.
|
|
110
|
+
*/
|
|
111
|
+
timeStamp: Date;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* A named object associated with a profile.
|
|
116
|
+
*/
|
|
117
|
+
export interface ProfileAttribute extends ProfileAttributeBase<string> {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface ProfileAttributeBase<T> {
|
|
121
|
+
/**
|
|
122
|
+
* The descriptor of the attribute.
|
|
123
|
+
*/
|
|
124
|
+
descriptor: AttributeDescriptor;
|
|
125
|
+
/**
|
|
126
|
+
* The revision number of the attribute.
|
|
127
|
+
*/
|
|
128
|
+
revision: number;
|
|
129
|
+
/**
|
|
130
|
+
* The time the attribute was last changed.
|
|
131
|
+
*/
|
|
132
|
+
timeStamp: Date;
|
|
133
|
+
/**
|
|
134
|
+
* The value of the attribute.
|
|
135
|
+
*/
|
|
136
|
+
value: T;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Country/region information
|
|
141
|
+
*/
|
|
142
|
+
export interface ProfileRegion {
|
|
143
|
+
/**
|
|
144
|
+
* The two-letter code defined in ISO 3166 for the country/region.
|
|
145
|
+
*/
|
|
146
|
+
code: string;
|
|
147
|
+
/**
|
|
148
|
+
* Localized country/region name
|
|
149
|
+
*/
|
|
150
|
+
name: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Container of country/region information
|
|
155
|
+
*/
|
|
156
|
+
export interface ProfileRegions {
|
|
157
|
+
/**
|
|
158
|
+
* List of country/region code with contact consent requirement type of notice
|
|
159
|
+
*/
|
|
160
|
+
noticeContactConsentRequirementRegions: string[];
|
|
161
|
+
/**
|
|
162
|
+
* List of country/region code with contact consent requirement type of opt-out
|
|
163
|
+
*/
|
|
164
|
+
optOutContactConsentRequirementRegions: string[];
|
|
165
|
+
/**
|
|
166
|
+
* List of country/regions
|
|
167
|
+
*/
|
|
168
|
+
regions: ProfileRegion[];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* The state of a profile.
|
|
173
|
+
*/
|
|
174
|
+
export enum ProfileState {
|
|
175
|
+
/**
|
|
176
|
+
* The profile is in use.
|
|
177
|
+
*/
|
|
178
|
+
Custom = 0,
|
|
179
|
+
/**
|
|
180
|
+
* The profile is in use, but can only be read.
|
|
181
|
+
*/
|
|
182
|
+
CustomReadOnly = 1,
|
|
183
|
+
/**
|
|
184
|
+
* The profile may only be read.
|
|
185
|
+
*/
|
|
186
|
+
ReadOnly = 2
|
|
187
|
+
}
|