azure-devops-extension-api 4.247.0 → 4.248.1
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/Git → Git}/Git.d.ts +4 -0
- package/{bin/Management → Management}/Management.d.ts +8 -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 +24 -1
- package/{bin/TestResults → TestResults}/TestResultsClient.js +84 -10
- package/TestResults/TestResultsClient.min.js +1 -0
- 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/TestResults/TestResultsClient.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 -4058
- 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 -172
- 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 -3450
- 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.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
|
@@ -1,328 +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 Profile from "../Profile/Profile";
|
|
11
|
-
import * as WebApi from "../WebApi/WebApi";
|
|
12
|
-
|
|
13
|
-
export class ProfileRestClient extends RestClientBase {
|
|
14
|
-
constructor(options: IVssRestClientOptions) {
|
|
15
|
-
super(options);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
public static readonly RESOURCE_AREA_ID = "8ccfef3d-2b87-4e99-8ccb-66e343d2daa8";
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @param id -
|
|
22
|
-
* @param descriptor -
|
|
23
|
-
*/
|
|
24
|
-
public async deleteProfileAttribute(
|
|
25
|
-
id: string,
|
|
26
|
-
descriptor: string
|
|
27
|
-
): Promise<void> {
|
|
28
|
-
|
|
29
|
-
const queryValues: any = {
|
|
30
|
-
descriptor: descriptor
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return this.beginRequest<void>({
|
|
34
|
-
apiVersion: "7.2-preview.2",
|
|
35
|
-
method: "DELETE",
|
|
36
|
-
routeTemplate: "_apis/Profile/Attributes/{id}",
|
|
37
|
-
routeValues: {
|
|
38
|
-
id: id
|
|
39
|
-
},
|
|
40
|
-
queryParams: queryValues
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @param id -
|
|
46
|
-
* @param descriptor -
|
|
47
|
-
*/
|
|
48
|
-
public async getProfileAttribute(
|
|
49
|
-
id: string,
|
|
50
|
-
descriptor: string
|
|
51
|
-
): Promise<Profile.ProfileAttribute> {
|
|
52
|
-
|
|
53
|
-
const queryValues: any = {
|
|
54
|
-
descriptor: descriptor
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return this.beginRequest<Profile.ProfileAttribute>({
|
|
58
|
-
apiVersion: "7.2-preview.2",
|
|
59
|
-
routeTemplate: "_apis/Profile/Attributes/{id}",
|
|
60
|
-
routeValues: {
|
|
61
|
-
id: id
|
|
62
|
-
},
|
|
63
|
-
queryParams: queryValues
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @param id -
|
|
69
|
-
* @param partition -
|
|
70
|
-
* @param modifiedSince -
|
|
71
|
-
* @param modifiedAfterRevision -
|
|
72
|
-
* @param withCoreAttributes -
|
|
73
|
-
* @param coreAttributes -
|
|
74
|
-
*/
|
|
75
|
-
public async getProfileAttributes(
|
|
76
|
-
id: string,
|
|
77
|
-
partition: string,
|
|
78
|
-
modifiedSince?: string,
|
|
79
|
-
modifiedAfterRevision?: string,
|
|
80
|
-
withCoreAttributes?: boolean,
|
|
81
|
-
coreAttributes?: string
|
|
82
|
-
): Promise<Profile.ProfileAttribute[]> {
|
|
83
|
-
|
|
84
|
-
const queryValues: any = {
|
|
85
|
-
partition: partition,
|
|
86
|
-
modifiedSince: modifiedSince,
|
|
87
|
-
modifiedAfterRevision: modifiedAfterRevision,
|
|
88
|
-
withCoreAttributes: withCoreAttributes,
|
|
89
|
-
coreAttributes: coreAttributes
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
return this.beginRequest<Profile.ProfileAttribute[]>({
|
|
93
|
-
apiVersion: "7.2-preview.2",
|
|
94
|
-
routeTemplate: "_apis/Profile/Attributes/{id}",
|
|
95
|
-
routeValues: {
|
|
96
|
-
id: id
|
|
97
|
-
},
|
|
98
|
-
queryParams: queryValues
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @param container -
|
|
104
|
-
* @param id -
|
|
105
|
-
* @param descriptor -
|
|
106
|
-
*/
|
|
107
|
-
public async setProfileAttribute(
|
|
108
|
-
container: any,
|
|
109
|
-
id: string,
|
|
110
|
-
descriptor: string
|
|
111
|
-
): Promise<void> {
|
|
112
|
-
|
|
113
|
-
const queryValues: any = {
|
|
114
|
-
descriptor: descriptor
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
return this.beginRequest<void>({
|
|
118
|
-
apiVersion: "7.2-preview.2",
|
|
119
|
-
method: "PUT",
|
|
120
|
-
routeTemplate: "_apis/Profile/Attributes/{id}",
|
|
121
|
-
routeValues: {
|
|
122
|
-
id: id
|
|
123
|
-
},
|
|
124
|
-
queryParams: queryValues,
|
|
125
|
-
body: container
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @param attributesCollection -
|
|
131
|
-
* @param id -
|
|
132
|
-
*/
|
|
133
|
-
public async setProfileAttributes(
|
|
134
|
-
attributesCollection: WebApi.VssJsonCollectionWrapperV<Profile.ProfileAttributeBase<any>[]>,
|
|
135
|
-
id: string
|
|
136
|
-
): Promise<void> {
|
|
137
|
-
|
|
138
|
-
return this.beginRequest<void>({
|
|
139
|
-
apiVersion: "7.2-preview.2",
|
|
140
|
-
method: "PATCH",
|
|
141
|
-
routeTemplate: "_apis/Profile/Attributes/{id}",
|
|
142
|
-
routeValues: {
|
|
143
|
-
id: id
|
|
144
|
-
},
|
|
145
|
-
body: attributesCollection
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @param id -
|
|
151
|
-
* @param size -
|
|
152
|
-
* @param format -
|
|
153
|
-
*/
|
|
154
|
-
public async getAvatar(
|
|
155
|
-
id: string,
|
|
156
|
-
size?: string,
|
|
157
|
-
format?: string
|
|
158
|
-
): Promise<Profile.Avatar> {
|
|
159
|
-
|
|
160
|
-
const queryValues: any = {
|
|
161
|
-
size: size,
|
|
162
|
-
format: format
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
return this.beginRequest<Profile.Avatar>({
|
|
166
|
-
apiVersion: "7.2-preview.1",
|
|
167
|
-
routeTemplate: "_apis/Profile/Avatar/{id}",
|
|
168
|
-
routeValues: {
|
|
169
|
-
id: id
|
|
170
|
-
},
|
|
171
|
-
queryParams: queryValues
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @param container -
|
|
177
|
-
* @param id -
|
|
178
|
-
* @param size -
|
|
179
|
-
* @param format -
|
|
180
|
-
* @param displayName -
|
|
181
|
-
*/
|
|
182
|
-
public async getAvatarPreview(
|
|
183
|
-
container: any,
|
|
184
|
-
id: string,
|
|
185
|
-
size?: string,
|
|
186
|
-
format?: string,
|
|
187
|
-
displayName?: string
|
|
188
|
-
): Promise<Profile.Avatar> {
|
|
189
|
-
|
|
190
|
-
const queryValues: any = {
|
|
191
|
-
size: size,
|
|
192
|
-
format: format,
|
|
193
|
-
displayName: displayName
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
return this.beginRequest<Profile.Avatar>({
|
|
197
|
-
apiVersion: "7.2-preview.1",
|
|
198
|
-
method: "POST",
|
|
199
|
-
routeTemplate: "_apis/Profile/Avatar/{id}",
|
|
200
|
-
routeValues: {
|
|
201
|
-
id: id
|
|
202
|
-
},
|
|
203
|
-
queryParams: queryValues,
|
|
204
|
-
body: container
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @param id -
|
|
210
|
-
*/
|
|
211
|
-
public async resetAvatar(
|
|
212
|
-
id: string
|
|
213
|
-
): Promise<void> {
|
|
214
|
-
|
|
215
|
-
return this.beginRequest<void>({
|
|
216
|
-
apiVersion: "7.2-preview.1",
|
|
217
|
-
method: "DELETE",
|
|
218
|
-
routeTemplate: "_apis/Profile/Avatar/{id}",
|
|
219
|
-
routeValues: {
|
|
220
|
-
id: id
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* @param container -
|
|
227
|
-
* @param id -
|
|
228
|
-
*/
|
|
229
|
-
public async setAvatar(
|
|
230
|
-
container: any,
|
|
231
|
-
id: string
|
|
232
|
-
): Promise<void> {
|
|
233
|
-
|
|
234
|
-
return this.beginRequest<void>({
|
|
235
|
-
apiVersion: "7.2-preview.1",
|
|
236
|
-
method: "PUT",
|
|
237
|
-
routeTemplate: "_apis/Profile/Avatar/{id}",
|
|
238
|
-
routeValues: {
|
|
239
|
-
id: id
|
|
240
|
-
},
|
|
241
|
-
body: container
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Create profile
|
|
247
|
-
*
|
|
248
|
-
* @param createProfileContext - Context for profile creation
|
|
249
|
-
* @param autoCreate - Create profile automatically
|
|
250
|
-
*/
|
|
251
|
-
public async createProfile(
|
|
252
|
-
createProfileContext: Profile.CreateProfileContext,
|
|
253
|
-
autoCreate?: boolean
|
|
254
|
-
): Promise<Profile.Profile> {
|
|
255
|
-
|
|
256
|
-
const queryValues: any = {
|
|
257
|
-
autoCreate: autoCreate
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
return this.beginRequest<Profile.Profile>({
|
|
261
|
-
apiVersion: "7.2-preview.3",
|
|
262
|
-
method: "POST",
|
|
263
|
-
routeTemplate: "_apis/Profile/Profiles/{id}",
|
|
264
|
-
queryParams: queryValues,
|
|
265
|
-
body: createProfileContext
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Gets a user profile.
|
|
271
|
-
*
|
|
272
|
-
* @param id - The ID of the target user profile within the same organization, or 'me' to get the profile of the current authenticated user.
|
|
273
|
-
* @param details - Return public profile information such as display name, email address, country, etc. If false, the withAttributes parameter is ignored.
|
|
274
|
-
* @param withAttributes - If true, gets the attributes (named key-value pairs of arbitrary data) associated with the profile. The partition parameter must also have a value.
|
|
275
|
-
* @param partition - The partition (named group) of attributes to return.
|
|
276
|
-
* @param coreAttributes - A comma-delimited list of core profile attributes to return. Valid values are Email, Avatar, DisplayName, and ContactWithOffers.
|
|
277
|
-
* @param forceRefresh - Not used in this version of the API.
|
|
278
|
-
*/
|
|
279
|
-
public async getProfile(
|
|
280
|
-
id: string,
|
|
281
|
-
details?: boolean,
|
|
282
|
-
withAttributes?: boolean,
|
|
283
|
-
partition?: string,
|
|
284
|
-
coreAttributes?: string,
|
|
285
|
-
forceRefresh?: boolean
|
|
286
|
-
): Promise<Profile.Profile> {
|
|
287
|
-
|
|
288
|
-
const queryValues: any = {
|
|
289
|
-
details: details,
|
|
290
|
-
withAttributes: withAttributes,
|
|
291
|
-
partition: partition,
|
|
292
|
-
coreAttributes: coreAttributes,
|
|
293
|
-
forceRefresh: forceRefresh
|
|
294
|
-
};
|
|
295
|
-
|
|
296
|
-
return this.beginRequest<Profile.Profile>({
|
|
297
|
-
apiVersion: "7.2-preview.3",
|
|
298
|
-
routeTemplate: "_apis/Profile/Profiles/{id}",
|
|
299
|
-
routeValues: {
|
|
300
|
-
id: id
|
|
301
|
-
},
|
|
302
|
-
queryParams: queryValues
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Update profile
|
|
308
|
-
*
|
|
309
|
-
* @param profile - Update profile
|
|
310
|
-
* @param id - Profile ID
|
|
311
|
-
*/
|
|
312
|
-
public async updateProfile(
|
|
313
|
-
profile: Profile.Profile,
|
|
314
|
-
id: string
|
|
315
|
-
): Promise<void> {
|
|
316
|
-
|
|
317
|
-
return this.beginRequest<void>({
|
|
318
|
-
apiVersion: "7.2-preview.3",
|
|
319
|
-
method: "PATCH",
|
|
320
|
-
routeTemplate: "_apis/Profile/Profiles/{id}",
|
|
321
|
-
routeValues: {
|
|
322
|
-
id: id
|
|
323
|
-
},
|
|
324
|
-
body: profile
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
}
|
package/src/Profile/index.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export enum AggregationType {
|
|
8
|
-
Hourly = 0,
|
|
9
|
-
Daily = 1
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface AnalyzerDescriptor {
|
|
13
|
-
description: string;
|
|
14
|
-
id: string;
|
|
15
|
-
majorVersion: number;
|
|
16
|
-
minorVersion: number;
|
|
17
|
-
name: string;
|
|
18
|
-
patchVersion: number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface CodeChangeTrendItem {
|
|
22
|
-
time: Date;
|
|
23
|
-
value: number;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface LanguageMetricsSecuredObject {
|
|
27
|
-
namespaceId: string;
|
|
28
|
-
projectId: string;
|
|
29
|
-
requiredPermissions: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface LanguageStatistics extends LanguageMetricsSecuredObject {
|
|
33
|
-
bytes: number;
|
|
34
|
-
files: number;
|
|
35
|
-
filesPercentage: number;
|
|
36
|
-
languagePercentage: number;
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface ProjectActivityMetrics {
|
|
41
|
-
authorsCount: number;
|
|
42
|
-
codeChangesCount: number;
|
|
43
|
-
codeChangesTrend: CodeChangeTrendItem[];
|
|
44
|
-
projectId: string;
|
|
45
|
-
pullRequestsCompletedCount: number;
|
|
46
|
-
pullRequestsCreatedCount: number;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface ProjectLanguageAnalytics extends LanguageMetricsSecuredObject {
|
|
50
|
-
id: string;
|
|
51
|
-
languageBreakdown: LanguageStatistics[];
|
|
52
|
-
repositoryLanguageAnalytics: RepositoryLanguageAnalytics[];
|
|
53
|
-
resultPhase: ResultPhase;
|
|
54
|
-
url: string;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface RepositoryActivityMetrics {
|
|
58
|
-
codeChangesCount: number;
|
|
59
|
-
codeChangesTrend: CodeChangeTrendItem[];
|
|
60
|
-
repositoryId: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface RepositoryLanguageAnalytics extends LanguageMetricsSecuredObject {
|
|
64
|
-
id: string;
|
|
65
|
-
languageBreakdown: LanguageStatistics[];
|
|
66
|
-
name: string;
|
|
67
|
-
resultPhase: ResultPhase;
|
|
68
|
-
updatedTime: Date;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export enum ResultPhase {
|
|
72
|
-
Preliminary = 0,
|
|
73
|
-
Full = 1
|
|
74
|
-
}
|
|
@@ -1,124 +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 ProjectAnalysis from "../ProjectAnalysis/ProjectAnalysis";
|
|
11
|
-
|
|
12
|
-
export class ProjectAnalysisRestClient extends RestClientBase {
|
|
13
|
-
constructor(options: IVssRestClientOptions) {
|
|
14
|
-
super(options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
public static readonly RESOURCE_AREA_ID = "7658fa33-b1bf-4580-990f-fac5896773d3";
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @param project - Project ID or project name
|
|
21
|
-
*/
|
|
22
|
-
public async getProjectLanguageAnalytics(
|
|
23
|
-
project: string
|
|
24
|
-
): Promise<ProjectAnalysis.ProjectLanguageAnalytics> {
|
|
25
|
-
|
|
26
|
-
return this.beginRequest<ProjectAnalysis.ProjectLanguageAnalytics>({
|
|
27
|
-
apiVersion: "7.2-preview.1",
|
|
28
|
-
routeTemplate: "{project}/_apis/projectanalysis/languagemetrics",
|
|
29
|
-
routeValues: {
|
|
30
|
-
project: project
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @param project - Project ID or project name
|
|
37
|
-
* @param fromDate -
|
|
38
|
-
* @param aggregationType -
|
|
39
|
-
*/
|
|
40
|
-
public async getProjectActivityMetrics(
|
|
41
|
-
project: string,
|
|
42
|
-
fromDate: Date,
|
|
43
|
-
aggregationType: ProjectAnalysis.AggregationType
|
|
44
|
-
): Promise<ProjectAnalysis.ProjectActivityMetrics> {
|
|
45
|
-
|
|
46
|
-
const queryValues: any = {
|
|
47
|
-
fromDate: fromDate,
|
|
48
|
-
aggregationType: aggregationType
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
return this.beginRequest<ProjectAnalysis.ProjectActivityMetrics>({
|
|
52
|
-
apiVersion: "7.2-preview.1",
|
|
53
|
-
routeTemplate: "{project}/_apis/projectanalysis/projectactivitymetrics",
|
|
54
|
-
routeValues: {
|
|
55
|
-
project: project
|
|
56
|
-
},
|
|
57
|
-
queryParams: queryValues
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Retrieves git activity metrics for repositories matching a specified criteria.
|
|
63
|
-
*
|
|
64
|
-
* @param project - Project ID or project name
|
|
65
|
-
* @param fromDate - Date from which, the trends are to be fetched.
|
|
66
|
-
* @param aggregationType - Bucket size on which, trends are to be aggregated.
|
|
67
|
-
* @param skip - The number of repositories to ignore.
|
|
68
|
-
* @param top - The number of repositories for which activity metrics are to be retrieved.
|
|
69
|
-
*/
|
|
70
|
-
public async getGitRepositoriesActivityMetrics(
|
|
71
|
-
project: string,
|
|
72
|
-
fromDate: Date,
|
|
73
|
-
aggregationType: ProjectAnalysis.AggregationType,
|
|
74
|
-
skip: number,
|
|
75
|
-
top: number
|
|
76
|
-
): Promise<ProjectAnalysis.RepositoryActivityMetrics[]> {
|
|
77
|
-
|
|
78
|
-
const queryValues: any = {
|
|
79
|
-
fromDate: fromDate,
|
|
80
|
-
aggregationType: aggregationType,
|
|
81
|
-
'$skip': skip,
|
|
82
|
-
'$top': top
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
return this.beginRequest<ProjectAnalysis.RepositoryActivityMetrics[]>({
|
|
86
|
-
apiVersion: "7.2-preview.1",
|
|
87
|
-
routeTemplate: "{project}/_apis/projectanalysis/repositoryactivitymetrics/{repositoryId}",
|
|
88
|
-
routeValues: {
|
|
89
|
-
project: project
|
|
90
|
-
},
|
|
91
|
-
queryParams: queryValues
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @param project - Project ID or project name
|
|
97
|
-
* @param repositoryId -
|
|
98
|
-
* @param fromDate -
|
|
99
|
-
* @param aggregationType -
|
|
100
|
-
*/
|
|
101
|
-
public async getRepositoryActivityMetrics(
|
|
102
|
-
project: string,
|
|
103
|
-
repositoryId: string,
|
|
104
|
-
fromDate: Date,
|
|
105
|
-
aggregationType: ProjectAnalysis.AggregationType
|
|
106
|
-
): Promise<ProjectAnalysis.RepositoryActivityMetrics> {
|
|
107
|
-
|
|
108
|
-
const queryValues: any = {
|
|
109
|
-
fromDate: fromDate,
|
|
110
|
-
aggregationType: aggregationType
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
return this.beginRequest<ProjectAnalysis.RepositoryActivityMetrics>({
|
|
114
|
-
apiVersion: "7.2-preview.1",
|
|
115
|
-
routeTemplate: "{project}/_apis/projectanalysis/repositoryactivitymetrics/{repositoryId}",
|
|
116
|
-
routeValues: {
|
|
117
|
-
project: project,
|
|
118
|
-
repositoryId: repositoryId
|
|
119
|
-
},
|
|
120
|
-
queryParams: queryValues
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
}
|