azure-devops-extension-api 4.248.0 → 4.250.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{bin/Alert → Alert}/Alert.d.ts +12 -2
- package/{bin/Alert → Alert}/Alert.js +11 -0
- package/Alert/Alert.min.js +1 -0
- package/{bin/Alert → Alert}/AlertClient.d.ts +2 -1
- package/{bin/Alert → Alert}/AlertClient.js +3 -1
- package/Alert/AlertClient.min.js +1 -0
- package/{bin/Gallery → Gallery}/GalleryClient.d.ts +7 -5
- package/{bin/Gallery → Gallery}/GalleryClient.js +20 -19
- package/Gallery/GalleryClient.min.js +1 -0
- package/{bin/Management → Management}/Management.d.ts +4 -0
- package/{bin/Release → Release}/ReleaseClient.d.ts +4 -2
- package/{bin/Release → Release}/ReleaseClient.js +8 -4
- package/Release/ReleaseClient.min.js +1 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.d.ts +4 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.d.ts +3 -2
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.js +5 -3
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
- package/{bin/TestResults → TestResults}/TestResultsClient.d.ts +8 -0
- package/{bin/TestResults → TestResults}/TestResultsClient.js +28 -9
- package/{bin/TestResults → TestResults}/TestResultsClient.min.js +1 -1
- package/package.json +1 -1
- package/SECURITY.md +0 -41
- package/bin/Alert/Alert.min.js +0 -1
- package/bin/Alert/AlertClient.min.js +0 -1
- package/bin/Gallery/GalleryClient.min.js +0 -1
- package/bin/LICENSE +0 -21
- package/bin/README.md +0 -2
- package/bin/Release/ReleaseClient.min.js +0 -1
- package/bin/ServiceEndpoint/ServiceEndpointClient.min.js +0 -1
- package/bin/package.json +0 -37
- package/buildpackage.js +0 -80
- package/src/Accounts/Accounts.ts +0 -134
- package/src/Accounts/AccountsClient.ts +0 -83
- package/src/Accounts/index.ts +0 -2
- package/src/AdvancedSecurity.Reporting/Reporting.ts +0 -180
- package/src/AdvancedSecurity.Reporting/ReportingClient.ts +0 -47
- package/src/Alert/Alert.ts +0 -1037
- package/src/Alert/AlertClient.ts +0 -330
- package/src/Boards/Boards.ts +0 -684
- package/src/Boards/BoardsClient.ts +0 -593
- package/src/Boards/index.ts +0 -2
- package/src/Build/Build.ts +0 -3416
- package/src/Build/BuildClient.ts +0 -2740
- package/src/Build/BuildServices.ts +0 -39
- package/src/Build/index.ts +0 -3
- package/src/Comments/Comments.ts +0 -330
- package/src/Comments/index.ts +0 -1
- package/src/Common/Client.ts +0 -37
- package/src/Common/CommonServices.ts +0 -853
- package/src/Common/Context.d.ts +0 -46
- package/src/Common/Fetch.ts +0 -239
- package/src/Common/RestClientBase.ts +0 -186
- package/src/Common/System.ts +0 -36
- package/src/Common/SystemData.ts +0 -135
- package/src/Common/Util/Serialization.ts +0 -59
- package/src/Common/Util/Url.ts +0 -773
- package/src/Common/index.ts +0 -3
- package/src/Contributions/Contributions.ts +0 -708
- package/src/Contributions/ContributionsClient.ts +0 -109
- package/src/Contributions/index.ts +0 -2
- package/src/Core/Core.ts +0 -579
- package/src/Core/CoreClient.ts +0 -765
- package/src/Core/index.ts +0 -2
- package/src/Dashboard/Dashboard.ts +0 -419
- package/src/Dashboard/DashboardClient.ts +0 -370
- package/src/Dashboard/WidgetConfigHelpers.ts +0 -43
- package/src/Dashboard/WidgetContracts.ts +0 -226
- package/src/Dashboard/WidgetHelpers.ts +0 -145
- package/src/Dashboard/index.ts +0 -5
- package/src/DistributedTaskCommon/DistributedTaskCommon.ts +0 -108
- package/src/DistributedTaskCommon/index.ts +0 -1
- package/src/ExtensionManagement/ExtensionManagement.ts +0 -1205
- package/src/ExtensionManagement/ExtensionManagementClient.ts +0 -646
- package/src/ExtensionManagement/index.ts +0 -2
- package/src/Favorite/Favorite.ts +0 -136
- package/src/Favorite/FavoriteClient.ts +0 -301
- package/src/FeatureAvailability/FeatureAvailability.ts +0 -20
- package/src/FeatureAvailability/FeatureAvailabilityClient.ts +0 -153
- package/src/FeatureAvailability/index.ts +0 -2
- package/src/FeatureManagement/FeatureManagement.ts +0 -166
- package/src/FeatureManagement/FeatureManagementClient.ts +0 -246
- package/src/FeatureManagement/index.ts +0 -2
- package/src/FileContainer/FileContainer.ts +0 -205
- package/src/FileContainer/FileContainerClient.ts +0 -154
- package/src/FileContainer/index.ts +0 -2
- package/src/FormInput/FormInput.ts +0 -288
- package/src/FormInput/index.ts +0 -1
- package/src/Gallery/Gallery.ts +0 -1977
- package/src/Gallery/GalleryClient.ts +0 -2251
- package/src/Gallery/index.ts +0 -2
- package/src/Git/CodeEditorTypes.ts +0 -335
- package/src/Git/Git.ts +0 -4062
- package/src/Git/GitClient.ts +0 -4750
- package/src/Git/GitServices.ts +0 -18
- package/src/Git/index.ts +0 -4
- package/src/Graph/Graph.ts +0 -572
- package/src/Graph/GraphClient.ts +0 -846
- package/src/Graph/index.ts +0 -2
- package/src/Identities/Identities.ts +0 -261
- package/src/Identities/IdentityProvider.ts +0 -90
- package/src/Identities/IdentityService.ts +0 -89
- package/src/Identities/index.ts +0 -3
- package/src/Locations/Locations.ts +0 -165
- package/src/Locations/LocationsClient.ts +0 -220
- package/src/Locations/index.ts +0 -2
- package/src/Management/Management.ts +0 -176
- package/src/Management/ManagementClient.ts +0 -348
- package/src/Notification/Notification.ts +0 -1460
- package/src/Notification/NotificationClient.ts +0 -477
- package/src/Notification/index.ts +0 -2
- package/src/Operations/Operations.ts +0 -86
- package/src/Operations/OperationsClient.ts +0 -42
- package/src/Operations/index.ts +0 -2
- package/src/Pipelines/Pipelines.ts +0 -354
- package/src/Pipelines/PipelinesClient.ts +0 -306
- package/src/Policy/Policy.ts +0 -173
- package/src/Policy/PolicyClient.ts +0 -315
- package/src/Policy/index.ts +0 -2
- package/src/Profile/Profile.ts +0 -187
- package/src/Profile/ProfileClient.ts +0 -328
- package/src/Profile/index.ts +0 -2
- package/src/ProjectAnalysis/ProjectAnalysis.ts +0 -74
- package/src/ProjectAnalysis/ProjectAnalysisClient.ts +0 -124
- package/src/ProjectAnalysis/index.ts +0 -2
- package/src/Release/Release.ts +0 -4237
- package/src/Release/ReleaseClient.ts +0 -2450
- package/src/Release/index.ts +0 -2
- package/src/ResourceUsage/ResourceUsage.ts +0 -19
- package/src/ResourceUsage/ResourceUsageClient.ts +0 -48
- package/src/ServiceEndpoint/ServiceEndpoint.ts +0 -930
- package/src/ServiceEndpoint/ServiceEndpointClient.ts +0 -617
- package/src/ServiceEndpoint/index.ts +0 -2
- package/src/ServiceHooks/ServiceHooks.ts +0 -759
- package/src/ServiceHooks/ServiceHooksClient.ts +0 -499
- package/src/ServiceHooks/index.ts +0 -2
- package/src/TaskAgent/TaskAgent.ts +0 -3896
- package/src/TaskAgent/TaskAgentClient.ts +0 -3918
- package/src/TaskAgent/index.ts +0 -2
- package/src/Test/Test.ts +0 -5853
- package/src/Test/TestClient.ts +0 -2201
- package/src/Test/index.ts +0 -2
- package/src/TestPlan/TestPlan.ts +0 -1384
- package/src/TestPlan/TestPlanClient.ts +0 -1367
- package/src/TestPlan/index.ts +0 -2
- package/src/TestResults/TestResults.ts +0 -11
- package/src/TestResults/TestResultsClient.ts +0 -3506
- package/src/TestResults/index.ts +0 -2
- package/src/Tfvc/Tfvc.ts +0 -770
- package/src/Tfvc/TfvcClient.ts +0 -757
- package/src/Tfvc/index.ts +0 -2
- package/src/WebApi/WebApi.ts +0 -452
- package/src/WebApi/index.ts +0 -1
- package/src/Wiki/Wiki.ts +0 -352
- package/src/Wiki/WikiClient.ts +0 -712
- package/src/Wiki/index.ts +0 -2
- package/src/Work/Work.ts +0 -1367
- package/src/Work/WorkClient.ts +0 -1489
- package/src/Work/index.ts +0 -2
- package/src/WorkItemTracking/WorkItemTracking.ts +0 -2215
- package/src/WorkItemTracking/WorkItemTrackingClient.ts +0 -2032
- package/src/WorkItemTracking/WorkItemTrackingServices.ts +0 -329
- package/src/WorkItemTracking/index.ts +0 -3
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +0 -1295
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +0 -1455
- package/src/WorkItemTrackingProcess/index.ts +0 -2
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +0 -606
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +0 -1175
- package/src/WorkItemTrackingProcessDefinitions/index.ts +0 -2
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -21
- /package/{bin/Accounts → Accounts}/Accounts.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.js +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.min.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.min.js +0 -0
- /package/{bin/Accounts → Accounts}/index.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/index.js +0 -0
- /package/{bin/Accounts → Accounts}/index.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
- /package/{bin/Boards → Boards}/Boards.d.ts +0 -0
- /package/{bin/Boards → Boards}/Boards.js +0 -0
- /package/{bin/Boards → Boards}/Boards.min.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.d.ts +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.min.js +0 -0
- /package/{bin/Boards → Boards}/index.d.ts +0 -0
- /package/{bin/Boards → Boards}/index.js +0 -0
- /package/{bin/Boards → Boards}/index.min.js +0 -0
- /package/{bin/Build → Build}/Build.d.ts +0 -0
- /package/{bin/Build → Build}/Build.js +0 -0
- /package/{bin/Build → Build}/Build.min.js +0 -0
- /package/{bin/Build → Build}/BuildClient.d.ts +0 -0
- /package/{bin/Build → Build}/BuildClient.js +0 -0
- /package/{bin/Build → Build}/BuildClient.min.js +0 -0
- /package/{bin/Build → Build}/BuildServices.d.ts +0 -0
- /package/{bin/Build → Build}/BuildServices.js +0 -0
- /package/{bin/Build → Build}/BuildServices.min.js +0 -0
- /package/{bin/Build → Build}/index.d.ts +0 -0
- /package/{bin/Build → Build}/index.js +0 -0
- /package/{bin/Build → Build}/index.min.js +0 -0
- /package/{bin/Comments → Comments}/Comments.d.ts +0 -0
- /package/{bin/Comments → Comments}/Comments.js +0 -0
- /package/{bin/Comments → Comments}/Comments.min.js +0 -0
- /package/{bin/Comments → Comments}/index.d.ts +0 -0
- /package/{bin/Comments → Comments}/index.js +0 -0
- /package/{bin/Comments → Comments}/index.min.js +0 -0
- /package/{bin/Common → Common}/Client.d.ts +0 -0
- /package/{bin/Common → Common}/Client.js +0 -0
- /package/{bin/Common → Common}/Client.min.js +0 -0
- /package/{bin/Common → Common}/CommonServices.d.ts +0 -0
- /package/{bin/Common → Common}/CommonServices.js +0 -0
- /package/{bin/Common → Common}/CommonServices.min.js +0 -0
- /package/{bin/Common → Common}/Context.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.js +0 -0
- /package/{bin/Common → Common}/Fetch.min.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.d.ts +0 -0
- /package/{bin/Common → Common}/RestClientBase.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.min.js +0 -0
- /package/{bin/Common → Common}/System.d.ts +0 -0
- /package/{bin/Common → Common}/System.js +0 -0
- /package/{bin/Common → Common}/System.min.js +0 -0
- /package/{bin/Common → Common}/SystemData.d.ts +0 -0
- /package/{bin/Common → Common}/SystemData.js +0 -0
- /package/{bin/Common → Common}/SystemData.min.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Serialization.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.min.js +0 -0
- /package/{bin/Common → Common}/Util/Url.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Url.js +0 -0
- /package/{bin/Common → Common}/Util/Url.min.js +0 -0
- /package/{bin/Common → Common}/index.d.ts +0 -0
- /package/{bin/Common → Common}/index.js +0 -0
- /package/{bin/Common → Common}/index.min.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.min.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.min.js +0 -0
- /package/{bin/Contributions → Contributions}/index.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/index.js +0 -0
- /package/{bin/Contributions → Contributions}/index.min.js +0 -0
- /package/{bin/Core → Core}/Core.d.ts +0 -0
- /package/{bin/Core → Core}/Core.js +0 -0
- /package/{bin/Core → Core}/Core.min.js +0 -0
- /package/{bin/Core → Core}/CoreClient.d.ts +0 -0
- /package/{bin/Core → Core}/CoreClient.js +0 -0
- /package/{bin/Core → Core}/CoreClient.min.js +0 -0
- /package/{bin/Core → Core}/index.d.ts +0 -0
- /package/{bin/Core → Core}/index.js +0 -0
- /package/{bin/Core → Core}/index.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/index.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.min.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.min.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/index.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.min.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.min.js +0 -0
- /package/{bin/FormInput → FormInput}/index.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/index.js +0 -0
- /package/{bin/FormInput → FormInput}/index.min.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.min.js +0 -0
- /package/{bin/Gallery → Gallery}/index.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/index.js +0 -0
- /package/{bin/Gallery → Gallery}/index.min.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.d.ts +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.min.js +0 -0
- /package/{bin/Git → Git}/Git.d.ts +0 -0
- /package/{bin/Git → Git}/Git.js +0 -0
- /package/{bin/Git → Git}/Git.min.js +0 -0
- /package/{bin/Git → Git}/GitClient.d.ts +0 -0
- /package/{bin/Git → Git}/GitClient.js +0 -0
- /package/{bin/Git → Git}/GitClient.min.js +0 -0
- /package/{bin/Git → Git}/GitServices.d.ts +0 -0
- /package/{bin/Git → Git}/GitServices.js +0 -0
- /package/{bin/Git → Git}/GitServices.min.js +0 -0
- /package/{bin/Git → Git}/index.d.ts +0 -0
- /package/{bin/Git → Git}/index.js +0 -0
- /package/{bin/Git → Git}/index.min.js +0 -0
- /package/{bin/Graph → Graph}/Graph.d.ts +0 -0
- /package/{bin/Graph → Graph}/Graph.js +0 -0
- /package/{bin/Graph → Graph}/Graph.min.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.d.ts +0 -0
- /package/{bin/Graph → Graph}/GraphClient.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.min.js +0 -0
- /package/{bin/Graph → Graph}/index.d.ts +0 -0
- /package/{bin/Graph → Graph}/index.js +0 -0
- /package/{bin/Graph → Graph}/index.min.js +0 -0
- /package/{bin/Identities → Identities}/Identities.d.ts +0 -0
- /package/{bin/Identities → Identities}/Identities.js +0 -0
- /package/{bin/Identities → Identities}/Identities.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityService.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.min.js +0 -0
- /package/{bin/Identities → Identities}/index.d.ts +0 -0
- /package/{bin/Identities → Identities}/index.js +0 -0
- /package/{bin/Identities → Identities}/index.min.js +0 -0
- /package/{bin/Locations → Locations}/Locations.d.ts +0 -0
- /package/{bin/Locations → Locations}/Locations.js +0 -0
- /package/{bin/Locations → Locations}/Locations.min.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.d.ts +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.min.js +0 -0
- /package/{bin/Locations → Locations}/index.d.ts +0 -0
- /package/{bin/Locations → Locations}/index.js +0 -0
- /package/{bin/Locations → Locations}/index.min.js +0 -0
- /package/{bin/Management → Management}/Management.js +0 -0
- /package/{bin/Management → Management}/Management.min.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.d.ts +0 -0
- /package/{bin/Management → Management}/ManagementClient.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.min.js +0 -0
- /package/{bin/Notification → Notification}/Notification.d.ts +0 -0
- /package/{bin/Notification → Notification}/Notification.js +0 -0
- /package/{bin/Notification → Notification}/Notification.min.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.d.ts +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.min.js +0 -0
- /package/{bin/Notification → Notification}/index.d.ts +0 -0
- /package/{bin/Notification → Notification}/index.js +0 -0
- /package/{bin/Notification → Notification}/index.min.js +0 -0
- /package/{bin/Operations → Operations}/Operations.d.ts +0 -0
- /package/{bin/Operations → Operations}/Operations.js +0 -0
- /package/{bin/Operations → Operations}/Operations.min.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.d.ts +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.min.js +0 -0
- /package/{bin/Operations → Operations}/index.d.ts +0 -0
- /package/{bin/Operations → Operations}/index.js +0 -0
- /package/{bin/Operations → Operations}/index.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.min.js +0 -0
- /package/{bin/Policy → Policy}/Policy.d.ts +0 -0
- /package/{bin/Policy → Policy}/Policy.js +0 -0
- /package/{bin/Policy → Policy}/Policy.min.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.d.ts +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.min.js +0 -0
- /package/{bin/Policy → Policy}/index.d.ts +0 -0
- /package/{bin/Policy → Policy}/index.js +0 -0
- /package/{bin/Policy → Policy}/index.min.js +0 -0
- /package/{bin/Profile → Profile}/Profile.d.ts +0 -0
- /package/{bin/Profile → Profile}/Profile.js +0 -0
- /package/{bin/Profile → Profile}/Profile.min.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.d.ts +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.min.js +0 -0
- /package/{bin/Profile → Profile}/index.d.ts +0 -0
- /package/{bin/Profile → Profile}/index.js +0 -0
- /package/{bin/Profile → Profile}/index.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.min.js +0 -0
- /package/{bin/Release → Release}/Release.d.ts +0 -0
- /package/{bin/Release → Release}/Release.js +0 -0
- /package/{bin/Release → Release}/Release.min.js +0 -0
- /package/{bin/Release → Release}/index.d.ts +0 -0
- /package/{bin/Release → Release}/index.js +0 -0
- /package/{bin/Release → Release}/index.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.d.ts +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.min.js +0 -0
- /package/{bin/Test → Test}/Test.d.ts +0 -0
- /package/{bin/Test → Test}/Test.js +0 -0
- /package/{bin/Test → Test}/Test.min.js +0 -0
- /package/{bin/Test → Test}/TestClient.d.ts +0 -0
- /package/{bin/Test → Test}/TestClient.js +0 -0
- /package/{bin/Test → Test}/TestClient.min.js +0 -0
- /package/{bin/Test → Test}/index.d.ts +0 -0
- /package/{bin/Test → Test}/index.js +0 -0
- /package/{bin/Test → Test}/index.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/index.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.min.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.min.js +0 -0
- /package/{bin/TestResults → TestResults}/index.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/index.js +0 -0
- /package/{bin/TestResults → TestResults}/index.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/index.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.min.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.min.js +0 -0
- /package/{bin/WebApi → WebApi}/index.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/index.js +0 -0
- /package/{bin/WebApi → WebApi}/index.min.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.min.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.min.js +0 -0
- /package/{bin/Wiki → Wiki}/index.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/index.js +0 -0
- /package/{bin/Wiki → Wiki}/index.min.js +0 -0
- /package/{bin/Work → Work}/Work.d.ts +0 -0
- /package/{bin/Work → Work}/Work.js +0 -0
- /package/{bin/Work → Work}/Work.min.js +0 -0
- /package/{bin/Work → Work}/WorkClient.d.ts +0 -0
- /package/{bin/Work → Work}/WorkClient.js +0 -0
- /package/{bin/Work → Work}/WorkClient.min.js +0 -0
- /package/{bin/Work → Work}/index.d.ts +0 -0
- /package/{bin/Work → Work}/index.js +0 -0
- /package/{bin/Work → Work}/index.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
- /package/{bin/index.d.ts → index.d.ts} +0 -0
- /package/{bin/index.js → index.js} +0 -0
- /package/{bin/index.min.js → index.min.js} +0 -0
package/bin/package.json
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "azure-devops-extension-api",
|
|
3
|
-
"version": "4.248.0",
|
|
4
|
-
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/Microsoft/azure-devops-extension-api.git"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "node buildpackage.js"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"extensions",
|
|
14
|
-
"Azure DevOps",
|
|
15
|
-
"Visual Studio Team Services"
|
|
16
|
-
],
|
|
17
|
-
"author": "Microsoft",
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://aka.ms/AAk5pcm"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://docs.microsoft.com/en-us/azure/devops/integrate",
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"whatwg-fetch": "~3.0.0"
|
|
25
|
-
},
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"azure-devops-extension-sdk": "^2 || ^3 || ^4"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"glob": "~7.1.2",
|
|
31
|
-
"node": "^11.0.0",
|
|
32
|
-
"recursive-copy": "~2.0.7",
|
|
33
|
-
"shelljs": "~0.8.5",
|
|
34
|
-
"typescript": "^2.9.2",
|
|
35
|
-
"uglify-es": "~3.1.3"
|
|
36
|
-
}
|
|
37
|
-
}
|
package/buildpackage.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is solely a build script, intended to prep the azure-devops-extension-api npm package for publishing.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
const { execSync } = require("child_process");
|
|
6
|
-
const fs = require("fs");
|
|
7
|
-
const glob = require("glob");
|
|
8
|
-
const path = require("path");
|
|
9
|
-
const copy = require("recursive-copy");
|
|
10
|
-
const shell = require("shelljs");
|
|
11
|
-
const UglifyES = require("uglify-es");
|
|
12
|
-
|
|
13
|
-
(async function() {
|
|
14
|
-
|
|
15
|
-
// Clean bin directory
|
|
16
|
-
console.log("# Cleaning bin. Running shelljs rm -rf ./bin");
|
|
17
|
-
shell.rm("-rf", "./bin");
|
|
18
|
-
|
|
19
|
-
// Compile typescript
|
|
20
|
-
console.log("# Compiling TypeScript. Executing `node_modules\\.bin\\tsc -p ./tsconfig.json`.");
|
|
21
|
-
try {
|
|
22
|
-
execSync("node_modules\\.bin\\tsc -p ./tsconfig.json", {
|
|
23
|
-
stdio: [0, 1, 2],
|
|
24
|
-
shell: true,
|
|
25
|
-
cwd: __dirname,
|
|
26
|
-
});
|
|
27
|
-
} catch (error) {
|
|
28
|
-
console.log("ERROR: Failed to build TypeScript.");
|
|
29
|
-
process.exit(1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Copy ts files to bin
|
|
33
|
-
console.log("# Copy declare files to bin.");
|
|
34
|
-
try {
|
|
35
|
-
await copy(path.join(__dirname, "src"), path.join(__dirname, "bin"), {
|
|
36
|
-
filter: f => {
|
|
37
|
-
return f.endsWith(".d.ts");
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
} catch (e) {
|
|
41
|
-
console.log("Copy failed. " + error);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Uglify JavaScript
|
|
45
|
-
console.log("# Minifying JS using the UglifyES API, replacing un-minified files.");
|
|
46
|
-
let count = 0;
|
|
47
|
-
|
|
48
|
-
const files = await new Promise((resolve, reject) => {
|
|
49
|
-
glob("./bin/**/*.js", (err, files) => {
|
|
50
|
-
if (err) {
|
|
51
|
-
reject(err);
|
|
52
|
-
} else {
|
|
53
|
-
resolve(files);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
for (const file of files) {
|
|
59
|
-
if (file.includes("node_modules/")) {
|
|
60
|
-
continue;
|
|
61
|
-
}
|
|
62
|
-
fs.writeFileSync(
|
|
63
|
-
file.substr(0, file.length - 2) + "min.js",
|
|
64
|
-
UglifyES.minify(fs.readFileSync(file, "utf-8"), { compress: true, mangle: true }).code,
|
|
65
|
-
"utf-8",
|
|
66
|
-
);
|
|
67
|
-
count++;
|
|
68
|
-
}
|
|
69
|
-
console.log(`-- Minified ${count} files.`);
|
|
70
|
-
|
|
71
|
-
// Copy package.json, LICENSE, README.md to bin
|
|
72
|
-
console.log("# Copying package.json, LICENSE, and README.md to bin.");
|
|
73
|
-
try {
|
|
74
|
-
await copy(path.join(__dirname, "package.json"), path.join(__dirname, "bin", "package.json"));
|
|
75
|
-
await copy(path.join(__dirname, "LICENSE"), path.join(__dirname, "bin", "LICENSE"));
|
|
76
|
-
await copy(path.join(__dirname, "README.md"), path.join(__dirname, "bin", "README.md"));
|
|
77
|
-
} catch (error) {
|
|
78
|
-
console.log("ERROR: Failed to copy package.json, LICENSE, or README.md - " + error);
|
|
79
|
-
}
|
|
80
|
-
})();
|
package/src/Accounts/Accounts.ts
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export interface Account {
|
|
8
|
-
/**
|
|
9
|
-
* Identifier for an Account
|
|
10
|
-
*/
|
|
11
|
-
accountId: string;
|
|
12
|
-
/**
|
|
13
|
-
* Name for an account
|
|
14
|
-
*/
|
|
15
|
-
accountName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Owner of account
|
|
18
|
-
*/
|
|
19
|
-
accountOwner: string;
|
|
20
|
-
/**
|
|
21
|
-
* Current account status
|
|
22
|
-
*/
|
|
23
|
-
accountStatus: AccountStatus;
|
|
24
|
-
/**
|
|
25
|
-
* Type of account: Personal, Organization
|
|
26
|
-
*/
|
|
27
|
-
accountType: AccountType;
|
|
28
|
-
/**
|
|
29
|
-
* Uri for an account
|
|
30
|
-
*/
|
|
31
|
-
accountUri: string;
|
|
32
|
-
/**
|
|
33
|
-
* Who created the account
|
|
34
|
-
*/
|
|
35
|
-
createdBy: string;
|
|
36
|
-
/**
|
|
37
|
-
* Date account was created
|
|
38
|
-
*/
|
|
39
|
-
createdDate: Date;
|
|
40
|
-
hasMoved: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Identity of last person to update the account
|
|
43
|
-
*/
|
|
44
|
-
lastUpdatedBy: string;
|
|
45
|
-
/**
|
|
46
|
-
* Date account was last updated
|
|
47
|
-
*/
|
|
48
|
-
lastUpdatedDate: Date;
|
|
49
|
-
/**
|
|
50
|
-
* Namespace for an account
|
|
51
|
-
*/
|
|
52
|
-
namespaceId: string;
|
|
53
|
-
newCollectionId: string;
|
|
54
|
-
/**
|
|
55
|
-
* Organization that created the account
|
|
56
|
-
*/
|
|
57
|
-
organizationName: string;
|
|
58
|
-
/**
|
|
59
|
-
* Extended properties
|
|
60
|
-
*/
|
|
61
|
-
properties: any;
|
|
62
|
-
/**
|
|
63
|
-
* Reason for current status
|
|
64
|
-
*/
|
|
65
|
-
statusReason: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface AccountCreateInfoInternal {
|
|
69
|
-
accountName: string;
|
|
70
|
-
creator: string;
|
|
71
|
-
organization: string;
|
|
72
|
-
preferences: AccountPreferencesInternal;
|
|
73
|
-
properties: any;
|
|
74
|
-
serviceDefinitions: { key: string; value: string }[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface AccountPreferencesInternal {
|
|
78
|
-
culture: any;
|
|
79
|
-
language: any;
|
|
80
|
-
timeZone: any;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export enum AccountStatus {
|
|
84
|
-
None = 0,
|
|
85
|
-
/**
|
|
86
|
-
* This hosting account is active and assigned to a customer.
|
|
87
|
-
*/
|
|
88
|
-
Enabled = 1,
|
|
89
|
-
/**
|
|
90
|
-
* This hosting account is disabled.
|
|
91
|
-
*/
|
|
92
|
-
Disabled = 2,
|
|
93
|
-
/**
|
|
94
|
-
* This account is part of deletion batch and scheduled for deletion.
|
|
95
|
-
*/
|
|
96
|
-
Deleted = 3,
|
|
97
|
-
/**
|
|
98
|
-
* This account is not mastered locally and has physically moved.
|
|
99
|
-
*/
|
|
100
|
-
Moved = 4
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export enum AccountType {
|
|
104
|
-
Personal = 0,
|
|
105
|
-
Organization = 1
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export enum AccountUserStatus {
|
|
109
|
-
None = 0,
|
|
110
|
-
/**
|
|
111
|
-
* User has signed in at least once to the VSTS account
|
|
112
|
-
*/
|
|
113
|
-
Active = 1,
|
|
114
|
-
/**
|
|
115
|
-
* User cannot sign in; primarily used by admin to temporarily remove a user due to absence or license reallocation
|
|
116
|
-
*/
|
|
117
|
-
Disabled = 2,
|
|
118
|
-
/**
|
|
119
|
-
* User is removed from the VSTS account by the VSTS account admin
|
|
120
|
-
*/
|
|
121
|
-
Deleted = 3,
|
|
122
|
-
/**
|
|
123
|
-
* User is invited to join the VSTS account by the VSTS account admin, but has not signed up/signed in yet
|
|
124
|
-
*/
|
|
125
|
-
Pending = 4,
|
|
126
|
-
/**
|
|
127
|
-
* User can sign in; primarily used when license is in expired state and we give a grace period
|
|
128
|
-
*/
|
|
129
|
-
Expired = 5,
|
|
130
|
-
/**
|
|
131
|
-
* User is disabled; if reenabled, they will still be in the Pending state
|
|
132
|
-
*/
|
|
133
|
-
PendingDisabled = 6
|
|
134
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { IVssRestClientOptions } from "../Common/Context";
|
|
8
|
-
import { RestClientBase } from "../Common/RestClientBase";
|
|
9
|
-
|
|
10
|
-
import * as Accounts from "../Accounts/Accounts";
|
|
11
|
-
|
|
12
|
-
export class AccountsRestClient extends RestClientBase {
|
|
13
|
-
constructor(options: IVssRestClientOptions) {
|
|
14
|
-
super(options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
public static readonly RESOURCE_AREA_ID = "0d55247a-1c47-4462-9b1f-5e2125590ee6";
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @param info -
|
|
21
|
-
* @param usePrecreated -
|
|
22
|
-
*/
|
|
23
|
-
public async createAccount(
|
|
24
|
-
info: Accounts.AccountCreateInfoInternal,
|
|
25
|
-
usePrecreated?: boolean
|
|
26
|
-
): Promise<Accounts.Account> {
|
|
27
|
-
|
|
28
|
-
const queryValues: any = {
|
|
29
|
-
usePrecreated: usePrecreated
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
return this.beginRequest<Accounts.Account>({
|
|
33
|
-
apiVersion: "7.2-preview.1",
|
|
34
|
-
method: "POST",
|
|
35
|
-
routeTemplate: "_apis/Accounts/{accountId}",
|
|
36
|
-
queryParams: queryValues,
|
|
37
|
-
body: info
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @param accountId -
|
|
43
|
-
*/
|
|
44
|
-
public async getAccount(
|
|
45
|
-
accountId: string
|
|
46
|
-
): Promise<Accounts.Account> {
|
|
47
|
-
|
|
48
|
-
return this.beginRequest<Accounts.Account>({
|
|
49
|
-
apiVersion: "7.2-preview.1",
|
|
50
|
-
routeTemplate: "_apis/Accounts/{accountId}",
|
|
51
|
-
routeValues: {
|
|
52
|
-
accountId: accountId
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Get a list of accounts for a specific owner or a specific member. One of the following parameters is required: ownerId, memberId.
|
|
59
|
-
*
|
|
60
|
-
* @param ownerId - ID for the owner of the accounts.
|
|
61
|
-
* @param memberId - ID for a member of the accounts.
|
|
62
|
-
* @param properties -
|
|
63
|
-
*/
|
|
64
|
-
public async getAccounts(
|
|
65
|
-
ownerId?: string,
|
|
66
|
-
memberId?: string,
|
|
67
|
-
properties?: string
|
|
68
|
-
): Promise<Accounts.Account[]> {
|
|
69
|
-
|
|
70
|
-
const queryValues: any = {
|
|
71
|
-
ownerId: ownerId,
|
|
72
|
-
memberId: memberId,
|
|
73
|
-
properties: properties
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
return this.beginRequest<Accounts.Account[]>({
|
|
77
|
-
apiVersion: "7.2-preview.1",
|
|
78
|
-
routeTemplate: "_apis/Accounts/{accountId}",
|
|
79
|
-
queryParams: queryValues
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
package/src/Accounts/index.ts
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Alert Summary by severity.
|
|
9
|
-
*/
|
|
10
|
-
export interface AlertSummaryBySeverity {
|
|
11
|
-
/**
|
|
12
|
-
* Total Critical severity alerts.
|
|
13
|
-
*/
|
|
14
|
-
critical: number;
|
|
15
|
-
/**
|
|
16
|
-
* Total High severity alerts.
|
|
17
|
-
*/
|
|
18
|
-
high: number;
|
|
19
|
-
/**
|
|
20
|
-
* Total low severity alerts.
|
|
21
|
-
*/
|
|
22
|
-
low: number;
|
|
23
|
-
/**
|
|
24
|
-
* Total Medium severity alerts.
|
|
25
|
-
*/
|
|
26
|
-
medium: number;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export enum AlertType {
|
|
30
|
-
/**
|
|
31
|
-
* The code has an unspecified vulnerability type
|
|
32
|
-
*/
|
|
33
|
-
Unknown = 0,
|
|
34
|
-
/**
|
|
35
|
-
* The code uses a dependency with a known vulnerability.
|
|
36
|
-
*/
|
|
37
|
-
Dependency = 1,
|
|
38
|
-
/**
|
|
39
|
-
* The code contains a secret that has now been compromised and must be revoked.
|
|
40
|
-
*/
|
|
41
|
-
Secret = 2,
|
|
42
|
-
/**
|
|
43
|
-
* The code contains a weakness determined by static analysis.
|
|
44
|
-
*/
|
|
45
|
-
Code = 3,
|
|
46
|
-
/**
|
|
47
|
-
* The code uses a dependency with potential license incompliance.
|
|
48
|
-
*/
|
|
49
|
-
License = 4
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Org Alert Summary.
|
|
54
|
-
*/
|
|
55
|
-
export interface OrgAlertSummary {
|
|
56
|
-
/**
|
|
57
|
-
* Org Id.
|
|
58
|
-
*/
|
|
59
|
-
orgId: string;
|
|
60
|
-
/**
|
|
61
|
-
* A list of Project summary data.
|
|
62
|
-
*/
|
|
63
|
-
projects: ProjectAlertSummary[];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Org Enablement Summary.
|
|
68
|
-
*/
|
|
69
|
-
export interface OrgEnablementSummary {
|
|
70
|
-
/**
|
|
71
|
-
* Org Id.
|
|
72
|
-
*/
|
|
73
|
-
orgId: string;
|
|
74
|
-
/**
|
|
75
|
-
* A list of Project Enablement data.
|
|
76
|
-
*/
|
|
77
|
-
projects: ProjectEnablementSummary[];
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Project Alert Summary.
|
|
82
|
-
*/
|
|
83
|
-
export interface ProjectAlertSummary {
|
|
84
|
-
/**
|
|
85
|
-
* Project Id.
|
|
86
|
-
*/
|
|
87
|
-
projectId: string;
|
|
88
|
-
/**
|
|
89
|
-
* Project Name.
|
|
90
|
-
*/
|
|
91
|
-
projectName: string;
|
|
92
|
-
/**
|
|
93
|
-
* A list of RepoAlertSummary data.
|
|
94
|
-
*/
|
|
95
|
-
repos: RepoAlertSummary[];
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Project Enablement Summary.
|
|
100
|
-
*/
|
|
101
|
-
export interface ProjectEnablementSummary {
|
|
102
|
-
/**
|
|
103
|
-
* Project Id.
|
|
104
|
-
*/
|
|
105
|
-
projectId: string;
|
|
106
|
-
/**
|
|
107
|
-
* Project Name.
|
|
108
|
-
*/
|
|
109
|
-
projectName: string;
|
|
110
|
-
/**
|
|
111
|
-
* A list of RepoEnablementSummary data.
|
|
112
|
-
*/
|
|
113
|
-
repos: RepoEnablementSummary[];
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Repo Alert Summary.
|
|
118
|
-
*/
|
|
119
|
-
export interface RepoAlertSummary {
|
|
120
|
-
/**
|
|
121
|
-
* Total alerts by severity.
|
|
122
|
-
*/
|
|
123
|
-
alertsBySeverity: AlertSummaryBySeverity;
|
|
124
|
-
/**
|
|
125
|
-
* RepoId.
|
|
126
|
-
*/
|
|
127
|
-
repoId: string;
|
|
128
|
-
/**
|
|
129
|
-
* Repo Name.
|
|
130
|
-
*/
|
|
131
|
-
repoName: string;
|
|
132
|
-
/**
|
|
133
|
-
* Total active alerts in the repo.
|
|
134
|
-
*/
|
|
135
|
-
totalAlerts: number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Repo Enablement Summary.
|
|
140
|
-
*/
|
|
141
|
-
export interface RepoEnablementSummary {
|
|
142
|
-
/**
|
|
143
|
-
* AdvSec is enabled for the repo.
|
|
144
|
-
*/
|
|
145
|
-
advSecIsEnabled: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* RepoId.
|
|
148
|
-
*/
|
|
149
|
-
repoId: string;
|
|
150
|
-
/**
|
|
151
|
-
* Repo Name.
|
|
152
|
-
*/
|
|
153
|
-
repoName: string;
|
|
154
|
-
/**
|
|
155
|
-
* Repo enablement summary for different scan types.
|
|
156
|
-
*/
|
|
157
|
-
scanTypeSummary: { [key: number] : ScanTypeSummaryProperties; };
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface ScanTypeSummaryProperties {
|
|
161
|
-
/**
|
|
162
|
-
* True if alerts are enabled for the associated alert type/repo combination, false if disabled.
|
|
163
|
-
*/
|
|
164
|
-
alerts: ScanTypeSummaryPropertiesData;
|
|
165
|
-
/**
|
|
166
|
-
* True if pull request alerts are enabled for the associated alert type/repo combination, false if disabled.
|
|
167
|
-
*/
|
|
168
|
-
prAlerts: ScanTypeSummaryPropertiesData;
|
|
169
|
-
/**
|
|
170
|
-
* True if push protection is enabled for the associated alert type/repo combination, false if disabled.
|
|
171
|
-
*/
|
|
172
|
-
pushProtection: ScanTypeSummaryPropertiesData;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface ScanTypeSummaryPropertiesData {
|
|
176
|
-
/**
|
|
177
|
-
* Represents the state of the scan type summary property.
|
|
178
|
-
*/
|
|
179
|
-
enabled: boolean;
|
|
180
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { IVssRestClientOptions } from "../Common/Context";
|
|
8
|
-
import { RestClientBase } from "../Common/RestClientBase";
|
|
9
|
-
|
|
10
|
-
import * as Reporting from "../AdvancedSecurity.Reporting/Reporting";
|
|
11
|
-
|
|
12
|
-
export class ReportingRestClient extends RestClientBase {
|
|
13
|
-
constructor(options: IVssRestClientOptions) {
|
|
14
|
-
super(options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Get Alert summary by severity for the org
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
public async getAlertSummaryForOrg(
|
|
22
|
-
): Promise<Reporting.OrgAlertSummary> {
|
|
23
|
-
|
|
24
|
-
return this.beginRequest<Reporting.OrgAlertSummary>({
|
|
25
|
-
apiVersion: "7.2-preview.1",
|
|
26
|
-
routeTemplate: "_apis/Reporting/summary/{action}",
|
|
27
|
-
routeValues: {
|
|
28
|
-
action: "Alerts"
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
|
-
public async getEnablementSummaryForOrg(
|
|
36
|
-
): Promise<Reporting.OrgEnablementSummary> {
|
|
37
|
-
|
|
38
|
-
return this.beginRequest<Reporting.OrgEnablementSummary>({
|
|
39
|
-
apiVersion: "7.2-preview.1",
|
|
40
|
-
routeTemplate: "_apis/Reporting/summary/{action}",
|
|
41
|
-
routeValues: {
|
|
42
|
-
action: "Enablement"
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
}
|