azure-devops-extension-api 4.269.1 → 5.271.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/Accounts/Accounts.d.ts +126 -126
- package/Accounts/Accounts.js +61 -62
- package/Accounts/Accounts.min.js +1 -1
- package/Accounts/AccountsClient.d.ts +24 -24
- package/Accounts/AccountsClient.js +78 -124
- package/Accounts/AccountsClient.min.js +1 -1
- package/Accounts/index.d.ts +2 -2
- package/Accounts/index.js +18 -9
- package/Accounts/index.min.js +1 -1
- package/AdvancedSecurity.Reporting/Reporting.d.ts +717 -712
- package/AdvancedSecurity.Reporting/Reporting.js +203 -204
- package/AdvancedSecurity.Reporting/Reporting.min.js +1 -1
- package/AdvancedSecurity.Reporting/ReportingClient.d.ts +83 -83
- package/AdvancedSecurity.Reporting/ReportingClient.js +267 -343
- package/AdvancedSecurity.Reporting/ReportingClient.min.js +1 -1
- package/Alert/Alert.d.ts +1265 -1245
- package/Alert/Alert.js +425 -426
- package/Alert/Alert.min.js +1 -1
- package/Alert/AlertClient.d.ts +184 -159
- package/Alert/AlertClient.js +512 -533
- package/Alert/AlertClient.min.js +1 -1
- package/Build/Build.d.ts +3318 -3292
- package/Build/Build.js +613 -607
- package/Build/Build.min.js +1 -1
- package/Build/BuildClient.d.ts +842 -820
- package/Build/BuildClient.js +2319 -2568
- package/Build/BuildClient.min.js +1 -1
- package/Build/BuildServices.d.ts +32 -32
- package/Build/BuildServices.js +13 -14
- package/Build/BuildServices.min.js +1 -1
- package/Build/index.d.ts +3 -3
- package/Build/index.js +19 -10
- package/Build/index.min.js +1 -1
- package/Comments/Comments.d.ts +309 -309
- package/Comments/Comments.js +93 -94
- package/Comments/Comments.min.js +1 -1
- package/Comments/index.d.ts +1 -1
- package/Comments/index.js +17 -8
- package/Comments/index.min.js +1 -1
- package/Common/Client.d.ts +9 -9
- package/Common/Client.js +25 -26
- package/Common/Client.min.js +1 -1
- package/Common/CommonServices.d.ts +774 -735
- package/Common/CommonServices.js +71 -72
- package/Common/CommonServices.min.js +1 -1
- package/Common/Context.js +2 -0
- package/Common/Fetch.d.ts +95 -95
- package/Common/Fetch.js +131 -169
- package/Common/Fetch.min.js +1 -1
- package/Common/RestClientBase.d.ts +96 -96
- package/Common/RestClientBase.js +109 -139
- package/Common/RestClientBase.min.js +1 -1
- package/Common/System.d.ts +30 -30
- package/Common/System.js +39 -40
- package/Common/System.min.js +1 -1
- package/Common/SystemData.d.ts +129 -129
- package/Common/SystemData.js +138 -139
- package/Common/SystemData.min.js +1 -1
- package/Common/Util/Serialization.d.ts +15 -15
- package/Common/Util/Serialization.js +51 -53
- package/Common/Util/Serialization.min.js +1 -1
- package/Common/Util/Url.d.ts +238 -236
- package/Common/Util/Url.js +605 -626
- package/Common/Util/Url.min.js +1 -1
- package/Common/index.d.ts +3 -3
- package/Common/index.js +19 -9
- package/Common/index.min.js +1 -1
- package/Contributions/Contributions.d.ts +694 -694
- package/Contributions/Contributions.js +185 -186
- package/Contributions/Contributions.min.js +1 -1
- package/Contributions/ContributionsClient.d.ts +31 -31
- package/Contributions/ContributionsClient.js +99 -147
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Contributions/index.d.ts +2 -2
- package/Contributions/index.js +18 -9
- package/Contributions/index.min.js +1 -1
- package/Core/Core.d.ts +546 -546
- package/Core/Core.js +79 -80
- package/Core/Core.min.js +1 -1
- package/Core/CoreClient.d.ts +224 -224
- package/Core/CoreClient.js +652 -777
- package/Core/CoreClient.min.js +1 -1
- package/Core/index.d.ts +2 -2
- package/Core/index.js +18 -9
- package/Core/index.min.js +1 -1
- package/Dashboard/Dashboard.d.ts +393 -393
- package/Dashboard/Dashboard.js +56 -57
- package/Dashboard/Dashboard.min.js +1 -1
- package/Dashboard/DashboardClient.d.ts +106 -106
- package/Dashboard/DashboardClient.js +317 -393
- package/Dashboard/DashboardClient.min.js +1 -1
- package/Dashboard/WidgetConfigHelpers.d.ts +34 -34
- package/Dashboard/WidgetConfigHelpers.js +41 -45
- package/Dashboard/WidgetConfigHelpers.min.js +1 -1
- package/Dashboard/WidgetContracts.d.ts +213 -213
- package/Dashboard/WidgetContracts.js +24 -25
- package/Dashboard/WidgetContracts.min.js +1 -1
- package/Dashboard/WidgetHelpers.d.ts +89 -89
- package/Dashboard/WidgetHelpers.js +135 -146
- package/Dashboard/WidgetHelpers.min.js +1 -1
- package/Dashboard/index.d.ts +5 -5
- package/Dashboard/index.js +21 -12
- package/Dashboard/index.min.js +1 -1
- package/DistributedTaskCommon/DistributedTaskCommon.d.ts +103 -103
- package/DistributedTaskCommon/DistributedTaskCommon.js +7 -9
- package/DistributedTaskCommon/DistributedTaskCommon.min.js +1 -1
- package/DistributedTaskCommon/index.d.ts +1 -1
- package/DistributedTaskCommon/index.js +17 -4
- package/DistributedTaskCommon/index.min.js +1 -1
- package/ExtensionManagement/ExtensionManagement.d.ts +1163 -1163
- package/ExtensionManagement/ExtensionManagement.js +284 -285
- package/ExtensionManagement/ExtensionManagement.min.js +1 -1
- package/ExtensionManagement/ExtensionManagementClient.d.ts +191 -191
- package/ExtensionManagement/ExtensionManagementClient.js +551 -648
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/ExtensionManagement/index.d.ts +2 -2
- package/ExtensionManagement/index.js +18 -9
- package/ExtensionManagement/index.min.js +1 -1
- package/Favorite/Favorite.d.ts +124 -124
- package/Favorite/Favorite.js +7 -9
- package/Favorite/Favorite.min.js +1 -1
- package/Favorite/FavoriteClient.d.ts +78 -78
- package/Favorite/FavoriteClient.js +247 -314
- package/Favorite/FavoriteClient.min.js +1 -1
- package/FeatureAvailability/FeatureAvailability.d.ts +13 -13
- package/FeatureAvailability/FeatureAvailability.js +7 -9
- package/FeatureAvailability/FeatureAvailability.min.js +1 -1
- package/FeatureAvailability/FeatureAvailabilityClient.d.ts +45 -45
- package/FeatureAvailability/FeatureAvailabilityClient.js +136 -189
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureAvailability/index.d.ts +2 -2
- package/FeatureAvailability/index.js +18 -8
- package/FeatureAvailability/index.min.js +1 -1
- package/FeatureManagement/FeatureManagement.d.ts +161 -161
- package/FeatureManagement/FeatureManagement.js +26 -27
- package/FeatureManagement/FeatureManagement.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.d.ts +78 -78
- package/FeatureManagement/FeatureManagementClient.js +214 -273
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FeatureManagement/index.d.ts +2 -2
- package/FeatureManagement/index.js +18 -9
- package/FeatureManagement/index.min.js +1 -1
- package/FileContainer/FileContainer.d.ts +193 -193
- package/FileContainer/FileContainer.js +58 -59
- package/FileContainer/FileContainer.min.js +1 -1
- package/FileContainer/FileContainerClient.d.ts +47 -47
- package/FileContainer/FileContainerClient.js +132 -182
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/FileContainer/index.d.ts +2 -2
- package/FileContainer/index.js +18 -9
- package/FileContainer/index.min.js +1 -1
- package/FormInput/FormInput.d.ts +278 -278
- package/FormInput/FormInput.js +77 -78
- package/FormInput/FormInput.min.js +1 -1
- package/FormInput/index.d.ts +1 -1
- package/FormInput/index.js +17 -8
- package/FormInput/index.min.js +1 -1
- package/Gallery/Gallery.d.ts +1911 -1911
- package/Gallery/Gallery.js +788 -789
- package/Gallery/Gallery.min.js +1 -1
- package/Gallery/GalleryClient.d.ts +613 -603
- package/Gallery/GalleryClient.js +1884 -2100
- package/Gallery/GalleryClient.min.js +1 -1
- package/Gallery/index.d.ts +2 -2
- package/Gallery/index.js +18 -9
- package/Gallery/index.min.js +1 -1
- package/Git/CodeEditorTypes.d.ts +305 -305
- package/Git/CodeEditorTypes.js +27 -28
- package/Git/CodeEditorTypes.min.js +1 -1
- package/Git/Git.d.ts +3976 -3888
- package/Git/Git.js +830 -817
- package/Git/Git.min.js +1 -1
- package/Git/GitClient.d.ts +1468 -1454
- package/Git/GitClient.js +3892 -4313
- package/Git/GitClient.min.js +1 -1
- package/Git/GitServices.d.ts +16 -16
- package/Git/GitServices.js +10 -11
- package/Git/GitServices.min.js +1 -1
- package/Git/index.d.ts +4 -4
- package/Git/index.js +20 -11
- package/Git/index.min.js +1 -1
- package/Graph/Graph.d.ts +518 -518
- package/Graph/Graph.js +14 -15
- package/Graph/Graph.min.js +1 -1
- package/Graph/GraphClient.d.ts +261 -261
- package/Graph/GraphClient.js +737 -867
- package/Graph/GraphClient.min.js +1 -1
- package/Graph/index.d.ts +2 -2
- package/Graph/index.js +18 -9
- package/Graph/index.min.js +1 -1
- package/Identities/Identities.d.ts +242 -241
- package/Identities/Identities.js +49 -50
- package/Identities/Identities.min.js +1 -1
- package/Identities/IdentityProvider.d.ts +40 -40
- package/Identities/IdentityProvider.js +47 -49
- package/Identities/IdentityProvider.min.js +1 -1
- package/Identities/IdentityService.d.ts +72 -72
- package/Identities/IdentityService.js +13 -14
- package/Identities/IdentityService.min.js +1 -1
- package/Identities/index.d.ts +3 -3
- package/Identities/index.js +19 -10
- package/Identities/index.min.js +1 -1
- package/Locations/Locations.d.ts +150 -150
- package/Locations/Locations.js +28 -29
- package/Locations/Locations.min.js +1 -1
- package/Locations/LocationsClient.d.ts +65 -65
- package/Locations/LocationsClient.js +211 -276
- package/Locations/LocationsClient.min.js +1 -1
- package/Locations/index.d.ts +2 -2
- package/Locations/index.js +18 -9
- package/Locations/index.min.js +1 -1
- package/Management/Management.d.ts +424 -407
- package/Management/Management.js +27 -28
- package/Management/Management.min.js +1 -1
- package/Management/ManagementClient.d.ts +116 -105
- package/Management/ManagementClient.js +349 -398
- package/Management/ManagementClient.min.js +1 -1
- package/Notification/Notification.d.ts +1387 -1387
- package/Notification/Notification.js +385 -386
- package/Notification/Notification.min.js +1 -1
- package/Notification/NotificationClient.d.ts +149 -149
- package/Notification/NotificationClient.js +420 -511
- package/Notification/NotificationClient.min.js +1 -1
- package/Notification/index.d.ts +2 -2
- package/Notification/index.js +18 -9
- package/Notification/index.min.js +1 -1
- package/Operations/Operations.d.ts +77 -77
- package/Operations/Operations.js +38 -39
- package/Operations/Operations.min.js +1 -1
- package/Operations/OperationsClient.d.ts +13 -13
- package/Operations/OperationsClient.js +45 -86
- package/Operations/OperationsClient.min.js +1 -1
- package/Operations/index.d.ts +2 -2
- package/Operations/index.js +18 -9
- package/Operations/index.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +341 -341
- package/Pipelines/Pipelines.js +82 -83
- package/Pipelines/Pipelines.min.js +1 -1
- package/Pipelines/PipelinesClient.d.ts +92 -92
- package/Pipelines/PipelinesClient.js +260 -325
- package/Pipelines/PipelinesClient.min.js +1 -1
- package/Policy/Policy.d.ts +160 -160
- package/Policy/Policy.js +38 -39
- package/Policy/Policy.min.js +1 -1
- package/Policy/PolicyClient.d.ts +99 -99
- package/Policy/PolicyClient.js +274 -346
- package/Policy/PolicyClient.min.js +1 -1
- package/Policy/index.d.ts +2 -2
- package/Policy/index.js +18 -9
- package/Policy/index.min.js +1 -1
- package/Profile/Profile.d.ts +175 -175
- package/Profile/Profile.js +35 -36
- package/Profile/Profile.min.js +1 -1
- package/Profile/ProfileClient.d.ts +86 -86
- package/Profile/ProfileClient.js +277 -347
- package/Profile/ProfileClient.min.js +1 -1
- package/Profile/index.d.ts +2 -2
- package/Profile/index.js +18 -9
- package/Profile/index.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysis.d.ts +59 -59
- package/ProjectAnalysis/ProjectAnalysis.js +18 -19
- package/ProjectAnalysis/ProjectAnalysis.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.d.ts +34 -34
- package/ProjectAnalysis/ProjectAnalysisClient.js +110 -159
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/ProjectAnalysis/index.d.ts +2 -2
- package/ProjectAnalysis/index.js +18 -9
- package/ProjectAnalysis/index.min.js +1 -1
- package/README.md +57 -1
- package/Release/Release.d.ts +4068 -4068
- package/Release/Release.js +876 -877
- package/Release/Release.min.js +1 -1
- package/Release/ReleaseClient.d.ts +720 -720
- package/Release/ReleaseClient.js +2003 -2273
- package/Release/ReleaseClient.min.js +1 -1
- package/Release/index.d.ts +2 -2
- package/Release/index.js +18 -9
- package/Release/index.min.js +1 -1
- package/ResourceUsage/ResourceUsage.d.ts +13 -13
- package/ResourceUsage/ResourceUsage.js +7 -9
- package/ResourceUsage/ResourceUsage.min.js +1 -1
- package/ResourceUsage/ResourceUsageClient.d.ts +20 -20
- package/ResourceUsage/ResourceUsageClient.js +51 -93
- package/ResourceUsage/ResourceUsageClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +894 -894
- package/ServiceEndpoint/ServiceEndpoint.js +84 -85
- package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.d.ts +190 -190
- package/ServiceEndpoint/ServiceEndpointClient.js +556 -669
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceEndpoint/index.d.ts +2 -2
- package/ServiceEndpoint/index.js +18 -9
- package/ServiceEndpoint/index.min.js +1 -1
- package/ServiceHooks/ServiceHooks.d.ts +758 -758
- package/ServiceHooks/ServiceHooks.js +114 -115
- package/ServiceHooks/ServiceHooks.min.js +1 -1
- package/ServiceHooks/ServiceHooksClient.d.ts +156 -156
- package/ServiceHooks/ServiceHooksClient.js +434 -526
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/ServiceHooks/index.d.ts +2 -2
- package/ServiceHooks/index.js +18 -9
- package/ServiceHooks/index.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +3777 -3764
- package/TaskAgent/TaskAgent.js +594 -594
- package/TaskAgent/TaskAgent.min.js +1 -1
- package/TaskAgent/TaskAgentClient.d.ts +1085 -1073
- package/TaskAgent/TaskAgentClient.js +3273 -3731
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/TaskAgent/index.d.ts +2 -2
- package/TaskAgent/index.js +18 -9
- package/TaskAgent/index.min.js +1 -1
- package/Test/Test.d.ts +5918 -5874
- package/Test/Test.js +1068 -1069
- package/Test/Test.min.js +1 -1
- package/Test/TestClient.d.ts +635 -635
- package/Test/TestClient.js +1822 -2088
- package/Test/TestClient.min.js +1 -1
- package/Test/index.d.ts +2 -2
- package/Test/index.js +18 -9
- package/Test/index.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +1616 -1616
- package/TestPlan/TestPlan.js +270 -271
- package/TestPlan/TestPlan.min.js +1 -1
- package/TestPlan/TestPlanClient.d.ts +408 -408
- package/TestPlan/TestPlanClient.js +1160 -1387
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestPlan/index.d.ts +2 -2
- package/TestPlan/index.js +18 -9
- package/TestPlan/index.min.js +1 -1
- package/TestResults/TestResults.d.ts +5 -5
- package/TestResults/TestResults.js +7 -9
- package/TestResults/TestResults.min.js +1 -1
- package/TestResults/TestResultsClient.d.ts +1060 -1039
- package/TestResults/TestResultsClient.js +3099 -3491
- package/TestResults/TestResultsClient.min.js +1 -1
- package/TestResults/index.d.ts +2 -2
- package/TestResults/index.js +18 -8
- package/TestResults/index.min.js +1 -1
- package/Tfvc/Tfvc.d.ts +730 -730
- package/Tfvc/Tfvc.js +106 -107
- package/Tfvc/Tfvc.min.js +1 -1
- package/Tfvc/TfvcClient.d.ts +227 -227
- package/Tfvc/TfvcClient.js +620 -732
- package/Tfvc/TfvcClient.min.js +1 -1
- package/Tfvc/index.d.ts +2 -2
- package/Tfvc/index.js +18 -9
- package/Tfvc/index.min.js +1 -1
- package/WebApi/WebApi.d.ts +408 -408
- package/WebApi/WebApi.js +55 -56
- package/WebApi/WebApi.min.js +1 -1
- package/WebApi/index.d.ts +1 -1
- package/WebApi/index.js +17 -8
- package/WebApi/index.min.js +1 -1
- package/Wiki/Wiki.d.ts +328 -328
- package/Wiki/Wiki.js +22 -23
- package/Wiki/Wiki.min.js +1 -1
- package/Wiki/WikiClient.d.ts +218 -218
- package/Wiki/WikiClient.js +585 -684
- package/Wiki/WikiClient.min.js +1 -1
- package/Wiki/index.d.ts +2 -2
- package/Wiki/index.js +18 -9
- package/Wiki/index.min.js +1 -1
- package/Work/Work.d.ts +1298 -1298
- package/Work/Work.js +187 -188
- package/Work/Work.min.js +1 -1
- package/Work/WorkClient.d.ts +421 -421
- package/Work/WorkClient.js +1255 -1455
- package/Work/WorkClient.min.js +1 -1
- package/Work/index.d.ts +2 -2
- package/Work/index.js +18 -9
- package/Work/index.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +2158 -2124
- package/WorkItemTracking/WorkItemTracking.js +431 -432
- package/WorkItemTracking/WorkItemTracking.min.js +1 -1
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +624 -624
- package/WorkItemTracking/WorkItemTrackingClient.js +1688 -1918
- package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTrackingServices.d.ts +320 -320
- package/WorkItemTracking/WorkItemTrackingServices.js +18 -19
- package/WorkItemTracking/WorkItemTrackingServices.min.js +1 -1
- package/WorkItemTracking/index.d.ts +3 -3
- package/WorkItemTracking/index.js +19 -10
- package/WorkItemTracking/index.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +1238 -1238
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +299 -300
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +462 -462
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +1224 -1386
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcess/index.d.ts +2 -2
- package/WorkItemTrackingProcess/index.js +18 -9
- package/WorkItemTrackingProcess/index.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +575 -575
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.js +96 -97
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +376 -376
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +991 -1126
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/index.d.ts +2 -2
- package/WorkItemTrackingProcessDefinitions/index.js +18 -9
- package/WorkItemTrackingProcessDefinitions/index.min.js +1 -1
- package/_manifest/Spdx2xVs3xComparisonToolOutput.json +33 -0
- package/_manifest/spdx_2.2/ESRPClientLogs0504231512019.json +1 -0
- package/_manifest/spdx_2.2/bsi.cose +0 -0
- package/_manifest/spdx_2.2/bsi.json +1 -1
- package/_manifest/spdx_2.2/manifest.cat +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.json +1 -1
- package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -1
- package/_manifest/spdx_3.0/manifest.spdx.json +1 -1
- package/_manifest/spdx_3.0/manifest.spdx.json.sha256 +1 -1
- package/esm/Accounts/Accounts.js +58 -0
- package/esm/Accounts/Accounts.min.js +1 -0
- package/esm/Accounts/AccountsClient.js +59 -0
- package/esm/Accounts/AccountsClient.min.js +1 -0
- package/esm/Accounts/index.js +2 -0
- package/esm/Accounts/index.min.js +1 -0
- package/esm/AdvancedSecurity.Reporting/Reporting.js +200 -0
- package/esm/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
- package/esm/AdvancedSecurity.Reporting/ReportingClient.js +228 -0
- package/esm/AdvancedSecurity.Reporting/ReportingClient.min.js +1 -0
- package/esm/Alert/Alert.js +422 -0
- package/esm/Alert/Alert.min.js +1 -0
- package/esm/Alert/AlertClient.js +457 -0
- package/esm/Alert/AlertClient.min.js +1 -0
- package/esm/Build/Build.js +610 -0
- package/esm/Build/Build.min.js +1 -0
- package/esm/Build/BuildClient.js +2108 -0
- package/esm/Build/BuildClient.min.js +1 -0
- package/esm/Build/BuildServices.js +10 -0
- package/esm/Build/BuildServices.min.js +1 -0
- package/esm/Build/index.js +3 -0
- package/esm/Build/index.min.js +1 -0
- package/esm/Comments/Comments.js +90 -0
- package/esm/Comments/Comments.min.js +1 -0
- package/esm/Comments/index.js +1 -0
- package/esm/Comments/index.min.js +1 -0
- package/esm/Common/Client.js +22 -0
- package/esm/Common/Client.min.js +1 -0
- package/esm/Common/CommonServices.js +68 -0
- package/esm/Common/CommonServices.min.js +1 -0
- package/esm/Common/Context.js +1 -0
- package/esm/Common/Fetch.js +117 -0
- package/esm/Common/Fetch.min.js +1 -0
- package/esm/Common/RestClientBase.js +92 -0
- package/esm/Common/RestClientBase.min.js +1 -0
- package/esm/Common/System.js +36 -0
- package/esm/Common/System.min.js +1 -0
- package/esm/Common/SystemData.js +135 -0
- package/esm/Common/SystemData.min.js +1 -0
- package/esm/Common/Util/Serialization.js +48 -0
- package/esm/Common/Util/Serialization.min.js +1 -0
- package/esm/Common/Util/Url.js +595 -0
- package/esm/Common/Util/Url.min.js +1 -0
- package/esm/Common/index.js +3 -0
- package/esm/Common/index.min.js +1 -0
- package/esm/Contributions/Contributions.js +182 -0
- package/esm/Contributions/Contributions.min.js +1 -0
- package/esm/Contributions/ContributionsClient.js +78 -0
- package/esm/Contributions/ContributionsClient.min.js +1 -0
- package/esm/Contributions/index.js +2 -0
- package/esm/Contributions/index.min.js +1 -0
- package/esm/Core/Core.js +76 -0
- package/esm/Core/Core.min.js +1 -0
- package/esm/Core/CoreClient.js +573 -0
- package/esm/Core/CoreClient.min.js +1 -0
- package/esm/Core/index.js +2 -0
- package/esm/Core/index.min.js +1 -0
- package/esm/Dashboard/Dashboard.js +53 -0
- package/esm/Dashboard/Dashboard.min.js +1 -0
- package/esm/Dashboard/DashboardClient.js +278 -0
- package/esm/Dashboard/DashboardClient.min.js +1 -0
- package/esm/Dashboard/WidgetConfigHelpers.js +37 -0
- package/esm/Dashboard/WidgetConfigHelpers.min.js +1 -0
- package/esm/Dashboard/WidgetContracts.js +21 -0
- package/esm/Dashboard/WidgetContracts.min.js +1 -0
- package/esm/Dashboard/WidgetHelpers.js +129 -0
- package/esm/Dashboard/WidgetHelpers.min.js +1 -0
- package/esm/Dashboard/index.js +5 -0
- package/esm/Dashboard/index.min.js +1 -0
- package/esm/DistributedTaskCommon/DistributedTaskCommon.js +6 -0
- package/esm/DistributedTaskCommon/DistributedTaskCommon.min.js +1 -0
- package/esm/DistributedTaskCommon/index.js +1 -0
- package/esm/DistributedTaskCommon/index.min.js +1 -0
- package/esm/ExtensionManagement/ExtensionManagement.js +281 -0
- package/esm/ExtensionManagement/ExtensionManagement.min.js +1 -0
- package/esm/ExtensionManagement/ExtensionManagementClient.js +486 -0
- package/esm/ExtensionManagement/ExtensionManagementClient.min.js +1 -0
- package/esm/ExtensionManagement/index.js +2 -0
- package/esm/ExtensionManagement/index.min.js +1 -0
- package/esm/Favorite/Favorite.js +6 -0
- package/esm/Favorite/Favorite.min.js +1 -0
- package/esm/Favorite/FavoriteClient.js +214 -0
- package/esm/Favorite/FavoriteClient.min.js +1 -0
- package/esm/FeatureAvailability/FeatureAvailability.js +6 -0
- package/esm/FeatureAvailability/FeatureAvailability.min.js +1 -0
- package/esm/FeatureAvailability/FeatureAvailabilityClient.js +113 -0
- package/esm/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -0
- package/esm/FeatureAvailability/index.js +2 -0
- package/esm/FeatureAvailability/index.min.js +1 -0
- package/esm/FeatureManagement/FeatureManagement.js +23 -0
- package/esm/FeatureManagement/FeatureManagement.min.js +1 -0
- package/esm/FeatureManagement/FeatureManagementClient.js +183 -0
- package/esm/FeatureManagement/FeatureManagementClient.min.js +1 -0
- package/esm/FeatureManagement/index.js +2 -0
- package/esm/FeatureManagement/index.min.js +1 -0
- package/esm/FileContainer/FileContainer.js +55 -0
- package/esm/FileContainer/FileContainer.min.js +1 -0
- package/esm/FileContainer/FileContainerClient.js +111 -0
- package/esm/FileContainer/FileContainerClient.min.js +1 -0
- package/esm/FileContainer/index.js +2 -0
- package/esm/FileContainer/index.min.js +1 -0
- package/esm/FormInput/FormInput.js +74 -0
- package/esm/FormInput/FormInput.min.js +1 -0
- package/esm/FormInput/index.js +1 -0
- package/esm/FormInput/index.min.js +1 -0
- package/esm/Gallery/Gallery.js +785 -0
- package/esm/Gallery/Gallery.min.js +1 -0
- package/esm/Gallery/GalleryClient.js +1701 -0
- package/esm/Gallery/GalleryClient.min.js +1 -0
- package/esm/Gallery/index.js +2 -0
- package/esm/Gallery/index.min.js +1 -0
- package/esm/Git/CodeEditorTypes.js +24 -0
- package/esm/Git/CodeEditorTypes.min.js +1 -0
- package/esm/Git/Git.js +827 -0
- package/esm/Git/Git.min.js +1 -0
- package/esm/Git/GitClient.js +3571 -0
- package/esm/Git/GitClient.min.js +1 -0
- package/esm/Git/GitServices.js +7 -0
- package/esm/Git/GitServices.min.js +1 -0
- package/esm/Git/index.js +4 -0
- package/esm/Git/index.min.js +1 -0
- package/esm/Graph/Graph.js +11 -0
- package/esm/Graph/Graph.min.js +1 -0
- package/esm/Graph/GraphClient.js +644 -0
- package/esm/Graph/GraphClient.min.js +1 -0
- package/esm/Graph/index.js +2 -0
- package/esm/Graph/index.min.js +1 -0
- package/esm/Identities/Identities.js +46 -0
- package/esm/Identities/Identities.min.js +1 -0
- package/esm/Identities/IdentityProvider.js +43 -0
- package/esm/Identities/IdentityProvider.min.js +1 -0
- package/esm/Identities/IdentityService.js +10 -0
- package/esm/Identities/IdentityService.min.js +1 -0
- package/esm/Identities/index.js +3 -0
- package/esm/Identities/index.min.js +1 -0
- package/esm/Locations/Locations.js +25 -0
- package/esm/Locations/Locations.min.js +1 -0
- package/esm/Locations/LocationsClient.js +178 -0
- package/esm/Locations/LocationsClient.min.js +1 -0
- package/esm/Locations/index.js +2 -0
- package/esm/Locations/index.min.js +1 -0
- package/esm/Management/Management.js +24 -0
- package/esm/Management/Management.min.js +1 -0
- package/esm/Management/ManagementClient.js +302 -0
- package/esm/Management/ManagementClient.min.js +1 -0
- package/esm/Notification/Notification.js +382 -0
- package/esm/Notification/Notification.min.js +1 -0
- package/esm/Notification/NotificationClient.js +359 -0
- package/esm/Notification/NotificationClient.min.js +1 -0
- package/esm/Notification/index.js +2 -0
- package/esm/Notification/index.min.js +1 -0
- package/esm/Operations/Operations.js +35 -0
- package/esm/Operations/Operations.min.js +1 -0
- package/esm/Operations/OperationsClient.js +30 -0
- package/esm/Operations/OperationsClient.min.js +1 -0
- package/esm/Operations/index.js +2 -0
- package/esm/Operations/index.min.js +1 -0
- package/esm/Pipelines/Pipelines.js +79 -0
- package/esm/Pipelines/Pipelines.min.js +1 -0
- package/esm/Pipelines/PipelinesClient.js +227 -0
- package/esm/Pipelines/PipelinesClient.min.js +1 -0
- package/esm/Policy/Policy.js +35 -0
- package/esm/Policy/Policy.min.js +1 -0
- package/esm/Policy/PolicyClient.js +237 -0
- package/esm/Policy/PolicyClient.min.js +1 -0
- package/esm/Policy/index.js +2 -0
- package/esm/Policy/index.min.js +1 -0
- package/esm/Profile/Profile.js +32 -0
- package/esm/Profile/Profile.min.js +1 -0
- package/esm/Profile/ProfileClient.js +240 -0
- package/esm/Profile/ProfileClient.min.js +1 -0
- package/esm/Profile/index.js +2 -0
- package/esm/Profile/index.min.js +1 -0
- package/esm/ProjectAnalysis/ProjectAnalysis.js +15 -0
- package/esm/ProjectAnalysis/ProjectAnalysis.min.js +1 -0
- package/esm/ProjectAnalysis/ProjectAnalysisClient.js +89 -0
- package/esm/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -0
- package/esm/ProjectAnalysis/index.js +2 -0
- package/esm/ProjectAnalysis/index.min.js +1 -0
- package/esm/Release/Release.js +873 -0
- package/esm/Release/Release.min.js +1 -0
- package/esm/Release/ReleaseClient.js +1816 -0
- package/esm/Release/ReleaseClient.min.js +1 -0
- package/esm/Release/index.js +2 -0
- package/esm/Release/index.min.js +1 -0
- package/esm/ResourceUsage/ResourceUsage.js +6 -0
- package/esm/ResourceUsage/ResourceUsage.min.js +1 -0
- package/esm/ResourceUsage/ResourceUsageClient.js +34 -0
- package/esm/ResourceUsage/ResourceUsageClient.min.js +1 -0
- package/esm/ServiceEndpoint/ServiceEndpoint.js +81 -0
- package/esm/ServiceEndpoint/ServiceEndpoint.min.js +1 -0
- package/esm/ServiceEndpoint/ServiceEndpointClient.js +489 -0
- package/esm/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
- package/esm/ServiceEndpoint/index.js +2 -0
- package/esm/ServiceEndpoint/index.min.js +1 -0
- package/esm/ServiceHooks/ServiceHooks.js +111 -0
- package/esm/ServiceHooks/ServiceHooks.min.js +1 -0
- package/esm/ServiceHooks/ServiceHooksClient.js +375 -0
- package/esm/ServiceHooks/ServiceHooksClient.min.js +1 -0
- package/esm/ServiceHooks/index.js +2 -0
- package/esm/ServiceHooks/index.min.js +1 -0
- package/esm/TaskAgent/TaskAgent.js +590 -0
- package/esm/TaskAgent/TaskAgent.min.js +1 -0
- package/esm/TaskAgent/TaskAgentClient.js +2946 -0
- package/esm/TaskAgent/TaskAgentClient.min.js +1 -0
- package/esm/TaskAgent/index.js +2 -0
- package/esm/TaskAgent/index.min.js +1 -0
- package/esm/Test/Test.js +1065 -0
- package/esm/Test/Test.min.js +1 -0
- package/esm/Test/TestClient.js +1655 -0
- package/esm/Test/TestClient.min.js +1 -0
- package/esm/Test/index.js +2 -0
- package/esm/Test/index.min.js +1 -0
- package/esm/TestPlan/TestPlan.js +267 -0
- package/esm/TestPlan/TestPlan.min.js +1 -0
- package/esm/TestPlan/TestPlanClient.js +1051 -0
- package/esm/TestPlan/TestPlanClient.min.js +1 -0
- package/esm/TestPlan/index.js +2 -0
- package/esm/TestPlan/index.min.js +1 -0
- package/esm/TestResults/TestResults.js +6 -0
- package/esm/TestResults/TestResults.min.js +1 -0
- package/esm/TestResults/TestResultsClient.js +2822 -0
- package/esm/TestResults/TestResultsClient.min.js +1 -0
- package/esm/TestResults/index.js +2 -0
- package/esm/TestResults/index.min.js +1 -0
- package/esm/Tfvc/Tfvc.js +103 -0
- package/esm/Tfvc/Tfvc.min.js +1 -0
- package/esm/Tfvc/TfvcClient.js +559 -0
- package/esm/Tfvc/TfvcClient.min.js +1 -0
- package/esm/Tfvc/index.js +2 -0
- package/esm/Tfvc/index.min.js +1 -0
- package/esm/WebApi/WebApi.js +52 -0
- package/esm/WebApi/WebApi.min.js +1 -0
- package/esm/WebApi/index.js +1 -0
- package/esm/WebApi/index.min.js +1 -0
- package/esm/Wiki/Wiki.js +19 -0
- package/esm/Wiki/Wiki.min.js +1 -0
- package/esm/Wiki/WikiClient.js +528 -0
- package/esm/Wiki/WikiClient.min.js +1 -0
- package/esm/Wiki/index.js +2 -0
- package/esm/Wiki/index.min.js +1 -0
- package/esm/Work/Work.js +184 -0
- package/esm/Work/Work.min.js +1 -0
- package/esm/Work/WorkClient.js +1128 -0
- package/esm/Work/WorkClient.min.js +1 -0
- package/esm/Work/index.js +2 -0
- package/esm/Work/index.min.js +1 -0
- package/esm/WorkItemTracking/WorkItemTracking.js +428 -0
- package/esm/WorkItemTracking/WorkItemTracking.min.js +1 -0
- package/esm/WorkItemTracking/WorkItemTrackingClient.js +1525 -0
- package/esm/WorkItemTracking/WorkItemTrackingClient.min.js +1 -0
- package/esm/WorkItemTracking/WorkItemTrackingServices.js +15 -0
- package/esm/WorkItemTracking/WorkItemTrackingServices.min.js +1 -0
- package/esm/WorkItemTracking/index.js +3 -0
- package/esm/WorkItemTracking/index.min.js +1 -0
- package/esm/WorkItemTrackingProcess/WorkItemTrackingProcess.js +296 -0
- package/esm/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -0
- package/esm/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +1097 -0
- package/esm/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -0
- package/esm/WorkItemTrackingProcess/index.js +2 -0
- package/esm/WorkItemTrackingProcess/index.min.js +1 -0
- package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.js +93 -0
- package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.min.js +1 -0
- package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +886 -0
- package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -0
- package/esm/WorkItemTrackingProcessDefinitions/index.js +2 -0
- package/esm/WorkItemTrackingProcessDefinitions/index.min.js +1 -0
- package/esm/index.js +1 -0
- package/esm/index.min.js +1 -0
- package/index.d.ts +1 -1
- package/index.js +17 -8
- package/index.min.js +1 -1
- package/package.json +232 -37
- package/Boards/Boards.d.ts +0 -631
- package/Boards/Boards.js +0 -26
- package/Boards/Boards.min.js +0 -1
- package/Boards/BoardsClient.d.ts +0 -187
- package/Boards/BoardsClient.js +0 -589
- package/Boards/BoardsClient.min.js +0 -1
- package/Boards/index.d.ts +0 -2
- package/Boards/index.js +0 -9
- package/Boards/index.min.js +0 -1
- package/_manifest/spdx_2.2/ESRPClientLogs0305214508957.json +0 -1
package/Work/WorkClient.js
CHANGED
|
@@ -1,1455 +1,1255 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
project
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}
|
|
733
|
-
});
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
return
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
project
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
*
|
|
1257
|
-
* @param daysOffPatch - Team's days off patch containing a list of start and end dates
|
|
1258
|
-
* @param teamContext - The team context for the operation
|
|
1259
|
-
* @param iterationId - ID of the iteration
|
|
1260
|
-
*/
|
|
1261
|
-
WorkRestClient.prototype.updateTeamDaysOff = function (daysOffPatch, teamContext, iterationId) {
|
|
1262
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1263
|
-
var project, team;
|
|
1264
|
-
return __generator(this, function (_a) {
|
|
1265
|
-
project = teamContext.projectId || teamContext.project;
|
|
1266
|
-
team = teamContext.teamId || teamContext.team;
|
|
1267
|
-
return [2 /*return*/, this.beginRequest({
|
|
1268
|
-
apiVersion: "7.2-preview.1",
|
|
1269
|
-
method: "PATCH",
|
|
1270
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
|
|
1271
|
-
routeValues: {
|
|
1272
|
-
project: project,
|
|
1273
|
-
team: team,
|
|
1274
|
-
iterationId: iterationId
|
|
1275
|
-
},
|
|
1276
|
-
body: daysOffPatch
|
|
1277
|
-
})];
|
|
1278
|
-
});
|
|
1279
|
-
});
|
|
1280
|
-
};
|
|
1281
|
-
/**
|
|
1282
|
-
* Get a collection of team field values
|
|
1283
|
-
*
|
|
1284
|
-
* @param teamContext - The team context for the operation
|
|
1285
|
-
*/
|
|
1286
|
-
WorkRestClient.prototype.getTeamFieldValues = function (teamContext) {
|
|
1287
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1288
|
-
var project, team;
|
|
1289
|
-
return __generator(this, function (_a) {
|
|
1290
|
-
project = teamContext.projectId || teamContext.project;
|
|
1291
|
-
team = teamContext.teamId || teamContext.team;
|
|
1292
|
-
return [2 /*return*/, this.beginRequest({
|
|
1293
|
-
apiVersion: "7.2-preview.1",
|
|
1294
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1295
|
-
routeValues: {
|
|
1296
|
-
project: project,
|
|
1297
|
-
team: team
|
|
1298
|
-
}
|
|
1299
|
-
})];
|
|
1300
|
-
});
|
|
1301
|
-
});
|
|
1302
|
-
};
|
|
1303
|
-
/**
|
|
1304
|
-
* Update team field values
|
|
1305
|
-
*
|
|
1306
|
-
* @param patch -
|
|
1307
|
-
* @param teamContext - The team context for the operation
|
|
1308
|
-
*/
|
|
1309
|
-
WorkRestClient.prototype.updateTeamFieldValues = function (patch, teamContext) {
|
|
1310
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1311
|
-
var project, team;
|
|
1312
|
-
return __generator(this, function (_a) {
|
|
1313
|
-
project = teamContext.projectId || teamContext.project;
|
|
1314
|
-
team = teamContext.teamId || teamContext.team;
|
|
1315
|
-
return [2 /*return*/, this.beginRequest({
|
|
1316
|
-
apiVersion: "7.2-preview.1",
|
|
1317
|
-
method: "PATCH",
|
|
1318
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1319
|
-
routeValues: {
|
|
1320
|
-
project: project,
|
|
1321
|
-
team: team
|
|
1322
|
-
},
|
|
1323
|
-
body: patch
|
|
1324
|
-
})];
|
|
1325
|
-
});
|
|
1326
|
-
});
|
|
1327
|
-
};
|
|
1328
|
-
/**
|
|
1329
|
-
* Get a team's settings
|
|
1330
|
-
*
|
|
1331
|
-
* @param teamContext - The team context for the operation
|
|
1332
|
-
*/
|
|
1333
|
-
WorkRestClient.prototype.getTeamSettings = function (teamContext) {
|
|
1334
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1335
|
-
var project, team;
|
|
1336
|
-
return __generator(this, function (_a) {
|
|
1337
|
-
project = teamContext.projectId || teamContext.project;
|
|
1338
|
-
team = teamContext.teamId || teamContext.team;
|
|
1339
|
-
return [2 /*return*/, this.beginRequest({
|
|
1340
|
-
apiVersion: "7.2-preview.1",
|
|
1341
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1342
|
-
routeValues: {
|
|
1343
|
-
project: project,
|
|
1344
|
-
team: team
|
|
1345
|
-
}
|
|
1346
|
-
})];
|
|
1347
|
-
});
|
|
1348
|
-
});
|
|
1349
|
-
};
|
|
1350
|
-
/**
|
|
1351
|
-
* Update a team's settings
|
|
1352
|
-
*
|
|
1353
|
-
* @param teamSettingsPatch - TeamSettings changes
|
|
1354
|
-
* @param teamContext - The team context for the operation
|
|
1355
|
-
*/
|
|
1356
|
-
WorkRestClient.prototype.updateTeamSettings = function (teamSettingsPatch, teamContext) {
|
|
1357
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1358
|
-
var project, team;
|
|
1359
|
-
return __generator(this, function (_a) {
|
|
1360
|
-
project = teamContext.projectId || teamContext.project;
|
|
1361
|
-
team = teamContext.teamId || teamContext.team;
|
|
1362
|
-
return [2 /*return*/, this.beginRequest({
|
|
1363
|
-
apiVersion: "7.2-preview.1",
|
|
1364
|
-
method: "PATCH",
|
|
1365
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1366
|
-
routeValues: {
|
|
1367
|
-
project: project,
|
|
1368
|
-
team: team
|
|
1369
|
-
},
|
|
1370
|
-
body: teamSettingsPatch
|
|
1371
|
-
})];
|
|
1372
|
-
});
|
|
1373
|
-
});
|
|
1374
|
-
};
|
|
1375
|
-
/**
|
|
1376
|
-
* Get work items for iteration
|
|
1377
|
-
*
|
|
1378
|
-
* @param teamContext - The team context for the operation
|
|
1379
|
-
* @param iterationId - ID of the iteration
|
|
1380
|
-
*/
|
|
1381
|
-
WorkRestClient.prototype.getIterationWorkItems = function (teamContext, iterationId) {
|
|
1382
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1383
|
-
var project, team;
|
|
1384
|
-
return __generator(this, function (_a) {
|
|
1385
|
-
project = teamContext.projectId || teamContext.project;
|
|
1386
|
-
team = teamContext.teamId || teamContext.team;
|
|
1387
|
-
return [2 /*return*/, this.beginRequest({
|
|
1388
|
-
apiVersion: "7.2-preview.1",
|
|
1389
|
-
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/workitems",
|
|
1390
|
-
routeValues: {
|
|
1391
|
-
project: project,
|
|
1392
|
-
team: team,
|
|
1393
|
-
iterationId: iterationId
|
|
1394
|
-
}
|
|
1395
|
-
})];
|
|
1396
|
-
});
|
|
1397
|
-
});
|
|
1398
|
-
};
|
|
1399
|
-
/**
|
|
1400
|
-
* Reorder Product Backlog/Boards Work Items
|
|
1401
|
-
*
|
|
1402
|
-
* @param operation -
|
|
1403
|
-
* @param teamContext - The team context for the operation
|
|
1404
|
-
*/
|
|
1405
|
-
WorkRestClient.prototype.reorderBacklogWorkItems = function (operation, teamContext) {
|
|
1406
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1407
|
-
var project, team;
|
|
1408
|
-
return __generator(this, function (_a) {
|
|
1409
|
-
project = teamContext.projectId || teamContext.project;
|
|
1410
|
-
team = teamContext.teamId || teamContext.team;
|
|
1411
|
-
return [2 /*return*/, this.beginRequest({
|
|
1412
|
-
apiVersion: "7.2-preview.1",
|
|
1413
|
-
method: "PATCH",
|
|
1414
|
-
routeTemplate: "{project}/{team}/_apis/work/workitemsorder",
|
|
1415
|
-
routeValues: {
|
|
1416
|
-
project: project,
|
|
1417
|
-
team: team
|
|
1418
|
-
},
|
|
1419
|
-
body: operation
|
|
1420
|
-
})];
|
|
1421
|
-
});
|
|
1422
|
-
});
|
|
1423
|
-
};
|
|
1424
|
-
/**
|
|
1425
|
-
* Reorder Sprint Backlog/Taskboard Work Items
|
|
1426
|
-
*
|
|
1427
|
-
* @param operation -
|
|
1428
|
-
* @param teamContext - The team context for the operation
|
|
1429
|
-
* @param iterationId - The id of the iteration
|
|
1430
|
-
*/
|
|
1431
|
-
WorkRestClient.prototype.reorderIterationWorkItems = function (operation, teamContext, iterationId) {
|
|
1432
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1433
|
-
var project, team;
|
|
1434
|
-
return __generator(this, function (_a) {
|
|
1435
|
-
project = teamContext.projectId || teamContext.project;
|
|
1436
|
-
team = teamContext.teamId || teamContext.team;
|
|
1437
|
-
return [2 /*return*/, this.beginRequest({
|
|
1438
|
-
apiVersion: "7.2-preview.1",
|
|
1439
|
-
method: "PATCH",
|
|
1440
|
-
routeTemplate: "{project}/{team}/_apis/work/iterations/{iterationId}/workitemsorder",
|
|
1441
|
-
routeValues: {
|
|
1442
|
-
project: project,
|
|
1443
|
-
team: team,
|
|
1444
|
-
iterationId: iterationId
|
|
1445
|
-
},
|
|
1446
|
-
body: operation
|
|
1447
|
-
})];
|
|
1448
|
-
});
|
|
1449
|
-
});
|
|
1450
|
-
};
|
|
1451
|
-
WorkRestClient.RESOURCE_AREA_ID = "1d4f49f9-02b9-4e26-b826-2cdb6195f2a9";
|
|
1452
|
-
return WorkRestClient;
|
|
1453
|
-
}(RestClientBase_1.RestClientBase));
|
|
1454
|
-
exports.WorkRestClient = WorkRestClient;
|
|
1455
|
-
});
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ---------------------------------------------------------
|
|
4
|
+
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* ---------------------------------------------------------
|
|
6
|
+
*/
|
|
7
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
9
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
10
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
11
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
13
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.WorkRestClient = void 0;
|
|
18
|
+
const RestClientBase_1 = require("../Common/RestClientBase");
|
|
19
|
+
class WorkRestClient extends RestClientBase_1.RestClientBase {
|
|
20
|
+
constructor(options) {
|
|
21
|
+
super(options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Creates/updates an automation rules settings
|
|
25
|
+
*
|
|
26
|
+
* @param ruleRequestModel - Required parameters to create/update an automation rules settings
|
|
27
|
+
* @param teamContext - The team context for the operation
|
|
28
|
+
*/
|
|
29
|
+
updateAutomationRule(ruleRequestModel, teamContext) {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
const project = teamContext.projectId || teamContext.project;
|
|
32
|
+
const team = teamContext.teamId || teamContext.team;
|
|
33
|
+
return this.beginRequest({
|
|
34
|
+
apiVersion: "7.2-preview.2",
|
|
35
|
+
method: "PATCH",
|
|
36
|
+
routeTemplate: "{project}/{team}/_apis/work/automationrules",
|
|
37
|
+
routeValues: {
|
|
38
|
+
project: project,
|
|
39
|
+
team: team
|
|
40
|
+
},
|
|
41
|
+
body: ruleRequestModel
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Gets backlog configuration for a team
|
|
47
|
+
*
|
|
48
|
+
* @param teamContext - The team context for the operation
|
|
49
|
+
*/
|
|
50
|
+
getBacklogConfigurations(teamContext) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
const project = teamContext.projectId || teamContext.project;
|
|
53
|
+
const team = teamContext.teamId || teamContext.team;
|
|
54
|
+
return this.beginRequest({
|
|
55
|
+
apiVersion: "7.2-preview.1",
|
|
56
|
+
routeTemplate: "{project}/{team}/_apis/work/backlogconfiguration",
|
|
57
|
+
routeValues: {
|
|
58
|
+
project: project,
|
|
59
|
+
team: team
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get a list of work items within a backlog level
|
|
66
|
+
*
|
|
67
|
+
* @param teamContext - The team context for the operation
|
|
68
|
+
* @param backlogId -
|
|
69
|
+
*/
|
|
70
|
+
getBacklogLevelWorkItems(teamContext, backlogId) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const project = teamContext.projectId || teamContext.project;
|
|
73
|
+
const team = teamContext.teamId || teamContext.team;
|
|
74
|
+
return this.beginRequest({
|
|
75
|
+
apiVersion: "7.2-preview.1",
|
|
76
|
+
routeTemplate: "{project}/{team}/_apis/work/backlogs/{backlogId}/workItems",
|
|
77
|
+
routeValues: {
|
|
78
|
+
project: project,
|
|
79
|
+
team: team,
|
|
80
|
+
backlogId: backlogId
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get a backlog level
|
|
87
|
+
*
|
|
88
|
+
* @param teamContext - The team context for the operation
|
|
89
|
+
* @param id - The id of the backlog level
|
|
90
|
+
*/
|
|
91
|
+
getBacklog(teamContext, id) {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
+
const project = teamContext.projectId || teamContext.project;
|
|
94
|
+
const team = teamContext.teamId || teamContext.team;
|
|
95
|
+
return this.beginRequest({
|
|
96
|
+
apiVersion: "7.2-preview.1",
|
|
97
|
+
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
|
|
98
|
+
routeValues: {
|
|
99
|
+
project: project,
|
|
100
|
+
team: team,
|
|
101
|
+
id: id
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* List all backlog levels
|
|
108
|
+
*
|
|
109
|
+
* @param teamContext - The team context for the operation
|
|
110
|
+
*/
|
|
111
|
+
getBacklogs(teamContext) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
const project = teamContext.projectId || teamContext.project;
|
|
114
|
+
const team = teamContext.teamId || teamContext.team;
|
|
115
|
+
return this.beginRequest({
|
|
116
|
+
apiVersion: "7.2-preview.1",
|
|
117
|
+
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
|
|
118
|
+
routeValues: {
|
|
119
|
+
project: project,
|
|
120
|
+
team: team
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Gets a badge that displays the status of columns on the board.
|
|
127
|
+
*
|
|
128
|
+
* @param teamContext - The team context for the operation
|
|
129
|
+
* @param id - The id of the board.
|
|
130
|
+
* @param columnOptions - Determines what columns to show.
|
|
131
|
+
* @param columns - If columnOptions is set to custom, specify the list of column names.
|
|
132
|
+
*/
|
|
133
|
+
getBoardBadge(teamContext, id, columnOptions, columns) {
|
|
134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
135
|
+
const queryValues = {
|
|
136
|
+
columnOptions: columnOptions,
|
|
137
|
+
columns: columns && columns.join(",")
|
|
138
|
+
};
|
|
139
|
+
const project = teamContext.projectId || teamContext.project;
|
|
140
|
+
const team = teamContext.teamId || teamContext.team;
|
|
141
|
+
return this.beginRequest({
|
|
142
|
+
apiVersion: "7.2-preview.1",
|
|
143
|
+
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
|
|
144
|
+
routeValues: {
|
|
145
|
+
project: project,
|
|
146
|
+
team: team,
|
|
147
|
+
id: id
|
|
148
|
+
},
|
|
149
|
+
queryParams: queryValues
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Gets a badge that displays the status of columns on the board.
|
|
155
|
+
*
|
|
156
|
+
* @param teamContext - The team context for the operation
|
|
157
|
+
* @param id - The id of the board.
|
|
158
|
+
* @param columnOptions - Determines what columns to show.
|
|
159
|
+
* @param columns - If columnOptions is set to custom, specify the list of column names.
|
|
160
|
+
*/
|
|
161
|
+
getBoardBadgeData(teamContext, id, columnOptions, columns) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const queryValues = {
|
|
164
|
+
columnOptions: columnOptions,
|
|
165
|
+
columns: columns && columns.join(",")
|
|
166
|
+
};
|
|
167
|
+
const project = teamContext.projectId || teamContext.project;
|
|
168
|
+
const team = teamContext.teamId || teamContext.team;
|
|
169
|
+
return this.beginRequest({
|
|
170
|
+
apiVersion: "7.2-preview.1",
|
|
171
|
+
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
|
|
172
|
+
routeValues: {
|
|
173
|
+
project: project,
|
|
174
|
+
team: team,
|
|
175
|
+
id: id
|
|
176
|
+
},
|
|
177
|
+
queryParams: queryValues
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Get available board columns in a project
|
|
183
|
+
*
|
|
184
|
+
* @param project - Project ID or project name
|
|
185
|
+
*/
|
|
186
|
+
getColumnSuggestedValues(project) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
return this.beginRequest({
|
|
189
|
+
apiVersion: "7.2-preview.1",
|
|
190
|
+
routeTemplate: "{project}/_apis/work/boardcolumns",
|
|
191
|
+
routeValues: {
|
|
192
|
+
project: project
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Returns the list of parent field filter model for the given list of workitem ids
|
|
199
|
+
*
|
|
200
|
+
* @param teamContext - The team context for the operation
|
|
201
|
+
* @param childBacklogContextCategoryRefName -
|
|
202
|
+
* @param workitemIds -
|
|
203
|
+
*/
|
|
204
|
+
getBoardMappingParentItems(teamContext, childBacklogContextCategoryRefName, workitemIds) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
const queryValues = {
|
|
207
|
+
childBacklogContextCategoryRefName: childBacklogContextCategoryRefName,
|
|
208
|
+
workitemIds: workitemIds && workitemIds.join(",")
|
|
209
|
+
};
|
|
210
|
+
const project = teamContext.projectId || teamContext.project;
|
|
211
|
+
const team = teamContext.teamId || teamContext.team;
|
|
212
|
+
return this.beginRequest({
|
|
213
|
+
apiVersion: "7.2-preview.1",
|
|
214
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/boardparents",
|
|
215
|
+
routeValues: {
|
|
216
|
+
project: project,
|
|
217
|
+
team: team
|
|
218
|
+
},
|
|
219
|
+
queryParams: queryValues
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Get available board rows in a project
|
|
225
|
+
*
|
|
226
|
+
* @param project - Project ID or project name
|
|
227
|
+
*/
|
|
228
|
+
getRowSuggestedValues(project) {
|
|
229
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
230
|
+
return this.beginRequest({
|
|
231
|
+
apiVersion: "7.2-preview.1",
|
|
232
|
+
routeTemplate: "{project}/_apis/work/boardrows",
|
|
233
|
+
routeValues: {
|
|
234
|
+
project: project
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Get board
|
|
241
|
+
*
|
|
242
|
+
* @param teamContext - The team context for the operation
|
|
243
|
+
* @param id - identifier for board, either board's backlog level name (Eg:"Stories") or Id
|
|
244
|
+
*/
|
|
245
|
+
getBoard(teamContext, id) {
|
|
246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
+
const project = teamContext.projectId || teamContext.project;
|
|
248
|
+
const team = teamContext.teamId || teamContext.team;
|
|
249
|
+
return this.beginRequest({
|
|
250
|
+
apiVersion: "7.2-preview.1",
|
|
251
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
252
|
+
routeValues: {
|
|
253
|
+
project: project,
|
|
254
|
+
team: team,
|
|
255
|
+
id: id
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Get boards
|
|
262
|
+
*
|
|
263
|
+
* @param teamContext - The team context for the operation
|
|
264
|
+
*/
|
|
265
|
+
getBoards(teamContext) {
|
|
266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
267
|
+
const project = teamContext.projectId || teamContext.project;
|
|
268
|
+
const team = teamContext.teamId || teamContext.team;
|
|
269
|
+
return this.beginRequest({
|
|
270
|
+
apiVersion: "7.2-preview.1",
|
|
271
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
272
|
+
routeValues: {
|
|
273
|
+
project: project,
|
|
274
|
+
team: team
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Update board options
|
|
281
|
+
*
|
|
282
|
+
* @param options - options to updated
|
|
283
|
+
* @param teamContext - The team context for the operation
|
|
284
|
+
* @param id - identifier for board, either category plural name (Eg:"Stories") or guid
|
|
285
|
+
*/
|
|
286
|
+
setBoardOptions(options, teamContext, id) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
+
const project = teamContext.projectId || teamContext.project;
|
|
289
|
+
const team = teamContext.teamId || teamContext.team;
|
|
290
|
+
return this.beginRequest({
|
|
291
|
+
apiVersion: "7.2-preview.1",
|
|
292
|
+
method: "PUT",
|
|
293
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
294
|
+
routeValues: {
|
|
295
|
+
project: project,
|
|
296
|
+
team: team,
|
|
297
|
+
id: id
|
|
298
|
+
},
|
|
299
|
+
body: options
|
|
300
|
+
});
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Get board user settings for a board id
|
|
305
|
+
*
|
|
306
|
+
* @param teamContext - The team context for the operation
|
|
307
|
+
* @param board - Board ID or Name
|
|
308
|
+
*/
|
|
309
|
+
getBoardUserSettings(teamContext, board) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
const project = teamContext.projectId || teamContext.project;
|
|
312
|
+
const team = teamContext.teamId || teamContext.team;
|
|
313
|
+
return this.beginRequest({
|
|
314
|
+
apiVersion: "7.2-preview.1",
|
|
315
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
|
|
316
|
+
routeValues: {
|
|
317
|
+
project: project,
|
|
318
|
+
team: team,
|
|
319
|
+
board: board
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Update board user settings for the board id
|
|
326
|
+
*
|
|
327
|
+
* @param boardUserSettings -
|
|
328
|
+
* @param teamContext - The team context for the operation
|
|
329
|
+
* @param board -
|
|
330
|
+
*/
|
|
331
|
+
updateBoardUserSettings(boardUserSettings, teamContext, board) {
|
|
332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
333
|
+
const project = teamContext.projectId || teamContext.project;
|
|
334
|
+
const team = teamContext.teamId || teamContext.team;
|
|
335
|
+
return this.beginRequest({
|
|
336
|
+
apiVersion: "7.2-preview.1",
|
|
337
|
+
method: "PATCH",
|
|
338
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
|
|
339
|
+
routeValues: {
|
|
340
|
+
project: project,
|
|
341
|
+
team: team,
|
|
342
|
+
board: board
|
|
343
|
+
},
|
|
344
|
+
body: boardUserSettings
|
|
345
|
+
});
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Get a team's capacity including total capacity and days off
|
|
350
|
+
*
|
|
351
|
+
* @param teamContext - The team context for the operation
|
|
352
|
+
* @param iterationId - ID of the iteration
|
|
353
|
+
*/
|
|
354
|
+
getCapacitiesWithIdentityRefAndTotals(teamContext, iterationId) {
|
|
355
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
356
|
+
const project = teamContext.projectId || teamContext.project;
|
|
357
|
+
const team = teamContext.teamId || teamContext.team;
|
|
358
|
+
return this.beginRequest({
|
|
359
|
+
apiVersion: "7.2-preview.3",
|
|
360
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
361
|
+
routeValues: {
|
|
362
|
+
project: project,
|
|
363
|
+
team: team,
|
|
364
|
+
iterationId: iterationId
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Get a team member's capacity
|
|
371
|
+
*
|
|
372
|
+
* @param teamContext - The team context for the operation
|
|
373
|
+
* @param iterationId - ID of the iteration
|
|
374
|
+
* @param teamMemberId - ID of the team member
|
|
375
|
+
*/
|
|
376
|
+
getCapacityWithIdentityRef(teamContext, iterationId, teamMemberId) {
|
|
377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
378
|
+
const project = teamContext.projectId || teamContext.project;
|
|
379
|
+
const team = teamContext.teamId || teamContext.team;
|
|
380
|
+
return this.beginRequest({
|
|
381
|
+
apiVersion: "7.2-preview.3",
|
|
382
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
383
|
+
routeValues: {
|
|
384
|
+
project: project,
|
|
385
|
+
team: team,
|
|
386
|
+
iterationId: iterationId,
|
|
387
|
+
teamMemberId: teamMemberId
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Replace a team's capacity
|
|
394
|
+
*
|
|
395
|
+
* @param capacities - Team capacity to replace
|
|
396
|
+
* @param teamContext - The team context for the operation
|
|
397
|
+
* @param iterationId - ID of the iteration
|
|
398
|
+
*/
|
|
399
|
+
replaceCapacitiesWithIdentityRef(capacities, teamContext, iterationId) {
|
|
400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
401
|
+
const project = teamContext.projectId || teamContext.project;
|
|
402
|
+
const team = teamContext.teamId || teamContext.team;
|
|
403
|
+
return this.beginRequest({
|
|
404
|
+
apiVersion: "7.2-preview.3",
|
|
405
|
+
method: "PUT",
|
|
406
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
407
|
+
routeValues: {
|
|
408
|
+
project: project,
|
|
409
|
+
team: team,
|
|
410
|
+
iterationId: iterationId
|
|
411
|
+
},
|
|
412
|
+
body: capacities
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Update a team member's capacity
|
|
418
|
+
*
|
|
419
|
+
* @param patch - Updated capacity
|
|
420
|
+
* @param teamContext - The team context for the operation
|
|
421
|
+
* @param iterationId - ID of the iteration
|
|
422
|
+
* @param teamMemberId - ID of the team member
|
|
423
|
+
*/
|
|
424
|
+
updateCapacityWithIdentityRef(patch, teamContext, iterationId, teamMemberId) {
|
|
425
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
426
|
+
const project = teamContext.projectId || teamContext.project;
|
|
427
|
+
const team = teamContext.teamId || teamContext.team;
|
|
428
|
+
return this.beginRequest({
|
|
429
|
+
apiVersion: "7.2-preview.3",
|
|
430
|
+
method: "PATCH",
|
|
431
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
432
|
+
routeValues: {
|
|
433
|
+
project: project,
|
|
434
|
+
team: team,
|
|
435
|
+
iterationId: iterationId,
|
|
436
|
+
teamMemberId: teamMemberId
|
|
437
|
+
},
|
|
438
|
+
body: patch
|
|
439
|
+
});
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Get board card Rule settings for the board id or board by name
|
|
444
|
+
*
|
|
445
|
+
* @param teamContext - The team context for the operation
|
|
446
|
+
* @param board -
|
|
447
|
+
*/
|
|
448
|
+
getBoardCardRuleSettings(teamContext, board) {
|
|
449
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
450
|
+
const project = teamContext.projectId || teamContext.project;
|
|
451
|
+
const team = teamContext.teamId || teamContext.team;
|
|
452
|
+
return this.beginRequest({
|
|
453
|
+
apiVersion: "7.2-preview.2",
|
|
454
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
|
|
455
|
+
routeValues: {
|
|
456
|
+
project: project,
|
|
457
|
+
team: team,
|
|
458
|
+
board: board
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Update board card Rule settings for the board id or board by name
|
|
465
|
+
*
|
|
466
|
+
* @param boardCardRuleSettings -
|
|
467
|
+
* @param teamContext - The team context for the operation
|
|
468
|
+
* @param board -
|
|
469
|
+
*/
|
|
470
|
+
updateBoardCardRuleSettings(boardCardRuleSettings, teamContext, board) {
|
|
471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
472
|
+
const project = teamContext.projectId || teamContext.project;
|
|
473
|
+
const team = teamContext.teamId || teamContext.team;
|
|
474
|
+
return this.beginRequest({
|
|
475
|
+
apiVersion: "7.2-preview.2",
|
|
476
|
+
method: "PATCH",
|
|
477
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
|
|
478
|
+
routeValues: {
|
|
479
|
+
project: project,
|
|
480
|
+
team: team,
|
|
481
|
+
board: board
|
|
482
|
+
},
|
|
483
|
+
body: boardCardRuleSettings
|
|
484
|
+
});
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Update taskboard card Rule settings
|
|
489
|
+
*
|
|
490
|
+
* @param boardCardRuleSettings -
|
|
491
|
+
* @param teamContext - The team context for the operation
|
|
492
|
+
*/
|
|
493
|
+
updateTaskboardCardRuleSettings(boardCardRuleSettings, teamContext) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
const project = teamContext.projectId || teamContext.project;
|
|
496
|
+
const team = teamContext.teamId || teamContext.team;
|
|
497
|
+
return this.beginRequest({
|
|
498
|
+
apiVersion: "7.2-preview.2",
|
|
499
|
+
method: "PATCH",
|
|
500
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardrulesettings",
|
|
501
|
+
routeValues: {
|
|
502
|
+
project: project,
|
|
503
|
+
team: team
|
|
504
|
+
},
|
|
505
|
+
body: boardCardRuleSettings
|
|
506
|
+
});
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Get board card settings for the board id or board by name
|
|
511
|
+
*
|
|
512
|
+
* @param teamContext - The team context for the operation
|
|
513
|
+
* @param board -
|
|
514
|
+
*/
|
|
515
|
+
getBoardCardSettings(teamContext, board) {
|
|
516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
+
const project = teamContext.projectId || teamContext.project;
|
|
518
|
+
const team = teamContext.teamId || teamContext.team;
|
|
519
|
+
return this.beginRequest({
|
|
520
|
+
apiVersion: "7.2-preview.2",
|
|
521
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
|
|
522
|
+
routeValues: {
|
|
523
|
+
project: project,
|
|
524
|
+
team: team,
|
|
525
|
+
board: board
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Update board card settings for the board id or board by name
|
|
532
|
+
*
|
|
533
|
+
* @param boardCardSettingsToSave -
|
|
534
|
+
* @param teamContext - The team context for the operation
|
|
535
|
+
* @param board -
|
|
536
|
+
*/
|
|
537
|
+
updateBoardCardSettings(boardCardSettingsToSave, teamContext, board) {
|
|
538
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
539
|
+
const project = teamContext.projectId || teamContext.project;
|
|
540
|
+
const team = teamContext.teamId || teamContext.team;
|
|
541
|
+
return this.beginRequest({
|
|
542
|
+
apiVersion: "7.2-preview.2",
|
|
543
|
+
method: "PUT",
|
|
544
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
|
|
545
|
+
routeValues: {
|
|
546
|
+
project: project,
|
|
547
|
+
team: team,
|
|
548
|
+
board: board
|
|
549
|
+
},
|
|
550
|
+
body: boardCardSettingsToSave
|
|
551
|
+
});
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Update taskboard card settings
|
|
556
|
+
*
|
|
557
|
+
* @param boardCardSettingsToSave -
|
|
558
|
+
* @param teamContext - The team context for the operation
|
|
559
|
+
*/
|
|
560
|
+
updateTaskboardCardSettings(boardCardSettingsToSave, teamContext) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
const project = teamContext.projectId || teamContext.project;
|
|
563
|
+
const team = teamContext.teamId || teamContext.team;
|
|
564
|
+
return this.beginRequest({
|
|
565
|
+
apiVersion: "7.2-preview.2",
|
|
566
|
+
method: "PUT",
|
|
567
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardsettings",
|
|
568
|
+
routeValues: {
|
|
569
|
+
project: project,
|
|
570
|
+
team: team
|
|
571
|
+
},
|
|
572
|
+
body: boardCardSettingsToSave
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Get a board chart
|
|
578
|
+
*
|
|
579
|
+
* @param teamContext - The team context for the operation
|
|
580
|
+
* @param board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
|
|
581
|
+
* @param name - The chart name
|
|
582
|
+
*/
|
|
583
|
+
getBoardChart(teamContext, board, name) {
|
|
584
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
585
|
+
const project = teamContext.projectId || teamContext.project;
|
|
586
|
+
const team = teamContext.teamId || teamContext.team;
|
|
587
|
+
return this.beginRequest({
|
|
588
|
+
apiVersion: "7.2-preview.1",
|
|
589
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
590
|
+
routeValues: {
|
|
591
|
+
project: project,
|
|
592
|
+
team: team,
|
|
593
|
+
board: board,
|
|
594
|
+
name: name
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Get board charts
|
|
601
|
+
*
|
|
602
|
+
* @param teamContext - The team context for the operation
|
|
603
|
+
* @param board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
|
|
604
|
+
*/
|
|
605
|
+
getBoardCharts(teamContext, board) {
|
|
606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
const project = teamContext.projectId || teamContext.project;
|
|
608
|
+
const team = teamContext.teamId || teamContext.team;
|
|
609
|
+
return this.beginRequest({
|
|
610
|
+
apiVersion: "7.2-preview.1",
|
|
611
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
612
|
+
routeValues: {
|
|
613
|
+
project: project,
|
|
614
|
+
team: team,
|
|
615
|
+
board: board
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Update a board chart
|
|
622
|
+
*
|
|
623
|
+
* @param chart -
|
|
624
|
+
* @param teamContext - The team context for the operation
|
|
625
|
+
* @param board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
|
|
626
|
+
* @param name - The chart name
|
|
627
|
+
*/
|
|
628
|
+
updateBoardChart(chart, teamContext, board, name) {
|
|
629
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
630
|
+
const project = teamContext.projectId || teamContext.project;
|
|
631
|
+
const team = teamContext.teamId || teamContext.team;
|
|
632
|
+
return this.beginRequest({
|
|
633
|
+
apiVersion: "7.2-preview.1",
|
|
634
|
+
method: "PATCH",
|
|
635
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
636
|
+
routeValues: {
|
|
637
|
+
project: project,
|
|
638
|
+
team: team,
|
|
639
|
+
board: board,
|
|
640
|
+
name: name
|
|
641
|
+
},
|
|
642
|
+
body: chart
|
|
643
|
+
});
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Get columns on a board
|
|
648
|
+
*
|
|
649
|
+
* @param teamContext - The team context for the operation
|
|
650
|
+
* @param board - Name or ID of the specific board
|
|
651
|
+
*/
|
|
652
|
+
getBoardColumns(teamContext, board) {
|
|
653
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
654
|
+
const project = teamContext.projectId || teamContext.project;
|
|
655
|
+
const team = teamContext.teamId || teamContext.team;
|
|
656
|
+
return this.beginRequest({
|
|
657
|
+
apiVersion: "7.2-preview.1",
|
|
658
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
|
|
659
|
+
routeValues: {
|
|
660
|
+
project: project,
|
|
661
|
+
team: team,
|
|
662
|
+
board: board
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Update columns on a board
|
|
669
|
+
*
|
|
670
|
+
* @param boardColumns - List of board columns to update
|
|
671
|
+
* @param teamContext - The team context for the operation
|
|
672
|
+
* @param board - Name or ID of the specific board
|
|
673
|
+
*/
|
|
674
|
+
updateBoardColumns(boardColumns, teamContext, board) {
|
|
675
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
676
|
+
const project = teamContext.projectId || teamContext.project;
|
|
677
|
+
const team = teamContext.teamId || teamContext.team;
|
|
678
|
+
return this.beginRequest({
|
|
679
|
+
apiVersion: "7.2-preview.1",
|
|
680
|
+
method: "PUT",
|
|
681
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
|
|
682
|
+
routeValues: {
|
|
683
|
+
project: project,
|
|
684
|
+
team: team,
|
|
685
|
+
board: board
|
|
686
|
+
},
|
|
687
|
+
body: boardColumns
|
|
688
|
+
});
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* Get Delivery View Data
|
|
693
|
+
*
|
|
694
|
+
* @param project - Project ID or project name
|
|
695
|
+
* @param id - Identifier for delivery view
|
|
696
|
+
* @param revision - Revision of the plan for which you want data. If the current plan is a different revision you will get an ViewRevisionMismatchException exception. If you do not supply a revision you will get data for the latest revision.
|
|
697
|
+
* @param startDate - The start date of timeline
|
|
698
|
+
* @param endDate - The end date of timeline
|
|
699
|
+
*/
|
|
700
|
+
getDeliveryTimelineData(project, id, revision, startDate, endDate) {
|
|
701
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
702
|
+
const queryValues = {
|
|
703
|
+
revision: revision,
|
|
704
|
+
startDate: startDate,
|
|
705
|
+
endDate: endDate
|
|
706
|
+
};
|
|
707
|
+
return this.beginRequest({
|
|
708
|
+
apiVersion: "7.2-preview.1",
|
|
709
|
+
routeTemplate: "{project}/_apis/work/plans/{id}/deliverytimeline",
|
|
710
|
+
routeValues: {
|
|
711
|
+
project: project,
|
|
712
|
+
id: id
|
|
713
|
+
},
|
|
714
|
+
queryParams: queryValues
|
|
715
|
+
});
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Get an iteration's capacity for all teams in iteration
|
|
720
|
+
*
|
|
721
|
+
* @param project - Project ID or project name
|
|
722
|
+
* @param iterationId - ID of the iteration
|
|
723
|
+
*/
|
|
724
|
+
getTotalIterationCapacities(project, iterationId) {
|
|
725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
726
|
+
return this.beginRequest({
|
|
727
|
+
apiVersion: "7.2-preview.1",
|
|
728
|
+
routeTemplate: "{project}/_apis/work/iterations/{iterationId}/iterationcapacities",
|
|
729
|
+
routeValues: {
|
|
730
|
+
project: project,
|
|
731
|
+
iterationId: iterationId
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* Delete a team's iteration by iterationId
|
|
738
|
+
*
|
|
739
|
+
* @param teamContext - The team context for the operation
|
|
740
|
+
* @param id - ID of the iteration
|
|
741
|
+
*/
|
|
742
|
+
deleteTeamIteration(teamContext, id) {
|
|
743
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
744
|
+
const project = teamContext.projectId || teamContext.project;
|
|
745
|
+
const team = teamContext.teamId || teamContext.team;
|
|
746
|
+
return this.beginRequest({
|
|
747
|
+
apiVersion: "7.2-preview.1",
|
|
748
|
+
method: "DELETE",
|
|
749
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
750
|
+
routeValues: {
|
|
751
|
+
project: project,
|
|
752
|
+
team: team,
|
|
753
|
+
id: id
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Get team's iteration by iterationId
|
|
760
|
+
*
|
|
761
|
+
* @param teamContext - The team context for the operation
|
|
762
|
+
* @param id - ID of the iteration
|
|
763
|
+
*/
|
|
764
|
+
getTeamIteration(teamContext, id) {
|
|
765
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
766
|
+
const project = teamContext.projectId || teamContext.project;
|
|
767
|
+
const team = teamContext.teamId || teamContext.team;
|
|
768
|
+
return this.beginRequest({
|
|
769
|
+
apiVersion: "7.2-preview.1",
|
|
770
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
771
|
+
routeValues: {
|
|
772
|
+
project: project,
|
|
773
|
+
team: team,
|
|
774
|
+
id: id
|
|
775
|
+
}
|
|
776
|
+
});
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* Get a team's iterations using timeframe filter
|
|
781
|
+
*
|
|
782
|
+
* @param teamContext - The team context for the operation
|
|
783
|
+
* @param timeframe - A filter for which iterations are returned based on relative time. Only Current is supported currently.
|
|
784
|
+
*/
|
|
785
|
+
getTeamIterations(teamContext, timeframe) {
|
|
786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
787
|
+
const queryValues = {
|
|
788
|
+
'$timeframe': timeframe
|
|
789
|
+
};
|
|
790
|
+
const project = teamContext.projectId || teamContext.project;
|
|
791
|
+
const team = teamContext.teamId || teamContext.team;
|
|
792
|
+
return this.beginRequest({
|
|
793
|
+
apiVersion: "7.2-preview.1",
|
|
794
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
795
|
+
routeValues: {
|
|
796
|
+
project: project,
|
|
797
|
+
team: team
|
|
798
|
+
},
|
|
799
|
+
queryParams: queryValues
|
|
800
|
+
});
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Add an iteration to the team
|
|
805
|
+
*
|
|
806
|
+
* @param iteration - Iteration to add
|
|
807
|
+
* @param teamContext - The team context for the operation
|
|
808
|
+
*/
|
|
809
|
+
postTeamIteration(iteration, teamContext) {
|
|
810
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
811
|
+
const project = teamContext.projectId || teamContext.project;
|
|
812
|
+
const team = teamContext.teamId || teamContext.team;
|
|
813
|
+
return this.beginRequest({
|
|
814
|
+
apiVersion: "7.2-preview.1",
|
|
815
|
+
method: "POST",
|
|
816
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
817
|
+
routeValues: {
|
|
818
|
+
project: project,
|
|
819
|
+
team: team
|
|
820
|
+
},
|
|
821
|
+
body: iteration
|
|
822
|
+
});
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* Add a new plan for the team
|
|
827
|
+
*
|
|
828
|
+
* @param postedPlan - Plan definition
|
|
829
|
+
* @param project - Project ID or project name
|
|
830
|
+
*/
|
|
831
|
+
createPlan(postedPlan, project) {
|
|
832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
833
|
+
return this.beginRequest({
|
|
834
|
+
apiVersion: "7.2-preview.1",
|
|
835
|
+
method: "POST",
|
|
836
|
+
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
837
|
+
routeValues: {
|
|
838
|
+
project: project
|
|
839
|
+
},
|
|
840
|
+
body: postedPlan
|
|
841
|
+
});
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Delete the specified plan
|
|
846
|
+
*
|
|
847
|
+
* @param project - Project ID or project name
|
|
848
|
+
* @param id - Identifier of the plan
|
|
849
|
+
*/
|
|
850
|
+
deletePlan(project, id) {
|
|
851
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
852
|
+
return this.beginRequest({
|
|
853
|
+
apiVersion: "7.2-preview.1",
|
|
854
|
+
method: "DELETE",
|
|
855
|
+
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
856
|
+
routeValues: {
|
|
857
|
+
project: project,
|
|
858
|
+
id: id
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Get the information for the specified plan
|
|
865
|
+
*
|
|
866
|
+
* @param project - Project ID or project name
|
|
867
|
+
* @param id - Identifier of the plan
|
|
868
|
+
*/
|
|
869
|
+
getPlan(project, id) {
|
|
870
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
871
|
+
return this.beginRequest({
|
|
872
|
+
apiVersion: "7.2-preview.1",
|
|
873
|
+
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
874
|
+
routeValues: {
|
|
875
|
+
project: project,
|
|
876
|
+
id: id
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Get the information for all the plans configured for the given team
|
|
883
|
+
*
|
|
884
|
+
* @param project - Project ID or project name
|
|
885
|
+
*/
|
|
886
|
+
getPlans(project) {
|
|
887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
888
|
+
return this.beginRequest({
|
|
889
|
+
apiVersion: "7.2-preview.1",
|
|
890
|
+
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
891
|
+
routeValues: {
|
|
892
|
+
project: project
|
|
893
|
+
}
|
|
894
|
+
});
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Update the information for the specified plan
|
|
899
|
+
*
|
|
900
|
+
* @param updatedPlan - Plan definition to be updated
|
|
901
|
+
* @param project - Project ID or project name
|
|
902
|
+
* @param id - Identifier of the plan
|
|
903
|
+
*/
|
|
904
|
+
updatePlan(updatedPlan, project, id) {
|
|
905
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
906
|
+
return this.beginRequest({
|
|
907
|
+
apiVersion: "7.2-preview.1",
|
|
908
|
+
method: "PUT",
|
|
909
|
+
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
910
|
+
routeValues: {
|
|
911
|
+
project: project,
|
|
912
|
+
id: id
|
|
913
|
+
},
|
|
914
|
+
body: updatedPlan
|
|
915
|
+
});
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* Get process configuration
|
|
920
|
+
*
|
|
921
|
+
* @param project - Project ID or project name
|
|
922
|
+
*/
|
|
923
|
+
getProcessConfiguration(project) {
|
|
924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
925
|
+
return this.beginRequest({
|
|
926
|
+
apiVersion: "7.2-preview.1",
|
|
927
|
+
routeTemplate: "{project}/_apis/work/processconfiguration",
|
|
928
|
+
routeValues: {
|
|
929
|
+
project: project
|
|
930
|
+
}
|
|
931
|
+
});
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Get rows on a board
|
|
936
|
+
*
|
|
937
|
+
* @param teamContext - The team context for the operation
|
|
938
|
+
* @param board - Name or ID of the specific board
|
|
939
|
+
*/
|
|
940
|
+
getBoardRows(teamContext, board) {
|
|
941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
+
const project = teamContext.projectId || teamContext.project;
|
|
943
|
+
const team = teamContext.teamId || teamContext.team;
|
|
944
|
+
return this.beginRequest({
|
|
945
|
+
apiVersion: "7.2-preview.1",
|
|
946
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
|
|
947
|
+
routeValues: {
|
|
948
|
+
project: project,
|
|
949
|
+
team: team,
|
|
950
|
+
board: board
|
|
951
|
+
}
|
|
952
|
+
});
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Update rows on a board
|
|
957
|
+
*
|
|
958
|
+
* @param boardRows - List of board rows to update
|
|
959
|
+
* @param teamContext - The team context for the operation
|
|
960
|
+
* @param board - Name or ID of the specific board
|
|
961
|
+
*/
|
|
962
|
+
updateBoardRows(boardRows, teamContext, board) {
|
|
963
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
964
|
+
const project = teamContext.projectId || teamContext.project;
|
|
965
|
+
const team = teamContext.teamId || teamContext.team;
|
|
966
|
+
return this.beginRequest({
|
|
967
|
+
apiVersion: "7.2-preview.1",
|
|
968
|
+
method: "PUT",
|
|
969
|
+
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
|
|
970
|
+
routeValues: {
|
|
971
|
+
project: project,
|
|
972
|
+
team: team,
|
|
973
|
+
board: board
|
|
974
|
+
},
|
|
975
|
+
body: boardRows
|
|
976
|
+
});
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* @param teamContext - The team context for the operation
|
|
981
|
+
*/
|
|
982
|
+
getColumns(teamContext) {
|
|
983
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
984
|
+
const project = teamContext.projectId || teamContext.project;
|
|
985
|
+
const team = teamContext.teamId || teamContext.team;
|
|
986
|
+
return this.beginRequest({
|
|
987
|
+
apiVersion: "7.2-preview.1",
|
|
988
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
|
|
989
|
+
routeValues: {
|
|
990
|
+
project: project,
|
|
991
|
+
team: team
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
});
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* @param updateColumns -
|
|
998
|
+
* @param teamContext - The team context for the operation
|
|
999
|
+
*/
|
|
1000
|
+
updateColumns(updateColumns, teamContext) {
|
|
1001
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1002
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1003
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1004
|
+
return this.beginRequest({
|
|
1005
|
+
apiVersion: "7.2-preview.1",
|
|
1006
|
+
method: "PUT",
|
|
1007
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
|
|
1008
|
+
routeValues: {
|
|
1009
|
+
project: project,
|
|
1010
|
+
team: team
|
|
1011
|
+
},
|
|
1012
|
+
body: updateColumns
|
|
1013
|
+
});
|
|
1014
|
+
});
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* @param teamContext - The team context for the operation
|
|
1018
|
+
* @param iterationId -
|
|
1019
|
+
*/
|
|
1020
|
+
getWorkItemColumns(teamContext, iterationId) {
|
|
1021
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1022
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1023
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1024
|
+
return this.beginRequest({
|
|
1025
|
+
apiVersion: "7.2-preview.1",
|
|
1026
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
|
|
1027
|
+
routeValues: {
|
|
1028
|
+
project: project,
|
|
1029
|
+
team: team,
|
|
1030
|
+
iterationId: iterationId
|
|
1031
|
+
}
|
|
1032
|
+
});
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* @param updateColumn -
|
|
1037
|
+
* @param teamContext - The team context for the operation
|
|
1038
|
+
* @param iterationId -
|
|
1039
|
+
* @param workItemId -
|
|
1040
|
+
*/
|
|
1041
|
+
updateWorkItemColumn(updateColumn, teamContext, iterationId, workItemId) {
|
|
1042
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1043
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1044
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1045
|
+
return this.beginRequest({
|
|
1046
|
+
apiVersion: "7.2-preview.1",
|
|
1047
|
+
method: "PATCH",
|
|
1048
|
+
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
|
|
1049
|
+
routeValues: {
|
|
1050
|
+
project: project,
|
|
1051
|
+
team: team,
|
|
1052
|
+
iterationId: iterationId,
|
|
1053
|
+
workItemId: workItemId
|
|
1054
|
+
},
|
|
1055
|
+
body: updateColumn
|
|
1056
|
+
});
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Get team's days off for an iteration
|
|
1061
|
+
*
|
|
1062
|
+
* @param teamContext - The team context for the operation
|
|
1063
|
+
* @param iterationId - ID of the iteration
|
|
1064
|
+
*/
|
|
1065
|
+
getTeamDaysOff(teamContext, iterationId) {
|
|
1066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1067
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1068
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1069
|
+
return this.beginRequest({
|
|
1070
|
+
apiVersion: "7.2-preview.1",
|
|
1071
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
|
|
1072
|
+
routeValues: {
|
|
1073
|
+
project: project,
|
|
1074
|
+
team: team,
|
|
1075
|
+
iterationId: iterationId
|
|
1076
|
+
}
|
|
1077
|
+
});
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Set a team's days off for an iteration
|
|
1082
|
+
*
|
|
1083
|
+
* @param daysOffPatch - Team's days off patch containing a list of start and end dates
|
|
1084
|
+
* @param teamContext - The team context for the operation
|
|
1085
|
+
* @param iterationId - ID of the iteration
|
|
1086
|
+
*/
|
|
1087
|
+
updateTeamDaysOff(daysOffPatch, teamContext, iterationId) {
|
|
1088
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1089
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1090
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1091
|
+
return this.beginRequest({
|
|
1092
|
+
apiVersion: "7.2-preview.1",
|
|
1093
|
+
method: "PATCH",
|
|
1094
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
|
|
1095
|
+
routeValues: {
|
|
1096
|
+
project: project,
|
|
1097
|
+
team: team,
|
|
1098
|
+
iterationId: iterationId
|
|
1099
|
+
},
|
|
1100
|
+
body: daysOffPatch
|
|
1101
|
+
});
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Get a collection of team field values
|
|
1106
|
+
*
|
|
1107
|
+
* @param teamContext - The team context for the operation
|
|
1108
|
+
*/
|
|
1109
|
+
getTeamFieldValues(teamContext) {
|
|
1110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1111
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1112
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1113
|
+
return this.beginRequest({
|
|
1114
|
+
apiVersion: "7.2-preview.1",
|
|
1115
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1116
|
+
routeValues: {
|
|
1117
|
+
project: project,
|
|
1118
|
+
team: team
|
|
1119
|
+
}
|
|
1120
|
+
});
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Update team field values
|
|
1125
|
+
*
|
|
1126
|
+
* @param patch -
|
|
1127
|
+
* @param teamContext - The team context for the operation
|
|
1128
|
+
*/
|
|
1129
|
+
updateTeamFieldValues(patch, teamContext) {
|
|
1130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1131
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1132
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1133
|
+
return this.beginRequest({
|
|
1134
|
+
apiVersion: "7.2-preview.1",
|
|
1135
|
+
method: "PATCH",
|
|
1136
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1137
|
+
routeValues: {
|
|
1138
|
+
project: project,
|
|
1139
|
+
team: team
|
|
1140
|
+
},
|
|
1141
|
+
body: patch
|
|
1142
|
+
});
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Get a team's settings
|
|
1147
|
+
*
|
|
1148
|
+
* @param teamContext - The team context for the operation
|
|
1149
|
+
*/
|
|
1150
|
+
getTeamSettings(teamContext) {
|
|
1151
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1152
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1153
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1154
|
+
return this.beginRequest({
|
|
1155
|
+
apiVersion: "7.2-preview.1",
|
|
1156
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1157
|
+
routeValues: {
|
|
1158
|
+
project: project,
|
|
1159
|
+
team: team
|
|
1160
|
+
}
|
|
1161
|
+
});
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Update a team's settings
|
|
1166
|
+
*
|
|
1167
|
+
* @param teamSettingsPatch - TeamSettings changes
|
|
1168
|
+
* @param teamContext - The team context for the operation
|
|
1169
|
+
*/
|
|
1170
|
+
updateTeamSettings(teamSettingsPatch, teamContext) {
|
|
1171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1172
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1173
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1174
|
+
return this.beginRequest({
|
|
1175
|
+
apiVersion: "7.2-preview.1",
|
|
1176
|
+
method: "PATCH",
|
|
1177
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1178
|
+
routeValues: {
|
|
1179
|
+
project: project,
|
|
1180
|
+
team: team
|
|
1181
|
+
},
|
|
1182
|
+
body: teamSettingsPatch
|
|
1183
|
+
});
|
|
1184
|
+
});
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* Get work items for iteration
|
|
1188
|
+
*
|
|
1189
|
+
* @param teamContext - The team context for the operation
|
|
1190
|
+
* @param iterationId - ID of the iteration
|
|
1191
|
+
*/
|
|
1192
|
+
getIterationWorkItems(teamContext, iterationId) {
|
|
1193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1194
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1195
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1196
|
+
return this.beginRequest({
|
|
1197
|
+
apiVersion: "7.2-preview.1",
|
|
1198
|
+
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/workitems",
|
|
1199
|
+
routeValues: {
|
|
1200
|
+
project: project,
|
|
1201
|
+
team: team,
|
|
1202
|
+
iterationId: iterationId
|
|
1203
|
+
}
|
|
1204
|
+
});
|
|
1205
|
+
});
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Reorder Product Backlog/Boards Work Items
|
|
1209
|
+
*
|
|
1210
|
+
* @param operation -
|
|
1211
|
+
* @param teamContext - The team context for the operation
|
|
1212
|
+
*/
|
|
1213
|
+
reorderBacklogWorkItems(operation, teamContext) {
|
|
1214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1215
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1216
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1217
|
+
return this.beginRequest({
|
|
1218
|
+
apiVersion: "7.2-preview.1",
|
|
1219
|
+
method: "PATCH",
|
|
1220
|
+
routeTemplate: "{project}/{team}/_apis/work/workitemsorder",
|
|
1221
|
+
routeValues: {
|
|
1222
|
+
project: project,
|
|
1223
|
+
team: team
|
|
1224
|
+
},
|
|
1225
|
+
body: operation
|
|
1226
|
+
});
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Reorder Sprint Backlog/Taskboard Work Items
|
|
1231
|
+
*
|
|
1232
|
+
* @param operation -
|
|
1233
|
+
* @param teamContext - The team context for the operation
|
|
1234
|
+
* @param iterationId - The id of the iteration
|
|
1235
|
+
*/
|
|
1236
|
+
reorderIterationWorkItems(operation, teamContext, iterationId) {
|
|
1237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1238
|
+
const project = teamContext.projectId || teamContext.project;
|
|
1239
|
+
const team = teamContext.teamId || teamContext.team;
|
|
1240
|
+
return this.beginRequest({
|
|
1241
|
+
apiVersion: "7.2-preview.1",
|
|
1242
|
+
method: "PATCH",
|
|
1243
|
+
routeTemplate: "{project}/{team}/_apis/work/iterations/{iterationId}/workitemsorder",
|
|
1244
|
+
routeValues: {
|
|
1245
|
+
project: project,
|
|
1246
|
+
team: team,
|
|
1247
|
+
iterationId: iterationId
|
|
1248
|
+
},
|
|
1249
|
+
body: operation
|
|
1250
|
+
});
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
exports.WorkRestClient = WorkRestClient;
|
|
1255
|
+
WorkRestClient.RESOURCE_AREA_ID = "1d4f49f9-02b9-4e26-b826-2cdb6195f2a9";
|