azure-devops-extension-api 4.248.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 (562) 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/Management → Management}/Management.d.ts +4 -0
  11. package/{bin/Release → Release}/ReleaseClient.d.ts +4 -2
  12. package/{bin/Release → Release}/ReleaseClient.js +8 -4
  13. package/Release/ReleaseClient.min.js +1 -0
  14. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.d.ts +4 -0
  15. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.d.ts +3 -2
  16. package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.js +5 -3
  17. package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
  18. package/{bin/TestResults → TestResults}/TestResultsClient.d.ts +8 -0
  19. package/{bin/TestResults → TestResults}/TestResultsClient.js +28 -9
  20. package/{bin/TestResults → TestResults}/TestResultsClient.min.js +1 -1
  21. package/package.json +1 -1
  22. package/SECURITY.md +0 -41
  23. package/bin/Alert/Alert.min.js +0 -1
  24. package/bin/Alert/AlertClient.min.js +0 -1
  25. package/bin/Gallery/GalleryClient.min.js +0 -1
  26. package/bin/LICENSE +0 -21
  27. package/bin/README.md +0 -2
  28. package/bin/Release/ReleaseClient.min.js +0 -1
  29. package/bin/ServiceEndpoint/ServiceEndpointClient.min.js +0 -1
  30. package/bin/package.json +0 -37
  31. package/buildpackage.js +0 -80
  32. package/src/Accounts/Accounts.ts +0 -134
  33. package/src/Accounts/AccountsClient.ts +0 -83
  34. package/src/Accounts/index.ts +0 -2
  35. package/src/AdvancedSecurity.Reporting/Reporting.ts +0 -180
  36. package/src/AdvancedSecurity.Reporting/ReportingClient.ts +0 -47
  37. package/src/Alert/Alert.ts +0 -1037
  38. package/src/Alert/AlertClient.ts +0 -330
  39. package/src/Boards/Boards.ts +0 -684
  40. package/src/Boards/BoardsClient.ts +0 -593
  41. package/src/Boards/index.ts +0 -2
  42. package/src/Build/Build.ts +0 -3416
  43. package/src/Build/BuildClient.ts +0 -2740
  44. package/src/Build/BuildServices.ts +0 -39
  45. package/src/Build/index.ts +0 -3
  46. package/src/Comments/Comments.ts +0 -330
  47. package/src/Comments/index.ts +0 -1
  48. package/src/Common/Client.ts +0 -37
  49. package/src/Common/CommonServices.ts +0 -853
  50. package/src/Common/Context.d.ts +0 -46
  51. package/src/Common/Fetch.ts +0 -239
  52. package/src/Common/RestClientBase.ts +0 -186
  53. package/src/Common/System.ts +0 -36
  54. package/src/Common/SystemData.ts +0 -135
  55. package/src/Common/Util/Serialization.ts +0 -59
  56. package/src/Common/Util/Url.ts +0 -773
  57. package/src/Common/index.ts +0 -3
  58. package/src/Contributions/Contributions.ts +0 -708
  59. package/src/Contributions/ContributionsClient.ts +0 -109
  60. package/src/Contributions/index.ts +0 -2
  61. package/src/Core/Core.ts +0 -579
  62. package/src/Core/CoreClient.ts +0 -765
  63. package/src/Core/index.ts +0 -2
  64. package/src/Dashboard/Dashboard.ts +0 -419
  65. package/src/Dashboard/DashboardClient.ts +0 -370
  66. package/src/Dashboard/WidgetConfigHelpers.ts +0 -43
  67. package/src/Dashboard/WidgetContracts.ts +0 -226
  68. package/src/Dashboard/WidgetHelpers.ts +0 -145
  69. package/src/Dashboard/index.ts +0 -5
  70. package/src/DistributedTaskCommon/DistributedTaskCommon.ts +0 -108
  71. package/src/DistributedTaskCommon/index.ts +0 -1
  72. package/src/ExtensionManagement/ExtensionManagement.ts +0 -1205
  73. package/src/ExtensionManagement/ExtensionManagementClient.ts +0 -646
  74. package/src/ExtensionManagement/index.ts +0 -2
  75. package/src/Favorite/Favorite.ts +0 -136
  76. package/src/Favorite/FavoriteClient.ts +0 -301
  77. package/src/FeatureAvailability/FeatureAvailability.ts +0 -20
  78. package/src/FeatureAvailability/FeatureAvailabilityClient.ts +0 -153
  79. package/src/FeatureAvailability/index.ts +0 -2
  80. package/src/FeatureManagement/FeatureManagement.ts +0 -166
  81. package/src/FeatureManagement/FeatureManagementClient.ts +0 -246
  82. package/src/FeatureManagement/index.ts +0 -2
  83. package/src/FileContainer/FileContainer.ts +0 -205
  84. package/src/FileContainer/FileContainerClient.ts +0 -154
  85. package/src/FileContainer/index.ts +0 -2
  86. package/src/FormInput/FormInput.ts +0 -288
  87. package/src/FormInput/index.ts +0 -1
  88. package/src/Gallery/Gallery.ts +0 -1977
  89. package/src/Gallery/GalleryClient.ts +0 -2251
  90. package/src/Gallery/index.ts +0 -2
  91. package/src/Git/CodeEditorTypes.ts +0 -335
  92. package/src/Git/Git.ts +0 -4062
  93. package/src/Git/GitClient.ts +0 -4750
  94. package/src/Git/GitServices.ts +0 -18
  95. package/src/Git/index.ts +0 -4
  96. package/src/Graph/Graph.ts +0 -572
  97. package/src/Graph/GraphClient.ts +0 -846
  98. package/src/Graph/index.ts +0 -2
  99. package/src/Identities/Identities.ts +0 -261
  100. package/src/Identities/IdentityProvider.ts +0 -90
  101. package/src/Identities/IdentityService.ts +0 -89
  102. package/src/Identities/index.ts +0 -3
  103. package/src/Locations/Locations.ts +0 -165
  104. package/src/Locations/LocationsClient.ts +0 -220
  105. package/src/Locations/index.ts +0 -2
  106. package/src/Management/Management.ts +0 -176
  107. package/src/Management/ManagementClient.ts +0 -348
  108. package/src/Notification/Notification.ts +0 -1460
  109. package/src/Notification/NotificationClient.ts +0 -477
  110. package/src/Notification/index.ts +0 -2
  111. package/src/Operations/Operations.ts +0 -86
  112. package/src/Operations/OperationsClient.ts +0 -42
  113. package/src/Operations/index.ts +0 -2
  114. package/src/Pipelines/Pipelines.ts +0 -354
  115. package/src/Pipelines/PipelinesClient.ts +0 -306
  116. package/src/Policy/Policy.ts +0 -173
  117. package/src/Policy/PolicyClient.ts +0 -315
  118. package/src/Policy/index.ts +0 -2
  119. package/src/Profile/Profile.ts +0 -187
  120. package/src/Profile/ProfileClient.ts +0 -328
  121. package/src/Profile/index.ts +0 -2
  122. package/src/ProjectAnalysis/ProjectAnalysis.ts +0 -74
  123. package/src/ProjectAnalysis/ProjectAnalysisClient.ts +0 -124
  124. package/src/ProjectAnalysis/index.ts +0 -2
  125. package/src/Release/Release.ts +0 -4237
  126. package/src/Release/ReleaseClient.ts +0 -2450
  127. package/src/Release/index.ts +0 -2
  128. package/src/ResourceUsage/ResourceUsage.ts +0 -19
  129. package/src/ResourceUsage/ResourceUsageClient.ts +0 -48
  130. package/src/ServiceEndpoint/ServiceEndpoint.ts +0 -930
  131. package/src/ServiceEndpoint/ServiceEndpointClient.ts +0 -617
  132. package/src/ServiceEndpoint/index.ts +0 -2
  133. package/src/ServiceHooks/ServiceHooks.ts +0 -759
  134. package/src/ServiceHooks/ServiceHooksClient.ts +0 -499
  135. package/src/ServiceHooks/index.ts +0 -2
  136. package/src/TaskAgent/TaskAgent.ts +0 -3896
  137. package/src/TaskAgent/TaskAgentClient.ts +0 -3918
  138. package/src/TaskAgent/index.ts +0 -2
  139. package/src/Test/Test.ts +0 -5853
  140. package/src/Test/TestClient.ts +0 -2201
  141. package/src/Test/index.ts +0 -2
  142. package/src/TestPlan/TestPlan.ts +0 -1384
  143. package/src/TestPlan/TestPlanClient.ts +0 -1367
  144. package/src/TestPlan/index.ts +0 -2
  145. package/src/TestResults/TestResults.ts +0 -11
  146. package/src/TestResults/TestResultsClient.ts +0 -3506
  147. package/src/TestResults/index.ts +0 -2
  148. package/src/Tfvc/Tfvc.ts +0 -770
  149. package/src/Tfvc/TfvcClient.ts +0 -757
  150. package/src/Tfvc/index.ts +0 -2
  151. package/src/WebApi/WebApi.ts +0 -452
  152. package/src/WebApi/index.ts +0 -1
  153. package/src/Wiki/Wiki.ts +0 -352
  154. package/src/Wiki/WikiClient.ts +0 -712
  155. package/src/Wiki/index.ts +0 -2
  156. package/src/Work/Work.ts +0 -1367
  157. package/src/Work/WorkClient.ts +0 -1489
  158. package/src/Work/index.ts +0 -2
  159. package/src/WorkItemTracking/WorkItemTracking.ts +0 -2215
  160. package/src/WorkItemTracking/WorkItemTrackingClient.ts +0 -2032
  161. package/src/WorkItemTracking/WorkItemTrackingServices.ts +0 -329
  162. package/src/WorkItemTracking/index.ts +0 -3
  163. package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +0 -1295
  164. package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +0 -1455
  165. package/src/WorkItemTrackingProcess/index.ts +0 -2
  166. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +0 -606
  167. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +0 -1175
  168. package/src/WorkItemTrackingProcessDefinitions/index.ts +0 -2
  169. package/src/index.ts +0 -1
  170. package/tsconfig.json +0 -21
  171. /package/{bin/Accounts → Accounts}/Accounts.d.ts +0 -0
  172. /package/{bin/Accounts → Accounts}/Accounts.js +0 -0
  173. /package/{bin/Accounts → Accounts}/Accounts.min.js +0 -0
  174. /package/{bin/Accounts → Accounts}/AccountsClient.d.ts +0 -0
  175. /package/{bin/Accounts → Accounts}/AccountsClient.js +0 -0
  176. /package/{bin/Accounts → Accounts}/AccountsClient.min.js +0 -0
  177. /package/{bin/Accounts → Accounts}/index.d.ts +0 -0
  178. /package/{bin/Accounts → Accounts}/index.js +0 -0
  179. /package/{bin/Accounts → Accounts}/index.min.js +0 -0
  180. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.d.ts +0 -0
  181. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.js +0 -0
  182. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.min.js +0 -0
  183. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
  184. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
  185. /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
  186. /package/{bin/Boards → Boards}/Boards.d.ts +0 -0
  187. /package/{bin/Boards → Boards}/Boards.js +0 -0
  188. /package/{bin/Boards → Boards}/Boards.min.js +0 -0
  189. /package/{bin/Boards → Boards}/BoardsClient.d.ts +0 -0
  190. /package/{bin/Boards → Boards}/BoardsClient.js +0 -0
  191. /package/{bin/Boards → Boards}/BoardsClient.min.js +0 -0
  192. /package/{bin/Boards → Boards}/index.d.ts +0 -0
  193. /package/{bin/Boards → Boards}/index.js +0 -0
  194. /package/{bin/Boards → Boards}/index.min.js +0 -0
  195. /package/{bin/Build → Build}/Build.d.ts +0 -0
  196. /package/{bin/Build → Build}/Build.js +0 -0
  197. /package/{bin/Build → Build}/Build.min.js +0 -0
  198. /package/{bin/Build → Build}/BuildClient.d.ts +0 -0
  199. /package/{bin/Build → Build}/BuildClient.js +0 -0
  200. /package/{bin/Build → Build}/BuildClient.min.js +0 -0
  201. /package/{bin/Build → Build}/BuildServices.d.ts +0 -0
  202. /package/{bin/Build → Build}/BuildServices.js +0 -0
  203. /package/{bin/Build → Build}/BuildServices.min.js +0 -0
  204. /package/{bin/Build → Build}/index.d.ts +0 -0
  205. /package/{bin/Build → Build}/index.js +0 -0
  206. /package/{bin/Build → Build}/index.min.js +0 -0
  207. /package/{bin/Comments → Comments}/Comments.d.ts +0 -0
  208. /package/{bin/Comments → Comments}/Comments.js +0 -0
  209. /package/{bin/Comments → Comments}/Comments.min.js +0 -0
  210. /package/{bin/Comments → Comments}/index.d.ts +0 -0
  211. /package/{bin/Comments → Comments}/index.js +0 -0
  212. /package/{bin/Comments → Comments}/index.min.js +0 -0
  213. /package/{bin/Common → Common}/Client.d.ts +0 -0
  214. /package/{bin/Common → Common}/Client.js +0 -0
  215. /package/{bin/Common → Common}/Client.min.js +0 -0
  216. /package/{bin/Common → Common}/CommonServices.d.ts +0 -0
  217. /package/{bin/Common → Common}/CommonServices.js +0 -0
  218. /package/{bin/Common → Common}/CommonServices.min.js +0 -0
  219. /package/{bin/Common → Common}/Context.d.ts +0 -0
  220. /package/{bin/Common → Common}/Fetch.d.ts +0 -0
  221. /package/{bin/Common → Common}/Fetch.js +0 -0
  222. /package/{bin/Common → Common}/Fetch.min.js +0 -0
  223. /package/{bin/Common → Common}/RestClientBase.d.ts +0 -0
  224. /package/{bin/Common → Common}/RestClientBase.js +0 -0
  225. /package/{bin/Common → Common}/RestClientBase.min.js +0 -0
  226. /package/{bin/Common → Common}/System.d.ts +0 -0
  227. /package/{bin/Common → Common}/System.js +0 -0
  228. /package/{bin/Common → Common}/System.min.js +0 -0
  229. /package/{bin/Common → Common}/SystemData.d.ts +0 -0
  230. /package/{bin/Common → Common}/SystemData.js +0 -0
  231. /package/{bin/Common → Common}/SystemData.min.js +0 -0
  232. /package/{bin/Common → Common}/Util/Serialization.d.ts +0 -0
  233. /package/{bin/Common → Common}/Util/Serialization.js +0 -0
  234. /package/{bin/Common → Common}/Util/Serialization.min.js +0 -0
  235. /package/{bin/Common → Common}/Util/Url.d.ts +0 -0
  236. /package/{bin/Common → Common}/Util/Url.js +0 -0
  237. /package/{bin/Common → Common}/Util/Url.min.js +0 -0
  238. /package/{bin/Common → Common}/index.d.ts +0 -0
  239. /package/{bin/Common → Common}/index.js +0 -0
  240. /package/{bin/Common → Common}/index.min.js +0 -0
  241. /package/{bin/Contributions → Contributions}/Contributions.d.ts +0 -0
  242. /package/{bin/Contributions → Contributions}/Contributions.js +0 -0
  243. /package/{bin/Contributions → Contributions}/Contributions.min.js +0 -0
  244. /package/{bin/Contributions → Contributions}/ContributionsClient.d.ts +0 -0
  245. /package/{bin/Contributions → Contributions}/ContributionsClient.js +0 -0
  246. /package/{bin/Contributions → Contributions}/ContributionsClient.min.js +0 -0
  247. /package/{bin/Contributions → Contributions}/index.d.ts +0 -0
  248. /package/{bin/Contributions → Contributions}/index.js +0 -0
  249. /package/{bin/Contributions → Contributions}/index.min.js +0 -0
  250. /package/{bin/Core → Core}/Core.d.ts +0 -0
  251. /package/{bin/Core → Core}/Core.js +0 -0
  252. /package/{bin/Core → Core}/Core.min.js +0 -0
  253. /package/{bin/Core → Core}/CoreClient.d.ts +0 -0
  254. /package/{bin/Core → Core}/CoreClient.js +0 -0
  255. /package/{bin/Core → Core}/CoreClient.min.js +0 -0
  256. /package/{bin/Core → Core}/index.d.ts +0 -0
  257. /package/{bin/Core → Core}/index.js +0 -0
  258. /package/{bin/Core → Core}/index.min.js +0 -0
  259. /package/{bin/Dashboard → Dashboard}/Dashboard.d.ts +0 -0
  260. /package/{bin/Dashboard → Dashboard}/Dashboard.js +0 -0
  261. /package/{bin/Dashboard → Dashboard}/Dashboard.min.js +0 -0
  262. /package/{bin/Dashboard → Dashboard}/DashboardClient.d.ts +0 -0
  263. /package/{bin/Dashboard → Dashboard}/DashboardClient.js +0 -0
  264. /package/{bin/Dashboard → Dashboard}/DashboardClient.min.js +0 -0
  265. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.d.ts +0 -0
  266. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.js +0 -0
  267. /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.min.js +0 -0
  268. /package/{bin/Dashboard → Dashboard}/WidgetContracts.d.ts +0 -0
  269. /package/{bin/Dashboard → Dashboard}/WidgetContracts.js +0 -0
  270. /package/{bin/Dashboard → Dashboard}/WidgetContracts.min.js +0 -0
  271. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.d.ts +0 -0
  272. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.js +0 -0
  273. /package/{bin/Dashboard → Dashboard}/WidgetHelpers.min.js +0 -0
  274. /package/{bin/Dashboard → Dashboard}/index.d.ts +0 -0
  275. /package/{bin/Dashboard → Dashboard}/index.js +0 -0
  276. /package/{bin/Dashboard → Dashboard}/index.min.js +0 -0
  277. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
  278. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
  279. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
  280. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.d.ts +0 -0
  281. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.js +0 -0
  282. /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.min.js +0 -0
  283. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.d.ts +0 -0
  284. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.js +0 -0
  285. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.min.js +0 -0
  286. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
  287. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.js +0 -0
  288. /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.min.js +0 -0
  289. /package/{bin/ExtensionManagement → ExtensionManagement}/index.d.ts +0 -0
  290. /package/{bin/ExtensionManagement → ExtensionManagement}/index.js +0 -0
  291. /package/{bin/ExtensionManagement → ExtensionManagement}/index.min.js +0 -0
  292. /package/{bin/Favorite → Favorite}/Favorite.d.ts +0 -0
  293. /package/{bin/Favorite → Favorite}/Favorite.js +0 -0
  294. /package/{bin/Favorite → Favorite}/Favorite.min.js +0 -0
  295. /package/{bin/Favorite → Favorite}/FavoriteClient.d.ts +0 -0
  296. /package/{bin/Favorite → Favorite}/FavoriteClient.js +0 -0
  297. /package/{bin/Favorite → Favorite}/FavoriteClient.min.js +0 -0
  298. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.d.ts +0 -0
  299. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.js +0 -0
  300. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.min.js +0 -0
  301. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
  302. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
  303. /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
  304. /package/{bin/FeatureAvailability → FeatureAvailability}/index.d.ts +0 -0
  305. /package/{bin/FeatureAvailability → FeatureAvailability}/index.js +0 -0
  306. /package/{bin/FeatureAvailability → FeatureAvailability}/index.min.js +0 -0
  307. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.d.ts +0 -0
  308. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.js +0 -0
  309. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.min.js +0 -0
  310. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.d.ts +0 -0
  311. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.js +0 -0
  312. /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.min.js +0 -0
  313. /package/{bin/FeatureManagement → FeatureManagement}/index.d.ts +0 -0
  314. /package/{bin/FeatureManagement → FeatureManagement}/index.js +0 -0
  315. /package/{bin/FeatureManagement → FeatureManagement}/index.min.js +0 -0
  316. /package/{bin/FileContainer → FileContainer}/FileContainer.d.ts +0 -0
  317. /package/{bin/FileContainer → FileContainer}/FileContainer.js +0 -0
  318. /package/{bin/FileContainer → FileContainer}/FileContainer.min.js +0 -0
  319. /package/{bin/FileContainer → FileContainer}/FileContainerClient.d.ts +0 -0
  320. /package/{bin/FileContainer → FileContainer}/FileContainerClient.js +0 -0
  321. /package/{bin/FileContainer → FileContainer}/FileContainerClient.min.js +0 -0
  322. /package/{bin/FileContainer → FileContainer}/index.d.ts +0 -0
  323. /package/{bin/FileContainer → FileContainer}/index.js +0 -0
  324. /package/{bin/FileContainer → FileContainer}/index.min.js +0 -0
  325. /package/{bin/FormInput → FormInput}/FormInput.d.ts +0 -0
  326. /package/{bin/FormInput → FormInput}/FormInput.js +0 -0
  327. /package/{bin/FormInput → FormInput}/FormInput.min.js +0 -0
  328. /package/{bin/FormInput → FormInput}/index.d.ts +0 -0
  329. /package/{bin/FormInput → FormInput}/index.js +0 -0
  330. /package/{bin/FormInput → FormInput}/index.min.js +0 -0
  331. /package/{bin/Gallery → Gallery}/Gallery.d.ts +0 -0
  332. /package/{bin/Gallery → Gallery}/Gallery.js +0 -0
  333. /package/{bin/Gallery → Gallery}/Gallery.min.js +0 -0
  334. /package/{bin/Gallery → Gallery}/index.d.ts +0 -0
  335. /package/{bin/Gallery → Gallery}/index.js +0 -0
  336. /package/{bin/Gallery → Gallery}/index.min.js +0 -0
  337. /package/{bin/Git → Git}/CodeEditorTypes.d.ts +0 -0
  338. /package/{bin/Git → Git}/CodeEditorTypes.js +0 -0
  339. /package/{bin/Git → Git}/CodeEditorTypes.min.js +0 -0
  340. /package/{bin/Git → Git}/Git.d.ts +0 -0
  341. /package/{bin/Git → Git}/Git.js +0 -0
  342. /package/{bin/Git → Git}/Git.min.js +0 -0
  343. /package/{bin/Git → Git}/GitClient.d.ts +0 -0
  344. /package/{bin/Git → Git}/GitClient.js +0 -0
  345. /package/{bin/Git → Git}/GitClient.min.js +0 -0
  346. /package/{bin/Git → Git}/GitServices.d.ts +0 -0
  347. /package/{bin/Git → Git}/GitServices.js +0 -0
  348. /package/{bin/Git → Git}/GitServices.min.js +0 -0
  349. /package/{bin/Git → Git}/index.d.ts +0 -0
  350. /package/{bin/Git → Git}/index.js +0 -0
  351. /package/{bin/Git → Git}/index.min.js +0 -0
  352. /package/{bin/Graph → Graph}/Graph.d.ts +0 -0
  353. /package/{bin/Graph → Graph}/Graph.js +0 -0
  354. /package/{bin/Graph → Graph}/Graph.min.js +0 -0
  355. /package/{bin/Graph → Graph}/GraphClient.d.ts +0 -0
  356. /package/{bin/Graph → Graph}/GraphClient.js +0 -0
  357. /package/{bin/Graph → Graph}/GraphClient.min.js +0 -0
  358. /package/{bin/Graph → Graph}/index.d.ts +0 -0
  359. /package/{bin/Graph → Graph}/index.js +0 -0
  360. /package/{bin/Graph → Graph}/index.min.js +0 -0
  361. /package/{bin/Identities → Identities}/Identities.d.ts +0 -0
  362. /package/{bin/Identities → Identities}/Identities.js +0 -0
  363. /package/{bin/Identities → Identities}/Identities.min.js +0 -0
  364. /package/{bin/Identities → Identities}/IdentityProvider.d.ts +0 -0
  365. /package/{bin/Identities → Identities}/IdentityProvider.js +0 -0
  366. /package/{bin/Identities → Identities}/IdentityProvider.min.js +0 -0
  367. /package/{bin/Identities → Identities}/IdentityService.d.ts +0 -0
  368. /package/{bin/Identities → Identities}/IdentityService.js +0 -0
  369. /package/{bin/Identities → Identities}/IdentityService.min.js +0 -0
  370. /package/{bin/Identities → Identities}/index.d.ts +0 -0
  371. /package/{bin/Identities → Identities}/index.js +0 -0
  372. /package/{bin/Identities → Identities}/index.min.js +0 -0
  373. /package/{bin/Locations → Locations}/Locations.d.ts +0 -0
  374. /package/{bin/Locations → Locations}/Locations.js +0 -0
  375. /package/{bin/Locations → Locations}/Locations.min.js +0 -0
  376. /package/{bin/Locations → Locations}/LocationsClient.d.ts +0 -0
  377. /package/{bin/Locations → Locations}/LocationsClient.js +0 -0
  378. /package/{bin/Locations → Locations}/LocationsClient.min.js +0 -0
  379. /package/{bin/Locations → Locations}/index.d.ts +0 -0
  380. /package/{bin/Locations → Locations}/index.js +0 -0
  381. /package/{bin/Locations → Locations}/index.min.js +0 -0
  382. /package/{bin/Management → Management}/Management.js +0 -0
  383. /package/{bin/Management → Management}/Management.min.js +0 -0
  384. /package/{bin/Management → Management}/ManagementClient.d.ts +0 -0
  385. /package/{bin/Management → Management}/ManagementClient.js +0 -0
  386. /package/{bin/Management → Management}/ManagementClient.min.js +0 -0
  387. /package/{bin/Notification → Notification}/Notification.d.ts +0 -0
  388. /package/{bin/Notification → Notification}/Notification.js +0 -0
  389. /package/{bin/Notification → Notification}/Notification.min.js +0 -0
  390. /package/{bin/Notification → Notification}/NotificationClient.d.ts +0 -0
  391. /package/{bin/Notification → Notification}/NotificationClient.js +0 -0
  392. /package/{bin/Notification → Notification}/NotificationClient.min.js +0 -0
  393. /package/{bin/Notification → Notification}/index.d.ts +0 -0
  394. /package/{bin/Notification → Notification}/index.js +0 -0
  395. /package/{bin/Notification → Notification}/index.min.js +0 -0
  396. /package/{bin/Operations → Operations}/Operations.d.ts +0 -0
  397. /package/{bin/Operations → Operations}/Operations.js +0 -0
  398. /package/{bin/Operations → Operations}/Operations.min.js +0 -0
  399. /package/{bin/Operations → Operations}/OperationsClient.d.ts +0 -0
  400. /package/{bin/Operations → Operations}/OperationsClient.js +0 -0
  401. /package/{bin/Operations → Operations}/OperationsClient.min.js +0 -0
  402. /package/{bin/Operations → Operations}/index.d.ts +0 -0
  403. /package/{bin/Operations → Operations}/index.js +0 -0
  404. /package/{bin/Operations → Operations}/index.min.js +0 -0
  405. /package/{bin/Pipelines → Pipelines}/Pipelines.d.ts +0 -0
  406. /package/{bin/Pipelines → Pipelines}/Pipelines.js +0 -0
  407. /package/{bin/Pipelines → Pipelines}/Pipelines.min.js +0 -0
  408. /package/{bin/Pipelines → Pipelines}/PipelinesClient.d.ts +0 -0
  409. /package/{bin/Pipelines → Pipelines}/PipelinesClient.js +0 -0
  410. /package/{bin/Pipelines → Pipelines}/PipelinesClient.min.js +0 -0
  411. /package/{bin/Policy → Policy}/Policy.d.ts +0 -0
  412. /package/{bin/Policy → Policy}/Policy.js +0 -0
  413. /package/{bin/Policy → Policy}/Policy.min.js +0 -0
  414. /package/{bin/Policy → Policy}/PolicyClient.d.ts +0 -0
  415. /package/{bin/Policy → Policy}/PolicyClient.js +0 -0
  416. /package/{bin/Policy → Policy}/PolicyClient.min.js +0 -0
  417. /package/{bin/Policy → Policy}/index.d.ts +0 -0
  418. /package/{bin/Policy → Policy}/index.js +0 -0
  419. /package/{bin/Policy → Policy}/index.min.js +0 -0
  420. /package/{bin/Profile → Profile}/Profile.d.ts +0 -0
  421. /package/{bin/Profile → Profile}/Profile.js +0 -0
  422. /package/{bin/Profile → Profile}/Profile.min.js +0 -0
  423. /package/{bin/Profile → Profile}/ProfileClient.d.ts +0 -0
  424. /package/{bin/Profile → Profile}/ProfileClient.js +0 -0
  425. /package/{bin/Profile → Profile}/ProfileClient.min.js +0 -0
  426. /package/{bin/Profile → Profile}/index.d.ts +0 -0
  427. /package/{bin/Profile → Profile}/index.js +0 -0
  428. /package/{bin/Profile → Profile}/index.min.js +0 -0
  429. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
  430. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.js +0 -0
  431. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
  432. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
  433. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
  434. /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
  435. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.d.ts +0 -0
  436. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.js +0 -0
  437. /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.min.js +0 -0
  438. /package/{bin/Release → Release}/Release.d.ts +0 -0
  439. /package/{bin/Release → Release}/Release.js +0 -0
  440. /package/{bin/Release → Release}/Release.min.js +0 -0
  441. /package/{bin/Release → Release}/index.d.ts +0 -0
  442. /package/{bin/Release → Release}/index.js +0 -0
  443. /package/{bin/Release → Release}/index.min.js +0 -0
  444. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.d.ts +0 -0
  445. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.js +0 -0
  446. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.min.js +0 -0
  447. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.d.ts +0 -0
  448. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.js +0 -0
  449. /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.min.js +0 -0
  450. /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.js +0 -0
  451. /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
  452. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.d.ts +0 -0
  453. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.js +0 -0
  454. /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.min.js +0 -0
  455. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.d.ts +0 -0
  456. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.js +0 -0
  457. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.min.js +0 -0
  458. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.d.ts +0 -0
  459. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.js +0 -0
  460. /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.min.js +0 -0
  461. /package/{bin/ServiceHooks → ServiceHooks}/index.d.ts +0 -0
  462. /package/{bin/ServiceHooks → ServiceHooks}/index.js +0 -0
  463. /package/{bin/ServiceHooks → ServiceHooks}/index.min.js +0 -0
  464. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.d.ts +0 -0
  465. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.js +0 -0
  466. /package/{bin/TaskAgent → TaskAgent}/TaskAgent.min.js +0 -0
  467. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.d.ts +0 -0
  468. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.js +0 -0
  469. /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.min.js +0 -0
  470. /package/{bin/TaskAgent → TaskAgent}/index.d.ts +0 -0
  471. /package/{bin/TaskAgent → TaskAgent}/index.js +0 -0
  472. /package/{bin/TaskAgent → TaskAgent}/index.min.js +0 -0
  473. /package/{bin/Test → Test}/Test.d.ts +0 -0
  474. /package/{bin/Test → Test}/Test.js +0 -0
  475. /package/{bin/Test → Test}/Test.min.js +0 -0
  476. /package/{bin/Test → Test}/TestClient.d.ts +0 -0
  477. /package/{bin/Test → Test}/TestClient.js +0 -0
  478. /package/{bin/Test → Test}/TestClient.min.js +0 -0
  479. /package/{bin/Test → Test}/index.d.ts +0 -0
  480. /package/{bin/Test → Test}/index.js +0 -0
  481. /package/{bin/Test → Test}/index.min.js +0 -0
  482. /package/{bin/TestPlan → TestPlan}/TestPlan.d.ts +0 -0
  483. /package/{bin/TestPlan → TestPlan}/TestPlan.js +0 -0
  484. /package/{bin/TestPlan → TestPlan}/TestPlan.min.js +0 -0
  485. /package/{bin/TestPlan → TestPlan}/TestPlanClient.d.ts +0 -0
  486. /package/{bin/TestPlan → TestPlan}/TestPlanClient.js +0 -0
  487. /package/{bin/TestPlan → TestPlan}/TestPlanClient.min.js +0 -0
  488. /package/{bin/TestPlan → TestPlan}/index.d.ts +0 -0
  489. /package/{bin/TestPlan → TestPlan}/index.js +0 -0
  490. /package/{bin/TestPlan → TestPlan}/index.min.js +0 -0
  491. /package/{bin/TestResults → TestResults}/TestResults.d.ts +0 -0
  492. /package/{bin/TestResults → TestResults}/TestResults.js +0 -0
  493. /package/{bin/TestResults → TestResults}/TestResults.min.js +0 -0
  494. /package/{bin/TestResults → TestResults}/index.d.ts +0 -0
  495. /package/{bin/TestResults → TestResults}/index.js +0 -0
  496. /package/{bin/TestResults → TestResults}/index.min.js +0 -0
  497. /package/{bin/Tfvc → Tfvc}/Tfvc.d.ts +0 -0
  498. /package/{bin/Tfvc → Tfvc}/Tfvc.js +0 -0
  499. /package/{bin/Tfvc → Tfvc}/Tfvc.min.js +0 -0
  500. /package/{bin/Tfvc → Tfvc}/TfvcClient.d.ts +0 -0
  501. /package/{bin/Tfvc → Tfvc}/TfvcClient.js +0 -0
  502. /package/{bin/Tfvc → Tfvc}/TfvcClient.min.js +0 -0
  503. /package/{bin/Tfvc → Tfvc}/index.d.ts +0 -0
  504. /package/{bin/Tfvc → Tfvc}/index.js +0 -0
  505. /package/{bin/Tfvc → Tfvc}/index.min.js +0 -0
  506. /package/{bin/WebApi → WebApi}/WebApi.d.ts +0 -0
  507. /package/{bin/WebApi → WebApi}/WebApi.js +0 -0
  508. /package/{bin/WebApi → WebApi}/WebApi.min.js +0 -0
  509. /package/{bin/WebApi → WebApi}/index.d.ts +0 -0
  510. /package/{bin/WebApi → WebApi}/index.js +0 -0
  511. /package/{bin/WebApi → WebApi}/index.min.js +0 -0
  512. /package/{bin/Wiki → Wiki}/Wiki.d.ts +0 -0
  513. /package/{bin/Wiki → Wiki}/Wiki.js +0 -0
  514. /package/{bin/Wiki → Wiki}/Wiki.min.js +0 -0
  515. /package/{bin/Wiki → Wiki}/WikiClient.d.ts +0 -0
  516. /package/{bin/Wiki → Wiki}/WikiClient.js +0 -0
  517. /package/{bin/Wiki → Wiki}/WikiClient.min.js +0 -0
  518. /package/{bin/Wiki → Wiki}/index.d.ts +0 -0
  519. /package/{bin/Wiki → Wiki}/index.js +0 -0
  520. /package/{bin/Wiki → Wiki}/index.min.js +0 -0
  521. /package/{bin/Work → Work}/Work.d.ts +0 -0
  522. /package/{bin/Work → Work}/Work.js +0 -0
  523. /package/{bin/Work → Work}/Work.min.js +0 -0
  524. /package/{bin/Work → Work}/WorkClient.d.ts +0 -0
  525. /package/{bin/Work → Work}/WorkClient.js +0 -0
  526. /package/{bin/Work → Work}/WorkClient.min.js +0 -0
  527. /package/{bin/Work → Work}/index.d.ts +0 -0
  528. /package/{bin/Work → Work}/index.js +0 -0
  529. /package/{bin/Work → Work}/index.min.js +0 -0
  530. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.d.ts +0 -0
  531. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.js +0 -0
  532. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.min.js +0 -0
  533. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
  534. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.js +0 -0
  535. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
  536. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
  537. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.js +0 -0
  538. /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
  539. /package/{bin/WorkItemTracking → WorkItemTracking}/index.d.ts +0 -0
  540. /package/{bin/WorkItemTracking → WorkItemTracking}/index.js +0 -0
  541. /package/{bin/WorkItemTracking → WorkItemTracking}/index.min.js +0 -0
  542. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
  543. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
  544. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
  545. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
  546. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
  547. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
  548. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.d.ts +0 -0
  549. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.js +0 -0
  550. /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.min.js +0 -0
  551. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
  552. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
  553. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
  554. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
  555. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
  556. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
  557. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
  558. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.js +0 -0
  559. /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
  560. /package/{bin/index.d.ts → index.d.ts} +0 -0
  561. /package/{bin/index.js → index.js} +0 -0
  562. /package/{bin/index.min.js → index.min.js} +0 -0
@@ -1,1295 +0,0 @@
1
- /*
2
- * ---------------------------------------------------------
3
- * Copyright(C) Microsoft Corporation. All rights reserved.
4
- * ---------------------------------------------------------
5
- */
6
-
7
- /**
8
- * Class that describes a request to add a field in a work item type.
9
- */
10
- export interface AddProcessWorkItemTypeFieldRequest {
11
- /**
12
- * The list of field allowed values.
13
- */
14
- allowedValues: string[];
15
- /**
16
- * Allow setting field value to a group identity. Only applies to identity fields.
17
- */
18
- allowGroups: boolean;
19
- /**
20
- * The default value of the field.
21
- */
22
- defaultValue: any;
23
- /**
24
- * If true the field cannot be edited.
25
- */
26
- readOnly: boolean;
27
- /**
28
- * Reference name of the field.
29
- */
30
- referenceName: string;
31
- /**
32
- * If true the field cannot be empty.
33
- */
34
- required: boolean;
35
- }
36
-
37
- /**
38
- * Represent a control in the form.
39
- */
40
- export interface Control {
41
- /**
42
- * Contribution for the control.
43
- */
44
- contribution: WitContribution;
45
- /**
46
- * Type of the control.
47
- */
48
- controlType: string;
49
- /**
50
- * Height of the control, for html controls.
51
- */
52
- height: number;
53
- /**
54
- * The id for the layout node.
55
- */
56
- id: string;
57
- /**
58
- * A value indicating whether this layout node has been inherited. from a parent layout. This is expected to only be only set by the combiner.
59
- */
60
- inherited: boolean;
61
- /**
62
- * A value indicating if the layout node is contribution or not.
63
- */
64
- isContribution: boolean;
65
- /**
66
- * Label for the field.
67
- */
68
- label: string;
69
- /**
70
- * Inner text of the control.
71
- */
72
- metadata: string;
73
- /**
74
- * Order in which the control should appear in its group.
75
- */
76
- order: number;
77
- /**
78
- * A value indicating whether this layout node has been overridden . by a child layout.
79
- */
80
- overridden: boolean;
81
- /**
82
- * A value indicating if the control is readonly.
83
- */
84
- readOnly: boolean;
85
- /**
86
- * A value indicating if the control should be hidden or not.
87
- */
88
- visible: boolean;
89
- /**
90
- * Watermark text for the textbox.
91
- */
92
- watermark: string;
93
- }
94
-
95
- /**
96
- * Describes a process being created.
97
- */
98
- export interface CreateProcessModel {
99
- /**
100
- * Description of the process
101
- */
102
- description: string;
103
- /**
104
- * Name of the process
105
- */
106
- name: string;
107
- /**
108
- * The ID of the parent process
109
- */
110
- parentProcessTypeId: string;
111
- /**
112
- * Reference name of process being created. If not specified, server will assign a unique reference name
113
- */
114
- referenceName: string;
115
- }
116
-
117
- /**
118
- * Request object/class for creating a rule on a work item type.
119
- */
120
- export interface CreateProcessRuleRequest {
121
- /**
122
- * List of actions to take when the rule is triggered.
123
- */
124
- actions: RuleAction[];
125
- /**
126
- * List of conditions when the rule should be triggered.
127
- */
128
- conditions: RuleCondition[];
129
- /**
130
- * Indicates if the rule is disabled.
131
- */
132
- isDisabled: boolean;
133
- /**
134
- * Name for the rule.
135
- */
136
- name: string;
137
- }
138
-
139
- /**
140
- * Class for create work item type request
141
- */
142
- export interface CreateProcessWorkItemTypeRequest {
143
- /**
144
- * Color hexadecimal code to represent the work item type
145
- */
146
- color: string;
147
- /**
148
- * Description of the work item type
149
- */
150
- description: string;
151
- /**
152
- * Icon to represent the work item type
153
- */
154
- icon: string;
155
- /**
156
- * Parent work item type for work item type
157
- */
158
- inheritsFrom: string;
159
- /**
160
- * True if the work item type need to be disabled
161
- */
162
- isDisabled: boolean;
163
- /**
164
- * Name of work item type
165
- */
166
- name: string;
167
- }
168
-
169
- /**
170
- * Indicates the customization-type. Customization-type is System if is system generated or by default. Customization-type is Inherited if the existing workitemtype of inherited process is customized. Customization-type is Custom if the newly created workitemtype is customized.
171
- */
172
- export enum CustomizationType {
173
- /**
174
- * Customization-type is System if is system generated workitemtype.
175
- */
176
- System = 1,
177
- /**
178
- * Customization-type is Inherited if the existing workitemtype of inherited process is customized.
179
- */
180
- Inherited = 2,
181
- /**
182
- * Customization-type is Custom if the newly created workitemtype is customized.
183
- */
184
- Custom = 3
185
- }
186
-
187
- /**
188
- * Represents the extensions part of the layout
189
- */
190
- export interface Extension {
191
- /**
192
- * Id of the extension
193
- */
194
- id: string;
195
- }
196
-
197
- export interface FieldModel {
198
- description: string;
199
- id: string;
200
- isIdentity: boolean;
201
- isLocked: boolean;
202
- name: string;
203
- type: FieldType;
204
- url: string;
205
- }
206
-
207
- export interface FieldRuleModel {
208
- actions: RuleActionModel[];
209
- conditions: RuleConditionModel[];
210
- friendlyName: string;
211
- id: string;
212
- isDisabled: boolean;
213
- isSystem: boolean;
214
- }
215
-
216
- /**
217
- * Enum for the type of a field.
218
- */
219
- export enum FieldType {
220
- /**
221
- * String field type.
222
- */
223
- String = 1,
224
- /**
225
- * Integer field type.
226
- */
227
- Integer = 2,
228
- /**
229
- * DateTime field type.
230
- */
231
- DateTime = 3,
232
- /**
233
- * Plain text field type.
234
- */
235
- PlainText = 5,
236
- /**
237
- * HTML (Multiline) field type.
238
- */
239
- Html = 7,
240
- /**
241
- * Treepath field type.
242
- */
243
- TreePath = 8,
244
- /**
245
- * History field type.
246
- */
247
- History = 9,
248
- /**
249
- * Double field type.
250
- */
251
- Double = 10,
252
- /**
253
- * Guid field type.
254
- */
255
- Guid = 11,
256
- /**
257
- * Boolean field type.
258
- */
259
- Boolean = 12,
260
- /**
261
- * Identity field type.
262
- */
263
- Identity = 13,
264
- /**
265
- * Integer picklist field type.
266
- */
267
- PicklistInteger = 14,
268
- /**
269
- * String picklist field type.
270
- */
271
- PicklistString = 15,
272
- /**
273
- * Double picklist field type.
274
- */
275
- PicklistDouble = 16
276
- }
277
-
278
- /**
279
- * Describes the layout of a work item type
280
- */
281
- export interface FormLayout {
282
- /**
283
- * Gets and sets extensions list.
284
- */
285
- extensions: Extension[];
286
- /**
287
- * Top level tabs of the layout.
288
- */
289
- pages: Page[];
290
- /**
291
- * Headers controls of the layout.
292
- */
293
- systemControls: Control[];
294
- }
295
-
296
- /**
297
- * Expand options to fetch fields for behaviors API.
298
- */
299
- export enum GetBehaviorsExpand {
300
- /**
301
- * Default none option.
302
- */
303
- None = 0,
304
- /**
305
- * This option returns fields associated with a behavior.
306
- */
307
- Fields = 1,
308
- /**
309
- * This option returns fields associated with this behavior and all behaviors from which it inherits.
310
- */
311
- CombinedFields = 2
312
- }
313
-
314
- /**
315
- * The expand level of returned processes.
316
- */
317
- export enum GetProcessExpandLevel {
318
- /**
319
- * No expand level.
320
- */
321
- None = 0,
322
- /**
323
- * Projects expand level.
324
- */
325
- Projects = 1
326
- }
327
-
328
- /**
329
- * Flag to define what properties to return in get work item type response.
330
- */
331
- export enum GetWorkItemTypeExpand {
332
- /**
333
- * Returns no properties in get work item type response.
334
- */
335
- None = 0,
336
- /**
337
- * Returns states property in get work item type response.
338
- */
339
- States = 1,
340
- /**
341
- * Returns behaviors property in get work item type response.
342
- */
343
- Behaviors = 2,
344
- /**
345
- * Returns layout property in get work item type response.
346
- */
347
- Layout = 4
348
- }
349
-
350
- /**
351
- * Represent a group in the form that holds controls in it.
352
- */
353
- export interface Group {
354
- /**
355
- * Contribution for the group.
356
- */
357
- contribution: WitContribution;
358
- /**
359
- * Controls to be put in the group.
360
- */
361
- controls: Control[];
362
- /**
363
- * The height for the contribution.
364
- */
365
- height: number;
366
- /**
367
- * The id for the layout node.
368
- */
369
- id: string;
370
- /**
371
- * A value indicating whether this layout node has been inherited from a parent layout. This is expected to only be only set by the combiner.
372
- */
373
- inherited: boolean;
374
- /**
375
- * A value indicating if the layout node is contribution are not.
376
- */
377
- isContribution: boolean;
378
- /**
379
- * Label for the group.
380
- */
381
- label: string;
382
- /**
383
- * Order in which the group should appear in the section.
384
- */
385
- order: number;
386
- /**
387
- * A value indicating whether this layout node has been overridden by a child layout.
388
- */
389
- overridden: boolean;
390
- /**
391
- * A value indicating if the group should be hidden or not.
392
- */
393
- visible: boolean;
394
- }
395
-
396
- /**
397
- * Class that describes the work item state is hidden.
398
- */
399
- export interface HideStateModel {
400
- /**
401
- * Returns 'true', if workitem state is hidden, 'false' otherwise.
402
- */
403
- hidden: boolean;
404
- }
405
-
406
- /**
407
- * Describes a page in the work item form layout
408
- */
409
- export interface Page {
410
- /**
411
- * Contribution for the page.
412
- */
413
- contribution: WitContribution;
414
- /**
415
- * The id for the layout node.
416
- */
417
- id: string;
418
- /**
419
- * A value indicating whether this layout node has been inherited from a parent layout. This is expected to only be only set by the combiner.
420
- */
421
- inherited: boolean;
422
- /**
423
- * A value indicating if the layout node is contribution are not.
424
- */
425
- isContribution: boolean;
426
- /**
427
- * The label for the page.
428
- */
429
- label: string;
430
- /**
431
- * A value indicating whether any user operations are permitted on this page and the contents of this page
432
- */
433
- locked: boolean;
434
- /**
435
- * Order in which the page should appear in the layout.
436
- */
437
- order: number;
438
- /**
439
- * A value indicating whether this layout node has been overridden by a child layout.
440
- */
441
- overridden: boolean;
442
- /**
443
- * The icon for the page.
444
- */
445
- pageType: PageType;
446
- /**
447
- * The sections of the page.
448
- */
449
- sections: Section[];
450
- /**
451
- * A value indicating if the page should be hidden or not.
452
- */
453
- visible: boolean;
454
- }
455
-
456
- /**
457
- * Enum for the types of pages in the work item form layout
458
- */
459
- export enum PageType {
460
- /**
461
- * Custom page type.
462
- */
463
- Custom = 1,
464
- /**
465
- * History page type.
466
- */
467
- History = 2,
468
- /**
469
- * Link page type.
470
- */
471
- Links = 3,
472
- /**
473
- * Attachment page type.
474
- */
475
- Attachments = 4
476
- }
477
-
478
- /**
479
- * Picklist.
480
- */
481
- export interface PickList extends PickListMetadata {
482
- /**
483
- * A list of PicklistItemModel.
484
- */
485
- items: string[];
486
- }
487
-
488
- /**
489
- * Metadata for picklist.
490
- */
491
- export interface PickListMetadata {
492
- /**
493
- * ID of the picklist
494
- */
495
- id: string;
496
- /**
497
- * Indicates whether items outside of suggested list are allowed
498
- */
499
- isSuggested: boolean;
500
- /**
501
- * Name of the picklist
502
- */
503
- name: string;
504
- /**
505
- * DataType of picklist
506
- */
507
- type: string;
508
- /**
509
- * Url of the picklist
510
- */
511
- url: string;
512
- }
513
-
514
- /**
515
- * Process Behavior Model.
516
- */
517
- export interface ProcessBehavior {
518
- /**
519
- * Color.
520
- */
521
- color: string;
522
- /**
523
- * Indicates the type of customization on this work item. System behaviors are inherited from parent process but not modified. Inherited behaviors are modified behaviors that were inherited from parent process. Custom behaviors are behaviors created by user in current process.
524
- */
525
- customization: CustomizationType;
526
- /**
527
- * . Description
528
- */
529
- description: string;
530
- /**
531
- * Process Behavior Fields.
532
- */
533
- fields: ProcessBehaviorField[];
534
- /**
535
- * Parent behavior reference.
536
- */
537
- inherits: ProcessBehaviorReference;
538
- /**
539
- * Behavior Name.
540
- */
541
- name: string;
542
- /**
543
- * Rank of the behavior
544
- */
545
- rank: number;
546
- /**
547
- * Behavior Id
548
- */
549
- referenceName: string;
550
- /**
551
- * Url of the behavior.
552
- */
553
- url: string;
554
- }
555
-
556
- /**
557
- * Process Behavior Create Payload.
558
- */
559
- export interface ProcessBehaviorCreateRequest {
560
- /**
561
- * Color.
562
- */
563
- color: string;
564
- /**
565
- * Parent behavior id.
566
- */
567
- inherits: string;
568
- /**
569
- * Name of the behavior.
570
- */
571
- name: string;
572
- /**
573
- * ReferenceName is optional, if not specified will be auto-generated.
574
- */
575
- referenceName: string;
576
- }
577
-
578
- /**
579
- * Process Behavior Field.
580
- */
581
- export interface ProcessBehaviorField {
582
- /**
583
- * Name of the field.
584
- */
585
- name: string;
586
- /**
587
- * Reference name of the field.
588
- */
589
- referenceName: string;
590
- /**
591
- * Url to field.
592
- */
593
- url: string;
594
- }
595
-
596
- /**
597
- * Process behavior Reference.
598
- */
599
- export interface ProcessBehaviorReference {
600
- /**
601
- * Id of a Behavior.
602
- */
603
- behaviorRefName: string;
604
- /**
605
- * Url to behavior.
606
- */
607
- url: string;
608
- }
609
-
610
- /**
611
- * Process Behavior Replace Payload.
612
- */
613
- export interface ProcessBehaviorUpdateRequest {
614
- /**
615
- * Color.
616
- */
617
- color: string;
618
- /**
619
- * Behavior Name.
620
- */
621
- name: string;
622
- }
623
-
624
- export enum ProcessClass {
625
- System = 0,
626
- Derived = 1,
627
- Custom = 2
628
- }
629
-
630
- /**
631
- * Process.
632
- */
633
- export interface ProcessInfo {
634
- /**
635
- * Indicates the type of customization on this process. System Process is default process. Inherited Process is modified process that was System process before.
636
- */
637
- customizationType: CustomizationType;
638
- /**
639
- * Description of the process.
640
- */
641
- description: string;
642
- /**
643
- * Is the process default.
644
- */
645
- isDefault: boolean;
646
- /**
647
- * Is the process enabled.
648
- */
649
- isEnabled: boolean;
650
- /**
651
- * Name of the process.
652
- */
653
- name: string;
654
- /**
655
- * ID of the parent process.
656
- */
657
- parentProcessTypeId: string;
658
- /**
659
- * Projects in this process to which the user is subscribed to.
660
- */
661
- projects: ProjectReference[];
662
- /**
663
- * Reference name of the process.
664
- */
665
- referenceName: string;
666
- /**
667
- * The ID of the process.
668
- */
669
- typeId: string;
670
- }
671
-
672
- export interface ProcessModel {
673
- /**
674
- * Description of the process
675
- */
676
- description: string;
677
- /**
678
- * Name of the process
679
- */
680
- name: string;
681
- /**
682
- * Projects in this process
683
- */
684
- projects: ProjectReference[];
685
- /**
686
- * Properties of the process
687
- */
688
- properties: ProcessProperties;
689
- /**
690
- * Reference name of the process
691
- */
692
- referenceName: string;
693
- /**
694
- * The ID of the process
695
- */
696
- typeId: string;
697
- }
698
-
699
- /**
700
- * Properties of the process.
701
- */
702
- export interface ProcessProperties {
703
- /**
704
- * Class of the process.
705
- */
706
- class: ProcessClass;
707
- /**
708
- * Is the process default process.
709
- */
710
- isDefault: boolean;
711
- /**
712
- * Is the process enabled.
713
- */
714
- isEnabled: boolean;
715
- /**
716
- * ID of the parent process.
717
- */
718
- parentProcessTypeId: string;
719
- /**
720
- * Version of the process.
721
- */
722
- version: string;
723
- }
724
-
725
- /**
726
- * Process Rule Response.
727
- */
728
- export interface ProcessRule extends CreateProcessRuleRequest {
729
- /**
730
- * Indicates if the rule is system generated or created by user.
731
- */
732
- customizationType: CustomizationType;
733
- /**
734
- * Id to uniquely identify the rule.
735
- */
736
- id: string;
737
- /**
738
- * Resource Url.
739
- */
740
- url: string;
741
- }
742
-
743
- /**
744
- * Class that describes a work item type object
745
- */
746
- export interface ProcessWorkItemType {
747
- behaviors: WorkItemTypeBehavior[];
748
- /**
749
- * Color hexadecimal code to represent the work item type
750
- */
751
- color: string;
752
- /**
753
- * Indicates the type of customization on this work item System work item types are inherited from parent process but not modified Inherited work item types are modified work item that were inherited from parent process Custom work item types are work item types that were created in the current process
754
- */
755
- customization: CustomizationType;
756
- /**
757
- * Description of the work item type
758
- */
759
- description: string;
760
- /**
761
- * Icon to represent the work item typ
762
- */
763
- icon: string;
764
- /**
765
- * Reference name of the parent work item type
766
- */
767
- inherits: string;
768
- /**
769
- * Indicates if a work item type is disabled
770
- */
771
- isDisabled: boolean;
772
- layout: FormLayout;
773
- /**
774
- * Name of the work item type
775
- */
776
- name: string;
777
- /**
778
- * Reference name of work item type
779
- */
780
- referenceName: string;
781
- states: WorkItemStateResultModel[];
782
- /**
783
- * Url of the work item type
784
- */
785
- url: string;
786
- }
787
-
788
- /**
789
- * Class that describes a field in a work item type and its properties.
790
- */
791
- export interface ProcessWorkItemTypeField {
792
- /**
793
- * The list of field allowed values.
794
- */
795
- allowedValues: any[];
796
- /**
797
- * Allow setting field value to a group identity. Only applies to identity fields.
798
- */
799
- allowGroups: boolean;
800
- /**
801
- * Indicates the type of customization on this work item.
802
- */
803
- customization: CustomizationType;
804
- /**
805
- * The default value of the field.
806
- */
807
- defaultValue: any;
808
- /**
809
- * Description of the field.
810
- */
811
- description: string;
812
- /**
813
- * Information about field definition being locked for editing
814
- */
815
- isLocked: boolean;
816
- /**
817
- * Name of the field.
818
- */
819
- name: string;
820
- /**
821
- * If true the field cannot be edited.
822
- */
823
- readOnly: boolean;
824
- /**
825
- * Reference name of the field.
826
- */
827
- referenceName: string;
828
- /**
829
- * If true the field cannot be empty.
830
- */
831
- required: boolean;
832
- /**
833
- * Type of the field.
834
- */
835
- type: FieldType;
836
- /**
837
- * Resource URL of the field.
838
- */
839
- url: string;
840
- }
841
-
842
- /**
843
- * Expand options for the work item field(s) request.
844
- */
845
- export enum ProcessWorkItemTypeFieldsExpandLevel {
846
- /**
847
- * Includes only basic properties of the field.
848
- */
849
- None = 0,
850
- /**
851
- * Includes allowed values for the field.
852
- */
853
- AllowedValues = 1,
854
- /**
855
- * Includes allowed values and dependent fields of the field.
856
- */
857
- All = 2
858
- }
859
-
860
- /**
861
- * Defines the project reference class.
862
- */
863
- export interface ProjectReference {
864
- /**
865
- * Description of the project
866
- */
867
- description: string;
868
- /**
869
- * The ID of the project
870
- */
871
- id: string;
872
- /**
873
- * Name of the project
874
- */
875
- name: string;
876
- /**
877
- * Url of the project
878
- */
879
- url: string;
880
- }
881
-
882
- /**
883
- * Action to take when the rule is triggered.
884
- */
885
- export interface RuleAction {
886
- /**
887
- * Type of action to take when the rule is triggered.
888
- */
889
- actionType: RuleActionType;
890
- /**
891
- * Field on which the action should be taken.
892
- */
893
- targetField: string;
894
- /**
895
- * Value to apply on target field, once the action is taken.
896
- */
897
- value: string;
898
- }
899
-
900
- /**
901
- * Action to take when the rule is triggered.
902
- */
903
- export interface RuleActionModel {
904
- actionType: string;
905
- targetField: string;
906
- value: string;
907
- }
908
-
909
- /**
910
- * Type of action to take when the rule is triggered.
911
- */
912
- export enum RuleActionType {
913
- /**
914
- * Make the target field required. Example : \{"actionType":"$makeRequired","targetField":"Microsoft.VSTS.Common.Activity","value":""\}
915
- */
916
- MakeRequired = 1,
917
- /**
918
- * Make the target field read-only. Example : \{"actionType":"$makeReadOnly","targetField":"Microsoft.VSTS.Common.Activity","value":""\}
919
- */
920
- MakeReadOnly = 2,
921
- /**
922
- * Set a default value on the target field. This is used if the user creates a integer/string field and sets a default value of this field.
923
- */
924
- SetDefaultValue = 3,
925
- /**
926
- * Set the default value on the target field from server clock. This is used if user creates the field like Date/Time and uses default value.
927
- */
928
- SetDefaultFromClock = 4,
929
- /**
930
- * Set the default current user value on the target field. This is used if the user creates the field of type identity and uses default value.
931
- */
932
- SetDefaultFromCurrentUser = 5,
933
- /**
934
- * Set the default value on from existing field to the target field. This used wants to set a existing field value to the current field.
935
- */
936
- SetDefaultFromField = 6,
937
- /**
938
- * Set the value of target field to given value. Example : \{actionType: "$copyValue", targetField: "ScrumInherited.mypicklist", value: "samplevalue"\}
939
- */
940
- CopyValue = 7,
941
- /**
942
- * Set the value from clock.
943
- */
944
- CopyFromClock = 8,
945
- /**
946
- * Set the current user to the target field. Example : \{"actionType":"$copyFromCurrentUser","targetField":"System.AssignedTo","value":""\}.
947
- */
948
- CopyFromCurrentUser = 9,
949
- /**
950
- * Copy the value from a specified field and set to target field. Example : \{actionType: "$copyFromField", targetField: "System.AssignedTo", value:"System.ChangedBy"\}. Here, value is copied from "System.ChangedBy" and set to "System.AssingedTo" field.
951
- */
952
- CopyFromField = 10,
953
- /**
954
- * Set the value of the target field to empty.
955
- */
956
- SetValueToEmpty = 11,
957
- /**
958
- * Use the current time to set the value of the target field. Example : \{actionType: "$copyFromServerClock", targetField: "System.CreatedDate", value: ""\}
959
- */
960
- CopyFromServerClock = 12,
961
- /**
962
- * Use the current user to set the value of the target field.
963
- */
964
- CopyFromServerCurrentUser = 13,
965
- /**
966
- * Hides target field from the form. This is a server side only action.
967
- */
968
- HideTargetField = 14,
969
- /**
970
- * Disallows a field from being set to a specific value.
971
- */
972
- DisallowValue = 15
973
- }
974
-
975
- /**
976
- * Defines a condition on a field when the rule should be triggered.
977
- */
978
- export interface RuleCondition {
979
- /**
980
- * Type of condition. $When. This condition limits the execution of its children to cases when another field has a particular value, i.e. when the Is value of the referenced field is equal to the given literal value. $WhenNot.This condition limits the execution of its children to cases when another field does not have a particular value, i.e.when the Is value of the referenced field is not equal to the given literal value. $WhenChanged.This condition limits the execution of its children to cases when another field has changed, i.e.when the Is value of the referenced field is not equal to the Was value of that field. $WhenNotChanged.This condition limits the execution of its children to cases when another field has not changed, i.e.when the Is value of the referenced field is equal to the Was value of that field.
981
- */
982
- conditionType: RuleConditionType;
983
- /**
984
- * Field that defines condition.
985
- */
986
- field: string;
987
- /**
988
- * Value of field to define the condition for rule.
989
- */
990
- value: string;
991
- }
992
-
993
- export interface RuleConditionModel {
994
- conditionType: string;
995
- field: string;
996
- value: string;
997
- }
998
-
999
- /**
1000
- * Type of rule condition.
1001
- */
1002
- export enum RuleConditionType {
1003
- /**
1004
- * $When. This condition limits the execution of its children to cases when another field has a particular value, i.e. when the Is value of the referenced field is equal to the given literal value.
1005
- */
1006
- When = 1,
1007
- /**
1008
- * $WhenNot.This condition limits the execution of its children to cases when another field does not have a particular value, i.e.when the Is value of the referenced field is not equal to the given literal value.
1009
- */
1010
- WhenNot = 2,
1011
- /**
1012
- * $WhenChanged.This condition limits the execution of its children to cases when another field has changed, i.e.when the Is value of the referenced field is not equal to the Was value of that field.
1013
- */
1014
- WhenChanged = 3,
1015
- /**
1016
- * $WhenNotChanged.This condition limits the execution of its children to cases when another field has not changed, i.e.when the Is value of the referenced field is equal to the Was value of that field.
1017
- */
1018
- WhenNotChanged = 4,
1019
- /**
1020
- * $WhenWas. This condition limits the execution of its children to cases when another field value is changed from one value to another. e.g. If the condition is : When the work item state changes from New to Approved, here $WhenWas clause defines the "New" state of the workitem and $When clause defines "Approved" state.
1021
- */
1022
- WhenWas = 5,
1023
- WhenStateChangedTo = 6,
1024
- WhenStateChangedFromAndTo = 7,
1025
- WhenWorkItemIsCreated = 8,
1026
- WhenValueIsDefined = 9,
1027
- WhenValueIsNotDefined = 10,
1028
- /**
1029
- * This condition checks if current user is member of a particular group. This condition does not have any 1:1 mapping with any server side rule condition, rather this is a dummy condition added for customer simplicity of understanding. This condition is later translated to a FOR membership filter . e.g. If the condition is : WhenCurrentUserIsMemberOfGroup "Approvers" then "MakeRequired" Field1.Here it translates to a For rule , "MakeRequired" for "Approvers"
1030
- */
1031
- WhenCurrentUserIsMemberOfGroup = 11,
1032
- /**
1033
- * This condition checks if current user is not member of a particular group. This condition does not have any 1:1 mapping with any server side rule condition, rather this is a dummy condition added for customer simplicity of understanding. This condition is later translated to a NOT membership filter . e.g. If the condition is : WhenCurrentUserIsNotMemberOfGroup "Approvers" then "MakeRequired" Field1.Here it translates to a Not rule , "MakeRequired" not "Approvers"
1034
- */
1035
- WhenCurrentUserIsNotMemberOfGroup = 12
1036
- }
1037
-
1038
- /**
1039
- * Defines a section of the work item form layout
1040
- */
1041
- export interface Section {
1042
- /**
1043
- * List of child groups in this section
1044
- */
1045
- groups: Group[];
1046
- /**
1047
- * The id for the layout node.
1048
- */
1049
- id: string;
1050
- /**
1051
- * A value indicating whether this layout node has been overridden by a child layout.
1052
- */
1053
- overridden: boolean;
1054
- }
1055
-
1056
- /**
1057
- * Describes a request to update a process
1058
- */
1059
- export interface UpdateProcessModel {
1060
- /**
1061
- * New description of the process
1062
- */
1063
- description: string;
1064
- /**
1065
- * If true new projects will use this process by default
1066
- */
1067
- isDefault: boolean;
1068
- /**
1069
- * If false the process will be disabled and cannot be used to create projects
1070
- */
1071
- isEnabled: boolean;
1072
- /**
1073
- * New name of the process
1074
- */
1075
- name: string;
1076
- }
1077
-
1078
- /**
1079
- * Request class/object to update the rule.
1080
- */
1081
- export interface UpdateProcessRuleRequest extends CreateProcessRuleRequest {
1082
- /**
1083
- * Id to uniquely identify the rule.
1084
- */
1085
- id: string;
1086
- }
1087
-
1088
- /**
1089
- * Class to describe a request that updates a field's properties in a work item type.
1090
- */
1091
- export interface UpdateProcessWorkItemTypeFieldRequest {
1092
- /**
1093
- * The list of field allowed values.
1094
- */
1095
- allowedValues: string[];
1096
- /**
1097
- * Allow setting field value to a group identity. Only applies to identity fields.
1098
- */
1099
- allowGroups: boolean;
1100
- /**
1101
- * The default value of the field.
1102
- */
1103
- defaultValue: any;
1104
- /**
1105
- * If true the field cannot be edited.
1106
- */
1107
- readOnly: boolean;
1108
- /**
1109
- * The default value of the field.
1110
- */
1111
- required: boolean;
1112
- }
1113
-
1114
- /**
1115
- * Class for update request on a work item type
1116
- */
1117
- export interface UpdateProcessWorkItemTypeRequest {
1118
- /**
1119
- * Color of the work item type
1120
- */
1121
- color: string;
1122
- /**
1123
- * Description of the work item type
1124
- */
1125
- description: string;
1126
- /**
1127
- * Icon of the work item type
1128
- */
1129
- icon: string;
1130
- /**
1131
- * If set will disable the work item type
1132
- */
1133
- isDisabled: boolean;
1134
- }
1135
-
1136
- /**
1137
- * Properties of a work item form contribution
1138
- */
1139
- export interface WitContribution {
1140
- /**
1141
- * The id for the contribution.
1142
- */
1143
- contributionId: string;
1144
- /**
1145
- * The height for the contribution.
1146
- */
1147
- height: number;
1148
- /**
1149
- * A dictionary holding key value pairs for contribution inputs.
1150
- */
1151
- inputs: { [key: string] : any; };
1152
- /**
1153
- * A value indicating if the contribution should be show on deleted workItem.
1154
- */
1155
- showOnDeletedWorkItem: boolean;
1156
- }
1157
-
1158
- export interface WorkItemBehavior {
1159
- abstract: boolean;
1160
- color: string;
1161
- description: string;
1162
- fields: WorkItemBehaviorField[];
1163
- id: string;
1164
- inherits: WorkItemBehaviorReference;
1165
- name: string;
1166
- overriden: boolean;
1167
- rank: number;
1168
- url: string;
1169
- }
1170
-
1171
- export interface WorkItemBehaviorField {
1172
- behaviorFieldId: string;
1173
- id: string;
1174
- url: string;
1175
- }
1176
-
1177
- /**
1178
- * Reference to the behavior of a work item type.
1179
- */
1180
- export interface WorkItemBehaviorReference {
1181
- /**
1182
- * The ID of the reference behavior.
1183
- */
1184
- id: string;
1185
- /**
1186
- * The url of the reference behavior.
1187
- */
1188
- url: string;
1189
- }
1190
-
1191
- /**
1192
- * Class That represents a work item state input.
1193
- */
1194
- export interface WorkItemStateInputModel {
1195
- /**
1196
- * Color of the state
1197
- */
1198
- color: string;
1199
- /**
1200
- * Name of the state
1201
- */
1202
- name: string;
1203
- /**
1204
- * Order in which state should appear
1205
- */
1206
- order: number;
1207
- /**
1208
- * Category of the state
1209
- */
1210
- stateCategory: string;
1211
- }
1212
-
1213
- /**
1214
- * Class that represents a work item state result.
1215
- */
1216
- export interface WorkItemStateResultModel {
1217
- /**
1218
- * Work item state color.
1219
- */
1220
- color: string;
1221
- /**
1222
- * Work item state customization type.
1223
- */
1224
- customizationType: CustomizationType;
1225
- /**
1226
- * If the Work item state is hidden.
1227
- */
1228
- hidden: boolean;
1229
- /**
1230
- * Id of the Workitemstate.
1231
- */
1232
- id: string;
1233
- /**
1234
- * Work item state name.
1235
- */
1236
- name: string;
1237
- /**
1238
- * Work item state order.
1239
- */
1240
- order: number;
1241
- /**
1242
- * Work item state statecategory.
1243
- */
1244
- stateCategory: string;
1245
- /**
1246
- * Work item state url.
1247
- */
1248
- url: string;
1249
- }
1250
-
1251
- /**
1252
- * Association between a work item type and it's behavior
1253
- */
1254
- export interface WorkItemTypeBehavior {
1255
- /**
1256
- * Reference to the behavior of a work item type
1257
- */
1258
- behavior: WorkItemBehaviorReference;
1259
- /**
1260
- * If true the work item type is the default work item type in the behavior
1261
- */
1262
- isDefault: boolean;
1263
- /**
1264
- * If true the work item type is the default work item type in the parent behavior
1265
- */
1266
- isLegacyDefault: boolean;
1267
- /**
1268
- * URL of the work item type behavior
1269
- */
1270
- url: string;
1271
- }
1272
-
1273
- export enum WorkItemTypeClass {
1274
- System = 0,
1275
- Derived = 1,
1276
- Custom = 2
1277
- }
1278
-
1279
- export interface WorkItemTypeModel {
1280
- behaviors: WorkItemTypeBehavior[];
1281
- class: WorkItemTypeClass;
1282
- color: string;
1283
- description: string;
1284
- icon: string;
1285
- id: string;
1286
- /**
1287
- * Parent WIT Id/Internal ReferenceName that it inherits from
1288
- */
1289
- inherits: string;
1290
- isDisabled: boolean;
1291
- layout: FormLayout;
1292
- name: string;
1293
- states: WorkItemStateResultModel[];
1294
- url: string;
1295
- }