azure-devops-extension-api 4.246.0 → 4.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/SECURITY.md +41 -0
  2. package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/Reporting.d.ts +48 -0
  3. package/bin/AdvancedSecurity.Reporting/Reporting.js +32 -0
  4. package/bin/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
  5. package/{Alert → bin/Alert}/Alert.d.ts +8 -8
  6. package/{Contributions → bin/Contributions}/ContributionsClient.js +2 -2
  7. package/{Contributions → bin/Contributions}/ContributionsClient.min.js +1 -1
  8. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.js +7 -7
  9. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.min.js +1 -1
  10. package/bin/LICENSE +21 -0
  11. package/bin/README.md +2 -0
  12. package/{TaskAgent → bin/TaskAgent}/TaskAgent.d.ts +8 -0
  13. package/{Test → bin/Test}/Test.d.ts +31 -7
  14. package/{TestPlan → bin/TestPlan}/TestPlan.d.ts +6 -2
  15. package/{TestResults → bin/TestResults}/TestResultsClient.d.ts +8 -0
  16. package/{TestResults → bin/TestResults}/TestResultsClient.js +23 -0
  17. package/{TestResults → bin/TestResults}/TestResultsClient.min.js +1 -1
  18. package/bin/package.json +37 -0
  19. package/buildpackage.js +80 -0
  20. package/package.json +1 -1
  21. package/src/Accounts/Accounts.ts +134 -0
  22. package/src/Accounts/AccountsClient.ts +83 -0
  23. package/src/Accounts/index.ts +2 -0
  24. package/src/AdvancedSecurity.Reporting/Reporting.ts +180 -0
  25. package/src/AdvancedSecurity.Reporting/ReportingClient.ts +47 -0
  26. package/src/Alert/Alert.ts +1037 -0
  27. package/src/Alert/AlertClient.ts +330 -0
  28. package/src/Boards/Boards.ts +684 -0
  29. package/src/Boards/BoardsClient.ts +593 -0
  30. package/src/Boards/index.ts +2 -0
  31. package/src/Build/Build.ts +3416 -0
  32. package/src/Build/BuildClient.ts +2740 -0
  33. package/src/Build/BuildServices.ts +39 -0
  34. package/src/Build/index.ts +3 -0
  35. package/src/Comments/Comments.ts +330 -0
  36. package/src/Comments/index.ts +1 -0
  37. package/src/Common/Client.ts +37 -0
  38. package/src/Common/CommonServices.ts +853 -0
  39. package/src/Common/Context.d.ts +46 -0
  40. package/src/Common/Fetch.ts +239 -0
  41. package/src/Common/RestClientBase.ts +186 -0
  42. package/src/Common/System.ts +36 -0
  43. package/src/Common/SystemData.ts +135 -0
  44. package/src/Common/Util/Serialization.ts +59 -0
  45. package/src/Common/Util/Url.ts +773 -0
  46. package/src/Common/index.ts +3 -0
  47. package/src/Contributions/Contributions.ts +708 -0
  48. package/src/Contributions/ContributionsClient.ts +109 -0
  49. package/src/Contributions/index.ts +2 -0
  50. package/src/Core/Core.ts +579 -0
  51. package/src/Core/CoreClient.ts +765 -0
  52. package/src/Core/index.ts +2 -0
  53. package/src/Dashboard/Dashboard.ts +419 -0
  54. package/src/Dashboard/DashboardClient.ts +370 -0
  55. package/src/Dashboard/WidgetConfigHelpers.ts +43 -0
  56. package/src/Dashboard/WidgetContracts.ts +226 -0
  57. package/src/Dashboard/WidgetHelpers.ts +145 -0
  58. package/src/Dashboard/index.ts +5 -0
  59. package/src/DistributedTaskCommon/DistributedTaskCommon.ts +108 -0
  60. package/src/DistributedTaskCommon/index.ts +1 -0
  61. package/src/ExtensionManagement/ExtensionManagement.ts +1205 -0
  62. package/src/ExtensionManagement/ExtensionManagementClient.ts +646 -0
  63. package/src/ExtensionManagement/index.ts +2 -0
  64. package/src/Favorite/Favorite.ts +136 -0
  65. package/src/Favorite/FavoriteClient.ts +301 -0
  66. package/src/FeatureAvailability/FeatureAvailability.ts +20 -0
  67. package/src/FeatureAvailability/FeatureAvailabilityClient.ts +153 -0
  68. package/src/FeatureAvailability/index.ts +2 -0
  69. package/src/FeatureManagement/FeatureManagement.ts +166 -0
  70. package/src/FeatureManagement/FeatureManagementClient.ts +246 -0
  71. package/src/FeatureManagement/index.ts +2 -0
  72. package/src/FileContainer/FileContainer.ts +205 -0
  73. package/src/FileContainer/FileContainerClient.ts +154 -0
  74. package/src/FileContainer/index.ts +2 -0
  75. package/src/FormInput/FormInput.ts +288 -0
  76. package/src/FormInput/index.ts +1 -0
  77. package/src/Gallery/Gallery.ts +1977 -0
  78. package/src/Gallery/GalleryClient.ts +2251 -0
  79. package/src/Gallery/index.ts +2 -0
  80. package/src/Git/CodeEditorTypes.ts +335 -0
  81. package/src/Git/Git.ts +4058 -0
  82. package/src/Git/GitClient.ts +4750 -0
  83. package/src/Git/GitServices.ts +18 -0
  84. package/src/Git/index.ts +4 -0
  85. package/src/Graph/Graph.ts +572 -0
  86. package/src/Graph/GraphClient.ts +846 -0
  87. package/src/Graph/index.ts +2 -0
  88. package/src/Identities/Identities.ts +261 -0
  89. package/src/Identities/IdentityProvider.ts +90 -0
  90. package/src/Identities/IdentityService.ts +89 -0
  91. package/src/Identities/index.ts +3 -0
  92. package/src/Locations/Locations.ts +165 -0
  93. package/src/Locations/LocationsClient.ts +220 -0
  94. package/src/Locations/index.ts +2 -0
  95. package/src/Management/Management.ts +172 -0
  96. package/src/Management/ManagementClient.ts +348 -0
  97. package/src/Notification/Notification.ts +1460 -0
  98. package/src/Notification/NotificationClient.ts +477 -0
  99. package/src/Notification/index.ts +2 -0
  100. package/src/Operations/Operations.ts +86 -0
  101. package/src/Operations/OperationsClient.ts +42 -0
  102. package/src/Operations/index.ts +2 -0
  103. package/src/Pipelines/Pipelines.ts +354 -0
  104. package/src/Pipelines/PipelinesClient.ts +306 -0
  105. package/src/Policy/Policy.ts +173 -0
  106. package/src/Policy/PolicyClient.ts +315 -0
  107. package/src/Policy/index.ts +2 -0
  108. package/src/Profile/Profile.ts +187 -0
  109. package/src/Profile/ProfileClient.ts +328 -0
  110. package/src/Profile/index.ts +2 -0
  111. package/src/ProjectAnalysis/ProjectAnalysis.ts +74 -0
  112. package/src/ProjectAnalysis/ProjectAnalysisClient.ts +124 -0
  113. package/src/ProjectAnalysis/index.ts +2 -0
  114. package/src/Release/Release.ts +4237 -0
  115. package/src/Release/ReleaseClient.ts +2450 -0
  116. package/src/Release/index.ts +2 -0
  117. package/src/ResourceUsage/ResourceUsage.ts +19 -0
  118. package/src/ResourceUsage/ResourceUsageClient.ts +48 -0
  119. package/src/ServiceEndpoint/ServiceEndpoint.ts +930 -0
  120. package/src/ServiceEndpoint/ServiceEndpointClient.ts +617 -0
  121. package/src/ServiceEndpoint/index.ts +2 -0
  122. package/src/ServiceHooks/ServiceHooks.ts +759 -0
  123. package/src/ServiceHooks/ServiceHooksClient.ts +499 -0
  124. package/src/ServiceHooks/index.ts +2 -0
  125. package/src/TaskAgent/TaskAgent.ts +3896 -0
  126. package/src/TaskAgent/TaskAgentClient.ts +3918 -0
  127. package/src/TaskAgent/index.ts +2 -0
  128. package/src/Test/Test.ts +5853 -0
  129. package/src/Test/TestClient.ts +2201 -0
  130. package/src/Test/index.ts +2 -0
  131. package/src/TestPlan/TestPlan.ts +1384 -0
  132. package/src/TestPlan/TestPlanClient.ts +1367 -0
  133. package/src/TestPlan/index.ts +2 -0
  134. package/{AdvancedSecurity.Reporting/Reporting.js → src/TestResults/TestResults.ts} +7 -5
  135. package/src/TestResults/TestResultsClient.ts +3450 -0
  136. package/src/TestResults/index.ts +2 -0
  137. package/src/Tfvc/Tfvc.ts +770 -0
  138. package/src/Tfvc/TfvcClient.ts +757 -0
  139. package/src/Tfvc/index.ts +2 -0
  140. package/src/WebApi/WebApi.ts +452 -0
  141. package/src/WebApi/index.ts +1 -0
  142. package/src/Wiki/Wiki.ts +352 -0
  143. package/src/Wiki/WikiClient.ts +712 -0
  144. package/src/Wiki/index.ts +2 -0
  145. package/src/Work/Work.ts +1367 -0
  146. package/src/Work/WorkClient.ts +1489 -0
  147. package/src/Work/index.ts +2 -0
  148. package/src/WorkItemTracking/WorkItemTracking.ts +2215 -0
  149. package/src/WorkItemTracking/WorkItemTrackingClient.ts +2032 -0
  150. package/src/WorkItemTracking/WorkItemTrackingServices.ts +329 -0
  151. package/src/WorkItemTracking/index.ts +3 -0
  152. package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +1295 -0
  153. package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +1455 -0
  154. package/src/WorkItemTrackingProcess/index.ts +2 -0
  155. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +606 -0
  156. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +1175 -0
  157. package/src/WorkItemTrackingProcessDefinitions/index.ts +2 -0
  158. package/src/index.ts +1 -0
  159. package/tsconfig.json +21 -0
  160. package/AdvancedSecurity.Reporting/Reporting.min.js +0 -1
  161. /package/{Accounts → bin/Accounts}/Accounts.d.ts +0 -0
  162. /package/{Accounts → bin/Accounts}/Accounts.js +0 -0
  163. /package/{Accounts → bin/Accounts}/Accounts.min.js +0 -0
  164. /package/{Accounts → bin/Accounts}/AccountsClient.d.ts +0 -0
  165. /package/{Accounts → bin/Accounts}/AccountsClient.js +0 -0
  166. /package/{Accounts → bin/Accounts}/AccountsClient.min.js +0 -0
  167. /package/{Accounts → bin/Accounts}/index.d.ts +0 -0
  168. /package/{Accounts → bin/Accounts}/index.js +0 -0
  169. /package/{Accounts → bin/Accounts}/index.min.js +0 -0
  170. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
  171. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
  172. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
  173. /package/{Alert → bin/Alert}/Alert.js +0 -0
  174. /package/{Alert → bin/Alert}/Alert.min.js +0 -0
  175. /package/{Alert → bin/Alert}/AlertClient.d.ts +0 -0
  176. /package/{Alert → bin/Alert}/AlertClient.js +0 -0
  177. /package/{Alert → bin/Alert}/AlertClient.min.js +0 -0
  178. /package/{Boards → bin/Boards}/Boards.d.ts +0 -0
  179. /package/{Boards → bin/Boards}/Boards.js +0 -0
  180. /package/{Boards → bin/Boards}/Boards.min.js +0 -0
  181. /package/{Boards → bin/Boards}/BoardsClient.d.ts +0 -0
  182. /package/{Boards → bin/Boards}/BoardsClient.js +0 -0
  183. /package/{Boards → bin/Boards}/BoardsClient.min.js +0 -0
  184. /package/{Boards → bin/Boards}/index.d.ts +0 -0
  185. /package/{Boards → bin/Boards}/index.js +0 -0
  186. /package/{Boards → bin/Boards}/index.min.js +0 -0
  187. /package/{Build → bin/Build}/Build.d.ts +0 -0
  188. /package/{Build → bin/Build}/Build.js +0 -0
  189. /package/{Build → bin/Build}/Build.min.js +0 -0
  190. /package/{Build → bin/Build}/BuildClient.d.ts +0 -0
  191. /package/{Build → bin/Build}/BuildClient.js +0 -0
  192. /package/{Build → bin/Build}/BuildClient.min.js +0 -0
  193. /package/{Build → bin/Build}/BuildServices.d.ts +0 -0
  194. /package/{Build → bin/Build}/BuildServices.js +0 -0
  195. /package/{Build → bin/Build}/BuildServices.min.js +0 -0
  196. /package/{Build → bin/Build}/index.d.ts +0 -0
  197. /package/{Build → bin/Build}/index.js +0 -0
  198. /package/{Build → bin/Build}/index.min.js +0 -0
  199. /package/{Comments → bin/Comments}/Comments.d.ts +0 -0
  200. /package/{Comments → bin/Comments}/Comments.js +0 -0
  201. /package/{Comments → bin/Comments}/Comments.min.js +0 -0
  202. /package/{Comments → bin/Comments}/index.d.ts +0 -0
  203. /package/{Comments → bin/Comments}/index.js +0 -0
  204. /package/{Comments → bin/Comments}/index.min.js +0 -0
  205. /package/{Common → bin/Common}/Client.d.ts +0 -0
  206. /package/{Common → bin/Common}/Client.js +0 -0
  207. /package/{Common → bin/Common}/Client.min.js +0 -0
  208. /package/{Common → bin/Common}/CommonServices.d.ts +0 -0
  209. /package/{Common → bin/Common}/CommonServices.js +0 -0
  210. /package/{Common → bin/Common}/CommonServices.min.js +0 -0
  211. /package/{Common → bin/Common}/Context.d.ts +0 -0
  212. /package/{Common → bin/Common}/Fetch.d.ts +0 -0
  213. /package/{Common → bin/Common}/Fetch.js +0 -0
  214. /package/{Common → bin/Common}/Fetch.min.js +0 -0
  215. /package/{Common → bin/Common}/RestClientBase.d.ts +0 -0
  216. /package/{Common → bin/Common}/RestClientBase.js +0 -0
  217. /package/{Common → bin/Common}/RestClientBase.min.js +0 -0
  218. /package/{Common → bin/Common}/System.d.ts +0 -0
  219. /package/{Common → bin/Common}/System.js +0 -0
  220. /package/{Common → bin/Common}/System.min.js +0 -0
  221. /package/{Common → bin/Common}/SystemData.d.ts +0 -0
  222. /package/{Common → bin/Common}/SystemData.js +0 -0
  223. /package/{Common → bin/Common}/SystemData.min.js +0 -0
  224. /package/{Common → bin/Common}/Util/Serialization.d.ts +0 -0
  225. /package/{Common → bin/Common}/Util/Serialization.js +0 -0
  226. /package/{Common → bin/Common}/Util/Serialization.min.js +0 -0
  227. /package/{Common → bin/Common}/Util/Url.d.ts +0 -0
  228. /package/{Common → bin/Common}/Util/Url.js +0 -0
  229. /package/{Common → bin/Common}/Util/Url.min.js +0 -0
  230. /package/{Common → bin/Common}/index.d.ts +0 -0
  231. /package/{Common → bin/Common}/index.js +0 -0
  232. /package/{Common → bin/Common}/index.min.js +0 -0
  233. /package/{Contributions → bin/Contributions}/Contributions.d.ts +0 -0
  234. /package/{Contributions → bin/Contributions}/Contributions.js +0 -0
  235. /package/{Contributions → bin/Contributions}/Contributions.min.js +0 -0
  236. /package/{Contributions → bin/Contributions}/ContributionsClient.d.ts +0 -0
  237. /package/{Contributions → bin/Contributions}/index.d.ts +0 -0
  238. /package/{Contributions → bin/Contributions}/index.js +0 -0
  239. /package/{Contributions → bin/Contributions}/index.min.js +0 -0
  240. /package/{Core → bin/Core}/Core.d.ts +0 -0
  241. /package/{Core → bin/Core}/Core.js +0 -0
  242. /package/{Core → bin/Core}/Core.min.js +0 -0
  243. /package/{Core → bin/Core}/CoreClient.d.ts +0 -0
  244. /package/{Core → bin/Core}/CoreClient.js +0 -0
  245. /package/{Core → bin/Core}/CoreClient.min.js +0 -0
  246. /package/{Core → bin/Core}/index.d.ts +0 -0
  247. /package/{Core → bin/Core}/index.js +0 -0
  248. /package/{Core → bin/Core}/index.min.js +0 -0
  249. /package/{Dashboard → bin/Dashboard}/Dashboard.d.ts +0 -0
  250. /package/{Dashboard → bin/Dashboard}/Dashboard.js +0 -0
  251. /package/{Dashboard → bin/Dashboard}/Dashboard.min.js +0 -0
  252. /package/{Dashboard → bin/Dashboard}/DashboardClient.d.ts +0 -0
  253. /package/{Dashboard → bin/Dashboard}/DashboardClient.js +0 -0
  254. /package/{Dashboard → bin/Dashboard}/DashboardClient.min.js +0 -0
  255. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.d.ts +0 -0
  256. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.js +0 -0
  257. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.min.js +0 -0
  258. /package/{Dashboard → bin/Dashboard}/WidgetContracts.d.ts +0 -0
  259. /package/{Dashboard → bin/Dashboard}/WidgetContracts.js +0 -0
  260. /package/{Dashboard → bin/Dashboard}/WidgetContracts.min.js +0 -0
  261. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.d.ts +0 -0
  262. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.js +0 -0
  263. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.min.js +0 -0
  264. /package/{Dashboard → bin/Dashboard}/index.d.ts +0 -0
  265. /package/{Dashboard → bin/Dashboard}/index.js +0 -0
  266. /package/{Dashboard → bin/Dashboard}/index.min.js +0 -0
  267. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
  268. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
  269. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
  270. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.d.ts +0 -0
  271. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.js +0 -0
  272. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.min.js +0 -0
  273. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.d.ts +0 -0
  274. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.js +0 -0
  275. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.min.js +0 -0
  276. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
  277. /package/{ExtensionManagement → bin/ExtensionManagement}/index.d.ts +0 -0
  278. /package/{ExtensionManagement → bin/ExtensionManagement}/index.js +0 -0
  279. /package/{ExtensionManagement → bin/ExtensionManagement}/index.min.js +0 -0
  280. /package/{Favorite → bin/Favorite}/Favorite.d.ts +0 -0
  281. /package/{Favorite → bin/Favorite}/Favorite.js +0 -0
  282. /package/{Favorite → bin/Favorite}/Favorite.min.js +0 -0
  283. /package/{Favorite → bin/Favorite}/FavoriteClient.d.ts +0 -0
  284. /package/{Favorite → bin/Favorite}/FavoriteClient.js +0 -0
  285. /package/{Favorite → bin/Favorite}/FavoriteClient.min.js +0 -0
  286. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.d.ts +0 -0
  287. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.js +0 -0
  288. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.min.js +0 -0
  289. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
  290. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
  291. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
  292. /package/{FeatureAvailability → bin/FeatureAvailability}/index.d.ts +0 -0
  293. /package/{FeatureAvailability → bin/FeatureAvailability}/index.js +0 -0
  294. /package/{FeatureAvailability → bin/FeatureAvailability}/index.min.js +0 -0
  295. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.d.ts +0 -0
  296. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.js +0 -0
  297. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.min.js +0 -0
  298. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.d.ts +0 -0
  299. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.js +0 -0
  300. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.min.js +0 -0
  301. /package/{FeatureManagement → bin/FeatureManagement}/index.d.ts +0 -0
  302. /package/{FeatureManagement → bin/FeatureManagement}/index.js +0 -0
  303. /package/{FeatureManagement → bin/FeatureManagement}/index.min.js +0 -0
  304. /package/{FileContainer → bin/FileContainer}/FileContainer.d.ts +0 -0
  305. /package/{FileContainer → bin/FileContainer}/FileContainer.js +0 -0
  306. /package/{FileContainer → bin/FileContainer}/FileContainer.min.js +0 -0
  307. /package/{FileContainer → bin/FileContainer}/FileContainerClient.d.ts +0 -0
  308. /package/{FileContainer → bin/FileContainer}/FileContainerClient.js +0 -0
  309. /package/{FileContainer → bin/FileContainer}/FileContainerClient.min.js +0 -0
  310. /package/{FileContainer → bin/FileContainer}/index.d.ts +0 -0
  311. /package/{FileContainer → bin/FileContainer}/index.js +0 -0
  312. /package/{FileContainer → bin/FileContainer}/index.min.js +0 -0
  313. /package/{FormInput → bin/FormInput}/FormInput.d.ts +0 -0
  314. /package/{FormInput → bin/FormInput}/FormInput.js +0 -0
  315. /package/{FormInput → bin/FormInput}/FormInput.min.js +0 -0
  316. /package/{FormInput → bin/FormInput}/index.d.ts +0 -0
  317. /package/{FormInput → bin/FormInput}/index.js +0 -0
  318. /package/{FormInput → bin/FormInput}/index.min.js +0 -0
  319. /package/{Gallery → bin/Gallery}/Gallery.d.ts +0 -0
  320. /package/{Gallery → bin/Gallery}/Gallery.js +0 -0
  321. /package/{Gallery → bin/Gallery}/Gallery.min.js +0 -0
  322. /package/{Gallery → bin/Gallery}/GalleryClient.d.ts +0 -0
  323. /package/{Gallery → bin/Gallery}/GalleryClient.js +0 -0
  324. /package/{Gallery → bin/Gallery}/GalleryClient.min.js +0 -0
  325. /package/{Gallery → bin/Gallery}/index.d.ts +0 -0
  326. /package/{Gallery → bin/Gallery}/index.js +0 -0
  327. /package/{Gallery → bin/Gallery}/index.min.js +0 -0
  328. /package/{Git → bin/Git}/CodeEditorTypes.d.ts +0 -0
  329. /package/{Git → bin/Git}/CodeEditorTypes.js +0 -0
  330. /package/{Git → bin/Git}/CodeEditorTypes.min.js +0 -0
  331. /package/{Git → bin/Git}/Git.d.ts +0 -0
  332. /package/{Git → bin/Git}/Git.js +0 -0
  333. /package/{Git → bin/Git}/Git.min.js +0 -0
  334. /package/{Git → bin/Git}/GitClient.d.ts +0 -0
  335. /package/{Git → bin/Git}/GitClient.js +0 -0
  336. /package/{Git → bin/Git}/GitClient.min.js +0 -0
  337. /package/{Git → bin/Git}/GitServices.d.ts +0 -0
  338. /package/{Git → bin/Git}/GitServices.js +0 -0
  339. /package/{Git → bin/Git}/GitServices.min.js +0 -0
  340. /package/{Git → bin/Git}/index.d.ts +0 -0
  341. /package/{Git → bin/Git}/index.js +0 -0
  342. /package/{Git → bin/Git}/index.min.js +0 -0
  343. /package/{Graph → bin/Graph}/Graph.d.ts +0 -0
  344. /package/{Graph → bin/Graph}/Graph.js +0 -0
  345. /package/{Graph → bin/Graph}/Graph.min.js +0 -0
  346. /package/{Graph → bin/Graph}/GraphClient.d.ts +0 -0
  347. /package/{Graph → bin/Graph}/GraphClient.js +0 -0
  348. /package/{Graph → bin/Graph}/GraphClient.min.js +0 -0
  349. /package/{Graph → bin/Graph}/index.d.ts +0 -0
  350. /package/{Graph → bin/Graph}/index.js +0 -0
  351. /package/{Graph → bin/Graph}/index.min.js +0 -0
  352. /package/{Identities → bin/Identities}/Identities.d.ts +0 -0
  353. /package/{Identities → bin/Identities}/Identities.js +0 -0
  354. /package/{Identities → bin/Identities}/Identities.min.js +0 -0
  355. /package/{Identities → bin/Identities}/IdentityProvider.d.ts +0 -0
  356. /package/{Identities → bin/Identities}/IdentityProvider.js +0 -0
  357. /package/{Identities → bin/Identities}/IdentityProvider.min.js +0 -0
  358. /package/{Identities → bin/Identities}/IdentityService.d.ts +0 -0
  359. /package/{Identities → bin/Identities}/IdentityService.js +0 -0
  360. /package/{Identities → bin/Identities}/IdentityService.min.js +0 -0
  361. /package/{Identities → bin/Identities}/index.d.ts +0 -0
  362. /package/{Identities → bin/Identities}/index.js +0 -0
  363. /package/{Identities → bin/Identities}/index.min.js +0 -0
  364. /package/{Locations → bin/Locations}/Locations.d.ts +0 -0
  365. /package/{Locations → bin/Locations}/Locations.js +0 -0
  366. /package/{Locations → bin/Locations}/Locations.min.js +0 -0
  367. /package/{Locations → bin/Locations}/LocationsClient.d.ts +0 -0
  368. /package/{Locations → bin/Locations}/LocationsClient.js +0 -0
  369. /package/{Locations → bin/Locations}/LocationsClient.min.js +0 -0
  370. /package/{Locations → bin/Locations}/index.d.ts +0 -0
  371. /package/{Locations → bin/Locations}/index.js +0 -0
  372. /package/{Locations → bin/Locations}/index.min.js +0 -0
  373. /package/{Management → bin/Management}/Management.d.ts +0 -0
  374. /package/{Management → bin/Management}/Management.js +0 -0
  375. /package/{Management → bin/Management}/Management.min.js +0 -0
  376. /package/{Management → bin/Management}/ManagementClient.d.ts +0 -0
  377. /package/{Management → bin/Management}/ManagementClient.js +0 -0
  378. /package/{Management → bin/Management}/ManagementClient.min.js +0 -0
  379. /package/{Notification → bin/Notification}/Notification.d.ts +0 -0
  380. /package/{Notification → bin/Notification}/Notification.js +0 -0
  381. /package/{Notification → bin/Notification}/Notification.min.js +0 -0
  382. /package/{Notification → bin/Notification}/NotificationClient.d.ts +0 -0
  383. /package/{Notification → bin/Notification}/NotificationClient.js +0 -0
  384. /package/{Notification → bin/Notification}/NotificationClient.min.js +0 -0
  385. /package/{Notification → bin/Notification}/index.d.ts +0 -0
  386. /package/{Notification → bin/Notification}/index.js +0 -0
  387. /package/{Notification → bin/Notification}/index.min.js +0 -0
  388. /package/{Operations → bin/Operations}/Operations.d.ts +0 -0
  389. /package/{Operations → bin/Operations}/Operations.js +0 -0
  390. /package/{Operations → bin/Operations}/Operations.min.js +0 -0
  391. /package/{Operations → bin/Operations}/OperationsClient.d.ts +0 -0
  392. /package/{Operations → bin/Operations}/OperationsClient.js +0 -0
  393. /package/{Operations → bin/Operations}/OperationsClient.min.js +0 -0
  394. /package/{Operations → bin/Operations}/index.d.ts +0 -0
  395. /package/{Operations → bin/Operations}/index.js +0 -0
  396. /package/{Operations → bin/Operations}/index.min.js +0 -0
  397. /package/{Pipelines → bin/Pipelines}/Pipelines.d.ts +0 -0
  398. /package/{Pipelines → bin/Pipelines}/Pipelines.js +0 -0
  399. /package/{Pipelines → bin/Pipelines}/Pipelines.min.js +0 -0
  400. /package/{Pipelines → bin/Pipelines}/PipelinesClient.d.ts +0 -0
  401. /package/{Pipelines → bin/Pipelines}/PipelinesClient.js +0 -0
  402. /package/{Pipelines → bin/Pipelines}/PipelinesClient.min.js +0 -0
  403. /package/{Policy → bin/Policy}/Policy.d.ts +0 -0
  404. /package/{Policy → bin/Policy}/Policy.js +0 -0
  405. /package/{Policy → bin/Policy}/Policy.min.js +0 -0
  406. /package/{Policy → bin/Policy}/PolicyClient.d.ts +0 -0
  407. /package/{Policy → bin/Policy}/PolicyClient.js +0 -0
  408. /package/{Policy → bin/Policy}/PolicyClient.min.js +0 -0
  409. /package/{Policy → bin/Policy}/index.d.ts +0 -0
  410. /package/{Policy → bin/Policy}/index.js +0 -0
  411. /package/{Policy → bin/Policy}/index.min.js +0 -0
  412. /package/{Profile → bin/Profile}/Profile.d.ts +0 -0
  413. /package/{Profile → bin/Profile}/Profile.js +0 -0
  414. /package/{Profile → bin/Profile}/Profile.min.js +0 -0
  415. /package/{Profile → bin/Profile}/ProfileClient.d.ts +0 -0
  416. /package/{Profile → bin/Profile}/ProfileClient.js +0 -0
  417. /package/{Profile → bin/Profile}/ProfileClient.min.js +0 -0
  418. /package/{Profile → bin/Profile}/index.d.ts +0 -0
  419. /package/{Profile → bin/Profile}/index.js +0 -0
  420. /package/{Profile → bin/Profile}/index.min.js +0 -0
  421. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
  422. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.js +0 -0
  423. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
  424. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
  425. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
  426. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
  427. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.d.ts +0 -0
  428. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.js +0 -0
  429. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.min.js +0 -0
  430. /package/{Release → bin/Release}/Release.d.ts +0 -0
  431. /package/{Release → bin/Release}/Release.js +0 -0
  432. /package/{Release → bin/Release}/Release.min.js +0 -0
  433. /package/{Release → bin/Release}/ReleaseClient.d.ts +0 -0
  434. /package/{Release → bin/Release}/ReleaseClient.js +0 -0
  435. /package/{Release → bin/Release}/ReleaseClient.min.js +0 -0
  436. /package/{Release → bin/Release}/index.d.ts +0 -0
  437. /package/{Release → bin/Release}/index.js +0 -0
  438. /package/{Release → bin/Release}/index.min.js +0 -0
  439. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.d.ts +0 -0
  440. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.js +0 -0
  441. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.min.js +0 -0
  442. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.d.ts +0 -0
  443. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.js +0 -0
  444. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.min.js +0 -0
  445. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.d.ts +0 -0
  446. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.js +0 -0
  447. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
  448. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.d.ts +0 -0
  449. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.js +0 -0
  450. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.min.js +0 -0
  451. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.d.ts +0 -0
  452. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.js +0 -0
  453. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.min.js +0 -0
  454. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.d.ts +0 -0
  455. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.js +0 -0
  456. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.min.js +0 -0
  457. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.d.ts +0 -0
  458. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.js +0 -0
  459. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.min.js +0 -0
  460. /package/{ServiceHooks → bin/ServiceHooks}/index.d.ts +0 -0
  461. /package/{ServiceHooks → bin/ServiceHooks}/index.js +0 -0
  462. /package/{ServiceHooks → bin/ServiceHooks}/index.min.js +0 -0
  463. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.js +0 -0
  464. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.min.js +0 -0
  465. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.d.ts +0 -0
  466. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.js +0 -0
  467. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.min.js +0 -0
  468. /package/{TaskAgent → bin/TaskAgent}/index.d.ts +0 -0
  469. /package/{TaskAgent → bin/TaskAgent}/index.js +0 -0
  470. /package/{TaskAgent → bin/TaskAgent}/index.min.js +0 -0
  471. /package/{Test → bin/Test}/Test.js +0 -0
  472. /package/{Test → bin/Test}/Test.min.js +0 -0
  473. /package/{Test → bin/Test}/TestClient.d.ts +0 -0
  474. /package/{Test → bin/Test}/TestClient.js +0 -0
  475. /package/{Test → bin/Test}/TestClient.min.js +0 -0
  476. /package/{Test → bin/Test}/index.d.ts +0 -0
  477. /package/{Test → bin/Test}/index.js +0 -0
  478. /package/{Test → bin/Test}/index.min.js +0 -0
  479. /package/{TestPlan → bin/TestPlan}/TestPlan.js +0 -0
  480. /package/{TestPlan → bin/TestPlan}/TestPlan.min.js +0 -0
  481. /package/{TestPlan → bin/TestPlan}/TestPlanClient.d.ts +0 -0
  482. /package/{TestPlan → bin/TestPlan}/TestPlanClient.js +0 -0
  483. /package/{TestPlan → bin/TestPlan}/TestPlanClient.min.js +0 -0
  484. /package/{TestPlan → bin/TestPlan}/index.d.ts +0 -0
  485. /package/{TestPlan → bin/TestPlan}/index.js +0 -0
  486. /package/{TestPlan → bin/TestPlan}/index.min.js +0 -0
  487. /package/{TestResults → bin/TestResults}/TestResults.d.ts +0 -0
  488. /package/{TestResults → bin/TestResults}/TestResults.js +0 -0
  489. /package/{TestResults → bin/TestResults}/TestResults.min.js +0 -0
  490. /package/{TestResults → bin/TestResults}/index.d.ts +0 -0
  491. /package/{TestResults → bin/TestResults}/index.js +0 -0
  492. /package/{TestResults → bin/TestResults}/index.min.js +0 -0
  493. /package/{Tfvc → bin/Tfvc}/Tfvc.d.ts +0 -0
  494. /package/{Tfvc → bin/Tfvc}/Tfvc.js +0 -0
  495. /package/{Tfvc → bin/Tfvc}/Tfvc.min.js +0 -0
  496. /package/{Tfvc → bin/Tfvc}/TfvcClient.d.ts +0 -0
  497. /package/{Tfvc → bin/Tfvc}/TfvcClient.js +0 -0
  498. /package/{Tfvc → bin/Tfvc}/TfvcClient.min.js +0 -0
  499. /package/{Tfvc → bin/Tfvc}/index.d.ts +0 -0
  500. /package/{Tfvc → bin/Tfvc}/index.js +0 -0
  501. /package/{Tfvc → bin/Tfvc}/index.min.js +0 -0
  502. /package/{WebApi → bin/WebApi}/WebApi.d.ts +0 -0
  503. /package/{WebApi → bin/WebApi}/WebApi.js +0 -0
  504. /package/{WebApi → bin/WebApi}/WebApi.min.js +0 -0
  505. /package/{WebApi → bin/WebApi}/index.d.ts +0 -0
  506. /package/{WebApi → bin/WebApi}/index.js +0 -0
  507. /package/{WebApi → bin/WebApi}/index.min.js +0 -0
  508. /package/{Wiki → bin/Wiki}/Wiki.d.ts +0 -0
  509. /package/{Wiki → bin/Wiki}/Wiki.js +0 -0
  510. /package/{Wiki → bin/Wiki}/Wiki.min.js +0 -0
  511. /package/{Wiki → bin/Wiki}/WikiClient.d.ts +0 -0
  512. /package/{Wiki → bin/Wiki}/WikiClient.js +0 -0
  513. /package/{Wiki → bin/Wiki}/WikiClient.min.js +0 -0
  514. /package/{Wiki → bin/Wiki}/index.d.ts +0 -0
  515. /package/{Wiki → bin/Wiki}/index.js +0 -0
  516. /package/{Wiki → bin/Wiki}/index.min.js +0 -0
  517. /package/{Work → bin/Work}/Work.d.ts +0 -0
  518. /package/{Work → bin/Work}/Work.js +0 -0
  519. /package/{Work → bin/Work}/Work.min.js +0 -0
  520. /package/{Work → bin/Work}/WorkClient.d.ts +0 -0
  521. /package/{Work → bin/Work}/WorkClient.js +0 -0
  522. /package/{Work → bin/Work}/WorkClient.min.js +0 -0
  523. /package/{Work → bin/Work}/index.d.ts +0 -0
  524. /package/{Work → bin/Work}/index.js +0 -0
  525. /package/{Work → bin/Work}/index.min.js +0 -0
  526. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.d.ts +0 -0
  527. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.js +0 -0
  528. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.min.js +0 -0
  529. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
  530. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.js +0 -0
  531. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
  532. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
  533. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.js +0 -0
  534. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
  535. /package/{WorkItemTracking → bin/WorkItemTracking}/index.d.ts +0 -0
  536. /package/{WorkItemTracking → bin/WorkItemTracking}/index.js +0 -0
  537. /package/{WorkItemTracking → bin/WorkItemTracking}/index.min.js +0 -0
  538. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
  539. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
  540. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
  541. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
  542. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
  543. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
  544. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.d.ts +0 -0
  545. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.js +0 -0
  546. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.min.js +0 -0
  547. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
  548. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
  549. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
  550. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
  551. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
  552. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
  553. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
  554. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.js +0 -0
  555. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
  556. /package/{index.d.ts → bin/index.d.ts} +0 -0
  557. /package/{index.js → bin/index.js} +0 -0
  558. /package/{index.min.js → bin/index.min.js} +0 -0
@@ -0,0 +1,1367 @@
1
+ /*
2
+ * ---------------------------------------------------------
3
+ * Copyright(C) Microsoft Corporation. All rights reserved.
4
+ * ---------------------------------------------------------
5
+ */
6
+
7
+ import * as System from "../Common/System";
8
+ import * as WebApi from "../WebApi/WebApi";
9
+ import * as WorkItemTracking from "../WorkItemTracking/WorkItemTracking";
10
+
11
+ export interface Activity {
12
+ capacityPerDay: number;
13
+ name: string;
14
+ }
15
+
16
+ export interface attribute {
17
+ }
18
+
19
+ export interface BacklogColumn {
20
+ columnFieldReference: WorkItemTracking.WorkItemFieldReference;
21
+ width: number;
22
+ }
23
+
24
+ export interface BacklogConfiguration {
25
+ /**
26
+ * Behavior/type field mapping
27
+ */
28
+ backlogFields: BacklogFields;
29
+ /**
30
+ * Bugs behavior
31
+ */
32
+ bugsBehavior: BugsBehavior;
33
+ /**
34
+ * Hidden Backlog
35
+ */
36
+ hiddenBacklogs: string[];
37
+ /**
38
+ * Is BugsBehavior Configured in the process
39
+ */
40
+ isBugsBehaviorConfigured: boolean;
41
+ /**
42
+ * Portfolio backlog descriptors
43
+ */
44
+ portfolioBacklogs: BacklogLevelConfiguration[];
45
+ /**
46
+ * Requirement backlog
47
+ */
48
+ requirementBacklog: BacklogLevelConfiguration;
49
+ /**
50
+ * Task backlog
51
+ */
52
+ taskBacklog: BacklogLevelConfiguration;
53
+ url: string;
54
+ /**
55
+ * Mapped states for work item types
56
+ */
57
+ workItemTypeMappedStates: WorkItemTypeStateInfo[];
58
+ }
59
+
60
+ export interface BacklogFields {
61
+ /**
62
+ * Field Type (e.g. Order, Activity) to Field Reference Name map
63
+ */
64
+ typeFields: { [key: string] : string; };
65
+ }
66
+
67
+ /**
68
+ * Contract representing a backlog level
69
+ */
70
+ export interface BacklogLevel {
71
+ /**
72
+ * Reference name of the corresponding WIT category
73
+ */
74
+ categoryReferenceName: string;
75
+ /**
76
+ * Plural name for the backlog level
77
+ */
78
+ pluralName: string;
79
+ /**
80
+ * Collection of work item states that are included in the plan. The server will filter to only these work item types.
81
+ */
82
+ workItemStates: string[];
83
+ /**
84
+ * Collection of valid workitem type names for the given backlog level
85
+ */
86
+ workItemTypes: string[];
87
+ }
88
+
89
+ export interface BacklogLevelConfiguration {
90
+ /**
91
+ * List of fields to include in Add Panel
92
+ */
93
+ addPanelFields: WorkItemTracking.WorkItemFieldReference[];
94
+ /**
95
+ * Color for the backlog level
96
+ */
97
+ color: string;
98
+ /**
99
+ * Default list of columns for the backlog
100
+ */
101
+ columnFields: BacklogColumn[];
102
+ /**
103
+ * Default Work Item Type for the backlog
104
+ */
105
+ defaultWorkItemType: WorkItemTracking.WorkItemTypeReference;
106
+ /**
107
+ * Backlog Id (for Legacy Backlog Level from process config it can be categoryref name)
108
+ */
109
+ id: string;
110
+ /**
111
+ * Indicates whether the backlog level is hidden
112
+ */
113
+ isHidden: boolean;
114
+ /**
115
+ * Backlog Name
116
+ */
117
+ name: string;
118
+ /**
119
+ * Backlog Rank (Taskbacklog is 0)
120
+ */
121
+ rank: number;
122
+ /**
123
+ * The type of this backlog level
124
+ */
125
+ type: BacklogType;
126
+ /**
127
+ * Max number of work items to show in the given backlog
128
+ */
129
+ workItemCountLimit: number;
130
+ /**
131
+ * Work Item types participating in this backlog as known by the project/Process, can be overridden by team settings for bugs
132
+ */
133
+ workItemTypes: WorkItemTracking.WorkItemTypeReference[];
134
+ }
135
+
136
+ /**
137
+ * Represents work items in a backlog level
138
+ */
139
+ export interface BacklogLevelWorkItems {
140
+ /**
141
+ * A list of work items within a backlog level
142
+ */
143
+ workItems: WorkItemTracking.WorkItemLink[];
144
+ }
145
+
146
+ /**
147
+ * Definition of the type of backlog level
148
+ */
149
+ export enum BacklogType {
150
+ /**
151
+ * Portfolio backlog level
152
+ */
153
+ Portfolio = 0,
154
+ /**
155
+ * Requirement backlog level
156
+ */
157
+ Requirement = 1,
158
+ /**
159
+ * Task backlog level
160
+ */
161
+ Task = 2
162
+ }
163
+
164
+ export interface Board extends BoardReference {
165
+ _links: any;
166
+ allowedMappings: { [key: string] : { [key: string] : string[]; }; };
167
+ canEdit: boolean;
168
+ columns: BoardColumn[];
169
+ fields: BoardFields;
170
+ isValid: boolean;
171
+ revision: number;
172
+ rows: BoardRow[];
173
+ }
174
+
175
+ /**
176
+ * Represents a board badge.
177
+ */
178
+ export interface BoardBadge {
179
+ /**
180
+ * The ID of the board represented by this badge.
181
+ */
182
+ boardId: string;
183
+ /**
184
+ * A link to the SVG resource.
185
+ */
186
+ imageUrl: string;
187
+ }
188
+
189
+ /**
190
+ * Determines what columns to include on the board badge
191
+ */
192
+ export enum BoardBadgeColumnOptions {
193
+ /**
194
+ * Only include In Progress columns
195
+ */
196
+ InProgressColumns = 0,
197
+ /**
198
+ * Include all columns
199
+ */
200
+ AllColumns = 1,
201
+ /**
202
+ * Include a custom set of columns
203
+ */
204
+ CustomColumns = 2
205
+ }
206
+
207
+ export interface BoardCardRuleSettings {
208
+ _links: any;
209
+ rules: { [key: string] : Rule[]; };
210
+ url: string;
211
+ }
212
+
213
+ export interface BoardCardSettings {
214
+ cards: { [key: string] : FieldSetting[]; };
215
+ }
216
+
217
+ export interface BoardChart extends BoardChartReference {
218
+ /**
219
+ * The links for the resource
220
+ */
221
+ _links: any;
222
+ /**
223
+ * The settings for the resource
224
+ */
225
+ settings: { [key: string] : any; };
226
+ }
227
+
228
+ export interface BoardChartReference {
229
+ /**
230
+ * Name of the resource
231
+ */
232
+ name: string;
233
+ /**
234
+ * Full http link to the resource
235
+ */
236
+ url: string;
237
+ }
238
+
239
+ export interface BoardColumn {
240
+ columnType: BoardColumnType;
241
+ description: string;
242
+ id: string;
243
+ isSplit: boolean;
244
+ itemLimit: number;
245
+ name: string;
246
+ stateMappings: { [key: string] : string; };
247
+ }
248
+
249
+ export enum BoardColumnType {
250
+ Incoming = 0,
251
+ InProgress = 1,
252
+ Outgoing = 2
253
+ }
254
+
255
+ export interface BoardFields {
256
+ columnField: FieldReference;
257
+ doneField: FieldReference;
258
+ rowField: FieldReference;
259
+ }
260
+
261
+ export interface BoardReference {
262
+ /**
263
+ * Id of the resource
264
+ */
265
+ id: string;
266
+ /**
267
+ * Name of the resource
268
+ */
269
+ name: string;
270
+ /**
271
+ * Full http link to the resource
272
+ */
273
+ url: string;
274
+ }
275
+
276
+ export interface BoardRow {
277
+ color: string;
278
+ id: string;
279
+ name: string;
280
+ }
281
+
282
+ export interface BoardSuggestedValue {
283
+ name: string;
284
+ }
285
+
286
+ export interface BoardUserSettings {
287
+ autoRefreshState: boolean;
288
+ }
289
+
290
+ /**
291
+ * The behavior of the work item types that are in the work item category specified in the BugWorkItems section in the Process Configuration
292
+ */
293
+ export enum BugsBehavior {
294
+ Off = 0,
295
+ AsRequirements = 1,
296
+ AsTasks = 2
297
+ }
298
+
299
+ export interface CapacityContractBase extends TeamSettingsDataContractBase {
300
+ /**
301
+ * Collection of capacities associated with the team member
302
+ */
303
+ activities: Activity[];
304
+ /**
305
+ * The days off associated with the team member
306
+ */
307
+ daysOff: DateRange[];
308
+ }
309
+
310
+ /**
311
+ * Expected data from PATCH
312
+ */
313
+ export interface CapacityPatch {
314
+ activities: Activity[];
315
+ daysOff: DateRange[];
316
+ }
317
+
318
+ /**
319
+ * Card settings, such as fields and rules
320
+ */
321
+ export interface CardFieldSettings {
322
+ /**
323
+ * A collection of field information of additional fields on cards. The index in the collection signifies the order of the field among the additional fields. Currently unused. Should be used with User Story 691539: Card setting: additional fields
324
+ */
325
+ additionalFields: FieldInfo[];
326
+ /**
327
+ * Display format for the assigned to field
328
+ */
329
+ assignedToDisplayFormat: IdentityDisplayFormat;
330
+ /**
331
+ * A collection of field information of rendered core fields on cards.
332
+ */
333
+ coreFields: FieldInfo[];
334
+ /**
335
+ * Flag indicating whether to show assigned to field on cards. When true, AssignedToDisplayFormat will determine how the field will be displayed
336
+ */
337
+ showAssignedTo: boolean;
338
+ /**
339
+ * Flag indicating whether to show child rollup on cards
340
+ */
341
+ showChildRollup: boolean;
342
+ /**
343
+ * Flag indicating whether to show empty fields on cards
344
+ */
345
+ showEmptyFields: boolean;
346
+ /**
347
+ * Flag indicating whether to show ID on cards
348
+ */
349
+ showId: boolean;
350
+ /**
351
+ * Flag indicating whether to show parent field on cards
352
+ */
353
+ showParent: boolean;
354
+ /**
355
+ * Flag indicating whether to show state field on cards
356
+ */
357
+ showState: boolean;
358
+ /**
359
+ * Flag indicating whether to show tags on cards
360
+ */
361
+ showTags: boolean;
362
+ }
363
+
364
+ /**
365
+ * Card settings, such as fields and rules
366
+ */
367
+ export interface CardSettings {
368
+ /**
369
+ * A collection of settings related to rendering of fields on cards
370
+ */
371
+ fields: CardFieldSettings;
372
+ }
373
+
374
+ /**
375
+ * Details about a given backlog category
376
+ */
377
+ export interface CategoryConfiguration {
378
+ /**
379
+ * Name
380
+ */
381
+ name: string;
382
+ /**
383
+ * Category Reference Name
384
+ */
385
+ referenceName: string;
386
+ /**
387
+ * Work item types for the backlog category
388
+ */
389
+ workItemTypes: WorkItemTracking.WorkItemTypeReference[];
390
+ }
391
+
392
+ export interface CreatePlan {
393
+ /**
394
+ * Description of the plan
395
+ */
396
+ description: string;
397
+ /**
398
+ * Name of the plan to create.
399
+ */
400
+ name: string;
401
+ /**
402
+ * Plan properties.
403
+ */
404
+ properties: any;
405
+ /**
406
+ * Type of plan to create.
407
+ */
408
+ type: PlanType;
409
+ }
410
+
411
+ export interface DateRange {
412
+ /**
413
+ * End of the date range.
414
+ */
415
+ end: Date;
416
+ /**
417
+ * Start of the date range.
418
+ */
419
+ start: Date;
420
+ }
421
+
422
+ /**
423
+ * Data contract for Data of Delivery View
424
+ */
425
+ export interface DeliveryViewData extends PlanViewData {
426
+ /**
427
+ * Work item child id to parent id map
428
+ */
429
+ childIdToParentIdMap: { [key: number] : number; };
430
+ /**
431
+ * Filter criteria status of the timeline
432
+ */
433
+ criteriaStatus: TimelineCriteriaStatus;
434
+ /**
435
+ * The end date of the delivery view data
436
+ */
437
+ endDate: Date;
438
+ /**
439
+ * Max number of teams that can be configured for a delivery plan
440
+ */
441
+ maxExpandedTeams: number;
442
+ /**
443
+ * Mapping between parent id, title and all the child work item ids
444
+ */
445
+ parentItemMaps: ParentChildWIMap[];
446
+ /**
447
+ * The start date for the delivery view data
448
+ */
449
+ startDate: Date;
450
+ /**
451
+ * All the team data
452
+ */
453
+ teams: TimelineTeamData[];
454
+ /**
455
+ * List of all work item ids that have a dependency but not a violation
456
+ */
457
+ workItemDependencies: number[];
458
+ /**
459
+ * List of all work item ids that have a violation
460
+ */
461
+ workItemViolations: number[];
462
+ }
463
+
464
+ /**
465
+ * Collection of properties, specific to the DeliveryTimelineView
466
+ */
467
+ export interface DeliveryViewPropertyCollection {
468
+ /**
469
+ * Card settings
470
+ */
471
+ cardSettings: CardSettings;
472
+ /**
473
+ * Field criteria
474
+ */
475
+ criteria: FilterClause[];
476
+ /**
477
+ * Markers. Will be missing/null if there are no markers.
478
+ */
479
+ markers: Marker[];
480
+ /**
481
+ * Card style settings
482
+ */
483
+ styleSettings: Rule[];
484
+ /**
485
+ * tag style settings
486
+ */
487
+ tagStyleSettings: Rule[];
488
+ /**
489
+ * Team backlog mappings
490
+ */
491
+ teamBacklogMappings: TeamBacklogMapping[];
492
+ }
493
+
494
+ /**
495
+ * Object bag storing the set of permissions relevant to this plan
496
+ */
497
+ export interface FieldInfo {
498
+ /**
499
+ * The additional field display name
500
+ */
501
+ displayName: string;
502
+ /**
503
+ * The additional field type
504
+ */
505
+ fieldType: FieldType;
506
+ /**
507
+ * Indicates if the field definition is for an identity field.
508
+ */
509
+ isIdentity: boolean;
510
+ /**
511
+ * The additional field reference name
512
+ */
513
+ referenceName: string;
514
+ }
515
+
516
+ /**
517
+ * An abstracted reference to a field
518
+ */
519
+ export interface FieldReference {
520
+ /**
521
+ * fieldRefName for the field
522
+ */
523
+ referenceName: string;
524
+ /**
525
+ * Full http link to more information about the field
526
+ */
527
+ url: string;
528
+ }
529
+
530
+ export interface FieldSetting {
531
+ }
532
+
533
+ export enum FieldType {
534
+ String = 0,
535
+ PlainText = 1,
536
+ Integer = 2,
537
+ DateTime = 3,
538
+ TreePath = 4,
539
+ Boolean = 5,
540
+ Double = 6
541
+ }
542
+
543
+ export interface FilterClause {
544
+ fieldName: string;
545
+ index: number;
546
+ logicalOperator: string;
547
+ operator: string;
548
+ value: string;
549
+ }
550
+
551
+ export interface FilterGroup {
552
+ end: number;
553
+ level: number;
554
+ start: number;
555
+ }
556
+
557
+ /**
558
+ * Enum for the various modes of identity picker
559
+ */
560
+ export enum IdentityDisplayFormat {
561
+ /**
562
+ * Display avatar only
563
+ */
564
+ AvatarOnly = 0,
565
+ /**
566
+ * Display Full name only
567
+ */
568
+ FullName = 1,
569
+ /**
570
+ * Display Avatar and Full name
571
+ */
572
+ AvatarAndFullName = 2
573
+ }
574
+
575
+ export interface ITaskboardColumnMapping {
576
+ state: string;
577
+ workItemType: string;
578
+ }
579
+
580
+ /**
581
+ * Capacity and teams for all teams in an iteration
582
+ */
583
+ export interface IterationCapacity {
584
+ teams: TeamCapacityTotals[];
585
+ totalIterationCapacityPerDay: number;
586
+ totalIterationDaysOff: number;
587
+ }
588
+
589
+ /**
590
+ * Represents work items in an iteration backlog
591
+ */
592
+ export interface IterationWorkItems extends TeamSettingsDataContractBase {
593
+ /**
594
+ * Work item relations
595
+ */
596
+ workItemRelations: WorkItemTracking.WorkItemLink[];
597
+ }
598
+
599
+ /**
600
+ * Client serialization contract for Delivery Timeline Markers.
601
+ */
602
+ export interface Marker {
603
+ /**
604
+ * Color associated with the marker.
605
+ */
606
+ color: string;
607
+ /**
608
+ * Where the marker should be displayed on the timeline.
609
+ */
610
+ date: Date;
611
+ /**
612
+ * Label/title for the marker.
613
+ */
614
+ label: string;
615
+ }
616
+
617
+ export interface Member {
618
+ displayName: string;
619
+ id: string;
620
+ imageUrl: string;
621
+ uniqueName: string;
622
+ url: string;
623
+ }
624
+
625
+ export interface ParentChildWIMap {
626
+ childWorkItemIds: number[];
627
+ id: number;
628
+ title: string;
629
+ workItemTypeName: string;
630
+ }
631
+
632
+ /**
633
+ * Data contract for the plan definition
634
+ */
635
+ export interface Plan {
636
+ /**
637
+ * Identity that created this plan. Defaults to null for records before upgrading to ScaledAgileViewComponent4.
638
+ */
639
+ createdByIdentity: WebApi.IdentityRef;
640
+ /**
641
+ * Date when the plan was created
642
+ */
643
+ createdDate: Date;
644
+ /**
645
+ * Description of the plan
646
+ */
647
+ description: string;
648
+ /**
649
+ * Id of the plan
650
+ */
651
+ id: string;
652
+ /**
653
+ * Date when the plan was last accessed. Default is null.
654
+ */
655
+ lastAccessed: Date;
656
+ /**
657
+ * Identity that last modified this plan. Defaults to null for records before upgrading to ScaledAgileViewComponent4.
658
+ */
659
+ modifiedByIdentity: WebApi.IdentityRef;
660
+ /**
661
+ * Date when the plan was last modified. Default to CreatedDate when the plan is first created.
662
+ */
663
+ modifiedDate: Date;
664
+ /**
665
+ * Name of the plan
666
+ */
667
+ name: string;
668
+ /**
669
+ * The PlanPropertyCollection instance associated with the plan. These are dependent on the type of the plan. For example, DeliveryTimelineView, it would be of type DeliveryViewPropertyCollection.
670
+ */
671
+ properties: any;
672
+ /**
673
+ * Revision of the plan. Used to safeguard users from overwriting each other's changes.
674
+ */
675
+ revision: number;
676
+ /**
677
+ * Type of the plan
678
+ */
679
+ type: PlanType;
680
+ /**
681
+ * The resource url to locate the plan via rest api
682
+ */
683
+ url: string;
684
+ /**
685
+ * Bit flag indicating set of permissions a user has to the plan.
686
+ */
687
+ userPermissions: PlanUserPermissions;
688
+ }
689
+
690
+ /**
691
+ * Metadata about a plan definition that is stored in favorites service
692
+ */
693
+ export interface PlanMetadata {
694
+ /**
695
+ * Identity of the creator of the plan
696
+ */
697
+ createdByIdentity: WebApi.IdentityRef;
698
+ /**
699
+ * Description of plan
700
+ */
701
+ description: string;
702
+ /**
703
+ * Last modified date of the plan
704
+ */
705
+ modifiedDate: Date;
706
+ /**
707
+ * Bit flag indicating set of permissions a user has to the plan.
708
+ */
709
+ userPermissions: PlanUserPermissions;
710
+ }
711
+
712
+ /**
713
+ * Enum for the various types of plans
714
+ */
715
+ export enum PlanType {
716
+ DeliveryTimelineView = 0
717
+ }
718
+
719
+ /**
720
+ * Flag for permissions a user can have for this plan.
721
+ */
722
+ export enum PlanUserPermissions {
723
+ /**
724
+ * None
725
+ */
726
+ None = 0,
727
+ /**
728
+ * Permission to view this plan.
729
+ */
730
+ View = 1,
731
+ /**
732
+ * Permission to update this plan.
733
+ */
734
+ Edit = 2,
735
+ /**
736
+ * Permission to delete this plan.
737
+ */
738
+ Delete = 4,
739
+ /**
740
+ * Permission to manage this plan.
741
+ */
742
+ Manage = 8,
743
+ /**
744
+ * Full control permission for this plan.
745
+ */
746
+ AllPermissions = 15
747
+ }
748
+
749
+ /**
750
+ * Base class for plan view data contracts. Anything common goes here.
751
+ */
752
+ export interface PlanViewData {
753
+ id: string;
754
+ revision: number;
755
+ }
756
+
757
+ /**
758
+ * Represents a single pre-defined query.
759
+ */
760
+ export interface PredefinedQuery {
761
+ /**
762
+ * Whether or not the query returned the complete set of data or if the data was truncated.
763
+ */
764
+ hasMore: boolean;
765
+ /**
766
+ * Id of the query
767
+ */
768
+ id: string;
769
+ /**
770
+ * Localized name of the query
771
+ */
772
+ name: string;
773
+ /**
774
+ * The results of the query. This will be a set of WorkItem objects with only the 'id' set. The client is responsible for paging in the data as needed.
775
+ */
776
+ results: WorkItemTracking.WorkItem[];
777
+ /**
778
+ * REST API Url to use to retrieve results for this query
779
+ */
780
+ url: string;
781
+ /**
782
+ * Url to use to display a page in the browser with the results of this query
783
+ */
784
+ webUrl: string;
785
+ }
786
+
787
+ /**
788
+ * Process Configurations for the project
789
+ */
790
+ export interface ProcessConfiguration {
791
+ /**
792
+ * Details about bug work items
793
+ */
794
+ bugWorkItems: CategoryConfiguration;
795
+ /**
796
+ * Details about portfolio backlogs
797
+ */
798
+ portfolioBacklogs: CategoryConfiguration[];
799
+ /**
800
+ * Details of requirement backlog
801
+ */
802
+ requirementBacklog: CategoryConfiguration;
803
+ /**
804
+ * Details of task backlog
805
+ */
806
+ taskBacklog: CategoryConfiguration;
807
+ /**
808
+ * Type fields for the process configuration
809
+ */
810
+ typeFields: { [key: string] : WorkItemTracking.WorkItemFieldReference; };
811
+ url: string;
812
+ }
813
+
814
+ /**
815
+ * Represents a reorder request for one or more work items.
816
+ */
817
+ export interface ReorderOperation {
818
+ /**
819
+ * IDs of the work items to be reordered. Must be valid WorkItem Ids.
820
+ */
821
+ ids: number[];
822
+ /**
823
+ * IterationPath for reorder operation. This is only used when we reorder from the Iteration Backlog
824
+ */
825
+ iterationPath: string;
826
+ /**
827
+ * ID of the work item that should be after the reordered items. Can use 0 to specify the end of the list.
828
+ */
829
+ nextId: number;
830
+ /**
831
+ * Parent ID for all of the work items involved in this operation. Can use 0 to indicate the items don't have a parent.
832
+ */
833
+ parentId: number;
834
+ /**
835
+ * ID of the work item that should be before the reordered items. Can use 0 to specify the beginning of the list.
836
+ */
837
+ previousId: number;
838
+ }
839
+
840
+ /**
841
+ * Represents a reorder result for a work item.
842
+ */
843
+ export interface ReorderResult {
844
+ /**
845
+ * The ID of the work item that was reordered.
846
+ */
847
+ id: number;
848
+ /**
849
+ * The updated order value of the work item that was reordered.
850
+ */
851
+ order: number;
852
+ }
853
+
854
+ export interface Rule {
855
+ clauses: FilterClause[];
856
+ filter: string;
857
+ isEnabled: string;
858
+ name: string;
859
+ settings: attribute;
860
+ }
861
+
862
+ /**
863
+ * Represents the taskbord column
864
+ */
865
+ export interface TaskboardColumn {
866
+ /**
867
+ * Column ID
868
+ */
869
+ id: string;
870
+ /**
871
+ * Work item type states mapped to this column to support auto state update when column is updated.
872
+ */
873
+ mappings: ITaskboardColumnMapping[];
874
+ /**
875
+ * Column name
876
+ */
877
+ name: string;
878
+ /**
879
+ * Column position relative to other columns in the same board
880
+ */
881
+ order: number;
882
+ }
883
+
884
+ /**
885
+ * Represents the state to column mapping per work item type This allows auto state update when the column changes
886
+ */
887
+ export interface TaskboardColumnMapping {
888
+ /**
889
+ * State of the work item type mapped to the column
890
+ */
891
+ state: string;
892
+ /**
893
+ * Work Item Type name who's state is mapped to the column
894
+ */
895
+ workItemType: string;
896
+ }
897
+
898
+ export interface TaskboardColumns {
899
+ columns: TaskboardColumn[];
900
+ /**
901
+ * Are the columns cutomized for this team
902
+ */
903
+ isCustomized: boolean;
904
+ /**
905
+ * Specifies if the referenced WIT and State is valid
906
+ */
907
+ isValid: boolean;
908
+ /**
909
+ * Details of validation failure if the state to column mapping is invalid
910
+ */
911
+ validationMesssage: string;
912
+ }
913
+
914
+ /**
915
+ * Column value of a work item in the taskboard
916
+ */
917
+ export interface TaskboardWorkItemColumn {
918
+ /**
919
+ * Work item column value in the taskboard
920
+ */
921
+ column: string;
922
+ /**
923
+ * Work item column id in the taskboard
924
+ */
925
+ columnId: string;
926
+ /**
927
+ * Work Item state value
928
+ */
929
+ state: string;
930
+ /**
931
+ * Work item id
932
+ */
933
+ workItemId: number;
934
+ }
935
+
936
+ export interface TeamAutomationRulesSettingsRequestModel {
937
+ backlogLevelName: string;
938
+ rulesStates: { [key: string] : boolean; };
939
+ }
940
+
941
+ /**
942
+ * Mapping of teams to the corresponding work item category
943
+ */
944
+ export interface TeamBacklogMapping {
945
+ categoryReferenceName: string;
946
+ teamId: string;
947
+ }
948
+
949
+ /**
950
+ * Represents team member capacity with totals aggregated
951
+ */
952
+ export interface TeamCapacity {
953
+ teamMembers: TeamMemberCapacityIdentityRef[];
954
+ totalCapacityPerDay: number;
955
+ totalDaysOff: number;
956
+ }
957
+
958
+ /**
959
+ * Team information with total capacity and days off
960
+ */
961
+ export interface TeamCapacityTotals {
962
+ teamCapacityPerDay: number;
963
+ teamId: string;
964
+ teamTotalDaysOff: number;
965
+ }
966
+
967
+ /**
968
+ * Represents a single TeamFieldValue
969
+ */
970
+ export interface TeamFieldValue {
971
+ includeChildren: boolean;
972
+ value: string;
973
+ }
974
+
975
+ /**
976
+ * Essentially a collection of team field values
977
+ */
978
+ export interface TeamFieldValues extends TeamSettingsDataContractBase {
979
+ /**
980
+ * The default team field value
981
+ */
982
+ defaultValue: string;
983
+ /**
984
+ * Shallow ref to the field being used as a team field
985
+ */
986
+ field: FieldReference;
987
+ /**
988
+ * Collection of all valid team field values
989
+ */
990
+ values: TeamFieldValue[];
991
+ }
992
+
993
+ /**
994
+ * Expected data from PATCH
995
+ */
996
+ export interface TeamFieldValuesPatch {
997
+ defaultValue: string;
998
+ values: TeamFieldValue[];
999
+ }
1000
+
1001
+ export interface TeamIterationAttributes {
1002
+ /**
1003
+ * Finish date of the iteration. Date-only, correct unadjusted at midnight in UTC.
1004
+ */
1005
+ finishDate: Date;
1006
+ /**
1007
+ * Start date of the iteration. Date-only, correct unadjusted at midnight in UTC.
1008
+ */
1009
+ startDate: Date;
1010
+ /**
1011
+ * Time frame of the iteration, such as past, current or future.
1012
+ */
1013
+ timeFrame: TimeFrame;
1014
+ }
1015
+
1016
+ /**
1017
+ * Represents capacity for a specific team member
1018
+ */
1019
+ export interface TeamMemberCapacity extends CapacityContractBase {
1020
+ /**
1021
+ * Shallow Ref to the associated team member
1022
+ */
1023
+ teamMember: Member;
1024
+ }
1025
+
1026
+ /**
1027
+ * Represents capacity for a specific team member
1028
+ */
1029
+ export interface TeamMemberCapacityIdentityRef extends CapacityContractBase {
1030
+ /**
1031
+ * Identity ref of the associated team member
1032
+ */
1033
+ teamMember: WebApi.IdentityRef;
1034
+ }
1035
+
1036
+ /**
1037
+ * Data contract for TeamSettings
1038
+ */
1039
+ export interface TeamSetting extends TeamSettingsDataContractBase {
1040
+ /**
1041
+ * Backlog Iteration
1042
+ */
1043
+ backlogIteration: TeamSettingsIteration;
1044
+ /**
1045
+ * Information about categories that are visible on the backlog.
1046
+ */
1047
+ backlogVisibilities: { [key: string] : boolean; };
1048
+ /**
1049
+ * BugsBehavior (Off, AsTasks, AsRequirements, ...)
1050
+ */
1051
+ bugsBehavior: BugsBehavior;
1052
+ /**
1053
+ * Default Iteration, the iteration used when creating a new work item on the queries page.
1054
+ */
1055
+ defaultIteration: TeamSettingsIteration;
1056
+ /**
1057
+ * Default Iteration macro (if any)
1058
+ */
1059
+ defaultIterationMacro: string;
1060
+ /**
1061
+ * Days that the team is working
1062
+ */
1063
+ workingDays: System.DayOfWeek[];
1064
+ }
1065
+
1066
+ /**
1067
+ * Base class for TeamSettings data contracts. Anything common goes here.
1068
+ */
1069
+ export interface TeamSettingsDataContractBase {
1070
+ /**
1071
+ * Collection of links relevant to resource
1072
+ */
1073
+ _links: any;
1074
+ /**
1075
+ * Full http link to the resource
1076
+ */
1077
+ url: string;
1078
+ }
1079
+
1080
+ export interface TeamSettingsDaysOff extends TeamSettingsDataContractBase {
1081
+ daysOff: DateRange[];
1082
+ }
1083
+
1084
+ export interface TeamSettingsDaysOffPatch {
1085
+ daysOff: DateRange[];
1086
+ }
1087
+
1088
+ /**
1089
+ * Represents a shallow ref for a single iteration.
1090
+ */
1091
+ export interface TeamSettingsIteration extends TeamSettingsDataContractBase {
1092
+ /**
1093
+ * Attributes of the iteration such as start and end date.
1094
+ */
1095
+ attributes: TeamIterationAttributes;
1096
+ /**
1097
+ * Id of the iteration.
1098
+ */
1099
+ id: string;
1100
+ /**
1101
+ * Name of the iteration.
1102
+ */
1103
+ name: string;
1104
+ /**
1105
+ * Relative path of the iteration.
1106
+ */
1107
+ path: string;
1108
+ }
1109
+
1110
+ /**
1111
+ * Data contract for what we expect to receive when PATCH
1112
+ */
1113
+ export interface TeamSettingsPatch {
1114
+ backlogIteration: string;
1115
+ backlogVisibilities: { [key: string] : boolean; };
1116
+ bugsBehavior: BugsBehavior;
1117
+ defaultIteration: string;
1118
+ defaultIterationMacro: string;
1119
+ workingDays: System.DayOfWeek[];
1120
+ }
1121
+
1122
+ export enum TimeFrame {
1123
+ Past = 0,
1124
+ Current = 1,
1125
+ Future = 2
1126
+ }
1127
+
1128
+ export interface TimelineCriteriaStatus {
1129
+ message: string;
1130
+ type: TimelineCriteriaStatusCode;
1131
+ }
1132
+
1133
+ export enum TimelineCriteriaStatusCode {
1134
+ /**
1135
+ * No error - filter is good.
1136
+ */
1137
+ OK = 0,
1138
+ /**
1139
+ * One of the filter clause is invalid.
1140
+ */
1141
+ InvalidFilterClause = 1,
1142
+ /**
1143
+ * Unknown error.
1144
+ */
1145
+ Unknown = 2
1146
+ }
1147
+
1148
+ export interface TimelineIterationStatus {
1149
+ message: string;
1150
+ type: TimelineIterationStatusCode;
1151
+ }
1152
+
1153
+ export enum TimelineIterationStatusCode {
1154
+ /**
1155
+ * No error - iteration data is good.
1156
+ */
1157
+ OK = 0,
1158
+ /**
1159
+ * This iteration overlaps with another iteration, no data is returned for this iteration.
1160
+ */
1161
+ IsOverlapping = 1
1162
+ }
1163
+
1164
+ export interface TimelineTeamData {
1165
+ /**
1166
+ * Backlog matching the mapped backlog associated with this team.
1167
+ */
1168
+ backlog: BacklogLevel;
1169
+ /**
1170
+ * The field reference names of the work item data
1171
+ */
1172
+ fieldReferenceNames: string[];
1173
+ /**
1174
+ * The id of the team
1175
+ */
1176
+ id: string;
1177
+ /**
1178
+ * Was iteration and work item data retrieved for this team. \<remarks\> Teams with IsExpanded false have not had their iteration, work item, and field related data queried and will never contain this data. If true then these items are queried and, if there are items in the queried range, there will be data. \</remarks\>
1179
+ */
1180
+ isExpanded: boolean;
1181
+ /**
1182
+ * The iteration data, including the work items, in the queried date range.
1183
+ */
1184
+ iterations: TimelineTeamIteration[];
1185
+ /**
1186
+ * The name of the team
1187
+ */
1188
+ name: string;
1189
+ /**
1190
+ * The order by field name of this team
1191
+ */
1192
+ orderByField: string;
1193
+ /**
1194
+ * The field reference names of the partially paged work items, such as ID, WorkItemType
1195
+ */
1196
+ partiallyPagedFieldReferenceNames: string[];
1197
+ partiallyPagedWorkItems: any[][];
1198
+ /**
1199
+ * The project id the team belongs team
1200
+ */
1201
+ projectId: string;
1202
+ /**
1203
+ * Work item types for which we will collect roll up data on the client side
1204
+ */
1205
+ rollupWorkItemTypes: string[];
1206
+ /**
1207
+ * Status for this team.
1208
+ */
1209
+ status: TimelineTeamStatus;
1210
+ /**
1211
+ * The team field default value
1212
+ */
1213
+ teamFieldDefaultValue: string;
1214
+ /**
1215
+ * The team field name of this team
1216
+ */
1217
+ teamFieldName: string;
1218
+ /**
1219
+ * The team field values
1220
+ */
1221
+ teamFieldValues: TeamFieldValue[];
1222
+ /**
1223
+ * Work items associated with the team that are not under any of the team's iterations
1224
+ */
1225
+ workItems: any[][];
1226
+ /**
1227
+ * Colors for the work item types.
1228
+ */
1229
+ workItemTypeColors: WorkItemColor[];
1230
+ }
1231
+
1232
+ export interface TimelineTeamIteration {
1233
+ /**
1234
+ * The iteration CSS Node Id
1235
+ */
1236
+ cssNodeId: string;
1237
+ /**
1238
+ * The end date of the iteration
1239
+ */
1240
+ finishDate: Date;
1241
+ /**
1242
+ * The iteration name
1243
+ */
1244
+ name: string;
1245
+ /**
1246
+ * All the partially paged workitems in this iteration.
1247
+ */
1248
+ partiallyPagedWorkItems: any[][];
1249
+ /**
1250
+ * The iteration path
1251
+ */
1252
+ path: string;
1253
+ /**
1254
+ * The start date of the iteration
1255
+ */
1256
+ startDate: Date;
1257
+ /**
1258
+ * The status of this iteration
1259
+ */
1260
+ status: TimelineIterationStatus;
1261
+ /**
1262
+ * The work items that have been paged in this iteration
1263
+ */
1264
+ workItems: any[][];
1265
+ }
1266
+
1267
+ export interface TimelineTeamStatus {
1268
+ message: string;
1269
+ type: TimelineTeamStatusCode;
1270
+ }
1271
+
1272
+ export enum TimelineTeamStatusCode {
1273
+ /**
1274
+ * No error - all data for team is good.
1275
+ */
1276
+ OK = 0,
1277
+ /**
1278
+ * Team does not exist or access is denied.
1279
+ */
1280
+ DoesntExistOrAccessDenied = 1,
1281
+ /**
1282
+ * Maximum number of teams was exceeded. No team data will be returned for this team.
1283
+ */
1284
+ MaxTeamsExceeded = 2,
1285
+ /**
1286
+ * Maximum number of team fields (ie Area paths) have been exceeded. No team data will be returned for this team.
1287
+ */
1288
+ MaxTeamFieldsExceeded = 3,
1289
+ /**
1290
+ * Backlog does not exist or is missing crucial information.
1291
+ */
1292
+ BacklogInError = 4,
1293
+ /**
1294
+ * Team field value is not set for this team. No team data will be returned for this team
1295
+ */
1296
+ MissingTeamFieldValue = 5,
1297
+ /**
1298
+ * Team does not have a single iteration with date range.
1299
+ */
1300
+ NoIterationsExist = 6
1301
+ }
1302
+
1303
+ export interface UpdatePlan {
1304
+ /**
1305
+ * Description of the plan
1306
+ */
1307
+ description: string;
1308
+ /**
1309
+ * Name of the plan to create.
1310
+ */
1311
+ name: string;
1312
+ /**
1313
+ * Plan properties.
1314
+ */
1315
+ properties: any;
1316
+ /**
1317
+ * Revision of the plan that was updated - the value used here should match the one the server gave the client in the Plan.
1318
+ */
1319
+ revision: number;
1320
+ /**
1321
+ * Type of the plan
1322
+ */
1323
+ type: PlanType;
1324
+ }
1325
+
1326
+ export interface UpdateTaskboardColumn {
1327
+ /**
1328
+ * Column ID, keep it null for new column
1329
+ */
1330
+ id: string;
1331
+ /**
1332
+ * Work item type states mapped to this column to support auto state update when column is updated.
1333
+ */
1334
+ mappings: TaskboardColumnMapping[];
1335
+ /**
1336
+ * Column name is required
1337
+ */
1338
+ name: string;
1339
+ /**
1340
+ * Column position relative to other columns in the same board
1341
+ */
1342
+ order: number;
1343
+ }
1344
+
1345
+ export interface UpdateTaskboardWorkItemColumn {
1346
+ newColumn: string;
1347
+ }
1348
+
1349
+ /**
1350
+ * Work item color and icon.
1351
+ */
1352
+ export interface WorkItemColor {
1353
+ icon: string;
1354
+ primaryColor: string;
1355
+ workItemTypeName: string;
1356
+ }
1357
+
1358
+ export interface WorkItemTypeStateInfo {
1359
+ /**
1360
+ * State name to state category map
1361
+ */
1362
+ states: { [key: string] : string; };
1363
+ /**
1364
+ * Work Item type name
1365
+ */
1366
+ workItemTypeName: string;
1367
+ }