azure-devops-extension-api 4.270.0 → 5.272.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 (699) hide show
  1. package/Accounts/Accounts.d.ts +126 -126
  2. package/Accounts/Accounts.js +61 -62
  3. package/Accounts/Accounts.min.js +1 -1
  4. package/Accounts/AccountsClient.d.ts +24 -24
  5. package/Accounts/AccountsClient.js +78 -124
  6. package/Accounts/AccountsClient.min.js +1 -1
  7. package/Accounts/index.d.ts +2 -2
  8. package/Accounts/index.js +18 -9
  9. package/Accounts/index.min.js +1 -1
  10. package/AdvancedSecurity.Reporting/Reporting.d.ts +717 -717
  11. package/AdvancedSecurity.Reporting/Reporting.js +203 -204
  12. package/AdvancedSecurity.Reporting/Reporting.min.js +1 -1
  13. package/AdvancedSecurity.Reporting/ReportingClient.d.ts +83 -83
  14. package/AdvancedSecurity.Reporting/ReportingClient.js +267 -343
  15. package/AdvancedSecurity.Reporting/ReportingClient.min.js +1 -1
  16. package/Alert/Alert.d.ts +1272 -1265
  17. package/Alert/Alert.js +425 -426
  18. package/Alert/Alert.min.js +1 -1
  19. package/Alert/AlertClient.d.ts +201 -159
  20. package/Alert/AlertClient.js +558 -533
  21. package/Alert/AlertClient.min.js +1 -1
  22. package/Build/Build.d.ts +3318 -3292
  23. package/Build/Build.js +613 -607
  24. package/Build/Build.min.js +1 -1
  25. package/Build/BuildClient.d.ts +842 -820
  26. package/Build/BuildClient.js +2319 -2568
  27. package/Build/BuildClient.min.js +1 -1
  28. package/Build/BuildServices.d.ts +32 -32
  29. package/Build/BuildServices.js +13 -14
  30. package/Build/BuildServices.min.js +1 -1
  31. package/Build/index.d.ts +3 -3
  32. package/Build/index.js +19 -10
  33. package/Build/index.min.js +1 -1
  34. package/Comments/Comments.d.ts +309 -309
  35. package/Comments/Comments.js +93 -94
  36. package/Comments/Comments.min.js +1 -1
  37. package/Comments/index.d.ts +1 -1
  38. package/Comments/index.js +17 -8
  39. package/Comments/index.min.js +1 -1
  40. package/Common/Client.d.ts +9 -9
  41. package/Common/Client.js +25 -26
  42. package/Common/Client.min.js +1 -1
  43. package/Common/CommonServices.d.ts +774 -735
  44. package/Common/CommonServices.js +71 -72
  45. package/Common/CommonServices.min.js +1 -1
  46. package/Common/Context.js +2 -0
  47. package/Common/Fetch.d.ts +95 -95
  48. package/Common/Fetch.js +131 -168
  49. package/Common/Fetch.min.js +1 -1
  50. package/Common/RestClientBase.d.ts +96 -96
  51. package/Common/RestClientBase.js +109 -139
  52. package/Common/RestClientBase.min.js +1 -1
  53. package/Common/System.d.ts +30 -30
  54. package/Common/System.js +39 -40
  55. package/Common/System.min.js +1 -1
  56. package/Common/SystemData.d.ts +129 -129
  57. package/Common/SystemData.js +138 -139
  58. package/Common/SystemData.min.js +1 -1
  59. package/Common/Util/Serialization.d.ts +15 -15
  60. package/Common/Util/Serialization.js +51 -53
  61. package/Common/Util/Serialization.min.js +1 -1
  62. package/Common/Util/Url.d.ts +238 -236
  63. package/Common/Util/Url.js +605 -626
  64. package/Common/Util/Url.min.js +1 -1
  65. package/Common/index.d.ts +3 -3
  66. package/Common/index.js +19 -9
  67. package/Common/index.min.js +1 -1
  68. package/Contributions/Contributions.d.ts +694 -694
  69. package/Contributions/Contributions.js +185 -186
  70. package/Contributions/Contributions.min.js +1 -1
  71. package/Contributions/ContributionsClient.d.ts +31 -31
  72. package/Contributions/ContributionsClient.js +99 -147
  73. package/Contributions/ContributionsClient.min.js +1 -1
  74. package/Contributions/index.d.ts +2 -2
  75. package/Contributions/index.js +18 -9
  76. package/Contributions/index.min.js +1 -1
  77. package/Core/Core.d.ts +546 -546
  78. package/Core/Core.js +79 -80
  79. package/Core/Core.min.js +1 -1
  80. package/Core/CoreClient.d.ts +224 -224
  81. package/Core/CoreClient.js +652 -777
  82. package/Core/CoreClient.min.js +1 -1
  83. package/Core/index.d.ts +2 -2
  84. package/Core/index.js +18 -9
  85. package/Core/index.min.js +1 -1
  86. package/Dashboard/Dashboard.d.ts +393 -393
  87. package/Dashboard/Dashboard.js +56 -57
  88. package/Dashboard/Dashboard.min.js +1 -1
  89. package/Dashboard/DashboardClient.d.ts +106 -106
  90. package/Dashboard/DashboardClient.js +317 -393
  91. package/Dashboard/DashboardClient.min.js +1 -1
  92. package/Dashboard/WidgetConfigHelpers.d.ts +34 -34
  93. package/Dashboard/WidgetConfigHelpers.js +41 -45
  94. package/Dashboard/WidgetConfigHelpers.min.js +1 -1
  95. package/Dashboard/WidgetContracts.d.ts +213 -213
  96. package/Dashboard/WidgetContracts.js +24 -25
  97. package/Dashboard/WidgetContracts.min.js +1 -1
  98. package/Dashboard/WidgetHelpers.d.ts +89 -89
  99. package/Dashboard/WidgetHelpers.js +135 -146
  100. package/Dashboard/WidgetHelpers.min.js +1 -1
  101. package/Dashboard/index.d.ts +5 -5
  102. package/Dashboard/index.js +21 -12
  103. package/Dashboard/index.min.js +1 -1
  104. package/DistributedTaskCommon/DistributedTaskCommon.d.ts +103 -103
  105. package/DistributedTaskCommon/DistributedTaskCommon.js +7 -9
  106. package/DistributedTaskCommon/DistributedTaskCommon.min.js +1 -1
  107. package/DistributedTaskCommon/index.d.ts +1 -1
  108. package/DistributedTaskCommon/index.js +17 -4
  109. package/DistributedTaskCommon/index.min.js +1 -1
  110. package/ExtensionManagement/ExtensionManagement.d.ts +1163 -1163
  111. package/ExtensionManagement/ExtensionManagement.js +284 -285
  112. package/ExtensionManagement/ExtensionManagement.min.js +1 -1
  113. package/ExtensionManagement/ExtensionManagementClient.d.ts +191 -191
  114. package/ExtensionManagement/ExtensionManagementClient.js +551 -648
  115. package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
  116. package/ExtensionManagement/index.d.ts +2 -2
  117. package/ExtensionManagement/index.js +18 -9
  118. package/ExtensionManagement/index.min.js +1 -1
  119. package/Favorite/Favorite.d.ts +124 -124
  120. package/Favorite/Favorite.js +7 -9
  121. package/Favorite/Favorite.min.js +1 -1
  122. package/Favorite/FavoriteClient.d.ts +78 -78
  123. package/Favorite/FavoriteClient.js +247 -314
  124. package/Favorite/FavoriteClient.min.js +1 -1
  125. package/FeatureAvailability/FeatureAvailability.d.ts +13 -13
  126. package/FeatureAvailability/FeatureAvailability.js +7 -9
  127. package/FeatureAvailability/FeatureAvailability.min.js +1 -1
  128. package/FeatureAvailability/FeatureAvailabilityClient.d.ts +45 -45
  129. package/FeatureAvailability/FeatureAvailabilityClient.js +136 -189
  130. package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
  131. package/FeatureAvailability/index.d.ts +2 -2
  132. package/FeatureAvailability/index.js +18 -8
  133. package/FeatureAvailability/index.min.js +1 -1
  134. package/FeatureManagement/FeatureManagement.d.ts +161 -161
  135. package/FeatureManagement/FeatureManagement.js +26 -27
  136. package/FeatureManagement/FeatureManagement.min.js +1 -1
  137. package/FeatureManagement/FeatureManagementClient.d.ts +78 -78
  138. package/FeatureManagement/FeatureManagementClient.js +214 -273
  139. package/FeatureManagement/FeatureManagementClient.min.js +1 -1
  140. package/FeatureManagement/index.d.ts +2 -2
  141. package/FeatureManagement/index.js +18 -9
  142. package/FeatureManagement/index.min.js +1 -1
  143. package/FileContainer/FileContainer.d.ts +193 -193
  144. package/FileContainer/FileContainer.js +58 -59
  145. package/FileContainer/FileContainer.min.js +1 -1
  146. package/FileContainer/FileContainerClient.d.ts +47 -47
  147. package/FileContainer/FileContainerClient.js +132 -182
  148. package/FileContainer/FileContainerClient.min.js +1 -1
  149. package/FileContainer/index.d.ts +2 -2
  150. package/FileContainer/index.js +18 -9
  151. package/FileContainer/index.min.js +1 -1
  152. package/FormInput/FormInput.d.ts +278 -278
  153. package/FormInput/FormInput.js +77 -78
  154. package/FormInput/FormInput.min.js +1 -1
  155. package/FormInput/index.d.ts +1 -1
  156. package/FormInput/index.js +17 -8
  157. package/FormInput/index.min.js +1 -1
  158. package/Gallery/Gallery.d.ts +1911 -1911
  159. package/Gallery/Gallery.js +788 -789
  160. package/Gallery/Gallery.min.js +1 -1
  161. package/Gallery/GalleryClient.d.ts +612 -603
  162. package/Gallery/GalleryClient.js +1882 -2100
  163. package/Gallery/GalleryClient.min.js +1 -1
  164. package/Gallery/index.d.ts +2 -2
  165. package/Gallery/index.js +18 -9
  166. package/Gallery/index.min.js +1 -1
  167. package/Git/CodeEditorTypes.d.ts +305 -305
  168. package/Git/CodeEditorTypes.js +27 -28
  169. package/Git/CodeEditorTypes.min.js +1 -1
  170. package/Git/Git.d.ts +3976 -4071
  171. package/Git/Git.js +830 -839
  172. package/Git/Git.min.js +1 -1
  173. package/Git/GitClient.d.ts +1468 -1466
  174. package/Git/GitClient.js +3892 -4347
  175. package/Git/GitClient.min.js +1 -1
  176. package/Git/GitServices.d.ts +16 -16
  177. package/Git/GitServices.js +10 -11
  178. package/Git/GitServices.min.js +1 -1
  179. package/Git/index.d.ts +4 -4
  180. package/Git/index.js +20 -11
  181. package/Git/index.min.js +1 -1
  182. package/Graph/Graph.d.ts +518 -518
  183. package/Graph/Graph.js +14 -15
  184. package/Graph/Graph.min.js +1 -1
  185. package/Graph/GraphClient.d.ts +261 -261
  186. package/Graph/GraphClient.js +737 -867
  187. package/Graph/GraphClient.min.js +1 -1
  188. package/Graph/index.d.ts +2 -2
  189. package/Graph/index.js +18 -9
  190. package/Graph/index.min.js +1 -1
  191. package/Identities/Identities.d.ts +242 -242
  192. package/Identities/Identities.js +49 -50
  193. package/Identities/Identities.min.js +1 -1
  194. package/Identities/IdentityProvider.d.ts +40 -40
  195. package/Identities/IdentityProvider.js +47 -49
  196. package/Identities/IdentityProvider.min.js +1 -1
  197. package/Identities/IdentityService.d.ts +72 -72
  198. package/Identities/IdentityService.js +13 -14
  199. package/Identities/IdentityService.min.js +1 -1
  200. package/Identities/index.d.ts +3 -3
  201. package/Identities/index.js +19 -10
  202. package/Identities/index.min.js +1 -1
  203. package/Locations/Locations.d.ts +150 -150
  204. package/Locations/Locations.js +28 -29
  205. package/Locations/Locations.min.js +1 -1
  206. package/Locations/LocationsClient.d.ts +65 -65
  207. package/Locations/LocationsClient.js +211 -276
  208. package/Locations/LocationsClient.min.js +1 -1
  209. package/Locations/index.d.ts +2 -2
  210. package/Locations/index.js +18 -9
  211. package/Locations/index.min.js +1 -1
  212. package/Management/Management.d.ts +424 -407
  213. package/Management/Management.js +27 -28
  214. package/Management/Management.min.js +1 -1
  215. package/Management/ManagementClient.d.ts +137 -105
  216. package/Management/ManagementClient.js +413 -398
  217. package/Management/ManagementClient.min.js +1 -1
  218. package/Notification/Notification.d.ts +1387 -1387
  219. package/Notification/Notification.js +385 -386
  220. package/Notification/Notification.min.js +1 -1
  221. package/Notification/NotificationClient.d.ts +149 -149
  222. package/Notification/NotificationClient.js +420 -511
  223. package/Notification/NotificationClient.min.js +1 -1
  224. package/Notification/index.d.ts +2 -2
  225. package/Notification/index.js +18 -9
  226. package/Notification/index.min.js +1 -1
  227. package/Operations/Operations.d.ts +77 -77
  228. package/Operations/Operations.js +38 -39
  229. package/Operations/Operations.min.js +1 -1
  230. package/Operations/OperationsClient.d.ts +13 -13
  231. package/Operations/OperationsClient.js +45 -86
  232. package/Operations/OperationsClient.min.js +1 -1
  233. package/Operations/index.d.ts +2 -2
  234. package/Operations/index.js +18 -9
  235. package/Operations/index.min.js +1 -1
  236. package/Pipelines/Pipelines.d.ts +342 -341
  237. package/Pipelines/Pipelines.js +82 -83
  238. package/Pipelines/Pipelines.min.js +1 -1
  239. package/Pipelines/PipelinesClient.d.ts +92 -92
  240. package/Pipelines/PipelinesClient.js +260 -325
  241. package/Pipelines/PipelinesClient.min.js +1 -1
  242. package/Policy/Policy.d.ts +160 -160
  243. package/Policy/Policy.js +38 -39
  244. package/Policy/Policy.min.js +1 -1
  245. package/Policy/PolicyClient.d.ts +99 -99
  246. package/Policy/PolicyClient.js +274 -346
  247. package/Policy/PolicyClient.min.js +1 -1
  248. package/Policy/index.d.ts +2 -2
  249. package/Policy/index.js +18 -9
  250. package/Policy/index.min.js +1 -1
  251. package/Profile/Profile.d.ts +175 -175
  252. package/Profile/Profile.js +35 -36
  253. package/Profile/Profile.min.js +1 -1
  254. package/Profile/ProfileClient.d.ts +86 -86
  255. package/Profile/ProfileClient.js +277 -347
  256. package/Profile/ProfileClient.min.js +1 -1
  257. package/Profile/index.d.ts +2 -2
  258. package/Profile/index.js +18 -9
  259. package/Profile/index.min.js +1 -1
  260. package/ProjectAnalysis/ProjectAnalysis.d.ts +59 -59
  261. package/ProjectAnalysis/ProjectAnalysis.js +18 -19
  262. package/ProjectAnalysis/ProjectAnalysis.min.js +1 -1
  263. package/ProjectAnalysis/ProjectAnalysisClient.d.ts +34 -34
  264. package/ProjectAnalysis/ProjectAnalysisClient.js +110 -159
  265. package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
  266. package/ProjectAnalysis/index.d.ts +2 -2
  267. package/ProjectAnalysis/index.js +18 -9
  268. package/ProjectAnalysis/index.min.js +1 -1
  269. package/README.md +57 -1
  270. package/Release/Release.d.ts +4068 -4068
  271. package/Release/Release.js +876 -877
  272. package/Release/Release.min.js +1 -1
  273. package/Release/ReleaseClient.d.ts +720 -720
  274. package/Release/ReleaseClient.js +2003 -2273
  275. package/Release/ReleaseClient.min.js +1 -1
  276. package/Release/index.d.ts +2 -2
  277. package/Release/index.js +18 -9
  278. package/Release/index.min.js +1 -1
  279. package/ResourceUsage/ResourceUsage.d.ts +13 -13
  280. package/ResourceUsage/ResourceUsage.js +7 -9
  281. package/ResourceUsage/ResourceUsage.min.js +1 -1
  282. package/ResourceUsage/ResourceUsageClient.d.ts +20 -20
  283. package/ResourceUsage/ResourceUsageClient.js +51 -93
  284. package/ResourceUsage/ResourceUsageClient.min.js +1 -1
  285. package/ServiceEndpoint/ServiceEndpoint.d.ts +894 -894
  286. package/ServiceEndpoint/ServiceEndpoint.js +84 -85
  287. package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
  288. package/ServiceEndpoint/ServiceEndpointClient.d.ts +190 -190
  289. package/ServiceEndpoint/ServiceEndpointClient.js +556 -669
  290. package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
  291. package/ServiceEndpoint/index.d.ts +2 -2
  292. package/ServiceEndpoint/index.js +18 -9
  293. package/ServiceEndpoint/index.min.js +1 -1
  294. package/ServiceHooks/ServiceHooks.d.ts +762 -758
  295. package/ServiceHooks/ServiceHooks.js +114 -115
  296. package/ServiceHooks/ServiceHooks.min.js +1 -1
  297. package/ServiceHooks/ServiceHooksClient.d.ts +156 -156
  298. package/ServiceHooks/ServiceHooksClient.js +434 -526
  299. package/ServiceHooks/ServiceHooksClient.min.js +1 -1
  300. package/ServiceHooks/index.d.ts +2 -2
  301. package/ServiceHooks/index.js +18 -9
  302. package/ServiceHooks/index.min.js +1 -1
  303. package/TaskAgent/TaskAgent.d.ts +3777 -3777
  304. package/TaskAgent/TaskAgent.js +594 -594
  305. package/TaskAgent/TaskAgent.min.js +1 -1
  306. package/TaskAgent/TaskAgentClient.d.ts +1085 -1073
  307. package/TaskAgent/TaskAgentClient.js +3273 -3731
  308. package/TaskAgent/TaskAgentClient.min.js +1 -1
  309. package/TaskAgent/index.d.ts +2 -2
  310. package/TaskAgent/index.js +18 -9
  311. package/TaskAgent/index.min.js +1 -1
  312. package/Test/Test.d.ts +5918 -5874
  313. package/Test/Test.js +1068 -1069
  314. package/Test/Test.min.js +1 -1
  315. package/Test/TestClient.d.ts +635 -635
  316. package/Test/TestClient.js +1822 -2088
  317. package/Test/TestClient.min.js +1 -1
  318. package/Test/index.d.ts +2 -2
  319. package/Test/index.js +18 -9
  320. package/Test/index.min.js +1 -1
  321. package/TestPlan/TestPlan.d.ts +1616 -1616
  322. package/TestPlan/TestPlan.js +270 -271
  323. package/TestPlan/TestPlan.min.js +1 -1
  324. package/TestPlan/TestPlanClient.d.ts +408 -408
  325. package/TestPlan/TestPlanClient.js +1160 -1387
  326. package/TestPlan/TestPlanClient.min.js +1 -1
  327. package/TestPlan/index.d.ts +2 -2
  328. package/TestPlan/index.js +18 -9
  329. package/TestPlan/index.min.js +1 -1
  330. package/TestResults/TestResults.d.ts +5 -5
  331. package/TestResults/TestResults.js +7 -9
  332. package/TestResults/TestResults.min.js +1 -1
  333. package/TestResults/TestResultsClient.d.ts +1060 -1039
  334. package/TestResults/TestResultsClient.js +3099 -3491
  335. package/TestResults/TestResultsClient.min.js +1 -1
  336. package/TestResults/index.d.ts +2 -2
  337. package/TestResults/index.js +18 -8
  338. package/TestResults/index.min.js +1 -1
  339. package/Tfvc/Tfvc.d.ts +773 -730
  340. package/Tfvc/Tfvc.js +151 -107
  341. package/Tfvc/Tfvc.min.js +1 -1
  342. package/Tfvc/TfvcClient.d.ts +227 -227
  343. package/Tfvc/TfvcClient.js +620 -732
  344. package/Tfvc/TfvcClient.min.js +1 -1
  345. package/Tfvc/index.d.ts +2 -2
  346. package/Tfvc/index.js +18 -9
  347. package/Tfvc/index.min.js +1 -1
  348. package/WebApi/WebApi.d.ts +408 -408
  349. package/WebApi/WebApi.js +55 -56
  350. package/WebApi/WebApi.min.js +1 -1
  351. package/WebApi/index.d.ts +1 -1
  352. package/WebApi/index.js +17 -8
  353. package/WebApi/index.min.js +1 -1
  354. package/Wiki/Wiki.d.ts +328 -328
  355. package/Wiki/Wiki.js +22 -23
  356. package/Wiki/Wiki.min.js +1 -1
  357. package/Wiki/WikiClient.d.ts +218 -218
  358. package/Wiki/WikiClient.js +585 -684
  359. package/Wiki/WikiClient.min.js +1 -1
  360. package/Wiki/index.d.ts +2 -2
  361. package/Wiki/index.js +18 -9
  362. package/Wiki/index.min.js +1 -1
  363. package/Work/Work.d.ts +1298 -1298
  364. package/Work/Work.js +187 -188
  365. package/Work/Work.min.js +1 -1
  366. package/Work/WorkClient.d.ts +421 -421
  367. package/Work/WorkClient.js +1255 -1455
  368. package/Work/WorkClient.min.js +1 -1
  369. package/Work/index.d.ts +2 -2
  370. package/Work/index.js +18 -9
  371. package/Work/index.min.js +1 -1
  372. package/WorkItemTracking/WorkItemTracking.d.ts +2158 -2158
  373. package/WorkItemTracking/WorkItemTracking.js +431 -432
  374. package/WorkItemTracking/WorkItemTracking.min.js +1 -1
  375. package/WorkItemTracking/WorkItemTrackingClient.d.ts +624 -624
  376. package/WorkItemTracking/WorkItemTrackingClient.js +1688 -1918
  377. package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
  378. package/WorkItemTracking/WorkItemTrackingServices.d.ts +320 -320
  379. package/WorkItemTracking/WorkItemTrackingServices.js +18 -19
  380. package/WorkItemTracking/WorkItemTrackingServices.min.js +1 -1
  381. package/WorkItemTracking/index.d.ts +3 -3
  382. package/WorkItemTracking/index.js +19 -10
  383. package/WorkItemTracking/index.min.js +1 -1
  384. package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +1238 -1238
  385. package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +299 -300
  386. package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
  387. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +462 -462
  388. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +1224 -1386
  389. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
  390. package/WorkItemTrackingProcess/index.d.ts +2 -2
  391. package/WorkItemTrackingProcess/index.js +18 -9
  392. package/WorkItemTrackingProcess/index.min.js +1 -1
  393. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +575 -575
  394. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.js +96 -97
  395. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.min.js +1 -1
  396. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +376 -376
  397. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +991 -1126
  398. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
  399. package/WorkItemTrackingProcessDefinitions/index.d.ts +2 -2
  400. package/WorkItemTrackingProcessDefinitions/index.js +18 -9
  401. package/WorkItemTrackingProcessDefinitions/index.min.js +1 -1
  402. package/_manifest/Spdx2xVs3xComparisonToolOutput.json +4 -4
  403. package/_manifest/spdx_2.2/ESRPClientLogs0512212427548.json +1 -0
  404. package/_manifest/spdx_2.2/bsi.cose +0 -0
  405. package/_manifest/spdx_2.2/bsi.json +1 -1
  406. package/_manifest/spdx_2.2/manifest.cat +0 -0
  407. package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
  408. package/_manifest/spdx_2.2/manifest.spdx.json +1 -1
  409. package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -1
  410. package/_manifest/spdx_3.0/manifest.spdx.json +1 -1
  411. package/_manifest/spdx_3.0/manifest.spdx.json.sha256 +1 -1
  412. package/esm/Accounts/Accounts.js +58 -0
  413. package/esm/Accounts/Accounts.min.js +1 -0
  414. package/esm/Accounts/AccountsClient.js +59 -0
  415. package/esm/Accounts/AccountsClient.min.js +1 -0
  416. package/esm/Accounts/index.js +2 -0
  417. package/esm/Accounts/index.min.js +1 -0
  418. package/esm/AdvancedSecurity.Reporting/Reporting.js +200 -0
  419. package/esm/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
  420. package/esm/AdvancedSecurity.Reporting/ReportingClient.js +228 -0
  421. package/esm/AdvancedSecurity.Reporting/ReportingClient.min.js +1 -0
  422. package/esm/Alert/Alert.js +422 -0
  423. package/esm/Alert/Alert.min.js +1 -0
  424. package/esm/Alert/AlertClient.js +499 -0
  425. package/esm/Alert/AlertClient.min.js +1 -0
  426. package/esm/Build/Build.js +610 -0
  427. package/esm/Build/Build.min.js +1 -0
  428. package/esm/Build/BuildClient.js +2108 -0
  429. package/esm/Build/BuildClient.min.js +1 -0
  430. package/esm/Build/BuildServices.js +10 -0
  431. package/esm/Build/BuildServices.min.js +1 -0
  432. package/esm/Build/index.js +3 -0
  433. package/esm/Build/index.min.js +1 -0
  434. package/esm/Comments/Comments.js +90 -0
  435. package/esm/Comments/Comments.min.js +1 -0
  436. package/esm/Comments/index.js +1 -0
  437. package/esm/Comments/index.min.js +1 -0
  438. package/esm/Common/Client.js +22 -0
  439. package/esm/Common/Client.min.js +1 -0
  440. package/esm/Common/CommonServices.js +68 -0
  441. package/esm/Common/CommonServices.min.js +1 -0
  442. package/esm/Common/Context.js +1 -0
  443. package/esm/Common/Fetch.js +117 -0
  444. package/esm/Common/Fetch.min.js +1 -0
  445. package/esm/Common/RestClientBase.js +92 -0
  446. package/esm/Common/RestClientBase.min.js +1 -0
  447. package/esm/Common/System.js +36 -0
  448. package/esm/Common/System.min.js +1 -0
  449. package/esm/Common/SystemData.js +135 -0
  450. package/esm/Common/SystemData.min.js +1 -0
  451. package/esm/Common/Util/Serialization.js +48 -0
  452. package/esm/Common/Util/Serialization.min.js +1 -0
  453. package/esm/Common/Util/Url.js +595 -0
  454. package/esm/Common/Util/Url.min.js +1 -0
  455. package/esm/Common/index.js +3 -0
  456. package/esm/Common/index.min.js +1 -0
  457. package/esm/Contributions/Contributions.js +182 -0
  458. package/esm/Contributions/Contributions.min.js +1 -0
  459. package/esm/Contributions/ContributionsClient.js +78 -0
  460. package/esm/Contributions/ContributionsClient.min.js +1 -0
  461. package/esm/Contributions/index.js +2 -0
  462. package/esm/Contributions/index.min.js +1 -0
  463. package/esm/Core/Core.js +76 -0
  464. package/esm/Core/Core.min.js +1 -0
  465. package/esm/Core/CoreClient.js +573 -0
  466. package/esm/Core/CoreClient.min.js +1 -0
  467. package/esm/Core/index.js +2 -0
  468. package/esm/Core/index.min.js +1 -0
  469. package/esm/Dashboard/Dashboard.js +53 -0
  470. package/esm/Dashboard/Dashboard.min.js +1 -0
  471. package/esm/Dashboard/DashboardClient.js +278 -0
  472. package/esm/Dashboard/DashboardClient.min.js +1 -0
  473. package/esm/Dashboard/WidgetConfigHelpers.js +37 -0
  474. package/esm/Dashboard/WidgetConfigHelpers.min.js +1 -0
  475. package/esm/Dashboard/WidgetContracts.js +21 -0
  476. package/esm/Dashboard/WidgetContracts.min.js +1 -0
  477. package/esm/Dashboard/WidgetHelpers.js +129 -0
  478. package/esm/Dashboard/WidgetHelpers.min.js +1 -0
  479. package/esm/Dashboard/index.js +5 -0
  480. package/esm/Dashboard/index.min.js +1 -0
  481. package/esm/DistributedTaskCommon/DistributedTaskCommon.js +6 -0
  482. package/esm/DistributedTaskCommon/DistributedTaskCommon.min.js +1 -0
  483. package/esm/DistributedTaskCommon/index.js +1 -0
  484. package/esm/DistributedTaskCommon/index.min.js +1 -0
  485. package/esm/ExtensionManagement/ExtensionManagement.js +281 -0
  486. package/esm/ExtensionManagement/ExtensionManagement.min.js +1 -0
  487. package/esm/ExtensionManagement/ExtensionManagementClient.js +486 -0
  488. package/esm/ExtensionManagement/ExtensionManagementClient.min.js +1 -0
  489. package/esm/ExtensionManagement/index.js +2 -0
  490. package/esm/ExtensionManagement/index.min.js +1 -0
  491. package/esm/Favorite/Favorite.js +6 -0
  492. package/esm/Favorite/Favorite.min.js +1 -0
  493. package/esm/Favorite/FavoriteClient.js +214 -0
  494. package/esm/Favorite/FavoriteClient.min.js +1 -0
  495. package/esm/FeatureAvailability/FeatureAvailability.js +6 -0
  496. package/esm/FeatureAvailability/FeatureAvailability.min.js +1 -0
  497. package/esm/FeatureAvailability/FeatureAvailabilityClient.js +113 -0
  498. package/esm/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -0
  499. package/esm/FeatureAvailability/index.js +2 -0
  500. package/esm/FeatureAvailability/index.min.js +1 -0
  501. package/esm/FeatureManagement/FeatureManagement.js +23 -0
  502. package/esm/FeatureManagement/FeatureManagement.min.js +1 -0
  503. package/esm/FeatureManagement/FeatureManagementClient.js +183 -0
  504. package/esm/FeatureManagement/FeatureManagementClient.min.js +1 -0
  505. package/esm/FeatureManagement/index.js +2 -0
  506. package/esm/FeatureManagement/index.min.js +1 -0
  507. package/esm/FileContainer/FileContainer.js +55 -0
  508. package/esm/FileContainer/FileContainer.min.js +1 -0
  509. package/esm/FileContainer/FileContainerClient.js +111 -0
  510. package/esm/FileContainer/FileContainerClient.min.js +1 -0
  511. package/esm/FileContainer/index.js +2 -0
  512. package/esm/FileContainer/index.min.js +1 -0
  513. package/esm/FormInput/FormInput.js +74 -0
  514. package/esm/FormInput/FormInput.min.js +1 -0
  515. package/esm/FormInput/index.js +1 -0
  516. package/esm/FormInput/index.min.js +1 -0
  517. package/esm/Gallery/Gallery.js +785 -0
  518. package/esm/Gallery/Gallery.min.js +1 -0
  519. package/esm/Gallery/GalleryClient.js +1699 -0
  520. package/esm/Gallery/GalleryClient.min.js +1 -0
  521. package/esm/Gallery/index.js +2 -0
  522. package/esm/Gallery/index.min.js +1 -0
  523. package/esm/Git/CodeEditorTypes.js +24 -0
  524. package/esm/Git/CodeEditorTypes.min.js +1 -0
  525. package/esm/Git/Git.js +827 -0
  526. package/esm/Git/Git.min.js +1 -0
  527. package/esm/Git/GitClient.js +3571 -0
  528. package/esm/Git/GitClient.min.js +1 -0
  529. package/esm/Git/GitServices.js +7 -0
  530. package/esm/Git/GitServices.min.js +1 -0
  531. package/esm/Git/index.js +4 -0
  532. package/esm/Git/index.min.js +1 -0
  533. package/esm/Graph/Graph.js +11 -0
  534. package/esm/Graph/Graph.min.js +1 -0
  535. package/esm/Graph/GraphClient.js +644 -0
  536. package/esm/Graph/GraphClient.min.js +1 -0
  537. package/esm/Graph/index.js +2 -0
  538. package/esm/Graph/index.min.js +1 -0
  539. package/esm/Identities/Identities.js +46 -0
  540. package/esm/Identities/Identities.min.js +1 -0
  541. package/esm/Identities/IdentityProvider.js +43 -0
  542. package/esm/Identities/IdentityProvider.min.js +1 -0
  543. package/esm/Identities/IdentityService.js +10 -0
  544. package/esm/Identities/IdentityService.min.js +1 -0
  545. package/esm/Identities/index.js +3 -0
  546. package/esm/Identities/index.min.js +1 -0
  547. package/esm/Locations/Locations.js +25 -0
  548. package/esm/Locations/Locations.min.js +1 -0
  549. package/esm/Locations/LocationsClient.js +178 -0
  550. package/esm/Locations/LocationsClient.min.js +1 -0
  551. package/esm/Locations/index.js +2 -0
  552. package/esm/Locations/index.min.js +1 -0
  553. package/esm/Management/Management.js +24 -0
  554. package/esm/Management/Management.min.js +1 -0
  555. package/esm/Management/ManagementClient.js +358 -0
  556. package/esm/Management/ManagementClient.min.js +1 -0
  557. package/esm/Notification/Notification.js +382 -0
  558. package/esm/Notification/Notification.min.js +1 -0
  559. package/esm/Notification/NotificationClient.js +359 -0
  560. package/esm/Notification/NotificationClient.min.js +1 -0
  561. package/esm/Notification/index.js +2 -0
  562. package/esm/Notification/index.min.js +1 -0
  563. package/esm/Operations/Operations.js +35 -0
  564. package/esm/Operations/Operations.min.js +1 -0
  565. package/esm/Operations/OperationsClient.js +30 -0
  566. package/esm/Operations/OperationsClient.min.js +1 -0
  567. package/esm/Operations/index.js +2 -0
  568. package/esm/Operations/index.min.js +1 -0
  569. package/esm/Pipelines/Pipelines.js +79 -0
  570. package/esm/Pipelines/Pipelines.min.js +1 -0
  571. package/esm/Pipelines/PipelinesClient.js +227 -0
  572. package/esm/Pipelines/PipelinesClient.min.js +1 -0
  573. package/esm/Policy/Policy.js +35 -0
  574. package/esm/Policy/Policy.min.js +1 -0
  575. package/esm/Policy/PolicyClient.js +237 -0
  576. package/esm/Policy/PolicyClient.min.js +1 -0
  577. package/esm/Policy/index.js +2 -0
  578. package/esm/Policy/index.min.js +1 -0
  579. package/esm/Profile/Profile.js +32 -0
  580. package/esm/Profile/Profile.min.js +1 -0
  581. package/esm/Profile/ProfileClient.js +240 -0
  582. package/esm/Profile/ProfileClient.min.js +1 -0
  583. package/esm/Profile/index.js +2 -0
  584. package/esm/Profile/index.min.js +1 -0
  585. package/esm/ProjectAnalysis/ProjectAnalysis.js +15 -0
  586. package/esm/ProjectAnalysis/ProjectAnalysis.min.js +1 -0
  587. package/esm/ProjectAnalysis/ProjectAnalysisClient.js +89 -0
  588. package/esm/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -0
  589. package/esm/ProjectAnalysis/index.js +2 -0
  590. package/esm/ProjectAnalysis/index.min.js +1 -0
  591. package/esm/Release/Release.js +873 -0
  592. package/esm/Release/Release.min.js +1 -0
  593. package/esm/Release/ReleaseClient.js +1816 -0
  594. package/esm/Release/ReleaseClient.min.js +1 -0
  595. package/esm/Release/index.js +2 -0
  596. package/esm/Release/index.min.js +1 -0
  597. package/esm/ResourceUsage/ResourceUsage.js +6 -0
  598. package/esm/ResourceUsage/ResourceUsage.min.js +1 -0
  599. package/esm/ResourceUsage/ResourceUsageClient.js +34 -0
  600. package/esm/ResourceUsage/ResourceUsageClient.min.js +1 -0
  601. package/esm/ServiceEndpoint/ServiceEndpoint.js +81 -0
  602. package/esm/ServiceEndpoint/ServiceEndpoint.min.js +1 -0
  603. package/esm/ServiceEndpoint/ServiceEndpointClient.js +489 -0
  604. package/esm/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
  605. package/esm/ServiceEndpoint/index.js +2 -0
  606. package/esm/ServiceEndpoint/index.min.js +1 -0
  607. package/esm/ServiceHooks/ServiceHooks.js +111 -0
  608. package/esm/ServiceHooks/ServiceHooks.min.js +1 -0
  609. package/esm/ServiceHooks/ServiceHooksClient.js +375 -0
  610. package/esm/ServiceHooks/ServiceHooksClient.min.js +1 -0
  611. package/esm/ServiceHooks/index.js +2 -0
  612. package/esm/ServiceHooks/index.min.js +1 -0
  613. package/esm/TaskAgent/TaskAgent.js +590 -0
  614. package/esm/TaskAgent/TaskAgent.min.js +1 -0
  615. package/esm/TaskAgent/TaskAgentClient.js +2946 -0
  616. package/esm/TaskAgent/TaskAgentClient.min.js +1 -0
  617. package/esm/TaskAgent/index.js +2 -0
  618. package/esm/TaskAgent/index.min.js +1 -0
  619. package/esm/Test/Test.js +1065 -0
  620. package/esm/Test/Test.min.js +1 -0
  621. package/esm/Test/TestClient.js +1655 -0
  622. package/esm/Test/TestClient.min.js +1 -0
  623. package/esm/Test/index.js +2 -0
  624. package/esm/Test/index.min.js +1 -0
  625. package/esm/TestPlan/TestPlan.js +267 -0
  626. package/esm/TestPlan/TestPlan.min.js +1 -0
  627. package/esm/TestPlan/TestPlanClient.js +1051 -0
  628. package/esm/TestPlan/TestPlanClient.min.js +1 -0
  629. package/esm/TestPlan/index.js +2 -0
  630. package/esm/TestPlan/index.min.js +1 -0
  631. package/esm/TestResults/TestResults.js +6 -0
  632. package/esm/TestResults/TestResults.min.js +1 -0
  633. package/esm/TestResults/TestResultsClient.js +2822 -0
  634. package/esm/TestResults/TestResultsClient.min.js +1 -0
  635. package/esm/TestResults/index.js +2 -0
  636. package/esm/TestResults/index.min.js +1 -0
  637. package/esm/Tfvc/Tfvc.js +148 -0
  638. package/esm/Tfvc/Tfvc.min.js +1 -0
  639. package/esm/Tfvc/TfvcClient.js +559 -0
  640. package/esm/Tfvc/TfvcClient.min.js +1 -0
  641. package/esm/Tfvc/index.js +2 -0
  642. package/esm/Tfvc/index.min.js +1 -0
  643. package/esm/WebApi/WebApi.js +52 -0
  644. package/esm/WebApi/WebApi.min.js +1 -0
  645. package/esm/WebApi/index.js +1 -0
  646. package/esm/WebApi/index.min.js +1 -0
  647. package/esm/Wiki/Wiki.js +19 -0
  648. package/esm/Wiki/Wiki.min.js +1 -0
  649. package/esm/Wiki/WikiClient.js +528 -0
  650. package/esm/Wiki/WikiClient.min.js +1 -0
  651. package/esm/Wiki/index.js +2 -0
  652. package/esm/Wiki/index.min.js +1 -0
  653. package/esm/Work/Work.js +184 -0
  654. package/esm/Work/Work.min.js +1 -0
  655. package/esm/Work/WorkClient.js +1128 -0
  656. package/esm/Work/WorkClient.min.js +1 -0
  657. package/esm/Work/index.js +2 -0
  658. package/esm/Work/index.min.js +1 -0
  659. package/esm/WorkItemTracking/WorkItemTracking.js +428 -0
  660. package/esm/WorkItemTracking/WorkItemTracking.min.js +1 -0
  661. package/esm/WorkItemTracking/WorkItemTrackingClient.js +1525 -0
  662. package/esm/WorkItemTracking/WorkItemTrackingClient.min.js +1 -0
  663. package/esm/WorkItemTracking/WorkItemTrackingServices.js +15 -0
  664. package/esm/WorkItemTracking/WorkItemTrackingServices.min.js +1 -0
  665. package/esm/WorkItemTracking/index.js +3 -0
  666. package/esm/WorkItemTracking/index.min.js +1 -0
  667. package/esm/WorkItemTrackingProcess/WorkItemTrackingProcess.js +296 -0
  668. package/esm/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -0
  669. package/esm/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +1097 -0
  670. package/esm/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -0
  671. package/esm/WorkItemTrackingProcess/index.js +2 -0
  672. package/esm/WorkItemTrackingProcess/index.min.js +1 -0
  673. package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.js +93 -0
  674. package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.min.js +1 -0
  675. package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +886 -0
  676. package/esm/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -0
  677. package/esm/WorkItemTrackingProcessDefinitions/index.js +2 -0
  678. package/esm/WorkItemTrackingProcessDefinitions/index.min.js +1 -0
  679. package/esm/index.js +1 -0
  680. package/esm/index.min.js +1 -0
  681. package/index.d.ts +1 -1
  682. package/index.js +17 -8
  683. package/index.min.js +1 -1
  684. package/package.json +232 -37
  685. package/Boards/Boards.d.ts +0 -631
  686. package/Boards/Boards.js +0 -26
  687. package/Boards/Boards.min.js +0 -1
  688. package/Boards/BoardsClient.d.ts +0 -187
  689. package/Boards/BoardsClient.js +0 -589
  690. package/Boards/BoardsClient.min.js +0 -1
  691. package/Boards/index.d.ts +0 -2
  692. package/Boards/index.js +0 -9
  693. package/Boards/index.min.js +0 -1
  694. package/_manifest/spdx_2.2/ESRPClientLogs0331143549591.json +0 -1
  695. package/_manifest/spdx_3.0/ESRPClientLogs0331143549461.json +0 -1
  696. package/_manifest/spdx_3.0/bsi.cose +0 -0
  697. package/_manifest/spdx_3.0/bsi.json +0 -1
  698. package/_manifest/spdx_3.0/manifest.cat +0 -0
  699. package/_manifest/spdx_3.0/manifest.spdx.cose +0 -0
@@ -1,1039 +1,1060 @@
1
- import { IVssRestClientOptions } from "../Common/Context";
2
- import { RestClientBase } from "../Common/RestClientBase";
3
- import * as Test from "../Test/Test";
4
- import * as WebApi from "../WebApi/WebApi";
5
- export declare class TestResultsRestClient extends RestClientBase {
6
- constructor(options: IVssRestClientOptions);
7
- static readonly RESOURCE_AREA_ID: string;
8
- /**
9
- * @param key -
10
- */
11
- getAfdTcmEndpoint(key: string): Promise<string>;
12
- /**
13
- * @param attachmentRequestModel -
14
- * @param project - Project ID or project name
15
- * @param runId -
16
- * @param testCaseResultId -
17
- * @param iterationId -
18
- * @param actionPath -
19
- */
20
- createTestIterationResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number, iterationId: number, actionPath?: string): Promise<Test.TestAttachmentReference>;
21
- /**
22
- * @param attachmentRequestModel -
23
- * @param project - Project ID or project name
24
- * @param runId -
25
- * @param testCaseResultId -
26
- */
27
- createTestResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number): Promise<Test.TestAttachmentReference>;
28
- /**
29
- * @param attachmentRequestModel -
30
- * @param project - Project ID or project name
31
- * @param runId -
32
- * @param testCaseResultId -
33
- * @param testSubResultId -
34
- */
35
- createTestSubResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number, testSubResultId: number): Promise<Test.TestAttachmentReference>;
36
- /**
37
- * @param project - Project ID or project name
38
- * @param runId -
39
- * @param testCaseResultId -
40
- * @param attachmentId -
41
- */
42
- deleteTestResultAttachment(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<void>;
43
- /**
44
- * Returns a test iteration attachment
45
- *
46
- * @param project - Project ID or project name
47
- * @param runId -
48
- * @param testCaseResultId -
49
- * @param attachmentId -
50
- * @param iterationId -
51
- */
52
- getTestIterationAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number, iterationId: number): Promise<ArrayBuffer>;
53
- /**
54
- * Returns a test iteration attachment
55
- *
56
- * @param project - Project ID or project name
57
- * @param runId -
58
- * @param testCaseResultId -
59
- * @param attachmentId -
60
- * @param iterationId -
61
- */
62
- getTestIterationAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number, iterationId: number): Promise<ArrayBuffer>;
63
- /**
64
- * Returns a test result attachment
65
- *
66
- * @param project - Project ID or project name
67
- * @param runId -
68
- * @param testCaseResultId -
69
- * @param attachmentId -
70
- */
71
- getTestResultAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<ArrayBuffer>;
72
- /**
73
- * @param project - Project ID or project name
74
- * @param runId -
75
- * @param testCaseResultId -
76
- */
77
- getTestResultAttachments(project: string, runId: number, testCaseResultId: number): Promise<Test.TestAttachment[]>;
78
- /**
79
- * Returns a test result attachment
80
- *
81
- * @param project - Project ID or project name
82
- * @param runId -
83
- * @param testCaseResultId -
84
- * @param attachmentId -
85
- */
86
- getTestResultAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<ArrayBuffer>;
87
- /**
88
- * Returns a test sub result attachment
89
- *
90
- * @param project - Project ID or project name
91
- * @param runId -
92
- * @param testCaseResultId -
93
- * @param attachmentId -
94
- * @param testSubResultId -
95
- */
96
- getTestSubResultAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number, testSubResultId: number): Promise<ArrayBuffer>;
97
- /**
98
- * Returns attachment references for test sub result.
99
- *
100
- * @param project - Project ID or project name
101
- * @param runId -
102
- * @param testCaseResultId -
103
- * @param testSubResultId -
104
- */
105
- getTestSubResultAttachments(project: string, runId: number, testCaseResultId: number, testSubResultId: number): Promise<Test.TestAttachment[]>;
106
- /**
107
- * Returns a test sub result attachment
108
- *
109
- * @param project - Project ID or project name
110
- * @param runId -
111
- * @param testCaseResultId -
112
- * @param attachmentId -
113
- * @param testSubResultId -
114
- */
115
- getTestSubResultAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number, testSubResultId: number): Promise<ArrayBuffer>;
116
- /**
117
- * @param attachmentRequestModel -
118
- * @param project - Project ID or project name
119
- * @param runId -
120
- */
121
- createTestRunAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number): Promise<Test.TestAttachmentReference>;
122
- /**
123
- * @param project - Project ID or project name
124
- * @param runId -
125
- * @param attachmentId -
126
- */
127
- deleteTestRunAttachment(project: string, runId: number, attachmentId: number): Promise<void>;
128
- /**
129
- * Returns a test run attachment
130
- *
131
- * @param project - Project ID or project name
132
- * @param runId -
133
- * @param attachmentId -
134
- */
135
- getTestRunAttachmentContent(project: string, runId: number, attachmentId: number): Promise<ArrayBuffer>;
136
- /**
137
- * @param project - Project ID or project name
138
- * @param runId -
139
- */
140
- getTestRunAttachments(project: string, runId: number): Promise<Test.TestAttachment[]>;
141
- /**
142
- * Returns a test run attachment
143
- *
144
- * @param project - Project ID or project name
145
- * @param runId -
146
- * @param attachmentId -
147
- */
148
- getTestRunAttachmentZip(project: string, runId: number, attachmentId: number): Promise<ArrayBuffer>;
149
- /**
150
- * @param project - Project ID or project name
151
- * @param runId -
152
- * @param testCaseResultId -
153
- */
154
- getBugsLinkedToTestResult(project: string, runId: number, testCaseResultId: number): Promise<Test.WorkItemReference[]>;
155
- /**
156
- * @param project - Project ID or project name
157
- * @param buildId -
158
- */
159
- fetchSourceCodeCoverageReport(project: string, buildId: number): Promise<Test.SourceViewBuildCoverage[]>;
160
- /**
161
- * @param project - Project ID or project name
162
- * @param buildId -
163
- * @param flags -
164
- */
165
- getBuildCodeCoverage(project: string, buildId: number, flags: number): Promise<Test.BuildCoverage[]>;
166
- /**
167
- * http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10&deltaBuildId=9 Request: build id and delta build id (optional)
168
- *
169
- * @param project - Project ID or project name
170
- * @param buildId -
171
- * @param deltaBuildId -
172
- */
173
- getCodeCoverageSummary(project: string, buildId: number, deltaBuildId?: number): Promise<Test.CodeCoverageSummary>;
174
- /**
175
- * http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary
176
- *
177
- * @param project - Project ID or project name
178
- * @param buildId -
179
- * @param coverageData -
180
- */
181
- updateCodeCoverageSummary(project: string, buildId: number, coverageData?: Test.CodeCoverageData): Promise<void>;
182
- /**
183
- * @param project - Project ID or project name
184
- * @param runId -
185
- * @param flags -
186
- */
187
- getTestRunCodeCoverage(project: string, runId: number, flags: number): Promise<Test.TestRunCoverage[]>;
188
- /**
189
- * Creates custom test fields based on the data provided.
190
- *
191
- * @param newFields - NewFields is an array of type CustomTestFieldDefinition.
192
- * @param project - Project ID or project name
193
- */
194
- addCustomFields(newFields: Test.CustomTestFieldDefinition[], project: string): Promise<Test.CustomTestFieldDefinition[]>;
195
- /**
196
- * Returns List of custom test fields for the given custom test field scope.
197
- *
198
- * @param project - Project ID or project name
199
- * @param scopeFilter - Scope of custom test fields which are to be returned.
200
- */
201
- queryCustomFields(project: string, scopeFilter: Test.CustomTestFieldScope): Promise<Test.CustomTestFieldDefinition[]>;
202
- /**
203
- * Returns details of the custom test field for the specified testExtensionFieldId.
204
- *
205
- * @param project - Project ID or project name
206
- * @param testExtensionFieldId - Custom test field id which has to be deleted.
207
- */
208
- deleteCustomFieldById(project: string, testExtensionFieldId: number): Promise<void>;
209
- /**
210
- * Returns details of the custom test field which is updated.
211
- *
212
- * @param updateCustomTestField - Custom test field which has to be updated.
213
- * @param project - Project ID or project name
214
- */
215
- updateCustomField(updateCustomTestField: Test.CustomTestFieldUpdateDefinition, project: string): Promise<Test.CustomTestFieldDefinition>;
216
- /**
217
- * Get file coverage for the specified file
218
- *
219
- * @param fileCoverageRequest - File details with pull request iteration context
220
- * @param project - Project ID or project name
221
- */
222
- getFileLevelCodeCoverage(fileCoverageRequest: Test.FileCoverageRequest, project: string): Promise<string>;
223
- /**
224
- * Delete flaky test case reference IDs by branch and repository information
225
- *
226
- * @param project - Project ID or project name
227
- * @param repositoryId - Guid of the repository
228
- * @param branchInfo - Branch information containing name and type Note: Operations on protected branches such as 'master' or 'main' are not supported.
229
- */
230
- deleteFlakyTestCaseRefIdsByBranch(project: string, repositoryId: string, branchInfo: Test.BranchInfo): Promise<number>;
231
- /**
232
- * @param project - Project ID or project name
233
- * @param repositoryId -
234
- * @param branchInfo -
235
- */
236
- getFlakyTestCaseRefIdsByBranch(project: string, repositoryId: string, branchInfo: Test.BranchInfo): Promise<Test.TestCaseFlakinessBranchInfo[]>;
237
- /**
238
- * @param project - Project ID or project name
239
- * @param buildDefinitionId -
240
- * @param minBuildCreatedDate -
241
- */
242
- getFlakyTestResultsByBuildDefinitionId(project: string, buildDefinitionId: number, minBuildCreatedDate: Date): Promise<Test.TestCaseResult[]>;
243
- /**
244
- * @param project - Project ID or project name
245
- * @param runId -
246
- */
247
- getFlakyTestResultsByTestRun(project: string, runId: number): Promise<Test.TestCaseResult[]>;
248
- /**
249
- * Get list of branches where a test case reference id has flaked
250
- *
251
- * @param project - Project ID or project name
252
- * @param testCaseReferenceId - Reference ID of test used by test result
253
- */
254
- getBranchesByFlakyTestCaseRefId(project: string, testCaseReferenceId: number): Promise<Test.TestCaseFlakinessBranchInfo>;
255
- /**
256
- * @param filter -
257
- * @param project - Project ID or project name
258
- */
259
- queryTestResultHistory(filter: Test.ResultsFilter, project: string): Promise<Test.TestResultHistory>;
260
- /**
261
- * Get test run message logs
262
- *
263
- * @param project - Project ID or project name
264
- * @param runId - ID of the run to get.
265
- */
266
- getTestRunMessageLogs(project: string, runId: number): Promise<Test.TestMessageLogDetails[]>;
267
- /**
268
- * Get summary of test results.
269
- *
270
- * @param project - Project ID or project name
271
- * @param pipelineId - Pipeline Id. This is same as build Id.
272
- * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
273
- * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
274
- * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
275
- * @param metricNames -
276
- * @param groupByNode - Group summary for each node of the pipleine heirarchy
277
- */
278
- getTestPipelineMetrics(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, metricNames?: Test.Metrics[], groupByNode?: boolean): Promise<Test.PipelineTestMetrics>;
279
- /**
280
- * @param project - Project ID or project name
281
- * @param buildId -
282
- * @param publishContext -
283
- * @param groupBy -
284
- * @param filter -
285
- * @param orderby -
286
- * @param shouldIncludeResults -
287
- * @param queryRunSummaryForInProgress -
288
- */
289
- getTestResultDetailsForBuild(project: string, buildId: number, publishContext?: string, groupBy?: string, filter?: string, orderby?: string, shouldIncludeResults?: boolean, queryRunSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
290
- /**
291
- * @param project - Project ID or project name
292
- * @param releaseId -
293
- * @param releaseEnvId -
294
- * @param publishContext -
295
- * @param groupBy -
296
- * @param filter -
297
- * @param orderby -
298
- * @param shouldIncludeResults -
299
- * @param queryRunSummaryForInProgress -
300
- */
301
- getTestResultDetailsForRelease(project: string, releaseId: number, releaseEnvId: number, publishContext?: string, groupBy?: string, filter?: string, orderby?: string, shouldIncludeResults?: boolean, queryRunSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
302
- /**
303
- * @param document -
304
- * @param project - Project ID or project name
305
- * @param runId -
306
- */
307
- publishTestResultDocument(document: Test.TestResultDocument, project: string, runId: number): Promise<Test.TestResultDocument>;
308
- /**
309
- * @param project - Project ID or project name
310
- * @param buildId -
311
- * @param publishContext -
312
- * @param fields -
313
- * @param continuationToken -
314
- */
315
- getResultGroupsByBuild(project: string, buildId: number, publishContext: string, fields?: string[], continuationToken?: string): Promise<WebApi.PagedList<Test.FieldDetailsForTestResults>>;
316
- /**
317
- * @param project - Project ID or project name
318
- * @param releaseId -
319
- * @param publishContext -
320
- * @param releaseEnvId -
321
- * @param fields -
322
- * @param continuationToken -
323
- */
324
- getResultGroupsByRelease(project: string, releaseId: number, publishContext: string, releaseEnvId?: number, fields?: string[], continuationToken?: string): Promise<WebApi.PagedList<Test.FieldDetailsForTestResults>>;
325
- /**
326
- * Get list of test Result meta data details for corresponding testcasereferenceId
327
- *
328
- * @param testCaseReferenceIds - TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
329
- * @param project - Project ID or project name
330
- * @param detailsToInclude - Details to include with test results metadata. Default is None. Other values are FlakyIdentifiers.
331
- */
332
- queryTestResultsMetaData(testCaseReferenceIds: string[], project: string, detailsToInclude?: Test.ResultMetaDataDetails): Promise<Test.TestResultMetaData[]>;
333
- /**
334
- * Update properties of test result meta data
335
- *
336
- * @param testResultMetaDataUpdateInput - TestResultMetaData update input TestResultMetaDataUpdateInput
337
- * @param project - Project ID or project name
338
- * @param testCaseReferenceId - TestCaseReference Id of Test Result to be updated.
339
- */
340
- updateTestResultsMetaData(testResultMetaDataUpdateInput: Test.TestResultMetaDataUpdateInput, project: string, testCaseReferenceId: number): Promise<Test.TestResultMetaData>;
341
- /**
342
- * @param query -
343
- * @param project - Project ID or project name
344
- */
345
- getTestResultsByQuery(query: Test.TestResultsQuery, project: string): Promise<Test.TestResultsQuery>;
346
- /**
347
- * @param queryModel -
348
- * @param project - Project ID or project name
349
- * @param includeResultDetails -
350
- * @param includeIterationDetails -
351
- * @param skip -
352
- * @param top -
353
- */
354
- getTestResultsByQueryWiql(queryModel: Test.QueryModel, project: string, includeResultDetails?: boolean, includeIterationDetails?: boolean, skip?: number, top?: number): Promise<Test.TestCaseResult[]>;
355
- /**
356
- * @param results -
357
- * @param project - Project ID or project name
358
- * @param runId -
359
- */
360
- addTestResultsToTestRun(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
361
- /**
362
- * @param project - Project ID or project name
363
- * @param runId -
364
- * @param testResultId -
365
- * @param detailsToInclude -
366
- */
367
- getTestResultById(project: string, runId: number, testResultId: number, detailsToInclude?: Test.ResultDetails): Promise<Test.TestCaseResult>;
368
- /**
369
- * @param project - Project ID or project name
370
- * @param runId -
371
- * @param detailsToInclude -
372
- * @param skip -
373
- * @param top -
374
- * @param outcomes -
375
- * @param newTestsOnly -
376
- */
377
- getTestResults(project: string, runId: number, detailsToInclude?: Test.ResultDetails, skip?: number, top?: number, outcomes?: Test.TestOutcome[], newTestsOnly?: boolean): Promise<Test.TestCaseResult[]>;
378
- /**
379
- * @param results -
380
- * @param project - Project ID or project name
381
- * @param runId -
382
- */
383
- updateTestResults(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
384
- /**
385
- * @param project - Project ID or project name
386
- * @param buildId -
387
- * @param publishContext -
388
- * @param outcomes -
389
- * @param top -
390
- * @param continuationToken -
391
- */
392
- getTestResultsByBuild(project: string, buildId: number, publishContext?: string, outcomes?: Test.TestOutcome[], top?: number, continuationToken?: string): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
393
- /**
394
- * Get a list of results.
395
- *
396
- * @param project - Project ID or project name
397
- * @param pipelineId - Pipeline Id. This is same as build Id.
398
- * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
399
- * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
400
- * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
401
- * @param outcomes - List of outcome of results
402
- * @param includeAllBuildRuns - Whether to include Test Runs from from all the build runs or not.
403
- * @param top - Maximum number of results to return
404
- * @param continuationToken - Header to pass the continuationToken
405
- */
406
- getTestResultsByPipeline(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, outcomes?: Test.TestOutcome[], includeAllBuildRuns?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
407
- /**
408
- * @param project - Project ID or project name
409
- * @param releaseId -
410
- * @param releaseEnvid -
411
- * @param publishContext -
412
- * @param outcomes -
413
- * @param top -
414
- * @param continuationToken -
415
- */
416
- getTestResultsByRelease(project: string, releaseId: number, releaseEnvid?: number, publishContext?: string, outcomes?: Test.TestOutcome[], top?: number, continuationToken?: string): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
417
- /**
418
- * Get all the available groups details and for these groups get failed and aborted results.
419
- *
420
- * @param project - Project ID or project name
421
- * @param pipelineId - Pipeline Id. This is same as build Id.
422
- * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
423
- * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
424
- * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
425
- * @param shouldIncludeFailedAndAbortedResults - If true, it will return Ids of failed and aborted results for each test group
426
- * @param queryGroupSummaryForInProgress - If true, it will calculate summary for InProgress runs as well.
427
- */
428
- testResultsGroupDetails(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, shouldIncludeFailedAndAbortedResults?: boolean, queryGroupSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
429
- /**
430
- * @param project - Project ID or project name
431
- * @param buildId -
432
- * @param publishContext -
433
- * @param includeFailureDetails -
434
- * @param buildToCompare -
435
- */
436
- queryTestResultsReportForBuild(project: string, buildId: number, publishContext?: string, includeFailureDetails?: boolean, buildToCompare?: Test.BuildReference): Promise<Test.TestResultSummary>;
437
- /**
438
- * Get summary of test results.
439
- *
440
- * @param project - Project ID or project name
441
- * @param pipelineId - Pipeline Id. This is same as build Id.
442
- * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
443
- * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
444
- * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
445
- * @param includeFailureDetails - If true returns failure insights
446
- */
447
- queryTestResultsReportForPipeline(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, includeFailureDetails?: boolean): Promise<Test.TestResultSummary>;
448
- /**
449
- * @param project - Project ID or project name
450
- * @param releaseId -
451
- * @param releaseEnvId -
452
- * @param publishContext -
453
- * @param includeFailureDetails -
454
- * @param releaseToCompare -
455
- */
456
- queryTestResultsReportForRelease(project: string, releaseId: number, releaseEnvId: number, publishContext?: string, includeFailureDetails?: boolean, releaseToCompare?: Test.ReleaseReference): Promise<Test.TestResultSummary>;
457
- /**
458
- * @param releases -
459
- * @param project - Project ID or project name
460
- */
461
- queryTestResultsSummaryForReleases(releases: Test.ReleaseReference[], project: string): Promise<Test.TestResultSummary[]>;
462
- /**
463
- * @param resultsContext -
464
- * @param project - Project ID or project name
465
- * @param workItemIds -
466
- */
467
- queryTestSummaryByRequirement(resultsContext: Test.TestResultsContext, project: string, workItemIds?: number[]): Promise<Test.TestSummaryForWorkItem[]>;
468
- /**
469
- * @param filter -
470
- * @param project - Project ID or project name
471
- */
472
- queryResultTrendForBuild(filter: Test.TestResultTrendFilter, project: string): Promise<Test.AggregatedDataForResultTrend[]>;
473
- /**
474
- * @param filter -
475
- * @param project - Project ID or project name
476
- */
477
- queryResultTrendForRelease(filter: Test.TestResultTrendFilter, project: string): Promise<Test.AggregatedDataForResultTrend[]>;
478
- /**
479
- * @param testRun -
480
- * @param project - Project ID or project name
481
- */
482
- createTestRun(testRun: Test.RunCreateModel, project: string): Promise<Test.TestRun>;
483
- /**
484
- * @param project - Project ID or project name
485
- * @param runId -
486
- */
487
- deleteTestRun(project: string, runId: number): Promise<void>;
488
- /**
489
- * @param project - Project ID or project name
490
- * @param runId -
491
- * @param includeDetails -
492
- * @param includeTags -
493
- */
494
- getTestRunById(project: string, runId: number, includeDetails?: boolean, includeTags?: boolean): Promise<Test.TestRun>;
495
- /**
496
- * @param project - Project ID or project name
497
- * @param buildUri -
498
- * @param owner -
499
- * @param tmiRunId -
500
- * @param planId -
501
- * @param includeRunDetails -
502
- * @param automated -
503
- * @param skip -
504
- * @param top -
505
- */
506
- getTestRuns(project: string, buildUri?: string, owner?: string, tmiRunId?: string, planId?: number, includeRunDetails?: boolean, automated?: boolean, skip?: number, top?: number): Promise<Test.TestRun[]>;
507
- /**
508
- * Query Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate.
509
- *
510
- * @param project - Project ID or project name
511
- * @param minLastUpdatedDate - Minimum Last Modified Date of run to be queried (Mandatory).
512
- * @param maxLastUpdatedDate - Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
513
- * @param state - Current state of the Runs to be queried.
514
- * @param planIds - Plan Ids of the Runs to be queried, comma separated list of valid ids.
515
- * @param isAutomated - Automation type of the Runs to be queried.
516
- * @param publishContext - PublishContext of the Runs to be queried.
517
- * @param buildIds - Build Ids of the Runs to be queried, comma separated list of valid ids.
518
- * @param buildDefIds - Build Definition Ids of the Runs to be queried, comma separated list of valid ids.
519
- * @param branchName - Source Branch name of the Runs to be queried.
520
- * @param releaseIds - Release Ids of the Runs to be queried, comma separated list of valid ids.
521
- * @param releaseDefIds - Release Definition Ids of the Runs to be queried, comma separated list of valid ids.
522
- * @param releaseEnvIds - Release Environment Ids of the Runs to be queried, comma separated list of valid ids.
523
- * @param releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids.
524
- * @param runTitle - Run Title of the Runs to be queried.
525
- * @param top - Number of runs to be queried. Limit is 100
526
- * @param sortOrder - Sort order by LastUpdated for the test runs.
527
- * @param continuationToken - continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
528
- */
529
- queryTestRuns(project: string, minLastUpdatedDate: Date, maxLastUpdatedDate: Date, state?: Test.TestRunState, planIds?: number[], isAutomated?: boolean, publishContext?: Test.TestRunPublishContext, buildIds?: number[], buildDefIds?: number[], branchName?: string, releaseIds?: number[], releaseDefIds?: number[], releaseEnvIds?: number[], releaseEnvDefIds?: number[], runTitle?: string, top?: number, sortOrder?: Test.TestRunSortOrderType, continuationToken?: string): Promise<WebApi.PagedList<Test.TestRun>>;
530
- /**
531
- * @param runUpdateModel -
532
- * @param project - Project ID or project name
533
- * @param runId -
534
- */
535
- updateTestRun(runUpdateModel: Test.RunUpdateModel, project: string, runId: number): Promise<Test.TestRun>;
536
- /**
537
- * Get test run summary, used when we want to get summary of a run by outcome. Test run should be in completed state.
538
- *
539
- * @param project - Project ID or project name
540
- * @param runId - ID of the run to get.
541
- */
542
- getTestRunSummaryByOutcome(project: string, runId: number): Promise<Test.TestRunStatistic>;
543
- /**
544
- * Get TestResultsSettings data
545
- *
546
- * @param project - Project ID or project name
547
- * @param settingsType -
548
- */
549
- getTestResultsSettings(project: string, settingsType?: Test.TestResultsSettingsType): Promise<Test.TestResultsSettings>;
550
- /**
551
- * Update project settings of test results
552
- *
553
- * @param testResultsUpdateSettings -
554
- * @param project - Project ID or project name
555
- */
556
- updatePipelinesTestSettings(testResultsUpdateSettings: Test.TestResultsUpdateSettings, project: string): Promise<Test.TestResultsSettings>;
557
- /**
558
- * Gets the list of results whose failure matches with the provided one.
559
- *
560
- * @param project - Project ID or project name
561
- * @param runId - id of test run
562
- * @param testResultId - id of test result inside a test run
563
- * @param testSubResultId - id of subresult inside a test result
564
- * @param top - Maximum number of results to return
565
- * @param continuationToken - Header to pass the continuationToken
566
- */
567
- getSimilarTestResults(project: string, runId: number, testResultId: number, testSubResultId: number, top?: number, continuationToken?: String): Promise<Test.TestCaseResult[]>;
568
- /**
569
- * Get test run statistics , used when we want to get summary of a run by outcome.
570
- *
571
- * @param project - Project ID or project name
572
- * @param runId - ID of the run to get.
573
- */
574
- getTestRunStatistics(project: string, runId: number): Promise<Test.TestRunStatistic>;
575
- /**
576
- * \<p\>Gets the coverage status for the last successful build of a definition, optionally scoped to a specific branch\</p\>
577
- *
578
- * @param project - Project ID or project name
579
- * @param definition - The ID or name of the definition.
580
- * @param branchName - The branch name.
581
- * @param label - The String to replace the default text on the left side of the badge.
582
- */
583
- getCoverageStatusBadge(project: string, definition: string, branchName?: string, label?: string): Promise<string>;
584
- /**
585
- * Get all the tags in a build.
586
- *
587
- * @param project - Project ID or project name
588
- * @param buildId - Build ID
589
- */
590
- getTestTagsForBuild(project: string, buildId: number): Promise<Test.TestTag[]>;
591
- /**
592
- * Get all the tags in a release.
593
- *
594
- * @param project - Project ID or project name
595
- * @param releaseId - Release ID
596
- * @param releaseEnvId - Release environment ID
597
- */
598
- getTestTagsForRelease(project: string, releaseId: number, releaseEnvId: number): Promise<Test.TestTag[]>;
599
- /**
600
- * Update tags of a run, Tags can be Added and Deleted
601
- *
602
- * @param testTagsUpdateModel - TestTagsUpdateModel
603
- * @param project - Project ID or project name
604
- * @param runId - RunId of the run
605
- */
606
- updateTestRunTags(testTagsUpdateModel: Test.TestTagsUpdateModel, project: string, runId: number): Promise<Test.TestTag[]>;
607
- /**
608
- * Get all the tags in a build.
609
- *
610
- * @param project - Project ID or project name
611
- * @param buildId - Build ID
612
- */
613
- getTestTagSummaryForBuild(project: string, buildId: number): Promise<Test.TestTagSummary>;
614
- /**
615
- * Get all the tags in a release.
616
- *
617
- * @param project - Project ID or project name
618
- * @param releaseId - Release ID
619
- * @param releaseEnvId - Release environment ID
620
- */
621
- getTestTagSummaryForRelease(project: string, releaseId: number, releaseEnvId: number): Promise<Test.TestTagSummary>;
622
- /**
623
- * @param request -
624
- * @param project - Project ID or project name
625
- */
626
- callbackTestAgent(request: Test.TestAgentCallbackRequest, project: string): Promise<boolean>;
627
- /**
628
- * @param request -
629
- * @param project - Project ID or project name
630
- */
631
- triggerTestAgent(request: Test.TestAgentTriggerRequest, project: string): Promise<boolean>;
632
- /**
633
- * Generates manual test plan from a work item using AI
634
- *
635
- * @param generateTestPlanFromWorkItemModel -
636
- * @param project - Project ID or project name
637
- * @param workItemId -
638
- */
639
- generateTestPlanFromWorkItem(generateTestPlanFromWorkItemModel: Test.GenerateTestPlanFromWorkItemModel, project: string, workItemId: number): Promise<boolean>;
640
- /**
641
- * Creates an attachment in the LogStore for the specified buildId.
642
- *
643
- * @param attachmentRequestModel - Contains attachment info like stream, filename, comment, attachmentType
644
- * @param project - Project ID or project name
645
- * @param buildId - BuildId
646
- */
647
- createBuildAttachmentInLogStore(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, buildId: number): Promise<void>;
648
- /**
649
- * Creates an attachment in the LogStore for the specified runId.
650
- *
651
- * @param attachmentRequestModel - Contains attachment info like stream, filename, comment, attachmentType
652
- * @param project - Project ID or project name
653
- * @param runId - Test RunId
654
- */
655
- createTestRunLogStoreAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number): Promise<Test.TestLogStoreAttachmentReference>;
656
- /**
657
- * Deletes the attachment with the specified filename for the specified runId from the LogStore.
658
- *
659
- * @param project - Project ID or project name
660
- * @param runId - Test RunId
661
- * @param filename - Attachment FileName
662
- */
663
- deleteTestRunLogStoreAttachment(project: string, runId: number, filename: string): Promise<void>;
664
- /**
665
- * Returns the attachment with the specified filename for the specified runId from the LogStore.
666
- *
667
- * @param project - Project ID or project name
668
- * @param runId - Test RunId
669
- * @param filename - Attachment FileName
670
- */
671
- getTestRunLogStoreAttachmentContent(project: string, runId: number, filename: string): Promise<ArrayBuffer>;
672
- /**
673
- * Returns a list of attachments for the specified runId from the LogStore.
674
- *
675
- * @param project - Project ID or project name
676
- * @param runId - Test RunId
677
- */
678
- getTestRunLogStoreAttachments(project: string, runId: number): Promise<Test.TestLogStoreAttachment[]>;
679
- /**
680
- * Returns the attachment with the specified filename for the specified runId from the LogStore.
681
- *
682
- * @param project - Project ID or project name
683
- * @param runId - Test RunId
684
- * @param filename - Attachment FileName
685
- */
686
- getTestRunLogStoreAttachmentZip(project: string, runId: number, filename: string): Promise<ArrayBuffer>;
687
- /**
688
- * Creates a new test failure type
689
- *
690
- * @param testResultFailureType -
691
- * @param project - Project ID or project name
692
- */
693
- createFailureType(testResultFailureType: Test.TestResultFailureTypeRequestModel, project: string): Promise<Test.TestResultFailureType>;
694
- /**
695
- * Deletes a test failure type with specified failureTypeId
696
- *
697
- * @param project - Project ID or project name
698
- * @param failureTypeId -
699
- */
700
- deleteFailureType(project: string, failureTypeId: number): Promise<void>;
701
- /**
702
- * Returns the list of test failure types.
703
- *
704
- * @param project - Project ID or project name
705
- */
706
- getFailureTypes(project: string): Promise<Test.TestResultFailureType[]>;
707
- /**
708
- * Get history of a test method using TestHistoryQuery
709
- *
710
- * @param filter - TestHistoryQuery to get history
711
- * @param project - Project ID or project name
712
- */
713
- queryTestHistory(filter: Test.TestHistoryQuery, project: string): Promise<Test.TestHistoryQuery>;
714
- /**
715
- * Get list of build attachments reference
716
- *
717
- * @param project - Project ID or project name
718
- * @param buildId - Id of the build to get
719
- * @param type - type of the attachment to get
720
- * @param directoryPath - directory path for which attachments are needed
721
- * @param fileNamePrefix - file name prefix to filter the list of attachment
722
- * @param fetchMetaData - Default is false, set if metadata is needed
723
- * @param top - Number of test attachments reference to return
724
- * @param continuationToken - Header to pass the continuationToken
725
- */
726
- getTestLogsForBuild(project: string, buildId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
727
- /**
728
- * Get list of test result attachments reference
729
- *
730
- * @param project - Project ID or project name
731
- * @param runId - Id of the test run that contains the result
732
- * @param resultId - Id of the test result
733
- * @param type - type of attachments to get
734
- * @param directoryPath - directory path of attachments to get
735
- * @param fileNamePrefix - file name prefix to filter the list of attachment
736
- * @param fetchMetaData - Default is false, set if metadata is needed
737
- * @param top - Numbe of attachments reference to return
738
- * @param continuationToken - Header to pass the continuationToken
739
- */
740
- getTestResultLogs(project: string, runId: number, resultId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
741
- /**
742
- * Get list of test subresult attachments reference
743
- *
744
- * @param project - Project ID or project name
745
- * @param runId - Id of the test run that contains the results
746
- * @param resultId - Id of the test result that contains subresult
747
- * @param subResultId - Id of the test subresult
748
- * @param type - type of the attachments to get
749
- * @param directoryPath - directory path of the attachment to get
750
- * @param fileNamePrefix - file name prefix to filter the list of attachments
751
- * @param fetchMetaData - Default is false, set if metadata is needed
752
- * @param top - Number of attachments reference to return
753
- * @param continuationToken - Header to pass the continuationToken
754
- */
755
- getTestSubResultLogs(project: string, runId: number, resultId: number, subResultId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
756
- /**
757
- * Get list of test run attachments reference
758
- *
759
- * @param project - Project ID or project name
760
- * @param runId - Id of the test run
761
- * @param type - type of the attachments to get
762
- * @param directoryPath - directory path for which attachments are needed
763
- * @param fileNamePrefix - file name prefix to filter the list of attachment
764
- * @param fetchMetaData - Default is false, set if metadata is needed
765
- * @param top - Number of attachments reference to return
766
- * @param continuationToken - Header to pass the continuationToken
767
- */
768
- getTestRunLogs(project: string, runId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
769
- /**
770
- * Get SAS Uri of a build attachment
771
- *
772
- * @param project - Project ID or project name
773
- * @param build - Id of the build to get
774
- * @param type - type of the file
775
- * @param filePath - filePath for which sas uri is needed
776
- */
777
- getTestLogStoreEndpointDetailsForBuildLog(project: string, build: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
778
- /**
779
- * Create and Get sas uri of the build container
780
- *
781
- * @param project - Project ID or project name
782
- * @param buildId - Id of the build to get
783
- * @param testLogStoreOperationType - Type of operation to perform using sas uri
784
- */
785
- testLogStoreEndpointDetailsForBuild(project: string, buildId: number, testLogStoreOperationType: Test.TestLogStoreOperationType): Promise<Test.TestLogStoreEndpointDetails>;
786
- /**
787
- * Get SAS Uri of a test results attachment
788
- *
789
- * @param project - Project ID or project name
790
- * @param runId - Id of the test run that contains result
791
- * @param resultId - Id of the test result whose files need to be downloaded
792
- * @param type - type of the file
793
- * @param filePath - filePath for which sas uri is needed
794
- */
795
- getTestLogStoreEndpointDetailsForResultLog(project: string, runId: number, resultId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
796
- /**
797
- * Get SAS Uri of a test subresults attachment
798
- *
799
- * @param project - Project ID or project name
800
- * @param runId - Id of the test run that contains result
801
- * @param resultId - Id of the test result that contains subresult
802
- * @param subResultId - Id of the test subresult whose file sas uri is needed
803
- * @param type - type of the file
804
- * @param filePath - filePath for which sas uri is needed
805
- */
806
- getTestLogStoreEndpointDetailsForSubResultLog(project: string, runId: number, resultId: number, subResultId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
807
- /**
808
- * Create empty file for a result and Get Sas uri for the file
809
- *
810
- * @param project - Project ID or project name
811
- * @param runId - Id of the test run that contains the result
812
- * @param resultId - Id of the test results that contains sub result
813
- * @param subResultId - Id of the test sub result whose file sas uri is needed
814
- * @param filePath - file path inside the sub result for which sas uri is needed
815
- * @param type - Type of the file for download
816
- */
817
- testLogStoreEndpointDetailsForResult(project: string, runId: number, resultId: number, subResultId: number, filePath: string, type: Test.TestLogType): Promise<Test.TestLogStoreEndpointDetails>;
818
- /**
819
- * Get SAS Uri of a test run attachment
820
- *
821
- * @param project - Project ID or project name
822
- * @param runId - Id of the test run whose file has to be downloaded
823
- * @param type - type of the file
824
- * @param filePath - filePath for which sas uri is needed
825
- */
826
- getTestLogStoreEndpointDetailsForRunLog(project: string, runId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
827
- /**
828
- * Create empty file for a run and Get Sas uri for the file
829
- *
830
- * @param project - Project ID or project name
831
- * @param runId - Id of the run to get endpoint details
832
- * @param testLogStoreOperationType - Type of operation to perform using sas uri
833
- * @param filePath - file path to create an empty file
834
- * @param type - Default is GeneralAttachment, type of empty file to be created
835
- */
836
- testLogStoreEndpointDetailsForRun(project: string, runId: number, testLogStoreOperationType: Test.TestLogStoreOperationType, filePath?: string, type?: Test.TestLogType): Promise<Test.TestLogStoreEndpointDetails>;
837
- /**
838
- * Creates TestResultsSession object in TCM data store
839
- *
840
- * @param session - Received session object.
841
- * @param project - Project ID or project name
842
- */
843
- createTestSession(session: Test.TestResultsSession, project: string): Promise<number>;
844
- /**
845
- * Retrieves TestResultsSession metadata object in TCM data store
846
- *
847
- * @param project - Project ID or project name
848
- * @param buildId -
849
- */
850
- getTestSession(project: string, buildId: number): Promise<Test.TestResultsSession[]>;
851
- /**
852
- * Retrieves TestResultsSession Layout object in TCM data store
853
- *
854
- * @param project - Project ID or project name
855
- * @param sessionId -
856
- */
857
- getTestSessionLayout(project: string, sessionId: string): Promise<any[]>;
858
- /**
859
- * Updates Test session object associated to a sessionId
860
- *
861
- * @param session - Update Session object
862
- * @param project - Project ID or project name
863
- * @param sessionId - Id of TestResults session to update Test session object for.
864
- */
865
- updateTestSession(session: Test.TestResultsSession, project: string, sessionId: number): Promise<number>;
866
- /**
867
- * Creates Session Analysis object in TCM data store for a given session
868
- *
869
- * @param analysis - Session Analysis details
870
- * @param project - Project ID or project name
871
- * @param sessionId - ID of Session to add Notification
872
- */
873
- createAnalysis(analysis: Test.TestSessionAnalysis[], project: string, sessionId: number): Promise<Test.AnalysisFailureGroupReturn[]>;
874
- /**
875
- * Creates Environment object in TCM data store
876
- *
877
- * @param environments - Received Environment object.
878
- * @param project - Project ID or project name
879
- */
880
- createEnvironment(environments: Test.TestSessionEnvironment[], project: string): Promise<void>;
881
- /**
882
- * For the provided sessionId, creates environment, configuration, and machine objects in TCM data store
883
- *
884
- * @param sessionEnvironmentAndMachine -
885
- * @param project - Project ID or project name
886
- * @param sessionId -
887
- */
888
- createEnvironmentAndMachine(sessionEnvironmentAndMachine: Test.SessionEnvironmentAndMachine, project: string, sessionId: number): Promise<void>;
889
- /**
890
- * Retrieves TestResultsSession Layout object in TCM data store
891
- *
892
- * @param project - Project ID or project name
893
- * @param sessionId - Retrieve session object.
894
- */
895
- getTestSessionLayoutBySessionId(project: string, sessionId: number): Promise<any[]>;
896
- /**
897
- * Creates Notification object in TCM data store for a given session
898
- *
899
- * @param notifications - Notification(s) to add for the specified sessionId
900
- * @param project - Project ID or project name
901
- * @param sessionId - ID of Session to add Notification
902
- */
903
- createNotification(notifications: Test.TestSessionNotification[], project: string, sessionId: number): Promise<number[]>;
904
- /**
905
- * Retrieves TestResultsSession Notification objects in TCM data store
906
- *
907
- * @param project - Project ID or project name
908
- * @param sessionId - Id of TestResults session to obtain Notifications for.
909
- */
910
- getSessionNotifications(project: string, sessionId: number): Promise<Test.TestSessionNotification[]>;
911
- /**
912
- * Add Test Results to test run session
913
- *
914
- * @param results -
915
- * @param project - Project ID or project name
916
- * @param runId - RunId of test run
917
- */
918
- addTestResultsToTestRunSession(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
919
- /**
920
- * @param project - Project ID or project name
921
- * @param runId -
922
- * @param detailsToInclude -
923
- * @param skip -
924
- * @param top -
925
- * @param outcomes -
926
- * @param newTestsOnly -
927
- */
928
- getTestSessionResults(project: string, runId: number, detailsToInclude?: Test.ResultDetails, skip?: number, top?: number, outcomes?: Test.TestOutcome[], newTestsOnly?: boolean): Promise<Test.TestCaseResult[]>;
929
- /**
930
- * Creates TestResultsMRX objects in TCM data store for existing test results
931
- *
932
- * @param results - Results object with only test results MRX properties and existing testResultId
933
- * @param project - Project ID or project name
934
- * @param runId - RunId of test run
935
- */
936
- updateTestResultsToTestRunSession(results: Test.TestCaseResult[], project: string, runId: number): Promise<number[]>;
937
- /**
938
- * Creates test result machines for the provided TestRunId
939
- *
940
- * @param testResultMachines - List of machines for test results in the run
941
- * @param project - Project ID or project name
942
- * @param runId - ID of the TestRun to add machines for
943
- */
944
- createTestResultMachines(testResultMachines: Test.TestResultMachine[], project: string, runId: number): Promise<void>;
945
- /**
946
- * Gets test result machines for the provided TestRunId
947
- *
948
- * @param project - Project ID or project name
949
- * @param runId - ID of the TestRun to add machines for
950
- */
951
- getTestResultMachines(project: string, runId: number): Promise<Test.TestResultMachine[]>;
952
- /**
953
- * Gets full TestCaseResult objects with 1MRX details for the provided pipelineId
954
- *
955
- * @param project - Project ID or project name
956
- * @param pipelineId - Pipeline Id. This is same as build Id.
957
- * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
958
- * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
959
- * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
960
- * @param outcomes - List of outcome of results
961
- * @param includeAllBuildRuns - Whether to include Test Runs from from all the build runs or not. Defaults to false.
962
- * @param top - Maximum number of results to return. Defaults to 10000.
963
- * @param continuationToken - Header to pass the continuationToken
964
- */
965
- getTestResultsByPipelineMRX(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, outcomes?: Test.TestOutcome[], includeAllBuildRuns?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestCaseResult>>;
966
- /**
967
- * Retrieves Test runs associated to a session
968
- *
969
- * @param project - Project ID or project name
970
- * @param sessionId - Id of TestResults session to obtain Test Runs for.
971
- */
972
- getTestRunsBySessionId(project: string, sessionId: number): Promise<number[]>;
973
- /**
974
- * Updates Test runs associated to a session
975
- *
976
- * @param testRunIds -
977
- * @param project - Project ID or project name
978
- * @param sessionId - Id of TestResults session to update Test Runs for.
979
- */
980
- updateTestRunsBySessionId(testRunIds: Test.TestSessionTestRun, project: string, sessionId: number): Promise<number[]>;
981
- /**
982
- * @param testSettings -
983
- * @param project - Project ID or project name
984
- */
985
- createTestSettings(testSettings: Test.TestSettings, project: string): Promise<number>;
986
- /**
987
- * @param project - Project ID or project name
988
- * @param testSettingsId -
989
- */
990
- deleteTestSettings(project: string, testSettingsId: number): Promise<void>;
991
- /**
992
- * @param project - Project ID or project name
993
- * @param testSettingsId -
994
- */
995
- getTestSettingsById(project: string, testSettingsId: number): Promise<Test.TestSettings>;
996
- /**
997
- * Calculate Test Weighted Score for given comman separated list of Test Runs Ids.
998
- *
999
- * @param project - Project ID or project name
1000
- * @param runIds - Comman Separated Test Run Ids. Maximum 100 supported.
1001
- * @param includeAllOutcomes - Include all test results outcome for TWS Calculation. By default, false is considered
1002
- * @param onlyFlakyResults - Option to return only flaky test results identified as flaky. By default, true is passed
1003
- */
1004
- getTestWeightedScoreByTestRun(project: string, runIds: string, includeAllOutcomes?: boolean, onlyFlakyResults?: boolean): Promise<Test.TestCaseResult[]>;
1005
- /**
1006
- * @param workItemToTestLinks -
1007
- * @param project - Project ID or project name
1008
- */
1009
- addWorkItemToTestLinks(workItemToTestLinks: Test.WorkItemToTestLinks, project: string): Promise<Test.WorkItemToTestLinks>;
1010
- /**
1011
- * @param project - Project ID or project name
1012
- * @param testName -
1013
- * @param workItemId -
1014
- */
1015
- deleteTestMethodToWorkItemLink(project: string, testName: string, workItemId: number): Promise<boolean>;
1016
- /**
1017
- * @param project - Project ID or project name
1018
- * @param testName -
1019
- */
1020
- queryTestMethodLinkedWorkItems(project: string, testName: string): Promise<Test.TestToWorkItemLinks>;
1021
- /**
1022
- * @param project - Project ID or project name
1023
- * @param runId -
1024
- * @param testCaseResultId -
1025
- */
1026
- getTestResultWorkItemsById(project: string, runId: number, testCaseResultId: number): Promise<Test.WorkItemReference[]>;
1027
- /**
1028
- * Query Test Result WorkItems based on filter
1029
- *
1030
- * @param project - Project ID or project name
1031
- * @param workItemCategory - can take values Microsoft.BugCategory or all(for getting all workitems)
1032
- * @param automatedTestName -
1033
- * @param testCaseId -
1034
- * @param maxCompleteDate -
1035
- * @param days -
1036
- * @param workItemCount -
1037
- */
1038
- queryTestResultWorkItems(project: string, workItemCategory: string, automatedTestName?: string, testCaseId?: number, maxCompleteDate?: Date, days?: number, workItemCount?: number): Promise<Test.WorkItemReference[]>;
1039
- }
1
+ import { IVssRestClientOptions } from "../Common/Context";
2
+ import { RestClientBase } from "../Common/RestClientBase";
3
+ import * as Test from "../Test/Test";
4
+ import * as WebApi from "../WebApi/WebApi";
5
+ export declare class TestResultsRestClient extends RestClientBase {
6
+ constructor(options: IVssRestClientOptions);
7
+ static readonly RESOURCE_AREA_ID = "c83eaf52-edf3-4034-ae11-17d38f25404c";
8
+ /**
9
+ * @param key -
10
+ */
11
+ getAfdTcmEndpoint(key: string): Promise<string>;
12
+ /**
13
+ * @param attachmentRequestModel -
14
+ * @param project - Project ID or project name
15
+ * @param runId -
16
+ * @param testCaseResultId -
17
+ * @param iterationId -
18
+ * @param actionPath -
19
+ */
20
+ createTestIterationResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number, iterationId: number, actionPath?: string): Promise<Test.TestAttachmentReference>;
21
+ /**
22
+ * @param attachmentRequestModel -
23
+ * @param project - Project ID or project name
24
+ * @param runId -
25
+ * @param testCaseResultId -
26
+ */
27
+ createTestResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number): Promise<Test.TestAttachmentReference>;
28
+ /**
29
+ * @param attachmentRequestModel -
30
+ * @param project - Project ID or project name
31
+ * @param runId -
32
+ * @param testCaseResultId -
33
+ * @param testSubResultId -
34
+ */
35
+ createTestSubResultAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number, testSubResultId: number): Promise<Test.TestAttachmentReference>;
36
+ /**
37
+ * @param project - Project ID or project name
38
+ * @param runId -
39
+ * @param testCaseResultId -
40
+ * @param attachmentId -
41
+ */
42
+ deleteTestResultAttachment(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<void>;
43
+ /**
44
+ * Returns a test iteration attachment
45
+ *
46
+ * @param project - Project ID or project name
47
+ * @param runId -
48
+ * @param testCaseResultId -
49
+ * @param attachmentId -
50
+ * @param iterationId -
51
+ */
52
+ getTestIterationAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number, iterationId: number): Promise<ArrayBuffer>;
53
+ /**
54
+ * Returns a test iteration attachment
55
+ *
56
+ * @param project - Project ID or project name
57
+ * @param runId -
58
+ * @param testCaseResultId -
59
+ * @param attachmentId -
60
+ * @param iterationId -
61
+ */
62
+ getTestIterationAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number, iterationId: number): Promise<ArrayBuffer>;
63
+ /**
64
+ * Returns a test result attachment
65
+ *
66
+ * @param project - Project ID or project name
67
+ * @param runId -
68
+ * @param testCaseResultId -
69
+ * @param attachmentId -
70
+ */
71
+ getTestResultAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<ArrayBuffer>;
72
+ /**
73
+ * @param project - Project ID or project name
74
+ * @param runId -
75
+ * @param testCaseResultId -
76
+ */
77
+ getTestResultAttachments(project: string, runId: number, testCaseResultId: number): Promise<Test.TestAttachment[]>;
78
+ /**
79
+ * Returns a test result attachment
80
+ *
81
+ * @param project - Project ID or project name
82
+ * @param runId -
83
+ * @param testCaseResultId -
84
+ * @param attachmentId -
85
+ */
86
+ getTestResultAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number): Promise<ArrayBuffer>;
87
+ /**
88
+ * Returns a test sub result attachment
89
+ *
90
+ * @param project - Project ID or project name
91
+ * @param runId -
92
+ * @param testCaseResultId -
93
+ * @param attachmentId -
94
+ * @param testSubResultId -
95
+ */
96
+ getTestSubResultAttachmentContent(project: string, runId: number, testCaseResultId: number, attachmentId: number, testSubResultId: number): Promise<ArrayBuffer>;
97
+ /**
98
+ * Returns attachment references for test sub result.
99
+ *
100
+ * @param project - Project ID or project name
101
+ * @param runId -
102
+ * @param testCaseResultId -
103
+ * @param testSubResultId -
104
+ */
105
+ getTestSubResultAttachments(project: string, runId: number, testCaseResultId: number, testSubResultId: number): Promise<Test.TestAttachment[]>;
106
+ /**
107
+ * Returns a test sub result attachment
108
+ *
109
+ * @param project - Project ID or project name
110
+ * @param runId -
111
+ * @param testCaseResultId -
112
+ * @param attachmentId -
113
+ * @param testSubResultId -
114
+ */
115
+ getTestSubResultAttachmentZip(project: string, runId: number, testCaseResultId: number, attachmentId: number, testSubResultId: number): Promise<ArrayBuffer>;
116
+ /**
117
+ * @param attachmentRequestModel -
118
+ * @param project - Project ID or project name
119
+ * @param runId -
120
+ */
121
+ createTestRunAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number): Promise<Test.TestAttachmentReference>;
122
+ /**
123
+ * @param project - Project ID or project name
124
+ * @param runId -
125
+ * @param attachmentId -
126
+ */
127
+ deleteTestRunAttachment(project: string, runId: number, attachmentId: number): Promise<void>;
128
+ /**
129
+ * Returns a test run attachment
130
+ *
131
+ * @param project - Project ID or project name
132
+ * @param runId -
133
+ * @param attachmentId -
134
+ */
135
+ getTestRunAttachmentContent(project: string, runId: number, attachmentId: number): Promise<ArrayBuffer>;
136
+ /**
137
+ * @param project - Project ID or project name
138
+ * @param runId -
139
+ */
140
+ getTestRunAttachments(project: string, runId: number): Promise<Test.TestAttachment[]>;
141
+ /**
142
+ * Returns a test run attachment
143
+ *
144
+ * @param project - Project ID or project name
145
+ * @param runId -
146
+ * @param attachmentId -
147
+ */
148
+ getTestRunAttachmentZip(project: string, runId: number, attachmentId: number): Promise<ArrayBuffer>;
149
+ /**
150
+ * @param project - Project ID or project name
151
+ * @param runId -
152
+ * @param testCaseResultId -
153
+ */
154
+ getBugsLinkedToTestResult(project: string, runId: number, testCaseResultId: number): Promise<Test.WorkItemReference[]>;
155
+ /**
156
+ * @param project - Project ID or project name
157
+ * @param buildId -
158
+ */
159
+ fetchSourceCodeCoverageReport(project: string, buildId: number): Promise<Test.SourceViewBuildCoverage[]>;
160
+ /**
161
+ * @param project - Project ID or project name
162
+ * @param buildId -
163
+ * @param flags -
164
+ */
165
+ getBuildCodeCoverage(project: string, buildId: number, flags: number): Promise<Test.BuildCoverage[]>;
166
+ /**
167
+ * http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10&deltaBuildId=9 Request: build id and delta build id (optional)
168
+ *
169
+ * @param project - Project ID or project name
170
+ * @param buildId -
171
+ * @param deltaBuildId -
172
+ */
173
+ getCodeCoverageSummary(project: string, buildId: number, deltaBuildId?: number): Promise<Test.CodeCoverageSummary>;
174
+ /**
175
+ * http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary
176
+ *
177
+ * @param project - Project ID or project name
178
+ * @param buildId -
179
+ * @param coverageData -
180
+ */
181
+ updateCodeCoverageSummary(project: string, buildId: number, coverageData?: Test.CodeCoverageData): Promise<void>;
182
+ /**
183
+ * @param project - Project ID or project name
184
+ * @param runId -
185
+ * @param flags -
186
+ */
187
+ getTestRunCodeCoverage(project: string, runId: number, flags: number): Promise<Test.TestRunCoverage[]>;
188
+ /**
189
+ * Creates custom test fields based on the data provided.
190
+ *
191
+ * @param newFields - NewFields is an array of type CustomTestFieldDefinition.
192
+ * @param project - Project ID or project name
193
+ */
194
+ addCustomFields(newFields: Test.CustomTestFieldDefinition[], project: string): Promise<Test.CustomTestFieldDefinition[]>;
195
+ /**
196
+ * Returns List of custom test fields for the given custom test field scope.
197
+ *
198
+ * @param project - Project ID or project name
199
+ * @param scopeFilter - Scope of custom test fields which are to be returned.
200
+ */
201
+ queryCustomFields(project: string, scopeFilter: Test.CustomTestFieldScope): Promise<Test.CustomTestFieldDefinition[]>;
202
+ /**
203
+ * Returns details of the custom test field for the specified testExtensionFieldId.
204
+ *
205
+ * @param project - Project ID or project name
206
+ * @param testExtensionFieldId - Custom test field id which has to be deleted.
207
+ */
208
+ deleteCustomFieldById(project: string, testExtensionFieldId: number): Promise<void>;
209
+ /**
210
+ * Returns details of the custom test field which is updated.
211
+ *
212
+ * @param updateCustomTestField - Custom test field which has to be updated.
213
+ * @param project - Project ID or project name
214
+ */
215
+ updateCustomField(updateCustomTestField: Test.CustomTestFieldUpdateDefinition, project: string): Promise<Test.CustomTestFieldDefinition>;
216
+ /**
217
+ * Get file coverage for the specified file
218
+ *
219
+ * @param fileCoverageRequest - File details with pull request iteration context
220
+ * @param project - Project ID or project name
221
+ */
222
+ getFileLevelCodeCoverage(fileCoverageRequest: Test.FileCoverageRequest, project: string): Promise<string>;
223
+ /**
224
+ * Delete flaky test case reference IDs by branch and repository information
225
+ *
226
+ * @param project - Project ID or project name
227
+ * @param repositoryId - Guid of the repository
228
+ * @param branchInfo - Branch information containing name and type Note: Operations on protected branches such as 'master' or 'main' are not supported.
229
+ */
230
+ deleteFlakyTestCaseRefIdsByBranch(project: string, repositoryId: string, branchInfo: Test.BranchInfo): Promise<number>;
231
+ /**
232
+ * @param project - Project ID or project name
233
+ * @param repositoryId -
234
+ * @param branchInfo -
235
+ */
236
+ getFlakyTestCaseRefIdsByBranch(project: string, repositoryId: string, branchInfo: Test.BranchInfo): Promise<Test.TestCaseFlakinessBranchInfo[]>;
237
+ /**
238
+ * @param project - Project ID or project name
239
+ * @param buildDefinitionId -
240
+ * @param minBuildCreatedDate -
241
+ */
242
+ getFlakyTestResultsByBuildDefinitionId(project: string, buildDefinitionId: number, minBuildCreatedDate: Date): Promise<Test.TestCaseResult[]>;
243
+ /**
244
+ * @param project - Project ID or project name
245
+ * @param runId -
246
+ */
247
+ getFlakyTestResultsByTestRun(project: string, runId: number): Promise<Test.TestCaseResult[]>;
248
+ /**
249
+ * Get list of branches where a test case reference id has flaked
250
+ *
251
+ * @param project - Project ID or project name
252
+ * @param testCaseReferenceId - Reference ID of test used by test result
253
+ */
254
+ getBranchesByFlakyTestCaseRefId(project: string, testCaseReferenceId: number): Promise<Test.TestCaseFlakinessBranchInfo>;
255
+ /**
256
+ * @param filter -
257
+ * @param project - Project ID or project name
258
+ */
259
+ queryTestResultHistory(filter: Test.ResultsFilter, project: string): Promise<Test.TestResultHistory>;
260
+ /**
261
+ * Get test run message logs
262
+ *
263
+ * @param project - Project ID or project name
264
+ * @param runId - ID of the run to get.
265
+ */
266
+ getTestRunMessageLogs(project: string, runId: number): Promise<Test.TestMessageLogDetails[]>;
267
+ /**
268
+ * Get summary of test results.
269
+ *
270
+ * @param project - Project ID or project name
271
+ * @param pipelineId - Pipeline Id. This is same as build Id.
272
+ * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
273
+ * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
274
+ * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
275
+ * @param metricNames -
276
+ * @param groupByNode - Group summary for each node of the pipleine heirarchy
277
+ */
278
+ getTestPipelineMetrics(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, metricNames?: Test.Metrics[], groupByNode?: boolean): Promise<Test.PipelineTestMetrics>;
279
+ /**
280
+ * Retrieves the AI analysis result for a given build. Downloads the analysis JSON from the TCM Log Store (Azure Blob Storage) where it was uploaded by PipelineDebuggerJob upon completion.
281
+ *
282
+ * @param project - Project ID or project name
283
+ * @param buildId - Build ID that was analyzed
284
+ */
285
+ getAnalysisResult(project: string, buildId: number): Promise<Test.PipelineDebuggerResponse>;
286
+ /**
287
+ * Queues a pipeline analysis job to analyze failed pipeline jobs using AI.
288
+ *
289
+ * @param project - Project ID or project name
290
+ * @param buildId - Build ID to analyze
291
+ */
292
+ queueAnalysisJob(project: string, buildId: number): Promise<Test.PipelineDebuggerResponse>;
293
+ /**
294
+ * @param project - Project ID or project name
295
+ * @param buildId -
296
+ * @param publishContext -
297
+ * @param groupBy -
298
+ * @param filter -
299
+ * @param orderby -
300
+ * @param shouldIncludeResults -
301
+ * @param queryRunSummaryForInProgress -
302
+ */
303
+ getTestResultDetailsForBuild(project: string, buildId: number, publishContext?: string, groupBy?: string, filter?: string, orderby?: string, shouldIncludeResults?: boolean, queryRunSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
304
+ /**
305
+ * @param project - Project ID or project name
306
+ * @param releaseId -
307
+ * @param releaseEnvId -
308
+ * @param publishContext -
309
+ * @param groupBy -
310
+ * @param filter -
311
+ * @param orderby -
312
+ * @param shouldIncludeResults -
313
+ * @param queryRunSummaryForInProgress -
314
+ */
315
+ getTestResultDetailsForRelease(project: string, releaseId: number, releaseEnvId: number, publishContext?: string, groupBy?: string, filter?: string, orderby?: string, shouldIncludeResults?: boolean, queryRunSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
316
+ /**
317
+ * @param document -
318
+ * @param project - Project ID or project name
319
+ * @param runId -
320
+ */
321
+ publishTestResultDocument(document: Test.TestResultDocument, project: string, runId: number): Promise<Test.TestResultDocument>;
322
+ /**
323
+ * @param project - Project ID or project name
324
+ * @param buildId -
325
+ * @param publishContext -
326
+ * @param fields -
327
+ * @param continuationToken -
328
+ */
329
+ getResultGroupsByBuild(project: string, buildId: number, publishContext: string, fields?: string[], continuationToken?: string): Promise<WebApi.PagedList<Test.FieldDetailsForTestResults>>;
330
+ /**
331
+ * @param project - Project ID or project name
332
+ * @param releaseId -
333
+ * @param publishContext -
334
+ * @param releaseEnvId -
335
+ * @param fields -
336
+ * @param continuationToken -
337
+ */
338
+ getResultGroupsByRelease(project: string, releaseId: number, publishContext: string, releaseEnvId?: number, fields?: string[], continuationToken?: string): Promise<WebApi.PagedList<Test.FieldDetailsForTestResults>>;
339
+ /**
340
+ * Get list of test Result meta data details for corresponding testcasereferenceId
341
+ *
342
+ * @param testCaseReferenceIds - TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
343
+ * @param project - Project ID or project name
344
+ * @param detailsToInclude - Details to include with test results metadata. Default is None. Other values are FlakyIdentifiers.
345
+ */
346
+ queryTestResultsMetaData(testCaseReferenceIds: string[], project: string, detailsToInclude?: Test.ResultMetaDataDetails): Promise<Test.TestResultMetaData[]>;
347
+ /**
348
+ * Update properties of test result meta data
349
+ *
350
+ * @param testResultMetaDataUpdateInput - TestResultMetaData update input TestResultMetaDataUpdateInput
351
+ * @param project - Project ID or project name
352
+ * @param testCaseReferenceId - TestCaseReference Id of Test Result to be updated.
353
+ */
354
+ updateTestResultsMetaData(testResultMetaDataUpdateInput: Test.TestResultMetaDataUpdateInput, project: string, testCaseReferenceId: number): Promise<Test.TestResultMetaData>;
355
+ /**
356
+ * @param query -
357
+ * @param project - Project ID or project name
358
+ */
359
+ getTestResultsByQuery(query: Test.TestResultsQuery, project: string): Promise<Test.TestResultsQuery>;
360
+ /**
361
+ * @param queryModel -
362
+ * @param project - Project ID or project name
363
+ * @param includeResultDetails -
364
+ * @param includeIterationDetails -
365
+ * @param skip -
366
+ * @param top -
367
+ */
368
+ getTestResultsByQueryWiql(queryModel: Test.QueryModel, project: string, includeResultDetails?: boolean, includeIterationDetails?: boolean, skip?: number, top?: number): Promise<Test.TestCaseResult[]>;
369
+ /**
370
+ * @param results -
371
+ * @param project - Project ID or project name
372
+ * @param runId -
373
+ */
374
+ addTestResultsToTestRun(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
375
+ /**
376
+ * @param project - Project ID or project name
377
+ * @param runId -
378
+ * @param testResultId -
379
+ * @param detailsToInclude -
380
+ */
381
+ getTestResultById(project: string, runId: number, testResultId: number, detailsToInclude?: Test.ResultDetails): Promise<Test.TestCaseResult>;
382
+ /**
383
+ * @param project - Project ID or project name
384
+ * @param runId -
385
+ * @param detailsToInclude -
386
+ * @param skip -
387
+ * @param top -
388
+ * @param outcomes -
389
+ * @param newTestsOnly -
390
+ */
391
+ getTestResults(project: string, runId: number, detailsToInclude?: Test.ResultDetails, skip?: number, top?: number, outcomes?: Test.TestOutcome[], newTestsOnly?: boolean): Promise<Test.TestCaseResult[]>;
392
+ /**
393
+ * @param results -
394
+ * @param project - Project ID or project name
395
+ * @param runId -
396
+ */
397
+ updateTestResults(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
398
+ /**
399
+ * @param project - Project ID or project name
400
+ * @param buildId -
401
+ * @param publishContext -
402
+ * @param outcomes -
403
+ * @param top -
404
+ * @param continuationToken -
405
+ */
406
+ getTestResultsByBuild(project: string, buildId: number, publishContext?: string, outcomes?: Test.TestOutcome[], top?: number, continuationToken?: string): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
407
+ /**
408
+ * Get a list of results.
409
+ *
410
+ * @param project - Project ID or project name
411
+ * @param pipelineId - Pipeline Id. This is same as build Id.
412
+ * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
413
+ * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
414
+ * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
415
+ * @param outcomes - List of outcome of results
416
+ * @param includeAllBuildRuns - Whether to include Test Runs from from all the build runs or not.
417
+ * @param top - Maximum number of results to return
418
+ * @param continuationToken - Header to pass the continuationToken
419
+ */
420
+ getTestResultsByPipeline(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, outcomes?: Test.TestOutcome[], includeAllBuildRuns?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
421
+ /**
422
+ * @param project - Project ID or project name
423
+ * @param releaseId -
424
+ * @param releaseEnvid -
425
+ * @param publishContext -
426
+ * @param outcomes -
427
+ * @param top -
428
+ * @param continuationToken -
429
+ */
430
+ getTestResultsByRelease(project: string, releaseId: number, releaseEnvid?: number, publishContext?: string, outcomes?: Test.TestOutcome[], top?: number, continuationToken?: string): Promise<WebApi.PagedList<Test.ShallowTestCaseResult>>;
431
+ /**
432
+ * Get all the available groups details and for these groups get failed and aborted results.
433
+ *
434
+ * @param project - Project ID or project name
435
+ * @param pipelineId - Pipeline Id. This is same as build Id.
436
+ * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
437
+ * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
438
+ * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
439
+ * @param shouldIncludeFailedAndAbortedResults - If true, it will return Ids of failed and aborted results for each test group
440
+ * @param queryGroupSummaryForInProgress - If true, it will calculate summary for InProgress runs as well.
441
+ */
442
+ testResultsGroupDetails(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, shouldIncludeFailedAndAbortedResults?: boolean, queryGroupSummaryForInProgress?: boolean): Promise<Test.TestResultsDetails>;
443
+ /**
444
+ * @param project - Project ID or project name
445
+ * @param buildId -
446
+ * @param publishContext -
447
+ * @param includeFailureDetails -
448
+ * @param buildToCompare -
449
+ */
450
+ queryTestResultsReportForBuild(project: string, buildId: number, publishContext?: string, includeFailureDetails?: boolean, buildToCompare?: Test.BuildReference): Promise<Test.TestResultSummary>;
451
+ /**
452
+ * Get summary of test results.
453
+ *
454
+ * @param project - Project ID or project name
455
+ * @param pipelineId - Pipeline Id. This is same as build Id.
456
+ * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
457
+ * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
458
+ * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
459
+ * @param includeFailureDetails - If true returns failure insights
460
+ */
461
+ queryTestResultsReportForPipeline(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, includeFailureDetails?: boolean): Promise<Test.TestResultSummary>;
462
+ /**
463
+ * @param project - Project ID or project name
464
+ * @param releaseId -
465
+ * @param releaseEnvId -
466
+ * @param publishContext -
467
+ * @param includeFailureDetails -
468
+ * @param releaseToCompare -
469
+ */
470
+ queryTestResultsReportForRelease(project: string, releaseId: number, releaseEnvId: number, publishContext?: string, includeFailureDetails?: boolean, releaseToCompare?: Test.ReleaseReference): Promise<Test.TestResultSummary>;
471
+ /**
472
+ * @param releases -
473
+ * @param project - Project ID or project name
474
+ */
475
+ queryTestResultsSummaryForReleases(releases: Test.ReleaseReference[], project: string): Promise<Test.TestResultSummary[]>;
476
+ /**
477
+ * @param resultsContext -
478
+ * @param project - Project ID or project name
479
+ * @param workItemIds -
480
+ */
481
+ queryTestSummaryByRequirement(resultsContext: Test.TestResultsContext, project: string, workItemIds?: number[]): Promise<Test.TestSummaryForWorkItem[]>;
482
+ /**
483
+ * @param filter -
484
+ * @param project - Project ID or project name
485
+ */
486
+ queryResultTrendForBuild(filter: Test.TestResultTrendFilter, project: string): Promise<Test.AggregatedDataForResultTrend[]>;
487
+ /**
488
+ * @param filter -
489
+ * @param project - Project ID or project name
490
+ */
491
+ queryResultTrendForRelease(filter: Test.TestResultTrendFilter, project: string): Promise<Test.AggregatedDataForResultTrend[]>;
492
+ /**
493
+ * @param testRun -
494
+ * @param project - Project ID or project name
495
+ */
496
+ createTestRun(testRun: Test.RunCreateModel, project: string): Promise<Test.TestRun>;
497
+ /**
498
+ * @param project - Project ID or project name
499
+ * @param runId -
500
+ */
501
+ deleteTestRun(project: string, runId: number): Promise<void>;
502
+ /**
503
+ * @param project - Project ID or project name
504
+ * @param runId -
505
+ * @param includeDetails -
506
+ * @param includeTags -
507
+ */
508
+ getTestRunById(project: string, runId: number, includeDetails?: boolean, includeTags?: boolean): Promise<Test.TestRun>;
509
+ /**
510
+ * @param project - Project ID or project name
511
+ * @param buildUri -
512
+ * @param owner -
513
+ * @param tmiRunId -
514
+ * @param planId -
515
+ * @param includeRunDetails -
516
+ * @param automated -
517
+ * @param skip -
518
+ * @param top -
519
+ */
520
+ getTestRuns(project: string, buildUri?: string, owner?: string, tmiRunId?: string, planId?: number, includeRunDetails?: boolean, automated?: boolean, skip?: number, top?: number): Promise<Test.TestRun[]>;
521
+ /**
522
+ * Query Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate.
523
+ *
524
+ * @param project - Project ID or project name
525
+ * @param minLastUpdatedDate - Minimum Last Modified Date of run to be queried (Mandatory).
526
+ * @param maxLastUpdatedDate - Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
527
+ * @param state - Current state of the Runs to be queried.
528
+ * @param planIds - Plan Ids of the Runs to be queried, comma separated list of valid ids.
529
+ * @param isAutomated - Automation type of the Runs to be queried.
530
+ * @param publishContext - PublishContext of the Runs to be queried.
531
+ * @param buildIds - Build Ids of the Runs to be queried, comma separated list of valid ids.
532
+ * @param buildDefIds - Build Definition Ids of the Runs to be queried, comma separated list of valid ids.
533
+ * @param branchName - Source Branch name of the Runs to be queried.
534
+ * @param releaseIds - Release Ids of the Runs to be queried, comma separated list of valid ids.
535
+ * @param releaseDefIds - Release Definition Ids of the Runs to be queried, comma separated list of valid ids.
536
+ * @param releaseEnvIds - Release Environment Ids of the Runs to be queried, comma separated list of valid ids.
537
+ * @param releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids.
538
+ * @param runTitle - Run Title of the Runs to be queried.
539
+ * @param top - Number of runs to be queried. Limit is 100
540
+ * @param sortOrder - Sort order by LastUpdated for the test runs.
541
+ * @param continuationToken - continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
542
+ */
543
+ queryTestRuns(project: string, minLastUpdatedDate: Date, maxLastUpdatedDate: Date, state?: Test.TestRunState, planIds?: number[], isAutomated?: boolean, publishContext?: Test.TestRunPublishContext, buildIds?: number[], buildDefIds?: number[], branchName?: string, releaseIds?: number[], releaseDefIds?: number[], releaseEnvIds?: number[], releaseEnvDefIds?: number[], runTitle?: string, top?: number, sortOrder?: Test.TestRunSortOrderType, continuationToken?: string): Promise<WebApi.PagedList<Test.TestRun>>;
544
+ /**
545
+ * @param runUpdateModel -
546
+ * @param project - Project ID or project name
547
+ * @param runId -
548
+ */
549
+ updateTestRun(runUpdateModel: Test.RunUpdateModel, project: string, runId: number): Promise<Test.TestRun>;
550
+ /**
551
+ * Get test run summary, used when we want to get summary of a run by outcome. Test run should be in completed state.
552
+ *
553
+ * @param project - Project ID or project name
554
+ * @param runId - ID of the run to get.
555
+ */
556
+ getTestRunSummaryByOutcome(project: string, runId: number): Promise<Test.TestRunStatistic>;
557
+ /**
558
+ * Get TestResultsSettings data
559
+ *
560
+ * @param project - Project ID or project name
561
+ * @param settingsType -
562
+ */
563
+ getTestResultsSettings(project: string, settingsType?: Test.TestResultsSettingsType): Promise<Test.TestResultsSettings>;
564
+ /**
565
+ * Update project settings of test results
566
+ *
567
+ * @param testResultsUpdateSettings -
568
+ * @param project - Project ID or project name
569
+ */
570
+ updatePipelinesTestSettings(testResultsUpdateSettings: Test.TestResultsUpdateSettings, project: string): Promise<Test.TestResultsSettings>;
571
+ /**
572
+ * Gets the list of results whose failure matches with the provided one.
573
+ *
574
+ * @param project - Project ID or project name
575
+ * @param runId - id of test run
576
+ * @param testResultId - id of test result inside a test run
577
+ * @param testSubResultId - id of subresult inside a test result
578
+ * @param top - Maximum number of results to return
579
+ * @param continuationToken - Header to pass the continuationToken
580
+ */
581
+ getSimilarTestResults(project: string, runId: number, testResultId: number, testSubResultId: number, top?: number, continuationToken?: String): Promise<Test.TestCaseResult[]>;
582
+ /**
583
+ * Get test run statistics , used when we want to get summary of a run by outcome.
584
+ *
585
+ * @param project - Project ID or project name
586
+ * @param runId - ID of the run to get.
587
+ */
588
+ getTestRunStatistics(project: string, runId: number): Promise<Test.TestRunStatistic>;
589
+ /**
590
+ * \<p\>Gets the coverage status for the last successful build of a definition, optionally scoped to a specific branch\</p\>
591
+ *
592
+ * @param project - Project ID or project name
593
+ * @param definition - The ID or name of the definition.
594
+ * @param branchName - The branch name.
595
+ * @param label - The String to replace the default text on the left side of the badge.
596
+ */
597
+ getCoverageStatusBadge(project: string, definition: string, branchName?: string, label?: string): Promise<string>;
598
+ /**
599
+ * Get all the tags in a build.
600
+ *
601
+ * @param project - Project ID or project name
602
+ * @param buildId - Build ID
603
+ */
604
+ getTestTagsForBuild(project: string, buildId: number): Promise<Test.TestTag[]>;
605
+ /**
606
+ * Get all the tags in a release.
607
+ *
608
+ * @param project - Project ID or project name
609
+ * @param releaseId - Release ID
610
+ * @param releaseEnvId - Release environment ID
611
+ */
612
+ getTestTagsForRelease(project: string, releaseId: number, releaseEnvId: number): Promise<Test.TestTag[]>;
613
+ /**
614
+ * Update tags of a run, Tags can be Added and Deleted
615
+ *
616
+ * @param testTagsUpdateModel - TestTagsUpdateModel
617
+ * @param project - Project ID or project name
618
+ * @param runId - RunId of the run
619
+ */
620
+ updateTestRunTags(testTagsUpdateModel: Test.TestTagsUpdateModel, project: string, runId: number): Promise<Test.TestTag[]>;
621
+ /**
622
+ * Get all the tags in a build.
623
+ *
624
+ * @param project - Project ID or project name
625
+ * @param buildId - Build ID
626
+ */
627
+ getTestTagSummaryForBuild(project: string, buildId: number): Promise<Test.TestTagSummary>;
628
+ /**
629
+ * Get all the tags in a release.
630
+ *
631
+ * @param project - Project ID or project name
632
+ * @param releaseId - Release ID
633
+ * @param releaseEnvId - Release environment ID
634
+ */
635
+ getTestTagSummaryForRelease(project: string, releaseId: number, releaseEnvId: number): Promise<Test.TestTagSummary>;
636
+ /**
637
+ * @param request -
638
+ * @param project - Project ID or project name
639
+ */
640
+ callbackTestAgent(request: Test.TestAgentCallbackRequest, project: string): Promise<boolean>;
641
+ /**
642
+ * @param request -
643
+ * @param project - Project ID or project name
644
+ */
645
+ triggerTestAgent(request: Test.TestAgentTriggerRequest, project: string): Promise<boolean>;
646
+ /**
647
+ * OAuth callback endpoint. GitHub redirects here after user authorizes. Exchanges the authorization code for tokens and stores them in TCM StrongBox. Requires the callback URL to be registered in the GitHub OAuth App settings.
648
+ *
649
+ * @param project - Project ID or project name
650
+ * @param code - The authorization code returned by GitHub after user consent
651
+ */
652
+ completeGitHubAuth(project: string, code: string): Promise<string>;
653
+ /**
654
+ * Generates manual test plan from a work item using AI. If the user has no valid Copilot token, returns needsAuth=true with an authUrl instead of queuing the job.
655
+ *
656
+ * @param generateTestPlanFromWorkItemModel -
657
+ * @param project - Project ID or project name
658
+ * @param workItemId -
659
+ */
660
+ generateTestPlanFromWorkItem(generateTestPlanFromWorkItemModel: Test.GenerateTestPlanFromWorkItemModel, project: string, workItemId: number): Promise<boolean>;
661
+ /**
662
+ * Creates an attachment in the LogStore for the specified buildId.
663
+ *
664
+ * @param attachmentRequestModel - Contains attachment info like stream, filename, comment, attachmentType
665
+ * @param project - Project ID or project name
666
+ * @param buildId - BuildId
667
+ */
668
+ createBuildAttachmentInLogStore(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, buildId: number): Promise<void>;
669
+ /**
670
+ * Creates an attachment in the LogStore for the specified runId.
671
+ *
672
+ * @param attachmentRequestModel - Contains attachment info like stream, filename, comment, attachmentType
673
+ * @param project - Project ID or project name
674
+ * @param runId - Test RunId
675
+ */
676
+ createTestRunLogStoreAttachment(attachmentRequestModel: Test.TestAttachmentRequestModel, project: string, runId: number): Promise<Test.TestLogStoreAttachmentReference>;
677
+ /**
678
+ * Deletes the attachment with the specified filename for the specified runId from the LogStore.
679
+ *
680
+ * @param project - Project ID or project name
681
+ * @param runId - Test RunId
682
+ * @param filename - Attachment FileName
683
+ */
684
+ deleteTestRunLogStoreAttachment(project: string, runId: number, filename: string): Promise<void>;
685
+ /**
686
+ * Returns the attachment with the specified filename for the specified runId from the LogStore.
687
+ *
688
+ * @param project - Project ID or project name
689
+ * @param runId - Test RunId
690
+ * @param filename - Attachment FileName
691
+ */
692
+ getTestRunLogStoreAttachmentContent(project: string, runId: number, filename: string): Promise<ArrayBuffer>;
693
+ /**
694
+ * Returns a list of attachments for the specified runId from the LogStore.
695
+ *
696
+ * @param project - Project ID or project name
697
+ * @param runId - Test RunId
698
+ */
699
+ getTestRunLogStoreAttachments(project: string, runId: number): Promise<Test.TestLogStoreAttachment[]>;
700
+ /**
701
+ * Returns the attachment with the specified filename for the specified runId from the LogStore.
702
+ *
703
+ * @param project - Project ID or project name
704
+ * @param runId - Test RunId
705
+ * @param filename - Attachment FileName
706
+ */
707
+ getTestRunLogStoreAttachmentZip(project: string, runId: number, filename: string): Promise<ArrayBuffer>;
708
+ /**
709
+ * Creates a new test failure type
710
+ *
711
+ * @param testResultFailureType -
712
+ * @param project - Project ID or project name
713
+ */
714
+ createFailureType(testResultFailureType: Test.TestResultFailureTypeRequestModel, project: string): Promise<Test.TestResultFailureType>;
715
+ /**
716
+ * Deletes a test failure type with specified failureTypeId
717
+ *
718
+ * @param project - Project ID or project name
719
+ * @param failureTypeId -
720
+ */
721
+ deleteFailureType(project: string, failureTypeId: number): Promise<void>;
722
+ /**
723
+ * Returns the list of test failure types.
724
+ *
725
+ * @param project - Project ID or project name
726
+ */
727
+ getFailureTypes(project: string): Promise<Test.TestResultFailureType[]>;
728
+ /**
729
+ * Get history of a test method using TestHistoryQuery
730
+ *
731
+ * @param filter - TestHistoryQuery to get history
732
+ * @param project - Project ID or project name
733
+ */
734
+ queryTestHistory(filter: Test.TestHistoryQuery, project: string): Promise<Test.TestHistoryQuery>;
735
+ /**
736
+ * Get list of build attachments reference
737
+ *
738
+ * @param project - Project ID or project name
739
+ * @param buildId - Id of the build to get
740
+ * @param type - type of the attachment to get
741
+ * @param directoryPath - directory path for which attachments are needed
742
+ * @param fileNamePrefix - file name prefix to filter the list of attachment
743
+ * @param fetchMetaData - Default is false, set if metadata is needed
744
+ * @param top - Number of test attachments reference to return
745
+ * @param continuationToken - Header to pass the continuationToken
746
+ */
747
+ getTestLogsForBuild(project: string, buildId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
748
+ /**
749
+ * Get list of test result attachments reference
750
+ *
751
+ * @param project - Project ID or project name
752
+ * @param runId - Id of the test run that contains the result
753
+ * @param resultId - Id of the test result
754
+ * @param type - type of attachments to get
755
+ * @param directoryPath - directory path of attachments to get
756
+ * @param fileNamePrefix - file name prefix to filter the list of attachment
757
+ * @param fetchMetaData - Default is false, set if metadata is needed
758
+ * @param top - Numbe of attachments reference to return
759
+ * @param continuationToken - Header to pass the continuationToken
760
+ */
761
+ getTestResultLogs(project: string, runId: number, resultId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
762
+ /**
763
+ * Get list of test subresult attachments reference
764
+ *
765
+ * @param project - Project ID or project name
766
+ * @param runId - Id of the test run that contains the results
767
+ * @param resultId - Id of the test result that contains subresult
768
+ * @param subResultId - Id of the test subresult
769
+ * @param type - type of the attachments to get
770
+ * @param directoryPath - directory path of the attachment to get
771
+ * @param fileNamePrefix - file name prefix to filter the list of attachments
772
+ * @param fetchMetaData - Default is false, set if metadata is needed
773
+ * @param top - Number of attachments reference to return
774
+ * @param continuationToken - Header to pass the continuationToken
775
+ */
776
+ getTestSubResultLogs(project: string, runId: number, resultId: number, subResultId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
777
+ /**
778
+ * Get list of test run attachments reference
779
+ *
780
+ * @param project - Project ID or project name
781
+ * @param runId - Id of the test run
782
+ * @param type - type of the attachments to get
783
+ * @param directoryPath - directory path for which attachments are needed
784
+ * @param fileNamePrefix - file name prefix to filter the list of attachment
785
+ * @param fetchMetaData - Default is false, set if metadata is needed
786
+ * @param top - Number of attachments reference to return
787
+ * @param continuationToken - Header to pass the continuationToken
788
+ */
789
+ getTestRunLogs(project: string, runId: number, type: Test.TestLogType, directoryPath?: string, fileNamePrefix?: string, fetchMetaData?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestLog>>;
790
+ /**
791
+ * Get SAS Uri of a build attachment
792
+ *
793
+ * @param project - Project ID or project name
794
+ * @param build - Id of the build to get
795
+ * @param type - type of the file
796
+ * @param filePath - filePath for which sas uri is needed
797
+ */
798
+ getTestLogStoreEndpointDetailsForBuildLog(project: string, build: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
799
+ /**
800
+ * Create and Get sas uri of the build container
801
+ *
802
+ * @param project - Project ID or project name
803
+ * @param buildId - Id of the build to get
804
+ * @param testLogStoreOperationType - Type of operation to perform using sas uri
805
+ */
806
+ testLogStoreEndpointDetailsForBuild(project: string, buildId: number, testLogStoreOperationType: Test.TestLogStoreOperationType): Promise<Test.TestLogStoreEndpointDetails>;
807
+ /**
808
+ * Get SAS Uri of a test results attachment
809
+ *
810
+ * @param project - Project ID or project name
811
+ * @param runId - Id of the test run that contains result
812
+ * @param resultId - Id of the test result whose files need to be downloaded
813
+ * @param type - type of the file
814
+ * @param filePath - filePath for which sas uri is needed
815
+ */
816
+ getTestLogStoreEndpointDetailsForResultLog(project: string, runId: number, resultId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
817
+ /**
818
+ * Get SAS Uri of a test subresults attachment
819
+ *
820
+ * @param project - Project ID or project name
821
+ * @param runId - Id of the test run that contains result
822
+ * @param resultId - Id of the test result that contains subresult
823
+ * @param subResultId - Id of the test subresult whose file sas uri is needed
824
+ * @param type - type of the file
825
+ * @param filePath - filePath for which sas uri is needed
826
+ */
827
+ getTestLogStoreEndpointDetailsForSubResultLog(project: string, runId: number, resultId: number, subResultId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
828
+ /**
829
+ * Create empty file for a result and Get Sas uri for the file
830
+ *
831
+ * @param project - Project ID or project name
832
+ * @param runId - Id of the test run that contains the result
833
+ * @param resultId - Id of the test results that contains sub result
834
+ * @param subResultId - Id of the test sub result whose file sas uri is needed
835
+ * @param filePath - file path inside the sub result for which sas uri is needed
836
+ * @param type - Type of the file for download
837
+ */
838
+ testLogStoreEndpointDetailsForResult(project: string, runId: number, resultId: number, subResultId: number, filePath: string, type: Test.TestLogType): Promise<Test.TestLogStoreEndpointDetails>;
839
+ /**
840
+ * Get SAS Uri of a test run attachment
841
+ *
842
+ * @param project - Project ID or project name
843
+ * @param runId - Id of the test run whose file has to be downloaded
844
+ * @param type - type of the file
845
+ * @param filePath - filePath for which sas uri is needed
846
+ */
847
+ getTestLogStoreEndpointDetailsForRunLog(project: string, runId: number, type: Test.TestLogType, filePath: string): Promise<Test.TestLogStoreEndpointDetails>;
848
+ /**
849
+ * Create empty file for a run and Get Sas uri for the file
850
+ *
851
+ * @param project - Project ID or project name
852
+ * @param runId - Id of the run to get endpoint details
853
+ * @param testLogStoreOperationType - Type of operation to perform using sas uri
854
+ * @param filePath - file path to create an empty file
855
+ * @param type - Default is GeneralAttachment, type of empty file to be created
856
+ */
857
+ testLogStoreEndpointDetailsForRun(project: string, runId: number, testLogStoreOperationType: Test.TestLogStoreOperationType, filePath?: string, type?: Test.TestLogType): Promise<Test.TestLogStoreEndpointDetails>;
858
+ /**
859
+ * Creates TestResultsSession object in TCM data store
860
+ *
861
+ * @param session - Received session object.
862
+ * @param project - Project ID or project name
863
+ */
864
+ createTestSession(session: Test.TestResultsSession, project: string): Promise<number>;
865
+ /**
866
+ * Retrieves TestResultsSession metadata object in TCM data store
867
+ *
868
+ * @param project - Project ID or project name
869
+ * @param buildId -
870
+ */
871
+ getTestSession(project: string, buildId: number): Promise<Test.TestResultsSession[]>;
872
+ /**
873
+ * Retrieves TestResultsSession Layout object in TCM data store
874
+ *
875
+ * @param project - Project ID or project name
876
+ * @param sessionId -
877
+ */
878
+ getTestSessionLayout(project: string, sessionId: string): Promise<any[]>;
879
+ /**
880
+ * Updates Test session object associated to a sessionId
881
+ *
882
+ * @param session - Update Session object
883
+ * @param project - Project ID or project name
884
+ * @param sessionId - Id of TestResults session to update Test session object for.
885
+ */
886
+ updateTestSession(session: Test.TestResultsSession, project: string, sessionId: number): Promise<number>;
887
+ /**
888
+ * Creates Session Analysis object in TCM data store for a given session
889
+ *
890
+ * @param analysis - Session Analysis details
891
+ * @param project - Project ID or project name
892
+ * @param sessionId - ID of Session to add Notification
893
+ */
894
+ createAnalysis(analysis: Test.TestSessionAnalysis[], project: string, sessionId: number): Promise<Test.AnalysisFailureGroupReturn[]>;
895
+ /**
896
+ * Creates Environment object in TCM data store
897
+ *
898
+ * @param environments - Received Environment object.
899
+ * @param project - Project ID or project name
900
+ */
901
+ createEnvironment(environments: Test.TestSessionEnvironment[], project: string): Promise<void>;
902
+ /**
903
+ * For the provided sessionId, creates environment, configuration, and machine objects in TCM data store
904
+ *
905
+ * @param sessionEnvironmentAndMachine -
906
+ * @param project - Project ID or project name
907
+ * @param sessionId -
908
+ */
909
+ createEnvironmentAndMachine(sessionEnvironmentAndMachine: Test.SessionEnvironmentAndMachine, project: string, sessionId: number): Promise<void>;
910
+ /**
911
+ * Retrieves TestResultsSession Layout object in TCM data store
912
+ *
913
+ * @param project - Project ID or project name
914
+ * @param sessionId - Retrieve session object.
915
+ */
916
+ getTestSessionLayoutBySessionId(project: string, sessionId: number): Promise<any[]>;
917
+ /**
918
+ * Creates Notification object in TCM data store for a given session
919
+ *
920
+ * @param notifications - Notification(s) to add for the specified sessionId
921
+ * @param project - Project ID or project name
922
+ * @param sessionId - ID of Session to add Notification
923
+ */
924
+ createNotification(notifications: Test.TestSessionNotification[], project: string, sessionId: number): Promise<number[]>;
925
+ /**
926
+ * Retrieves TestResultsSession Notification objects in TCM data store
927
+ *
928
+ * @param project - Project ID or project name
929
+ * @param sessionId - Id of TestResults session to obtain Notifications for.
930
+ */
931
+ getSessionNotifications(project: string, sessionId: number): Promise<Test.TestSessionNotification[]>;
932
+ /**
933
+ * Add Test Results to test run session
934
+ *
935
+ * @param results -
936
+ * @param project - Project ID or project name
937
+ * @param runId - RunId of test run
938
+ */
939
+ addTestResultsToTestRunSession(results: Test.TestCaseResult[], project: string, runId: number): Promise<Test.TestCaseResult[]>;
940
+ /**
941
+ * @param project - Project ID or project name
942
+ * @param runId -
943
+ * @param detailsToInclude -
944
+ * @param skip -
945
+ * @param top -
946
+ * @param outcomes -
947
+ * @param newTestsOnly -
948
+ */
949
+ getTestSessionResults(project: string, runId: number, detailsToInclude?: Test.ResultDetails, skip?: number, top?: number, outcomes?: Test.TestOutcome[], newTestsOnly?: boolean): Promise<Test.TestCaseResult[]>;
950
+ /**
951
+ * Creates TestResultsMRX objects in TCM data store for existing test results
952
+ *
953
+ * @param results - Results object with only test results MRX properties and existing testResultId
954
+ * @param project - Project ID or project name
955
+ * @param runId - RunId of test run
956
+ */
957
+ updateTestResultsToTestRunSession(results: Test.TestCaseResult[], project: string, runId: number): Promise<number[]>;
958
+ /**
959
+ * Creates test result machines for the provided TestRunId
960
+ *
961
+ * @param testResultMachines - List of machines for test results in the run
962
+ * @param project - Project ID or project name
963
+ * @param runId - ID of the TestRun to add machines for
964
+ */
965
+ createTestResultMachines(testResultMachines: Test.TestResultMachine[], project: string, runId: number): Promise<void>;
966
+ /**
967
+ * Gets test result machines for the provided TestRunId
968
+ *
969
+ * @param project - Project ID or project name
970
+ * @param runId - ID of the TestRun to add machines for
971
+ */
972
+ getTestResultMachines(project: string, runId: number): Promise<Test.TestResultMachine[]>;
973
+ /**
974
+ * Gets full TestCaseResult objects with 1MRX details for the provided pipelineId
975
+ *
976
+ * @param project - Project ID or project name
977
+ * @param pipelineId - Pipeline Id. This is same as build Id.
978
+ * @param stageName - Name of the stage. Maximum supported length for name is 256 character.
979
+ * @param phaseName - Name of the phase. Maximum supported length for name is 256 character.
980
+ * @param jobName - Matrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
981
+ * @param outcomes - List of outcome of results
982
+ * @param includeAllBuildRuns - Whether to include Test Runs from from all the build runs or not. Defaults to false.
983
+ * @param top - Maximum number of results to return. Defaults to 10000.
984
+ * @param continuationToken - Header to pass the continuationToken
985
+ */
986
+ getTestResultsByPipelineMRX(project: string, pipelineId: number, stageName?: string, phaseName?: string, jobName?: string, outcomes?: Test.TestOutcome[], includeAllBuildRuns?: boolean, top?: number, continuationToken?: String): Promise<WebApi.PagedList<Test.TestCaseResult>>;
987
+ /**
988
+ * Retrieves Test runs associated to a session
989
+ *
990
+ * @param project - Project ID or project name
991
+ * @param sessionId - Id of TestResults session to obtain Test Runs for.
992
+ */
993
+ getTestRunsBySessionId(project: string, sessionId: number): Promise<number[]>;
994
+ /**
995
+ * Updates Test runs associated to a session
996
+ *
997
+ * @param testRunIds -
998
+ * @param project - Project ID or project name
999
+ * @param sessionId - Id of TestResults session to update Test Runs for.
1000
+ */
1001
+ updateTestRunsBySessionId(testRunIds: Test.TestSessionTestRun, project: string, sessionId: number): Promise<number[]>;
1002
+ /**
1003
+ * @param testSettings -
1004
+ * @param project - Project ID or project name
1005
+ */
1006
+ createTestSettings(testSettings: Test.TestSettings, project: string): Promise<number>;
1007
+ /**
1008
+ * @param project - Project ID or project name
1009
+ * @param testSettingsId -
1010
+ */
1011
+ deleteTestSettings(project: string, testSettingsId: number): Promise<void>;
1012
+ /**
1013
+ * @param project - Project ID or project name
1014
+ * @param testSettingsId -
1015
+ */
1016
+ getTestSettingsById(project: string, testSettingsId: number): Promise<Test.TestSettings>;
1017
+ /**
1018
+ * Calculate Test Weighted Score for given comman separated list of Test Runs Ids.
1019
+ *
1020
+ * @param project - Project ID or project name
1021
+ * @param runIds - Comman Separated Test Run Ids. Maximum 100 supported.
1022
+ * @param includeAllOutcomes - Include all test results outcome for TWS Calculation. By default, false is considered
1023
+ * @param onlyFlakyResults - Option to return only flaky test results identified as flaky. By default, true is passed
1024
+ */
1025
+ getTestWeightedScoreByTestRun(project: string, runIds: string, includeAllOutcomes?: boolean, onlyFlakyResults?: boolean): Promise<Test.TestCaseResult[]>;
1026
+ /**
1027
+ * @param workItemToTestLinks -
1028
+ * @param project - Project ID or project name
1029
+ */
1030
+ addWorkItemToTestLinks(workItemToTestLinks: Test.WorkItemToTestLinks, project: string): Promise<Test.WorkItemToTestLinks>;
1031
+ /**
1032
+ * @param project - Project ID or project name
1033
+ * @param testName -
1034
+ * @param workItemId -
1035
+ */
1036
+ deleteTestMethodToWorkItemLink(project: string, testName: string, workItemId: number): Promise<boolean>;
1037
+ /**
1038
+ * @param project - Project ID or project name
1039
+ * @param testName -
1040
+ */
1041
+ queryTestMethodLinkedWorkItems(project: string, testName: string): Promise<Test.TestToWorkItemLinks>;
1042
+ /**
1043
+ * @param project - Project ID or project name
1044
+ * @param runId -
1045
+ * @param testCaseResultId -
1046
+ */
1047
+ getTestResultWorkItemsById(project: string, runId: number, testCaseResultId: number): Promise<Test.WorkItemReference[]>;
1048
+ /**
1049
+ * Query Test Result WorkItems based on filter
1050
+ *
1051
+ * @param project - Project ID or project name
1052
+ * @param workItemCategory - can take values Microsoft.BugCategory or all(for getting all workitems)
1053
+ * @param automatedTestName -
1054
+ * @param testCaseId -
1055
+ * @param maxCompleteDate -
1056
+ * @param days -
1057
+ * @param workItemCount -
1058
+ */
1059
+ queryTestResultWorkItems(project: string, workItemCategory: string, automatedTestName?: string, testCaseId?: number, maxCompleteDate?: Date, days?: number, workItemCount?: number): Promise<Test.WorkItemReference[]>;
1060
+ }