azure-devops-extension-api 4.247.0 → 4.248.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (563) hide show
  1. package/{bin/Alert → Alert}/Alert.d.ts +12 -2
  2. package/{bin/Alert → Alert}/Alert.js +11 -0
  3. package/Alert/Alert.min.js +1 -0
  4. package/{bin/Alert → Alert}/AlertClient.d.ts +2 -1
  5. package/{bin/Alert → Alert}/AlertClient.js +3 -1
  6. package/Alert/AlertClient.min.js +1 -0
  7. package/{bin/Gallery → Gallery}/GalleryClient.d.ts +7 -5
  8. package/{bin/Gallery → Gallery}/GalleryClient.js +20 -19
  9. package/Gallery/GalleryClient.min.js +1 -0
  10. package/{bin/Git → Git}/Git.d.ts +4 -0
  11. package/{bin/Management → Management}/Management.d.ts +8 -0
  12. package/{bin/Release → Release}/ReleaseClient.d.ts +4 -2
  13. package/{bin/Release → Release}/ReleaseClient.js +8 -4
  14. package/Release/ReleaseClient.min.js +1 -0
  15. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.d.ts +4 -0
  16. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.d.ts +3 -2
  17. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.js +5 -3
  18. package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
  19. package/{bin/TestResults → TestResults}/TestResultsClient.d.ts +24 -1
  20. package/{bin/TestResults → TestResults}/TestResultsClient.js +84 -10
  21. package/TestResults/TestResultsClient.min.js +1 -0
  22. package/package.json +1 -1
  23. package/SECURITY.md +0 -41
  24. package/bin/Alert/Alert.min.js +0 -1
  25. package/bin/Alert/AlertClient.min.js +0 -1
  26. package/bin/Gallery/GalleryClient.min.js +0 -1
  27. package/bin/LICENSE +0 -21
  28. package/bin/README.md +0 -2
  29. package/bin/Release/ReleaseClient.min.js +0 -1
  30. package/bin/ServiceEndpoint/ServiceEndpointClient.min.js +0 -1
  31. package/bin/TestResults/TestResultsClient.min.js +0 -1
  32. package/bin/package.json +0 -37
  33. package/buildpackage.js +0 -80
  34. package/src/Accounts/Accounts.ts +0 -134
  35. package/src/Accounts/AccountsClient.ts +0 -83
  36. package/src/Accounts/index.ts +0 -2
  37. package/src/AdvancedSecurity.Reporting/Reporting.ts +0 -180
  38. package/src/AdvancedSecurity.Reporting/ReportingClient.ts +0 -47
  39. package/src/Alert/Alert.ts +0 -1037
  40. package/src/Alert/AlertClient.ts +0 -330
  41. package/src/Boards/Boards.ts +0 -684
  42. package/src/Boards/BoardsClient.ts +0 -593
  43. package/src/Boards/index.ts +0 -2
  44. package/src/Build/Build.ts +0 -3416
  45. package/src/Build/BuildClient.ts +0 -2740
  46. package/src/Build/BuildServices.ts +0 -39
  47. package/src/Build/index.ts +0 -3
  48. package/src/Comments/Comments.ts +0 -330
  49. package/src/Comments/index.ts +0 -1
  50. package/src/Common/Client.ts +0 -37
  51. package/src/Common/CommonServices.ts +0 -853
  52. package/src/Common/Context.d.ts +0 -46
  53. package/src/Common/Fetch.ts +0 -239
  54. package/src/Common/RestClientBase.ts +0 -186
  55. package/src/Common/System.ts +0 -36
  56. package/src/Common/SystemData.ts +0 -135
  57. package/src/Common/Util/Serialization.ts +0 -59
  58. package/src/Common/Util/Url.ts +0 -773
  59. package/src/Common/index.ts +0 -3
  60. package/src/Contributions/Contributions.ts +0 -708
  61. package/src/Contributions/ContributionsClient.ts +0 -109
  62. package/src/Contributions/index.ts +0 -2
  63. package/src/Core/Core.ts +0 -579
  64. package/src/Core/CoreClient.ts +0 -765
  65. package/src/Core/index.ts +0 -2
  66. package/src/Dashboard/Dashboard.ts +0 -419
  67. package/src/Dashboard/DashboardClient.ts +0 -370
  68. package/src/Dashboard/WidgetConfigHelpers.ts +0 -43
  69. package/src/Dashboard/WidgetContracts.ts +0 -226
  70. package/src/Dashboard/WidgetHelpers.ts +0 -145
  71. package/src/Dashboard/index.ts +0 -5
  72. package/src/DistributedTaskCommon/DistributedTaskCommon.ts +0 -108
  73. package/src/DistributedTaskCommon/index.ts +0 -1
  74. package/src/ExtensionManagement/ExtensionManagement.ts +0 -1205
  75. package/src/ExtensionManagement/ExtensionManagementClient.ts +0 -646
  76. package/src/ExtensionManagement/index.ts +0 -2
  77. package/src/Favorite/Favorite.ts +0 -136
  78. package/src/Favorite/FavoriteClient.ts +0 -301
  79. package/src/FeatureAvailability/FeatureAvailability.ts +0 -20
  80. package/src/FeatureAvailability/FeatureAvailabilityClient.ts +0 -153
  81. package/src/FeatureAvailability/index.ts +0 -2
  82. package/src/FeatureManagement/FeatureManagement.ts +0 -166
  83. package/src/FeatureManagement/FeatureManagementClient.ts +0 -246
  84. package/src/FeatureManagement/index.ts +0 -2
  85. package/src/FileContainer/FileContainer.ts +0 -205
  86. package/src/FileContainer/FileContainerClient.ts +0 -154
  87. package/src/FileContainer/index.ts +0 -2
  88. package/src/FormInput/FormInput.ts +0 -288
  89. package/src/FormInput/index.ts +0 -1
  90. package/src/Gallery/Gallery.ts +0 -1977
  91. package/src/Gallery/GalleryClient.ts +0 -2251
  92. package/src/Gallery/index.ts +0 -2
  93. package/src/Git/CodeEditorTypes.ts +0 -335
  94. package/src/Git/Git.ts +0 -4058
  95. package/src/Git/GitClient.ts +0 -4750
  96. package/src/Git/GitServices.ts +0 -18
  97. package/src/Git/index.ts +0 -4
  98. package/src/Graph/Graph.ts +0 -572
  99. package/src/Graph/GraphClient.ts +0 -846
  100. package/src/Graph/index.ts +0 -2
  101. package/src/Identities/Identities.ts +0 -261
  102. package/src/Identities/IdentityProvider.ts +0 -90
  103. package/src/Identities/IdentityService.ts +0 -89
  104. package/src/Identities/index.ts +0 -3
  105. package/src/Locations/Locations.ts +0 -165
  106. package/src/Locations/LocationsClient.ts +0 -220
  107. package/src/Locations/index.ts +0 -2
  108. package/src/Management/Management.ts +0 -172
  109. package/src/Management/ManagementClient.ts +0 -348
  110. package/src/Notification/Notification.ts +0 -1460
  111. package/src/Notification/NotificationClient.ts +0 -477
  112. package/src/Notification/index.ts +0 -2
  113. package/src/Operations/Operations.ts +0 -86
  114. package/src/Operations/OperationsClient.ts +0 -42
  115. package/src/Operations/index.ts +0 -2
  116. package/src/Pipelines/Pipelines.ts +0 -354
  117. package/src/Pipelines/PipelinesClient.ts +0 -306
  118. package/src/Policy/Policy.ts +0 -173
  119. package/src/Policy/PolicyClient.ts +0 -315
  120. package/src/Policy/index.ts +0 -2
  121. package/src/Profile/Profile.ts +0 -187
  122. package/src/Profile/ProfileClient.ts +0 -328
  123. package/src/Profile/index.ts +0 -2
  124. package/src/ProjectAnalysis/ProjectAnalysis.ts +0 -74
  125. package/src/ProjectAnalysis/ProjectAnalysisClient.ts +0 -124
  126. package/src/ProjectAnalysis/index.ts +0 -2
  127. package/src/Release/Release.ts +0 -4237
  128. package/src/Release/ReleaseClient.ts +0 -2450
  129. package/src/Release/index.ts +0 -2
  130. package/src/ResourceUsage/ResourceUsage.ts +0 -19
  131. package/src/ResourceUsage/ResourceUsageClient.ts +0 -48
  132. package/src/ServiceEndpoint/ServiceEndpoint.ts +0 -930
  133. package/src/ServiceEndpoint/ServiceEndpointClient.ts +0 -617
  134. package/src/ServiceEndpoint/index.ts +0 -2
  135. package/src/ServiceHooks/ServiceHooks.ts +0 -759
  136. package/src/ServiceHooks/ServiceHooksClient.ts +0 -499
  137. package/src/ServiceHooks/index.ts +0 -2
  138. package/src/TaskAgent/TaskAgent.ts +0 -3896
  139. package/src/TaskAgent/TaskAgentClient.ts +0 -3918
  140. package/src/TaskAgent/index.ts +0 -2
  141. package/src/Test/Test.ts +0 -5853
  142. package/src/Test/TestClient.ts +0 -2201
  143. package/src/Test/index.ts +0 -2
  144. package/src/TestPlan/TestPlan.ts +0 -1384
  145. package/src/TestPlan/TestPlanClient.ts +0 -1367
  146. package/src/TestPlan/index.ts +0 -2
  147. package/src/TestResults/TestResults.ts +0 -11
  148. package/src/TestResults/TestResultsClient.ts +0 -3450
  149. package/src/TestResults/index.ts +0 -2
  150. package/src/Tfvc/Tfvc.ts +0 -770
  151. package/src/Tfvc/TfvcClient.ts +0 -757
  152. package/src/Tfvc/index.ts +0 -2
  153. package/src/WebApi/WebApi.ts +0 -452
  154. package/src/WebApi/index.ts +0 -1
  155. package/src/Wiki/Wiki.ts +0 -352
  156. package/src/Wiki/WikiClient.ts +0 -712
  157. package/src/Wiki/index.ts +0 -2
  158. package/src/Work/Work.ts +0 -1367
  159. package/src/Work/WorkClient.ts +0 -1489
  160. package/src/Work/index.ts +0 -2
  161. package/src/WorkItemTracking/WorkItemTracking.ts +0 -2215
  162. package/src/WorkItemTracking/WorkItemTrackingClient.ts +0 -2032
  163. package/src/WorkItemTracking/WorkItemTrackingServices.ts +0 -329
  164. package/src/WorkItemTracking/index.ts +0 -3
  165. package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +0 -1295
  166. package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +0 -1455
  167. package/src/WorkItemTrackingProcess/index.ts +0 -2
  168. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +0 -606
  169. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +0 -1175
  170. package/src/WorkItemTrackingProcessDefinitions/index.ts +0 -2
  171. package/src/index.ts +0 -1
  172. package/tsconfig.json +0 -21
  173. /package/{bin/Accounts → Accounts}/Accounts.d.ts +0 -0
  174. /package/{bin/Accounts → Accounts}/Accounts.js +0 -0
  175. /package/{bin/Accounts → Accounts}/Accounts.min.js +0 -0
  176. /package/{bin/Accounts → Accounts}/AccountsClient.d.ts +0 -0
  177. /package/{bin/Accounts → Accounts}/AccountsClient.js +0 -0
  178. /package/{bin/Accounts → Accounts}/AccountsClient.min.js +0 -0
  179. /package/{bin/Accounts → Accounts}/index.d.ts +0 -0
  180. /package/{bin/Accounts → Accounts}/index.js +0 -0
  181. /package/{bin/Accounts → Accounts}/index.min.js +0 -0
  182. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.d.ts +0 -0
  183. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.js +0 -0
  184. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.min.js +0 -0
  185. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
  186. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
  187. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
  188. /package/{bin/Boards → Boards}/Boards.d.ts +0 -0
  189. /package/{bin/Boards → Boards}/Boards.js +0 -0
  190. /package/{bin/Boards → Boards}/Boards.min.js +0 -0
  191. /package/{bin/Boards → Boards}/BoardsClient.d.ts +0 -0
  192. /package/{bin/Boards → Boards}/BoardsClient.js +0 -0
  193. /package/{bin/Boards → Boards}/BoardsClient.min.js +0 -0
  194. /package/{bin/Boards → Boards}/index.d.ts +0 -0
  195. /package/{bin/Boards → Boards}/index.js +0 -0
  196. /package/{bin/Boards → Boards}/index.min.js +0 -0
  197. /package/{bin/Build → Build}/Build.d.ts +0 -0
  198. /package/{bin/Build → Build}/Build.js +0 -0
  199. /package/{bin/Build → Build}/Build.min.js +0 -0
  200. /package/{bin/Build → Build}/BuildClient.d.ts +0 -0
  201. /package/{bin/Build → Build}/BuildClient.js +0 -0
  202. /package/{bin/Build → Build}/BuildClient.min.js +0 -0
  203. /package/{bin/Build → Build}/BuildServices.d.ts +0 -0
  204. /package/{bin/Build → Build}/BuildServices.js +0 -0
  205. /package/{bin/Build → Build}/BuildServices.min.js +0 -0
  206. /package/{bin/Build → Build}/index.d.ts +0 -0
  207. /package/{bin/Build → Build}/index.js +0 -0
  208. /package/{bin/Build → Build}/index.min.js +0 -0
  209. /package/{bin/Comments → Comments}/Comments.d.ts +0 -0
  210. /package/{bin/Comments → Comments}/Comments.js +0 -0
  211. /package/{bin/Comments → Comments}/Comments.min.js +0 -0
  212. /package/{bin/Comments → Comments}/index.d.ts +0 -0
  213. /package/{bin/Comments → Comments}/index.js +0 -0
  214. /package/{bin/Comments → Comments}/index.min.js +0 -0
  215. /package/{bin/Common → Common}/Client.d.ts +0 -0
  216. /package/{bin/Common → Common}/Client.js +0 -0
  217. /package/{bin/Common → Common}/Client.min.js +0 -0
  218. /package/{bin/Common → Common}/CommonServices.d.ts +0 -0
  219. /package/{bin/Common → Common}/CommonServices.js +0 -0
  220. /package/{bin/Common → Common}/CommonServices.min.js +0 -0
  221. /package/{bin/Common → Common}/Context.d.ts +0 -0
  222. /package/{bin/Common → Common}/Fetch.d.ts +0 -0
  223. /package/{bin/Common → Common}/Fetch.js +0 -0
  224. /package/{bin/Common → Common}/Fetch.min.js +0 -0
  225. /package/{bin/Common → Common}/RestClientBase.d.ts +0 -0
  226. /package/{bin/Common → Common}/RestClientBase.js +0 -0
  227. /package/{bin/Common → Common}/RestClientBase.min.js +0 -0
  228. /package/{bin/Common → Common}/System.d.ts +0 -0
  229. /package/{bin/Common → Common}/System.js +0 -0
  230. /package/{bin/Common → Common}/System.min.js +0 -0
  231. /package/{bin/Common → Common}/SystemData.d.ts +0 -0
  232. /package/{bin/Common → Common}/SystemData.js +0 -0
  233. /package/{bin/Common → Common}/SystemData.min.js +0 -0
  234. /package/{bin/Common → Common}/Util/Serialization.d.ts +0 -0
  235. /package/{bin/Common → Common}/Util/Serialization.js +0 -0
  236. /package/{bin/Common → Common}/Util/Serialization.min.js +0 -0
  237. /package/{bin/Common → Common}/Util/Url.d.ts +0 -0
  238. /package/{bin/Common → Common}/Util/Url.js +0 -0
  239. /package/{bin/Common → Common}/Util/Url.min.js +0 -0
  240. /package/{bin/Common → Common}/index.d.ts +0 -0
  241. /package/{bin/Common → Common}/index.js +0 -0
  242. /package/{bin/Common → Common}/index.min.js +0 -0
  243. /package/{bin/Contributions → Contributions}/Contributions.d.ts +0 -0
  244. /package/{bin/Contributions → Contributions}/Contributions.js +0 -0
  245. /package/{bin/Contributions → Contributions}/Contributions.min.js +0 -0
  246. /package/{bin/Contributions → Contributions}/ContributionsClient.d.ts +0 -0
  247. /package/{bin/Contributions → Contributions}/ContributionsClient.js +0 -0
  248. /package/{bin/Contributions → Contributions}/ContributionsClient.min.js +0 -0
  249. /package/{bin/Contributions → Contributions}/index.d.ts +0 -0
  250. /package/{bin/Contributions → Contributions}/index.js +0 -0
  251. /package/{bin/Contributions → Contributions}/index.min.js +0 -0
  252. /package/{bin/Core → Core}/Core.d.ts +0 -0
  253. /package/{bin/Core → Core}/Core.js +0 -0
  254. /package/{bin/Core → Core}/Core.min.js +0 -0
  255. /package/{bin/Core → Core}/CoreClient.d.ts +0 -0
  256. /package/{bin/Core → Core}/CoreClient.js +0 -0
  257. /package/{bin/Core → Core}/CoreClient.min.js +0 -0
  258. /package/{bin/Core → Core}/index.d.ts +0 -0
  259. /package/{bin/Core → Core}/index.js +0 -0
  260. /package/{bin/Core → Core}/index.min.js +0 -0
  261. /package/{bin/Dashboard → Dashboard}/Dashboard.d.ts +0 -0
  262. /package/{bin/Dashboard → Dashboard}/Dashboard.js +0 -0
  263. /package/{bin/Dashboard → Dashboard}/Dashboard.min.js +0 -0
  264. /package/{bin/Dashboard → Dashboard}/DashboardClient.d.ts +0 -0
  265. /package/{bin/Dashboard → Dashboard}/DashboardClient.js +0 -0
  266. /package/{bin/Dashboard → Dashboard}/DashboardClient.min.js +0 -0
  267. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.d.ts +0 -0
  268. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.js +0 -0
  269. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.min.js +0 -0
  270. /package/{bin/Dashboard → Dashboard}/WidgetContracts.d.ts +0 -0
  271. /package/{bin/Dashboard → Dashboard}/WidgetContracts.js +0 -0
  272. /package/{bin/Dashboard → Dashboard}/WidgetContracts.min.js +0 -0
  273. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.d.ts +0 -0
  274. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.js +0 -0
  275. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.min.js +0 -0
  276. /package/{bin/Dashboard → Dashboard}/index.d.ts +0 -0
  277. /package/{bin/Dashboard → Dashboard}/index.js +0 -0
  278. /package/{bin/Dashboard → Dashboard}/index.min.js +0 -0
  279. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
  280. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
  281. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
  282. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.d.ts +0 -0
  283. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.js +0 -0
  284. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.min.js +0 -0
  285. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.d.ts +0 -0
  286. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.js +0 -0
  287. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.min.js +0 -0
  288. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
  289. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.js +0 -0
  290. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.min.js +0 -0
  291. /package/{bin/ExtensionManagement → ExtensionManagement}/index.d.ts +0 -0
  292. /package/{bin/ExtensionManagement → ExtensionManagement}/index.js +0 -0
  293. /package/{bin/ExtensionManagement → ExtensionManagement}/index.min.js +0 -0
  294. /package/{bin/Favorite → Favorite}/Favorite.d.ts +0 -0
  295. /package/{bin/Favorite → Favorite}/Favorite.js +0 -0
  296. /package/{bin/Favorite → Favorite}/Favorite.min.js +0 -0
  297. /package/{bin/Favorite → Favorite}/FavoriteClient.d.ts +0 -0
  298. /package/{bin/Favorite → Favorite}/FavoriteClient.js +0 -0
  299. /package/{bin/Favorite → Favorite}/FavoriteClient.min.js +0 -0
  300. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.d.ts +0 -0
  301. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.js +0 -0
  302. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.min.js +0 -0
  303. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
  304. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
  305. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
  306. /package/{bin/FeatureAvailability → FeatureAvailability}/index.d.ts +0 -0
  307. /package/{bin/FeatureAvailability → FeatureAvailability}/index.js +0 -0
  308. /package/{bin/FeatureAvailability → FeatureAvailability}/index.min.js +0 -0
  309. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.d.ts +0 -0
  310. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.js +0 -0
  311. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.min.js +0 -0
  312. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.d.ts +0 -0
  313. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.js +0 -0
  314. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.min.js +0 -0
  315. /package/{bin/FeatureManagement → FeatureManagement}/index.d.ts +0 -0
  316. /package/{bin/FeatureManagement → FeatureManagement}/index.js +0 -0
  317. /package/{bin/FeatureManagement → FeatureManagement}/index.min.js +0 -0
  318. /package/{bin/FileContainer → FileContainer}/FileContainer.d.ts +0 -0
  319. /package/{bin/FileContainer → FileContainer}/FileContainer.js +0 -0
  320. /package/{bin/FileContainer → FileContainer}/FileContainer.min.js +0 -0
  321. /package/{bin/FileContainer → FileContainer}/FileContainerClient.d.ts +0 -0
  322. /package/{bin/FileContainer → FileContainer}/FileContainerClient.js +0 -0
  323. /package/{bin/FileContainer → FileContainer}/FileContainerClient.min.js +0 -0
  324. /package/{bin/FileContainer → FileContainer}/index.d.ts +0 -0
  325. /package/{bin/FileContainer → FileContainer}/index.js +0 -0
  326. /package/{bin/FileContainer → FileContainer}/index.min.js +0 -0
  327. /package/{bin/FormInput → FormInput}/FormInput.d.ts +0 -0
  328. /package/{bin/FormInput → FormInput}/FormInput.js +0 -0
  329. /package/{bin/FormInput → FormInput}/FormInput.min.js +0 -0
  330. /package/{bin/FormInput → FormInput}/index.d.ts +0 -0
  331. /package/{bin/FormInput → FormInput}/index.js +0 -0
  332. /package/{bin/FormInput → FormInput}/index.min.js +0 -0
  333. /package/{bin/Gallery → Gallery}/Gallery.d.ts +0 -0
  334. /package/{bin/Gallery → Gallery}/Gallery.js +0 -0
  335. /package/{bin/Gallery → Gallery}/Gallery.min.js +0 -0
  336. /package/{bin/Gallery → Gallery}/index.d.ts +0 -0
  337. /package/{bin/Gallery → Gallery}/index.js +0 -0
  338. /package/{bin/Gallery → Gallery}/index.min.js +0 -0
  339. /package/{bin/Git → Git}/CodeEditorTypes.d.ts +0 -0
  340. /package/{bin/Git → Git}/CodeEditorTypes.js +0 -0
  341. /package/{bin/Git → Git}/CodeEditorTypes.min.js +0 -0
  342. /package/{bin/Git → Git}/Git.js +0 -0
  343. /package/{bin/Git → Git}/Git.min.js +0 -0
  344. /package/{bin/Git → Git}/GitClient.d.ts +0 -0
  345. /package/{bin/Git → Git}/GitClient.js +0 -0
  346. /package/{bin/Git → Git}/GitClient.min.js +0 -0
  347. /package/{bin/Git → Git}/GitServices.d.ts +0 -0
  348. /package/{bin/Git → Git}/GitServices.js +0 -0
  349. /package/{bin/Git → Git}/GitServices.min.js +0 -0
  350. /package/{bin/Git → Git}/index.d.ts +0 -0
  351. /package/{bin/Git → Git}/index.js +0 -0
  352. /package/{bin/Git → Git}/index.min.js +0 -0
  353. /package/{bin/Graph → Graph}/Graph.d.ts +0 -0
  354. /package/{bin/Graph → Graph}/Graph.js +0 -0
  355. /package/{bin/Graph → Graph}/Graph.min.js +0 -0
  356. /package/{bin/Graph → Graph}/GraphClient.d.ts +0 -0
  357. /package/{bin/Graph → Graph}/GraphClient.js +0 -0
  358. /package/{bin/Graph → Graph}/GraphClient.min.js +0 -0
  359. /package/{bin/Graph → Graph}/index.d.ts +0 -0
  360. /package/{bin/Graph → Graph}/index.js +0 -0
  361. /package/{bin/Graph → Graph}/index.min.js +0 -0
  362. /package/{bin/Identities → Identities}/Identities.d.ts +0 -0
  363. /package/{bin/Identities → Identities}/Identities.js +0 -0
  364. /package/{bin/Identities → Identities}/Identities.min.js +0 -0
  365. /package/{bin/Identities → Identities}/IdentityProvider.d.ts +0 -0
  366. /package/{bin/Identities → Identities}/IdentityProvider.js +0 -0
  367. /package/{bin/Identities → Identities}/IdentityProvider.min.js +0 -0
  368. /package/{bin/Identities → Identities}/IdentityService.d.ts +0 -0
  369. /package/{bin/Identities → Identities}/IdentityService.js +0 -0
  370. /package/{bin/Identities → Identities}/IdentityService.min.js +0 -0
  371. /package/{bin/Identities → Identities}/index.d.ts +0 -0
  372. /package/{bin/Identities → Identities}/index.js +0 -0
  373. /package/{bin/Identities → Identities}/index.min.js +0 -0
  374. /package/{bin/Locations → Locations}/Locations.d.ts +0 -0
  375. /package/{bin/Locations → Locations}/Locations.js +0 -0
  376. /package/{bin/Locations → Locations}/Locations.min.js +0 -0
  377. /package/{bin/Locations → Locations}/LocationsClient.d.ts +0 -0
  378. /package/{bin/Locations → Locations}/LocationsClient.js +0 -0
  379. /package/{bin/Locations → Locations}/LocationsClient.min.js +0 -0
  380. /package/{bin/Locations → Locations}/index.d.ts +0 -0
  381. /package/{bin/Locations → Locations}/index.js +0 -0
  382. /package/{bin/Locations → Locations}/index.min.js +0 -0
  383. /package/{bin/Management → Management}/Management.js +0 -0
  384. /package/{bin/Management → Management}/Management.min.js +0 -0
  385. /package/{bin/Management → Management}/ManagementClient.d.ts +0 -0
  386. /package/{bin/Management → Management}/ManagementClient.js +0 -0
  387. /package/{bin/Management → Management}/ManagementClient.min.js +0 -0
  388. /package/{bin/Notification → Notification}/Notification.d.ts +0 -0
  389. /package/{bin/Notification → Notification}/Notification.js +0 -0
  390. /package/{bin/Notification → Notification}/Notification.min.js +0 -0
  391. /package/{bin/Notification → Notification}/NotificationClient.d.ts +0 -0
  392. /package/{bin/Notification → Notification}/NotificationClient.js +0 -0
  393. /package/{bin/Notification → Notification}/NotificationClient.min.js +0 -0
  394. /package/{bin/Notification → Notification}/index.d.ts +0 -0
  395. /package/{bin/Notification → Notification}/index.js +0 -0
  396. /package/{bin/Notification → Notification}/index.min.js +0 -0
  397. /package/{bin/Operations → Operations}/Operations.d.ts +0 -0
  398. /package/{bin/Operations → Operations}/Operations.js +0 -0
  399. /package/{bin/Operations → Operations}/Operations.min.js +0 -0
  400. /package/{bin/Operations → Operations}/OperationsClient.d.ts +0 -0
  401. /package/{bin/Operations → Operations}/OperationsClient.js +0 -0
  402. /package/{bin/Operations → Operations}/OperationsClient.min.js +0 -0
  403. /package/{bin/Operations → Operations}/index.d.ts +0 -0
  404. /package/{bin/Operations → Operations}/index.js +0 -0
  405. /package/{bin/Operations → Operations}/index.min.js +0 -0
  406. /package/{bin/Pipelines → Pipelines}/Pipelines.d.ts +0 -0
  407. /package/{bin/Pipelines → Pipelines}/Pipelines.js +0 -0
  408. /package/{bin/Pipelines → Pipelines}/Pipelines.min.js +0 -0
  409. /package/{bin/Pipelines → Pipelines}/PipelinesClient.d.ts +0 -0
  410. /package/{bin/Pipelines → Pipelines}/PipelinesClient.js +0 -0
  411. /package/{bin/Pipelines → Pipelines}/PipelinesClient.min.js +0 -0
  412. /package/{bin/Policy → Policy}/Policy.d.ts +0 -0
  413. /package/{bin/Policy → Policy}/Policy.js +0 -0
  414. /package/{bin/Policy → Policy}/Policy.min.js +0 -0
  415. /package/{bin/Policy → Policy}/PolicyClient.d.ts +0 -0
  416. /package/{bin/Policy → Policy}/PolicyClient.js +0 -0
  417. /package/{bin/Policy → Policy}/PolicyClient.min.js +0 -0
  418. /package/{bin/Policy → Policy}/index.d.ts +0 -0
  419. /package/{bin/Policy → Policy}/index.js +0 -0
  420. /package/{bin/Policy → Policy}/index.min.js +0 -0
  421. /package/{bin/Profile → Profile}/Profile.d.ts +0 -0
  422. /package/{bin/Profile → Profile}/Profile.js +0 -0
  423. /package/{bin/Profile → Profile}/Profile.min.js +0 -0
  424. /package/{bin/Profile → Profile}/ProfileClient.d.ts +0 -0
  425. /package/{bin/Profile → Profile}/ProfileClient.js +0 -0
  426. /package/{bin/Profile → Profile}/ProfileClient.min.js +0 -0
  427. /package/{bin/Profile → Profile}/index.d.ts +0 -0
  428. /package/{bin/Profile → Profile}/index.js +0 -0
  429. /package/{bin/Profile → Profile}/index.min.js +0 -0
  430. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
  431. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.js +0 -0
  432. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
  433. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
  434. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
  435. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
  436. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.d.ts +0 -0
  437. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.js +0 -0
  438. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.min.js +0 -0
  439. /package/{bin/Release → Release}/Release.d.ts +0 -0
  440. /package/{bin/Release → Release}/Release.js +0 -0
  441. /package/{bin/Release → Release}/Release.min.js +0 -0
  442. /package/{bin/Release → Release}/index.d.ts +0 -0
  443. /package/{bin/Release → Release}/index.js +0 -0
  444. /package/{bin/Release → Release}/index.min.js +0 -0
  445. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.d.ts +0 -0
  446. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.js +0 -0
  447. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.min.js +0 -0
  448. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.d.ts +0 -0
  449. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.js +0 -0
  450. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.min.js +0 -0
  451. /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.js +0 -0
  452. /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
  453. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.d.ts +0 -0
  454. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.js +0 -0
  455. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.min.js +0 -0
  456. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.d.ts +0 -0
  457. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.js +0 -0
  458. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.min.js +0 -0
  459. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.d.ts +0 -0
  460. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.js +0 -0
  461. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.min.js +0 -0
  462. /package/{bin/ServiceHooks → ServiceHooks}/index.d.ts +0 -0
  463. /package/{bin/ServiceHooks → ServiceHooks}/index.js +0 -0
  464. /package/{bin/ServiceHooks → ServiceHooks}/index.min.js +0 -0
  465. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.d.ts +0 -0
  466. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.js +0 -0
  467. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.min.js +0 -0
  468. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.d.ts +0 -0
  469. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.js +0 -0
  470. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.min.js +0 -0
  471. /package/{bin/TaskAgent → TaskAgent}/index.d.ts +0 -0
  472. /package/{bin/TaskAgent → TaskAgent}/index.js +0 -0
  473. /package/{bin/TaskAgent → TaskAgent}/index.min.js +0 -0
  474. /package/{bin/Test → Test}/Test.d.ts +0 -0
  475. /package/{bin/Test → Test}/Test.js +0 -0
  476. /package/{bin/Test → Test}/Test.min.js +0 -0
  477. /package/{bin/Test → Test}/TestClient.d.ts +0 -0
  478. /package/{bin/Test → Test}/TestClient.js +0 -0
  479. /package/{bin/Test → Test}/TestClient.min.js +0 -0
  480. /package/{bin/Test → Test}/index.d.ts +0 -0
  481. /package/{bin/Test → Test}/index.js +0 -0
  482. /package/{bin/Test → Test}/index.min.js +0 -0
  483. /package/{bin/TestPlan → TestPlan}/TestPlan.d.ts +0 -0
  484. /package/{bin/TestPlan → TestPlan}/TestPlan.js +0 -0
  485. /package/{bin/TestPlan → TestPlan}/TestPlan.min.js +0 -0
  486. /package/{bin/TestPlan → TestPlan}/TestPlanClient.d.ts +0 -0
  487. /package/{bin/TestPlan → TestPlan}/TestPlanClient.js +0 -0
  488. /package/{bin/TestPlan → TestPlan}/TestPlanClient.min.js +0 -0
  489. /package/{bin/TestPlan → TestPlan}/index.d.ts +0 -0
  490. /package/{bin/TestPlan → TestPlan}/index.js +0 -0
  491. /package/{bin/TestPlan → TestPlan}/index.min.js +0 -0
  492. /package/{bin/TestResults → TestResults}/TestResults.d.ts +0 -0
  493. /package/{bin/TestResults → TestResults}/TestResults.js +0 -0
  494. /package/{bin/TestResults → TestResults}/TestResults.min.js +0 -0
  495. /package/{bin/TestResults → TestResults}/index.d.ts +0 -0
  496. /package/{bin/TestResults → TestResults}/index.js +0 -0
  497. /package/{bin/TestResults → TestResults}/index.min.js +0 -0
  498. /package/{bin/Tfvc → Tfvc}/Tfvc.d.ts +0 -0
  499. /package/{bin/Tfvc → Tfvc}/Tfvc.js +0 -0
  500. /package/{bin/Tfvc → Tfvc}/Tfvc.min.js +0 -0
  501. /package/{bin/Tfvc → Tfvc}/TfvcClient.d.ts +0 -0
  502. /package/{bin/Tfvc → Tfvc}/TfvcClient.js +0 -0
  503. /package/{bin/Tfvc → Tfvc}/TfvcClient.min.js +0 -0
  504. /package/{bin/Tfvc → Tfvc}/index.d.ts +0 -0
  505. /package/{bin/Tfvc → Tfvc}/index.js +0 -0
  506. /package/{bin/Tfvc → Tfvc}/index.min.js +0 -0
  507. /package/{bin/WebApi → WebApi}/WebApi.d.ts +0 -0
  508. /package/{bin/WebApi → WebApi}/WebApi.js +0 -0
  509. /package/{bin/WebApi → WebApi}/WebApi.min.js +0 -0
  510. /package/{bin/WebApi → WebApi}/index.d.ts +0 -0
  511. /package/{bin/WebApi → WebApi}/index.js +0 -0
  512. /package/{bin/WebApi → WebApi}/index.min.js +0 -0
  513. /package/{bin/Wiki → Wiki}/Wiki.d.ts +0 -0
  514. /package/{bin/Wiki → Wiki}/Wiki.js +0 -0
  515. /package/{bin/Wiki → Wiki}/Wiki.min.js +0 -0
  516. /package/{bin/Wiki → Wiki}/WikiClient.d.ts +0 -0
  517. /package/{bin/Wiki → Wiki}/WikiClient.js +0 -0
  518. /package/{bin/Wiki → Wiki}/WikiClient.min.js +0 -0
  519. /package/{bin/Wiki → Wiki}/index.d.ts +0 -0
  520. /package/{bin/Wiki → Wiki}/index.js +0 -0
  521. /package/{bin/Wiki → Wiki}/index.min.js +0 -0
  522. /package/{bin/Work → Work}/Work.d.ts +0 -0
  523. /package/{bin/Work → Work}/Work.js +0 -0
  524. /package/{bin/Work → Work}/Work.min.js +0 -0
  525. /package/{bin/Work → Work}/WorkClient.d.ts +0 -0
  526. /package/{bin/Work → Work}/WorkClient.js +0 -0
  527. /package/{bin/Work → Work}/WorkClient.min.js +0 -0
  528. /package/{bin/Work → Work}/index.d.ts +0 -0
  529. /package/{bin/Work → Work}/index.js +0 -0
  530. /package/{bin/Work → Work}/index.min.js +0 -0
  531. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.d.ts +0 -0
  532. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.js +0 -0
  533. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.min.js +0 -0
  534. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
  535. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.js +0 -0
  536. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
  537. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
  538. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.js +0 -0
  539. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
  540. /package/{bin/WorkItemTracking → WorkItemTracking}/index.d.ts +0 -0
  541. /package/{bin/WorkItemTracking → WorkItemTracking}/index.js +0 -0
  542. /package/{bin/WorkItemTracking → WorkItemTracking}/index.min.js +0 -0
  543. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
  544. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
  545. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
  546. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
  547. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
  548. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
  549. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.d.ts +0 -0
  550. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.js +0 -0
  551. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.min.js +0 -0
  552. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
  553. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
  554. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
  555. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
  556. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
  557. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
  558. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
  559. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.js +0 -0
  560. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
  561. /package/{bin/index.d.ts → index.d.ts} +0 -0
  562. /package/{bin/index.js → index.js} +0 -0
  563. /package/{bin/index.min.js → index.min.js} +0 -0
@@ -1,173 +0,0 @@
1
- /*
2
- * ---------------------------------------------------------
3
- * Copyright(C) Microsoft Corporation. All rights reserved.
4
- * ---------------------------------------------------------
5
- */
6
-
7
- import * as WebApi from "../WebApi/WebApi";
8
-
9
- /**
10
- * The full policy configuration with settings.
11
- */
12
- export interface PolicyConfiguration extends VersionedPolicyConfigurationRef {
13
- /**
14
- * The links to other objects related to this object.
15
- */
16
- _links: any;
17
- /**
18
- * A reference to the identity that created the policy.
19
- */
20
- createdBy: WebApi.IdentityRef;
21
- /**
22
- * The date and time when the policy was created.
23
- */
24
- createdDate: Date;
25
- /**
26
- * Indicates whether the policy is blocking.
27
- */
28
- isBlocking: boolean;
29
- /**
30
- * Indicates whether the policy has been (soft) deleted.
31
- */
32
- isDeleted: boolean;
33
- /**
34
- * Indicates whether the policy is enabled.
35
- */
36
- isEnabled: boolean;
37
- /**
38
- * If set, this policy requires "Manage Enterprise Policies" permission to create, edit, or delete.
39
- */
40
- isEnterpriseManaged: boolean;
41
- /**
42
- * The policy configuration settings.
43
- */
44
- settings: any;
45
- }
46
-
47
- /**
48
- * Policy configuration reference.
49
- */
50
- export interface PolicyConfigurationRef {
51
- /**
52
- * The policy configuration ID.
53
- */
54
- id: number;
55
- /**
56
- * The policy configuration type.
57
- */
58
- type: PolicyTypeRef;
59
- /**
60
- * The URL where the policy configuration can be retrieved.
61
- */
62
- url: string;
63
- }
64
-
65
- /**
66
- * This record encapsulates the current state of a policy as it applies to one specific pull request. Each pull request has a unique PolicyEvaluationRecord for each pull request which the policy applies to.
67
- */
68
- export interface PolicyEvaluationRecord {
69
- /**
70
- * Links to other related objects
71
- */
72
- _links: any;
73
- /**
74
- * A string which uniquely identifies the target of a policy evaluation.
75
- */
76
- artifactId: string;
77
- /**
78
- * Time when this policy finished evaluating on this pull request.
79
- */
80
- completedDate: Date;
81
- /**
82
- * Contains all configuration data for the policy which is being evaluated.
83
- */
84
- configuration: PolicyConfiguration;
85
- /**
86
- * Internal context data of this policy evaluation.
87
- */
88
- context: any;
89
- /**
90
- * Guid which uniquely identifies this evaluation record (one policy running on one pull request).
91
- */
92
- evaluationId: string;
93
- /**
94
- * Time when this policy was first evaluated on this pull request.
95
- */
96
- startedDate: Date;
97
- /**
98
- * Status of the policy (Running, Approved, Failed, etc.)
99
- */
100
- status: PolicyEvaluationStatus;
101
- }
102
-
103
- /**
104
- * Status of a policy which is running against a specific pull request.
105
- */
106
- export enum PolicyEvaluationStatus {
107
- /**
108
- * The policy is either queued to run, or is waiting for some event before progressing.
109
- */
110
- Queued = 0,
111
- /**
112
- * The policy is currently running.
113
- */
114
- Running = 1,
115
- /**
116
- * The policy has been fulfilled for this pull request.
117
- */
118
- Approved = 2,
119
- /**
120
- * The policy has rejected this pull request.
121
- */
122
- Rejected = 3,
123
- /**
124
- * The policy does not apply to this pull request.
125
- */
126
- NotApplicable = 4,
127
- /**
128
- * The policy has encountered an unexpected error.
129
- */
130
- Broken = 5
131
- }
132
-
133
- /**
134
- * User-friendly policy type with description (used for querying policy types).
135
- */
136
- export interface PolicyType extends PolicyTypeRef {
137
- /**
138
- * The links to other objects related to this object.
139
- */
140
- _links: any;
141
- /**
142
- * Detailed description of the policy type.
143
- */
144
- description: string;
145
- }
146
-
147
- /**
148
- * Policy type reference.
149
- */
150
- export interface PolicyTypeRef {
151
- /**
152
- * Display name of the policy type.
153
- */
154
- displayName: string;
155
- /**
156
- * The policy type ID.
157
- */
158
- id: string;
159
- /**
160
- * The URL where the policy type can be retrieved.
161
- */
162
- url: string;
163
- }
164
-
165
- /**
166
- * A particular revision for a policy configuration.
167
- */
168
- export interface VersionedPolicyConfigurationRef extends PolicyConfigurationRef {
169
- /**
170
- * The policy configuration revision ID.
171
- */
172
- revision: number;
173
- }
@@ -1,315 +0,0 @@
1
- /*
2
- * ---------------------------------------------------------
3
- * Copyright(C) Microsoft Corporation. All rights reserved.
4
- * ---------------------------------------------------------
5
- */
6
-
7
- import { IVssRestClientOptions } from "../Common/Context";
8
- import { RestClientBase } from "../Common/RestClientBase";
9
- import { deserializeVssJsonObject } from "../Common/Util/Serialization";
10
-
11
- import * as Policy from "../Policy/Policy";
12
- import * as WebApi from "../WebApi/WebApi";
13
-
14
- export class PolicyRestClient extends RestClientBase {
15
- constructor(options: IVssRestClientOptions) {
16
- super(options);
17
- }
18
-
19
- public static readonly RESOURCE_AREA_ID = "fb13a388-40dd-4a04-b530-013a739c72ef";
20
-
21
- /**
22
- * Create a policy configuration of a given policy type.
23
- *
24
- * @param configuration - The policy configuration to create.
25
- * @param project - Project ID or project name
26
- */
27
- public async createPolicyConfiguration(
28
- configuration: Policy.PolicyConfiguration,
29
- project: string
30
- ): Promise<Policy.PolicyConfiguration> {
31
-
32
- return this.beginRequest<Policy.PolicyConfiguration>({
33
- apiVersion: "7.2-preview.1",
34
- method: "POST",
35
- routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
36
- routeValues: {
37
- project: project
38
- },
39
- body: configuration
40
- });
41
- }
42
-
43
- /**
44
- * Delete a policy configuration by its ID.
45
- *
46
- * @param project - Project ID or project name
47
- * @param configurationId - ID of the policy configuration to delete.
48
- */
49
- public async deletePolicyConfiguration(
50
- project: string,
51
- configurationId: number
52
- ): Promise<void> {
53
-
54
- return this.beginRequest<void>({
55
- apiVersion: "7.2-preview.1",
56
- method: "DELETE",
57
- routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
58
- routeValues: {
59
- project: project,
60
- configurationId: configurationId
61
- }
62
- });
63
- }
64
-
65
- /**
66
- * Get a policy configuration by its ID.
67
- *
68
- * @param project - Project ID or project name
69
- * @param configurationId - ID of the policy configuration
70
- */
71
- public async getPolicyConfiguration(
72
- project: string,
73
- configurationId: number
74
- ): Promise<Policy.PolicyConfiguration> {
75
-
76
- return this.beginRequest<Policy.PolicyConfiguration>({
77
- apiVersion: "7.2-preview.1",
78
- routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
79
- routeValues: {
80
- project: project,
81
- configurationId: configurationId
82
- }
83
- });
84
- }
85
-
86
- /**
87
- * Get a list of policy configurations in a project.
88
- *
89
- * @param project - Project ID or project name
90
- * @param scope - [Provided for legacy reasons] The scope on which a subset of policies is defined.
91
- * @param policyType - Filter returned policies to only this type
92
- */
93
- public async getPolicyConfigurations(
94
- project: string,
95
- scope?: string,
96
- policyType?: string
97
- ): Promise<WebApi.PagedList<Policy.PolicyConfiguration>> {
98
-
99
- const queryValues: any = {
100
- scope: scope,
101
- policyType: policyType
102
- };
103
-
104
- return this.beginRequest<Response>({
105
- apiVersion: "7.2-preview.1",
106
- routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
107
- routeValues: {
108
- project: project
109
- },
110
- queryParams: queryValues,
111
- returnRawResponse: true
112
- }).then(async response => {
113
- const body = <WebApi.PagedList<Policy.PolicyConfiguration>>await response.text().then(deserializeVssJsonObject);
114
- body.continuationToken = response.headers.get("x-ms-continuationtoken");
115
- return body;
116
- });
117
- }
118
-
119
- /**
120
- * Update a policy configuration by its ID.
121
- *
122
- * @param configuration - The policy configuration to update.
123
- * @param project - Project ID or project name
124
- * @param configurationId - ID of the existing policy configuration to be updated.
125
- */
126
- public async updatePolicyConfiguration(
127
- configuration: Policy.PolicyConfiguration,
128
- project: string,
129
- configurationId: number
130
- ): Promise<Policy.PolicyConfiguration> {
131
-
132
- return this.beginRequest<Policy.PolicyConfiguration>({
133
- apiVersion: "7.2-preview.1",
134
- method: "PUT",
135
- routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
136
- routeValues: {
137
- project: project,
138
- configurationId: configurationId
139
- },
140
- body: configuration
141
- });
142
- }
143
-
144
- /**
145
- * Gets the present evaluation state of a policy.
146
- *
147
- * @param project - Project ID or project name
148
- * @param evaluationId - ID of the policy evaluation to be retrieved.
149
- */
150
- public async getPolicyEvaluation(
151
- project: string,
152
- evaluationId: string
153
- ): Promise<Policy.PolicyEvaluationRecord> {
154
-
155
- return this.beginRequest<Policy.PolicyEvaluationRecord>({
156
- apiVersion: "7.2-preview.1",
157
- routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
158
- routeValues: {
159
- project: project,
160
- evaluationId: evaluationId
161
- }
162
- });
163
- }
164
-
165
- /**
166
- * Requeue the policy evaluation.
167
- *
168
- * @param project - Project ID or project name
169
- * @param evaluationId - ID of the policy evaluation to be retrieved.
170
- */
171
- public async requeuePolicyEvaluation(
172
- project: string,
173
- evaluationId: string
174
- ): Promise<Policy.PolicyEvaluationRecord> {
175
-
176
- return this.beginRequest<Policy.PolicyEvaluationRecord>({
177
- apiVersion: "7.2-preview.1",
178
- method: "PATCH",
179
- routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
180
- routeValues: {
181
- project: project,
182
- evaluationId: evaluationId
183
- }
184
- });
185
- }
186
-
187
- /**
188
- * Retrieves a list of all the policy evaluation statuses for a specific pull request.
189
- *
190
- * @param project - Project ID or project name
191
- * @param artifactId - A string which uniquely identifies the target of a policy evaluation.
192
- * @param includeNotApplicable - Some policies might determine that they do not apply to a specific pull request. Setting this parameter to true will return evaluation records even for policies which don't apply to this pull request.
193
- * @param top - The number of policy evaluation records to retrieve.
194
- * @param skip - The number of policy evaluation records to ignore. For example, to retrieve results 101-150, set top to 50 and skip to 100.
195
- */
196
- public async getPolicyEvaluations(
197
- project: string,
198
- artifactId: string,
199
- includeNotApplicable?: boolean,
200
- top?: number,
201
- skip?: number
202
- ): Promise<Policy.PolicyEvaluationRecord[]> {
203
-
204
- const queryValues: any = {
205
- artifactId: artifactId,
206
- includeNotApplicable: includeNotApplicable,
207
- '$top': top,
208
- '$skip': skip
209
- };
210
-
211
- return this.beginRequest<Policy.PolicyEvaluationRecord[]>({
212
- apiVersion: "7.2-preview.1",
213
- routeTemplate: "{project}/_apis/policy/Evaluations",
214
- routeValues: {
215
- project: project
216
- },
217
- queryParams: queryValues
218
- });
219
- }
220
-
221
- /**
222
- * Retrieve a specific revision of a given policy by ID.
223
- *
224
- * @param project - Project ID or project name
225
- * @param configurationId - The policy configuration ID.
226
- * @param revisionId - The revision ID.
227
- */
228
- public async getPolicyConfigurationRevision(
229
- project: string,
230
- configurationId: number,
231
- revisionId: number
232
- ): Promise<Policy.PolicyConfiguration> {
233
-
234
- return this.beginRequest<Policy.PolicyConfiguration>({
235
- apiVersion: "7.2-preview.1",
236
- routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
237
- routeValues: {
238
- project: project,
239
- configurationId: configurationId,
240
- revisionId: revisionId
241
- }
242
- });
243
- }
244
-
245
- /**
246
- * Retrieve all revisions for a given policy.
247
- *
248
- * @param project - Project ID or project name
249
- * @param configurationId - The policy configuration ID.
250
- * @param top - The number of revisions to retrieve.
251
- * @param skip - The number of revisions to ignore. For example, to retrieve results 101-150, set top to 50 and skip to 100.
252
- */
253
- public async getPolicyConfigurationRevisions(
254
- project: string,
255
- configurationId: number,
256
- top?: number,
257
- skip?: number
258
- ): Promise<Policy.PolicyConfiguration[]> {
259
-
260
- const queryValues: any = {
261
- '$top': top,
262
- '$skip': skip
263
- };
264
-
265
- return this.beginRequest<Policy.PolicyConfiguration[]>({
266
- apiVersion: "7.2-preview.1",
267
- routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
268
- routeValues: {
269
- project: project,
270
- configurationId: configurationId
271
- },
272
- queryParams: queryValues
273
- });
274
- }
275
-
276
- /**
277
- * Retrieve a specific policy type by ID.
278
- *
279
- * @param project - Project ID or project name
280
- * @param typeId - The policy ID.
281
- */
282
- public async getPolicyType(
283
- project: string,
284
- typeId: string
285
- ): Promise<Policy.PolicyType> {
286
-
287
- return this.beginRequest<Policy.PolicyType>({
288
- apiVersion: "7.2-preview.1",
289
- routeTemplate: "{project}/_apis/policy/Types/{typeId}",
290
- routeValues: {
291
- project: project,
292
- typeId: typeId
293
- }
294
- });
295
- }
296
-
297
- /**
298
- * Retrieve all available policy types.
299
- *
300
- * @param project - Project ID or project name
301
- */
302
- public async getPolicyTypes(
303
- project: string
304
- ): Promise<Policy.PolicyType[]> {
305
-
306
- return this.beginRequest<Policy.PolicyType[]>({
307
- apiVersion: "7.2-preview.1",
308
- routeTemplate: "{project}/_apis/policy/Types/{typeId}",
309
- routeValues: {
310
- project: project
311
- }
312
- });
313
- }
314
-
315
- }
@@ -1,2 +0,0 @@
1
- export * from "./Policy";
2
- export * from "./PolicyClient";
@@ -1,187 +0,0 @@
1
- /*
2
- * ---------------------------------------------------------
3
- * Copyright(C) Microsoft Corporation. All rights reserved.
4
- * ---------------------------------------------------------
5
- */
6
-
7
- /**
8
- * Identifies an attribute with a name and a container.
9
- */
10
- export interface AttributeDescriptor {
11
- /**
12
- * The name of the attribute.
13
- */
14
- attributeName: string;
15
- /**
16
- * The container the attribute resides in.
17
- */
18
- containerName: string;
19
- }
20
-
21
- /**
22
- * Stores a set of named profile attributes.
23
- */
24
- export interface AttributesContainer {
25
- /**
26
- * The attributes stored by the container.
27
- */
28
- attributes: { [key: string] : ProfileAttribute; };
29
- /**
30
- * The name of the container.
31
- */
32
- containerName: string;
33
- /**
34
- * The maximum revision number of any attribute within the container.
35
- */
36
- revision: number;
37
- }
38
-
39
- export interface Avatar {
40
- isAutoGenerated: boolean;
41
- size: AvatarSize;
42
- timeStamp: Date;
43
- value: number[];
44
- }
45
-
46
- /**
47
- * Small = 34 x 34 pixels; Medium = 44 x 44 pixels; Large = 220 x 220 pixels
48
- */
49
- export enum AvatarSize {
50
- Small = 0,
51
- Medium = 1,
52
- Large = 2
53
- }
54
-
55
- /**
56
- * A profile attribute which always has a value for each profile.
57
- */
58
- export interface CoreProfileAttribute extends ProfileAttributeBase<any> {
59
- }
60
-
61
- export interface CreateProfileContext {
62
- ciData: { [key: string] : any; };
63
- contactWithOffers: boolean;
64
- countryName: string;
65
- displayName: string;
66
- emailAddress: string;
67
- hasAccount: boolean;
68
- language: string;
69
- phoneNumber: string;
70
- /**
71
- * The current state of the profile.
72
- */
73
- profileState: ProfileState;
74
- }
75
-
76
- export interface GeoRegion {
77
- regionCode: string;
78
- }
79
-
80
- /**
81
- * A user profile.
82
- */
83
- export interface Profile {
84
- /**
85
- * The attributes of this profile.
86
- */
87
- applicationContainer: AttributesContainer;
88
- /**
89
- * The core attributes of this profile.
90
- */
91
- coreAttributes: { [key: string] : CoreProfileAttribute; };
92
- /**
93
- * The maximum revision number of any attribute.
94
- */
95
- coreRevision: number;
96
- /**
97
- * The unique identifier of the profile.
98
- */
99
- id: string;
100
- /**
101
- * The current state of the profile.
102
- */
103
- profileState: ProfileState;
104
- /**
105
- * The maximum revision number of any attribute.
106
- */
107
- revision: number;
108
- /**
109
- * The time at which this profile was last changed.
110
- */
111
- timeStamp: Date;
112
- }
113
-
114
- /**
115
- * A named object associated with a profile.
116
- */
117
- export interface ProfileAttribute extends ProfileAttributeBase<string> {
118
- }
119
-
120
- export interface ProfileAttributeBase<T> {
121
- /**
122
- * The descriptor of the attribute.
123
- */
124
- descriptor: AttributeDescriptor;
125
- /**
126
- * The revision number of the attribute.
127
- */
128
- revision: number;
129
- /**
130
- * The time the attribute was last changed.
131
- */
132
- timeStamp: Date;
133
- /**
134
- * The value of the attribute.
135
- */
136
- value: T;
137
- }
138
-
139
- /**
140
- * Country/region information
141
- */
142
- export interface ProfileRegion {
143
- /**
144
- * The two-letter code defined in ISO 3166 for the country/region.
145
- */
146
- code: string;
147
- /**
148
- * Localized country/region name
149
- */
150
- name: string;
151
- }
152
-
153
- /**
154
- * Container of country/region information
155
- */
156
- export interface ProfileRegions {
157
- /**
158
- * List of country/region code with contact consent requirement type of notice
159
- */
160
- noticeContactConsentRequirementRegions: string[];
161
- /**
162
- * List of country/region code with contact consent requirement type of opt-out
163
- */
164
- optOutContactConsentRequirementRegions: string[];
165
- /**
166
- * List of country/regions
167
- */
168
- regions: ProfileRegion[];
169
- }
170
-
171
- /**
172
- * The state of a profile.
173
- */
174
- export enum ProfileState {
175
- /**
176
- * The profile is in use.
177
- */
178
- Custom = 0,
179
- /**
180
- * The profile is in use, but can only be read.
181
- */
182
- CustomReadOnly = 1,
183
- /**
184
- * The profile may only be read.
185
- */
186
- ReadOnly = 2
187
- }