azure-devops-extension-api 4.245.1 → 4.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/SECURITY.md +41 -0
  2. package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/Reporting.d.ts +48 -0
  3. package/bin/AdvancedSecurity.Reporting/Reporting.js +32 -0
  4. package/bin/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
  5. package/{Alert → bin/Alert}/Alert.d.ts +8 -8
  6. package/{Alert → bin/Alert}/AlertClient.d.ts +1 -1
  7. package/{Alert → bin/Alert}/AlertClient.js +1 -1
  8. package/{Contributions → bin/Contributions}/ContributionsClient.js +2 -2
  9. package/{Contributions → bin/Contributions}/ContributionsClient.min.js +1 -1
  10. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.js +7 -7
  11. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.min.js +1 -1
  12. package/{FormInput → bin/FormInput}/FormInput.d.ts +8 -0
  13. package/bin/LICENSE +21 -0
  14. package/bin/README.md +2 -0
  15. package/{TaskAgent → bin/TaskAgent}/TaskAgent.d.ts +12 -0
  16. package/{Test → bin/Test}/Test.d.ts +31 -7
  17. package/{TestPlan → bin/TestPlan}/TestPlan.d.ts +6 -2
  18. package/{TestPlan → bin/TestPlan}/TestPlanClient.d.ts +19 -0
  19. package/{TestPlan → bin/TestPlan}/TestPlanClient.js +84 -0
  20. package/{TestPlan → bin/TestPlan}/TestPlanClient.min.js +1 -1
  21. package/{TestResults → bin/TestResults}/TestResultsClient.d.ts +8 -0
  22. package/{TestResults → bin/TestResults}/TestResultsClient.js +23 -0
  23. package/{TestResults → bin/TestResults}/TestResultsClient.min.js +1 -1
  24. package/bin/package.json +37 -0
  25. package/buildpackage.js +80 -0
  26. package/package.json +1 -1
  27. package/src/Accounts/Accounts.ts +134 -0
  28. package/src/Accounts/AccountsClient.ts +83 -0
  29. package/src/Accounts/index.ts +2 -0
  30. package/src/AdvancedSecurity.Reporting/Reporting.ts +180 -0
  31. package/src/AdvancedSecurity.Reporting/ReportingClient.ts +47 -0
  32. package/src/Alert/Alert.ts +1037 -0
  33. package/src/Alert/AlertClient.ts +330 -0
  34. package/src/Boards/Boards.ts +684 -0
  35. package/src/Boards/BoardsClient.ts +593 -0
  36. package/src/Boards/index.ts +2 -0
  37. package/src/Build/Build.ts +3416 -0
  38. package/src/Build/BuildClient.ts +2740 -0
  39. package/src/Build/BuildServices.ts +39 -0
  40. package/src/Build/index.ts +3 -0
  41. package/src/Comments/Comments.ts +330 -0
  42. package/src/Comments/index.ts +1 -0
  43. package/src/Common/Client.ts +37 -0
  44. package/src/Common/CommonServices.ts +853 -0
  45. package/src/Common/Context.d.ts +46 -0
  46. package/src/Common/Fetch.ts +239 -0
  47. package/src/Common/RestClientBase.ts +186 -0
  48. package/src/Common/System.ts +36 -0
  49. package/src/Common/SystemData.ts +135 -0
  50. package/src/Common/Util/Serialization.ts +59 -0
  51. package/src/Common/Util/Url.ts +773 -0
  52. package/src/Common/index.ts +3 -0
  53. package/src/Contributions/Contributions.ts +708 -0
  54. package/src/Contributions/ContributionsClient.ts +109 -0
  55. package/src/Contributions/index.ts +2 -0
  56. package/src/Core/Core.ts +579 -0
  57. package/src/Core/CoreClient.ts +765 -0
  58. package/src/Core/index.ts +2 -0
  59. package/src/Dashboard/Dashboard.ts +419 -0
  60. package/src/Dashboard/DashboardClient.ts +370 -0
  61. package/src/Dashboard/WidgetConfigHelpers.ts +43 -0
  62. package/src/Dashboard/WidgetContracts.ts +226 -0
  63. package/src/Dashboard/WidgetHelpers.ts +145 -0
  64. package/src/Dashboard/index.ts +5 -0
  65. package/src/DistributedTaskCommon/DistributedTaskCommon.ts +108 -0
  66. package/src/DistributedTaskCommon/index.ts +1 -0
  67. package/src/ExtensionManagement/ExtensionManagement.ts +1205 -0
  68. package/src/ExtensionManagement/ExtensionManagementClient.ts +646 -0
  69. package/src/ExtensionManagement/index.ts +2 -0
  70. package/src/Favorite/Favorite.ts +136 -0
  71. package/src/Favorite/FavoriteClient.ts +301 -0
  72. package/src/FeatureAvailability/FeatureAvailability.ts +20 -0
  73. package/src/FeatureAvailability/FeatureAvailabilityClient.ts +153 -0
  74. package/src/FeatureAvailability/index.ts +2 -0
  75. package/src/FeatureManagement/FeatureManagement.ts +166 -0
  76. package/src/FeatureManagement/FeatureManagementClient.ts +246 -0
  77. package/src/FeatureManagement/index.ts +2 -0
  78. package/src/FileContainer/FileContainer.ts +205 -0
  79. package/src/FileContainer/FileContainerClient.ts +154 -0
  80. package/src/FileContainer/index.ts +2 -0
  81. package/src/FormInput/FormInput.ts +288 -0
  82. package/src/FormInput/index.ts +1 -0
  83. package/src/Gallery/Gallery.ts +1977 -0
  84. package/src/Gallery/GalleryClient.ts +2251 -0
  85. package/src/Gallery/index.ts +2 -0
  86. package/src/Git/CodeEditorTypes.ts +335 -0
  87. package/src/Git/Git.ts +4058 -0
  88. package/src/Git/GitClient.ts +4750 -0
  89. package/src/Git/GitServices.ts +18 -0
  90. package/src/Git/index.ts +4 -0
  91. package/src/Graph/Graph.ts +572 -0
  92. package/src/Graph/GraphClient.ts +846 -0
  93. package/src/Graph/index.ts +2 -0
  94. package/src/Identities/Identities.ts +261 -0
  95. package/src/Identities/IdentityProvider.ts +90 -0
  96. package/src/Identities/IdentityService.ts +89 -0
  97. package/src/Identities/index.ts +3 -0
  98. package/src/Locations/Locations.ts +165 -0
  99. package/src/Locations/LocationsClient.ts +220 -0
  100. package/src/Locations/index.ts +2 -0
  101. package/src/Management/Management.ts +172 -0
  102. package/src/Management/ManagementClient.ts +348 -0
  103. package/src/Notification/Notification.ts +1460 -0
  104. package/src/Notification/NotificationClient.ts +477 -0
  105. package/src/Notification/index.ts +2 -0
  106. package/src/Operations/Operations.ts +86 -0
  107. package/src/Operations/OperationsClient.ts +42 -0
  108. package/src/Operations/index.ts +2 -0
  109. package/src/Pipelines/Pipelines.ts +354 -0
  110. package/src/Pipelines/PipelinesClient.ts +306 -0
  111. package/src/Policy/Policy.ts +173 -0
  112. package/src/Policy/PolicyClient.ts +315 -0
  113. package/src/Policy/index.ts +2 -0
  114. package/src/Profile/Profile.ts +187 -0
  115. package/src/Profile/ProfileClient.ts +328 -0
  116. package/src/Profile/index.ts +2 -0
  117. package/src/ProjectAnalysis/ProjectAnalysis.ts +74 -0
  118. package/src/ProjectAnalysis/ProjectAnalysisClient.ts +124 -0
  119. package/src/ProjectAnalysis/index.ts +2 -0
  120. package/src/Release/Release.ts +4237 -0
  121. package/src/Release/ReleaseClient.ts +2450 -0
  122. package/src/Release/index.ts +2 -0
  123. package/src/ResourceUsage/ResourceUsage.ts +19 -0
  124. package/src/ResourceUsage/ResourceUsageClient.ts +48 -0
  125. package/src/ServiceEndpoint/ServiceEndpoint.ts +930 -0
  126. package/src/ServiceEndpoint/ServiceEndpointClient.ts +617 -0
  127. package/src/ServiceEndpoint/index.ts +2 -0
  128. package/src/ServiceHooks/ServiceHooks.ts +759 -0
  129. package/src/ServiceHooks/ServiceHooksClient.ts +499 -0
  130. package/src/ServiceHooks/index.ts +2 -0
  131. package/src/TaskAgent/TaskAgent.ts +3896 -0
  132. package/src/TaskAgent/TaskAgentClient.ts +3918 -0
  133. package/src/TaskAgent/index.ts +2 -0
  134. package/src/Test/Test.ts +5853 -0
  135. package/src/Test/TestClient.ts +2201 -0
  136. package/src/Test/index.ts +2 -0
  137. package/src/TestPlan/TestPlan.ts +1384 -0
  138. package/src/TestPlan/TestPlanClient.ts +1367 -0
  139. package/src/TestPlan/index.ts +2 -0
  140. package/{AdvancedSecurity.Reporting/Reporting.js → src/TestResults/TestResults.ts} +7 -5
  141. package/src/TestResults/TestResultsClient.ts +3450 -0
  142. package/src/TestResults/index.ts +2 -0
  143. package/src/Tfvc/Tfvc.ts +770 -0
  144. package/src/Tfvc/TfvcClient.ts +757 -0
  145. package/src/Tfvc/index.ts +2 -0
  146. package/src/WebApi/WebApi.ts +452 -0
  147. package/src/WebApi/index.ts +1 -0
  148. package/src/Wiki/Wiki.ts +352 -0
  149. package/src/Wiki/WikiClient.ts +712 -0
  150. package/src/Wiki/index.ts +2 -0
  151. package/src/Work/Work.ts +1367 -0
  152. package/src/Work/WorkClient.ts +1489 -0
  153. package/src/Work/index.ts +2 -0
  154. package/src/WorkItemTracking/WorkItemTracking.ts +2215 -0
  155. package/src/WorkItemTracking/WorkItemTrackingClient.ts +2032 -0
  156. package/src/WorkItemTracking/WorkItemTrackingServices.ts +329 -0
  157. package/src/WorkItemTracking/index.ts +3 -0
  158. package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +1295 -0
  159. package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +1455 -0
  160. package/src/WorkItemTrackingProcess/index.ts +2 -0
  161. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +606 -0
  162. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +1175 -0
  163. package/src/WorkItemTrackingProcessDefinitions/index.ts +2 -0
  164. package/src/index.ts +1 -0
  165. package/tsconfig.json +21 -0
  166. package/AdvancedSecurity.Reporting/Reporting.min.js +0 -1
  167. /package/{Accounts → bin/Accounts}/Accounts.d.ts +0 -0
  168. /package/{Accounts → bin/Accounts}/Accounts.js +0 -0
  169. /package/{Accounts → bin/Accounts}/Accounts.min.js +0 -0
  170. /package/{Accounts → bin/Accounts}/AccountsClient.d.ts +0 -0
  171. /package/{Accounts → bin/Accounts}/AccountsClient.js +0 -0
  172. /package/{Accounts → bin/Accounts}/AccountsClient.min.js +0 -0
  173. /package/{Accounts → bin/Accounts}/index.d.ts +0 -0
  174. /package/{Accounts → bin/Accounts}/index.js +0 -0
  175. /package/{Accounts → bin/Accounts}/index.min.js +0 -0
  176. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
  177. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
  178. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
  179. /package/{Alert → bin/Alert}/Alert.js +0 -0
  180. /package/{Alert → bin/Alert}/Alert.min.js +0 -0
  181. /package/{Alert → bin/Alert}/AlertClient.min.js +0 -0
  182. /package/{Boards → bin/Boards}/Boards.d.ts +0 -0
  183. /package/{Boards → bin/Boards}/Boards.js +0 -0
  184. /package/{Boards → bin/Boards}/Boards.min.js +0 -0
  185. /package/{Boards → bin/Boards}/BoardsClient.d.ts +0 -0
  186. /package/{Boards → bin/Boards}/BoardsClient.js +0 -0
  187. /package/{Boards → bin/Boards}/BoardsClient.min.js +0 -0
  188. /package/{Boards → bin/Boards}/index.d.ts +0 -0
  189. /package/{Boards → bin/Boards}/index.js +0 -0
  190. /package/{Boards → bin/Boards}/index.min.js +0 -0
  191. /package/{Build → bin/Build}/Build.d.ts +0 -0
  192. /package/{Build → bin/Build}/Build.js +0 -0
  193. /package/{Build → bin/Build}/Build.min.js +0 -0
  194. /package/{Build → bin/Build}/BuildClient.d.ts +0 -0
  195. /package/{Build → bin/Build}/BuildClient.js +0 -0
  196. /package/{Build → bin/Build}/BuildClient.min.js +0 -0
  197. /package/{Build → bin/Build}/BuildServices.d.ts +0 -0
  198. /package/{Build → bin/Build}/BuildServices.js +0 -0
  199. /package/{Build → bin/Build}/BuildServices.min.js +0 -0
  200. /package/{Build → bin/Build}/index.d.ts +0 -0
  201. /package/{Build → bin/Build}/index.js +0 -0
  202. /package/{Build → bin/Build}/index.min.js +0 -0
  203. /package/{Comments → bin/Comments}/Comments.d.ts +0 -0
  204. /package/{Comments → bin/Comments}/Comments.js +0 -0
  205. /package/{Comments → bin/Comments}/Comments.min.js +0 -0
  206. /package/{Comments → bin/Comments}/index.d.ts +0 -0
  207. /package/{Comments → bin/Comments}/index.js +0 -0
  208. /package/{Comments → bin/Comments}/index.min.js +0 -0
  209. /package/{Common → bin/Common}/Client.d.ts +0 -0
  210. /package/{Common → bin/Common}/Client.js +0 -0
  211. /package/{Common → bin/Common}/Client.min.js +0 -0
  212. /package/{Common → bin/Common}/CommonServices.d.ts +0 -0
  213. /package/{Common → bin/Common}/CommonServices.js +0 -0
  214. /package/{Common → bin/Common}/CommonServices.min.js +0 -0
  215. /package/{Common → bin/Common}/Context.d.ts +0 -0
  216. /package/{Common → bin/Common}/Fetch.d.ts +0 -0
  217. /package/{Common → bin/Common}/Fetch.js +0 -0
  218. /package/{Common → bin/Common}/Fetch.min.js +0 -0
  219. /package/{Common → bin/Common}/RestClientBase.d.ts +0 -0
  220. /package/{Common → bin/Common}/RestClientBase.js +0 -0
  221. /package/{Common → bin/Common}/RestClientBase.min.js +0 -0
  222. /package/{Common → bin/Common}/System.d.ts +0 -0
  223. /package/{Common → bin/Common}/System.js +0 -0
  224. /package/{Common → bin/Common}/System.min.js +0 -0
  225. /package/{Common → bin/Common}/SystemData.d.ts +0 -0
  226. /package/{Common → bin/Common}/SystemData.js +0 -0
  227. /package/{Common → bin/Common}/SystemData.min.js +0 -0
  228. /package/{Common → bin/Common}/Util/Serialization.d.ts +0 -0
  229. /package/{Common → bin/Common}/Util/Serialization.js +0 -0
  230. /package/{Common → bin/Common}/Util/Serialization.min.js +0 -0
  231. /package/{Common → bin/Common}/Util/Url.d.ts +0 -0
  232. /package/{Common → bin/Common}/Util/Url.js +0 -0
  233. /package/{Common → bin/Common}/Util/Url.min.js +0 -0
  234. /package/{Common → bin/Common}/index.d.ts +0 -0
  235. /package/{Common → bin/Common}/index.js +0 -0
  236. /package/{Common → bin/Common}/index.min.js +0 -0
  237. /package/{Contributions → bin/Contributions}/Contributions.d.ts +0 -0
  238. /package/{Contributions → bin/Contributions}/Contributions.js +0 -0
  239. /package/{Contributions → bin/Contributions}/Contributions.min.js +0 -0
  240. /package/{Contributions → bin/Contributions}/ContributionsClient.d.ts +0 -0
  241. /package/{Contributions → bin/Contributions}/index.d.ts +0 -0
  242. /package/{Contributions → bin/Contributions}/index.js +0 -0
  243. /package/{Contributions → bin/Contributions}/index.min.js +0 -0
  244. /package/{Core → bin/Core}/Core.d.ts +0 -0
  245. /package/{Core → bin/Core}/Core.js +0 -0
  246. /package/{Core → bin/Core}/Core.min.js +0 -0
  247. /package/{Core → bin/Core}/CoreClient.d.ts +0 -0
  248. /package/{Core → bin/Core}/CoreClient.js +0 -0
  249. /package/{Core → bin/Core}/CoreClient.min.js +0 -0
  250. /package/{Core → bin/Core}/index.d.ts +0 -0
  251. /package/{Core → bin/Core}/index.js +0 -0
  252. /package/{Core → bin/Core}/index.min.js +0 -0
  253. /package/{Dashboard → bin/Dashboard}/Dashboard.d.ts +0 -0
  254. /package/{Dashboard → bin/Dashboard}/Dashboard.js +0 -0
  255. /package/{Dashboard → bin/Dashboard}/Dashboard.min.js +0 -0
  256. /package/{Dashboard → bin/Dashboard}/DashboardClient.d.ts +0 -0
  257. /package/{Dashboard → bin/Dashboard}/DashboardClient.js +0 -0
  258. /package/{Dashboard → bin/Dashboard}/DashboardClient.min.js +0 -0
  259. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.d.ts +0 -0
  260. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.js +0 -0
  261. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.min.js +0 -0
  262. /package/{Dashboard → bin/Dashboard}/WidgetContracts.d.ts +0 -0
  263. /package/{Dashboard → bin/Dashboard}/WidgetContracts.js +0 -0
  264. /package/{Dashboard → bin/Dashboard}/WidgetContracts.min.js +0 -0
  265. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.d.ts +0 -0
  266. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.js +0 -0
  267. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.min.js +0 -0
  268. /package/{Dashboard → bin/Dashboard}/index.d.ts +0 -0
  269. /package/{Dashboard → bin/Dashboard}/index.js +0 -0
  270. /package/{Dashboard → bin/Dashboard}/index.min.js +0 -0
  271. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
  272. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
  273. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
  274. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.d.ts +0 -0
  275. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.js +0 -0
  276. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.min.js +0 -0
  277. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.d.ts +0 -0
  278. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.js +0 -0
  279. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.min.js +0 -0
  280. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
  281. /package/{ExtensionManagement → bin/ExtensionManagement}/index.d.ts +0 -0
  282. /package/{ExtensionManagement → bin/ExtensionManagement}/index.js +0 -0
  283. /package/{ExtensionManagement → bin/ExtensionManagement}/index.min.js +0 -0
  284. /package/{Favorite → bin/Favorite}/Favorite.d.ts +0 -0
  285. /package/{Favorite → bin/Favorite}/Favorite.js +0 -0
  286. /package/{Favorite → bin/Favorite}/Favorite.min.js +0 -0
  287. /package/{Favorite → bin/Favorite}/FavoriteClient.d.ts +0 -0
  288. /package/{Favorite → bin/Favorite}/FavoriteClient.js +0 -0
  289. /package/{Favorite → bin/Favorite}/FavoriteClient.min.js +0 -0
  290. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.d.ts +0 -0
  291. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.js +0 -0
  292. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.min.js +0 -0
  293. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
  294. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
  295. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
  296. /package/{FeatureAvailability → bin/FeatureAvailability}/index.d.ts +0 -0
  297. /package/{FeatureAvailability → bin/FeatureAvailability}/index.js +0 -0
  298. /package/{FeatureAvailability → bin/FeatureAvailability}/index.min.js +0 -0
  299. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.d.ts +0 -0
  300. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.js +0 -0
  301. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.min.js +0 -0
  302. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.d.ts +0 -0
  303. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.js +0 -0
  304. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.min.js +0 -0
  305. /package/{FeatureManagement → bin/FeatureManagement}/index.d.ts +0 -0
  306. /package/{FeatureManagement → bin/FeatureManagement}/index.js +0 -0
  307. /package/{FeatureManagement → bin/FeatureManagement}/index.min.js +0 -0
  308. /package/{FileContainer → bin/FileContainer}/FileContainer.d.ts +0 -0
  309. /package/{FileContainer → bin/FileContainer}/FileContainer.js +0 -0
  310. /package/{FileContainer → bin/FileContainer}/FileContainer.min.js +0 -0
  311. /package/{FileContainer → bin/FileContainer}/FileContainerClient.d.ts +0 -0
  312. /package/{FileContainer → bin/FileContainer}/FileContainerClient.js +0 -0
  313. /package/{FileContainer → bin/FileContainer}/FileContainerClient.min.js +0 -0
  314. /package/{FileContainer → bin/FileContainer}/index.d.ts +0 -0
  315. /package/{FileContainer → bin/FileContainer}/index.js +0 -0
  316. /package/{FileContainer → bin/FileContainer}/index.min.js +0 -0
  317. /package/{FormInput → bin/FormInput}/FormInput.js +0 -0
  318. /package/{FormInput → bin/FormInput}/FormInput.min.js +0 -0
  319. /package/{FormInput → bin/FormInput}/index.d.ts +0 -0
  320. /package/{FormInput → bin/FormInput}/index.js +0 -0
  321. /package/{FormInput → bin/FormInput}/index.min.js +0 -0
  322. /package/{Gallery → bin/Gallery}/Gallery.d.ts +0 -0
  323. /package/{Gallery → bin/Gallery}/Gallery.js +0 -0
  324. /package/{Gallery → bin/Gallery}/Gallery.min.js +0 -0
  325. /package/{Gallery → bin/Gallery}/GalleryClient.d.ts +0 -0
  326. /package/{Gallery → bin/Gallery}/GalleryClient.js +0 -0
  327. /package/{Gallery → bin/Gallery}/GalleryClient.min.js +0 -0
  328. /package/{Gallery → bin/Gallery}/index.d.ts +0 -0
  329. /package/{Gallery → bin/Gallery}/index.js +0 -0
  330. /package/{Gallery → bin/Gallery}/index.min.js +0 -0
  331. /package/{Git → bin/Git}/CodeEditorTypes.d.ts +0 -0
  332. /package/{Git → bin/Git}/CodeEditorTypes.js +0 -0
  333. /package/{Git → bin/Git}/CodeEditorTypes.min.js +0 -0
  334. /package/{Git → bin/Git}/Git.d.ts +0 -0
  335. /package/{Git → bin/Git}/Git.js +0 -0
  336. /package/{Git → bin/Git}/Git.min.js +0 -0
  337. /package/{Git → bin/Git}/GitClient.d.ts +0 -0
  338. /package/{Git → bin/Git}/GitClient.js +0 -0
  339. /package/{Git → bin/Git}/GitClient.min.js +0 -0
  340. /package/{Git → bin/Git}/GitServices.d.ts +0 -0
  341. /package/{Git → bin/Git}/GitServices.js +0 -0
  342. /package/{Git → bin/Git}/GitServices.min.js +0 -0
  343. /package/{Git → bin/Git}/index.d.ts +0 -0
  344. /package/{Git → bin/Git}/index.js +0 -0
  345. /package/{Git → bin/Git}/index.min.js +0 -0
  346. /package/{Graph → bin/Graph}/Graph.d.ts +0 -0
  347. /package/{Graph → bin/Graph}/Graph.js +0 -0
  348. /package/{Graph → bin/Graph}/Graph.min.js +0 -0
  349. /package/{Graph → bin/Graph}/GraphClient.d.ts +0 -0
  350. /package/{Graph → bin/Graph}/GraphClient.js +0 -0
  351. /package/{Graph → bin/Graph}/GraphClient.min.js +0 -0
  352. /package/{Graph → bin/Graph}/index.d.ts +0 -0
  353. /package/{Graph → bin/Graph}/index.js +0 -0
  354. /package/{Graph → bin/Graph}/index.min.js +0 -0
  355. /package/{Identities → bin/Identities}/Identities.d.ts +0 -0
  356. /package/{Identities → bin/Identities}/Identities.js +0 -0
  357. /package/{Identities → bin/Identities}/Identities.min.js +0 -0
  358. /package/{Identities → bin/Identities}/IdentityProvider.d.ts +0 -0
  359. /package/{Identities → bin/Identities}/IdentityProvider.js +0 -0
  360. /package/{Identities → bin/Identities}/IdentityProvider.min.js +0 -0
  361. /package/{Identities → bin/Identities}/IdentityService.d.ts +0 -0
  362. /package/{Identities → bin/Identities}/IdentityService.js +0 -0
  363. /package/{Identities → bin/Identities}/IdentityService.min.js +0 -0
  364. /package/{Identities → bin/Identities}/index.d.ts +0 -0
  365. /package/{Identities → bin/Identities}/index.js +0 -0
  366. /package/{Identities → bin/Identities}/index.min.js +0 -0
  367. /package/{Locations → bin/Locations}/Locations.d.ts +0 -0
  368. /package/{Locations → bin/Locations}/Locations.js +0 -0
  369. /package/{Locations → bin/Locations}/Locations.min.js +0 -0
  370. /package/{Locations → bin/Locations}/LocationsClient.d.ts +0 -0
  371. /package/{Locations → bin/Locations}/LocationsClient.js +0 -0
  372. /package/{Locations → bin/Locations}/LocationsClient.min.js +0 -0
  373. /package/{Locations → bin/Locations}/index.d.ts +0 -0
  374. /package/{Locations → bin/Locations}/index.js +0 -0
  375. /package/{Locations → bin/Locations}/index.min.js +0 -0
  376. /package/{Management → bin/Management}/Management.d.ts +0 -0
  377. /package/{Management → bin/Management}/Management.js +0 -0
  378. /package/{Management → bin/Management}/Management.min.js +0 -0
  379. /package/{Management → bin/Management}/ManagementClient.d.ts +0 -0
  380. /package/{Management → bin/Management}/ManagementClient.js +0 -0
  381. /package/{Management → bin/Management}/ManagementClient.min.js +0 -0
  382. /package/{Notification → bin/Notification}/Notification.d.ts +0 -0
  383. /package/{Notification → bin/Notification}/Notification.js +0 -0
  384. /package/{Notification → bin/Notification}/Notification.min.js +0 -0
  385. /package/{Notification → bin/Notification}/NotificationClient.d.ts +0 -0
  386. /package/{Notification → bin/Notification}/NotificationClient.js +0 -0
  387. /package/{Notification → bin/Notification}/NotificationClient.min.js +0 -0
  388. /package/{Notification → bin/Notification}/index.d.ts +0 -0
  389. /package/{Notification → bin/Notification}/index.js +0 -0
  390. /package/{Notification → bin/Notification}/index.min.js +0 -0
  391. /package/{Operations → bin/Operations}/Operations.d.ts +0 -0
  392. /package/{Operations → bin/Operations}/Operations.js +0 -0
  393. /package/{Operations → bin/Operations}/Operations.min.js +0 -0
  394. /package/{Operations → bin/Operations}/OperationsClient.d.ts +0 -0
  395. /package/{Operations → bin/Operations}/OperationsClient.js +0 -0
  396. /package/{Operations → bin/Operations}/OperationsClient.min.js +0 -0
  397. /package/{Operations → bin/Operations}/index.d.ts +0 -0
  398. /package/{Operations → bin/Operations}/index.js +0 -0
  399. /package/{Operations → bin/Operations}/index.min.js +0 -0
  400. /package/{Pipelines → bin/Pipelines}/Pipelines.d.ts +0 -0
  401. /package/{Pipelines → bin/Pipelines}/Pipelines.js +0 -0
  402. /package/{Pipelines → bin/Pipelines}/Pipelines.min.js +0 -0
  403. /package/{Pipelines → bin/Pipelines}/PipelinesClient.d.ts +0 -0
  404. /package/{Pipelines → bin/Pipelines}/PipelinesClient.js +0 -0
  405. /package/{Pipelines → bin/Pipelines}/PipelinesClient.min.js +0 -0
  406. /package/{Policy → bin/Policy}/Policy.d.ts +0 -0
  407. /package/{Policy → bin/Policy}/Policy.js +0 -0
  408. /package/{Policy → bin/Policy}/Policy.min.js +0 -0
  409. /package/{Policy → bin/Policy}/PolicyClient.d.ts +0 -0
  410. /package/{Policy → bin/Policy}/PolicyClient.js +0 -0
  411. /package/{Policy → bin/Policy}/PolicyClient.min.js +0 -0
  412. /package/{Policy → bin/Policy}/index.d.ts +0 -0
  413. /package/{Policy → bin/Policy}/index.js +0 -0
  414. /package/{Policy → bin/Policy}/index.min.js +0 -0
  415. /package/{Profile → bin/Profile}/Profile.d.ts +0 -0
  416. /package/{Profile → bin/Profile}/Profile.js +0 -0
  417. /package/{Profile → bin/Profile}/Profile.min.js +0 -0
  418. /package/{Profile → bin/Profile}/ProfileClient.d.ts +0 -0
  419. /package/{Profile → bin/Profile}/ProfileClient.js +0 -0
  420. /package/{Profile → bin/Profile}/ProfileClient.min.js +0 -0
  421. /package/{Profile → bin/Profile}/index.d.ts +0 -0
  422. /package/{Profile → bin/Profile}/index.js +0 -0
  423. /package/{Profile → bin/Profile}/index.min.js +0 -0
  424. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
  425. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.js +0 -0
  426. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
  427. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
  428. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
  429. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
  430. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.d.ts +0 -0
  431. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.js +0 -0
  432. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.min.js +0 -0
  433. /package/{Release → bin/Release}/Release.d.ts +0 -0
  434. /package/{Release → bin/Release}/Release.js +0 -0
  435. /package/{Release → bin/Release}/Release.min.js +0 -0
  436. /package/{Release → bin/Release}/ReleaseClient.d.ts +0 -0
  437. /package/{Release → bin/Release}/ReleaseClient.js +0 -0
  438. /package/{Release → bin/Release}/ReleaseClient.min.js +0 -0
  439. /package/{Release → bin/Release}/index.d.ts +0 -0
  440. /package/{Release → bin/Release}/index.js +0 -0
  441. /package/{Release → bin/Release}/index.min.js +0 -0
  442. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.d.ts +0 -0
  443. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.js +0 -0
  444. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.min.js +0 -0
  445. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.d.ts +0 -0
  446. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.js +0 -0
  447. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.min.js +0 -0
  448. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.d.ts +0 -0
  449. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.js +0 -0
  450. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
  451. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.d.ts +0 -0
  452. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.js +0 -0
  453. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.min.js +0 -0
  454. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.d.ts +0 -0
  455. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.js +0 -0
  456. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.min.js +0 -0
  457. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.d.ts +0 -0
  458. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.js +0 -0
  459. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.min.js +0 -0
  460. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.d.ts +0 -0
  461. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.js +0 -0
  462. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.min.js +0 -0
  463. /package/{ServiceHooks → bin/ServiceHooks}/index.d.ts +0 -0
  464. /package/{ServiceHooks → bin/ServiceHooks}/index.js +0 -0
  465. /package/{ServiceHooks → bin/ServiceHooks}/index.min.js +0 -0
  466. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.js +0 -0
  467. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.min.js +0 -0
  468. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.d.ts +0 -0
  469. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.js +0 -0
  470. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.min.js +0 -0
  471. /package/{TaskAgent → bin/TaskAgent}/index.d.ts +0 -0
  472. /package/{TaskAgent → bin/TaskAgent}/index.js +0 -0
  473. /package/{TaskAgent → bin/TaskAgent}/index.min.js +0 -0
  474. /package/{Test → bin/Test}/Test.js +0 -0
  475. /package/{Test → bin/Test}/Test.min.js +0 -0
  476. /package/{Test → bin/Test}/TestClient.d.ts +0 -0
  477. /package/{Test → bin/Test}/TestClient.js +0 -0
  478. /package/{Test → bin/Test}/TestClient.min.js +0 -0
  479. /package/{Test → bin/Test}/index.d.ts +0 -0
  480. /package/{Test → bin/Test}/index.js +0 -0
  481. /package/{Test → bin/Test}/index.min.js +0 -0
  482. /package/{TestPlan → bin/TestPlan}/TestPlan.js +0 -0
  483. /package/{TestPlan → bin/TestPlan}/TestPlan.min.js +0 -0
  484. /package/{TestPlan → bin/TestPlan}/index.d.ts +0 -0
  485. /package/{TestPlan → bin/TestPlan}/index.js +0 -0
  486. /package/{TestPlan → bin/TestPlan}/index.min.js +0 -0
  487. /package/{TestResults → bin/TestResults}/TestResults.d.ts +0 -0
  488. /package/{TestResults → bin/TestResults}/TestResults.js +0 -0
  489. /package/{TestResults → bin/TestResults}/TestResults.min.js +0 -0
  490. /package/{TestResults → bin/TestResults}/index.d.ts +0 -0
  491. /package/{TestResults → bin/TestResults}/index.js +0 -0
  492. /package/{TestResults → bin/TestResults}/index.min.js +0 -0
  493. /package/{Tfvc → bin/Tfvc}/Tfvc.d.ts +0 -0
  494. /package/{Tfvc → bin/Tfvc}/Tfvc.js +0 -0
  495. /package/{Tfvc → bin/Tfvc}/Tfvc.min.js +0 -0
  496. /package/{Tfvc → bin/Tfvc}/TfvcClient.d.ts +0 -0
  497. /package/{Tfvc → bin/Tfvc}/TfvcClient.js +0 -0
  498. /package/{Tfvc → bin/Tfvc}/TfvcClient.min.js +0 -0
  499. /package/{Tfvc → bin/Tfvc}/index.d.ts +0 -0
  500. /package/{Tfvc → bin/Tfvc}/index.js +0 -0
  501. /package/{Tfvc → bin/Tfvc}/index.min.js +0 -0
  502. /package/{WebApi → bin/WebApi}/WebApi.d.ts +0 -0
  503. /package/{WebApi → bin/WebApi}/WebApi.js +0 -0
  504. /package/{WebApi → bin/WebApi}/WebApi.min.js +0 -0
  505. /package/{WebApi → bin/WebApi}/index.d.ts +0 -0
  506. /package/{WebApi → bin/WebApi}/index.js +0 -0
  507. /package/{WebApi → bin/WebApi}/index.min.js +0 -0
  508. /package/{Wiki → bin/Wiki}/Wiki.d.ts +0 -0
  509. /package/{Wiki → bin/Wiki}/Wiki.js +0 -0
  510. /package/{Wiki → bin/Wiki}/Wiki.min.js +0 -0
  511. /package/{Wiki → bin/Wiki}/WikiClient.d.ts +0 -0
  512. /package/{Wiki → bin/Wiki}/WikiClient.js +0 -0
  513. /package/{Wiki → bin/Wiki}/WikiClient.min.js +0 -0
  514. /package/{Wiki → bin/Wiki}/index.d.ts +0 -0
  515. /package/{Wiki → bin/Wiki}/index.js +0 -0
  516. /package/{Wiki → bin/Wiki}/index.min.js +0 -0
  517. /package/{Work → bin/Work}/Work.d.ts +0 -0
  518. /package/{Work → bin/Work}/Work.js +0 -0
  519. /package/{Work → bin/Work}/Work.min.js +0 -0
  520. /package/{Work → bin/Work}/WorkClient.d.ts +0 -0
  521. /package/{Work → bin/Work}/WorkClient.js +0 -0
  522. /package/{Work → bin/Work}/WorkClient.min.js +0 -0
  523. /package/{Work → bin/Work}/index.d.ts +0 -0
  524. /package/{Work → bin/Work}/index.js +0 -0
  525. /package/{Work → bin/Work}/index.min.js +0 -0
  526. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.d.ts +0 -0
  527. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.js +0 -0
  528. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.min.js +0 -0
  529. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
  530. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.js +0 -0
  531. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
  532. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
  533. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.js +0 -0
  534. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
  535. /package/{WorkItemTracking → bin/WorkItemTracking}/index.d.ts +0 -0
  536. /package/{WorkItemTracking → bin/WorkItemTracking}/index.js +0 -0
  537. /package/{WorkItemTracking → bin/WorkItemTracking}/index.min.js +0 -0
  538. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
  539. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
  540. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
  541. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
  542. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
  543. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
  544. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.d.ts +0 -0
  545. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.js +0 -0
  546. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.min.js +0 -0
  547. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
  548. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
  549. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
  550. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
  551. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
  552. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
  553. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
  554. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.js +0 -0
  555. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
  556. /package/{index.d.ts → bin/index.d.ts} +0 -0
  557. /package/{index.js → bin/index.js} +0 -0
  558. /package/{index.min.js → bin/index.min.js} +0 -0
@@ -0,0 +1,1977 @@
1
+ /*
2
+ * ---------------------------------------------------------
3
+ * Copyright(C) Microsoft Corporation. All rights reserved.
4
+ * ---------------------------------------------------------
5
+ */
6
+
7
+ import * as WebApi from "../WebApi/WebApi";
8
+
9
+ /**
10
+ * How the acquisition is assigned
11
+ */
12
+ export enum AcquisitionAssignmentType {
13
+ None = 0,
14
+ /**
15
+ * Just assign for me
16
+ */
17
+ Me = 1,
18
+ /**
19
+ * Assign for all users in the account
20
+ */
21
+ All = 2
22
+ }
23
+
24
+ export interface AcquisitionOperation {
25
+ /**
26
+ * State of the AcquisitionOperation for the current user
27
+ */
28
+ operationState: AcquisitionOperationState;
29
+ /**
30
+ * AcquisitionOperationType: install, request, buy, etc...
31
+ */
32
+ operationType: AcquisitionOperationType;
33
+ /**
34
+ * Optional reason to justify current state. Typically used with Disallow state.
35
+ */
36
+ reason: string;
37
+ }
38
+
39
+ export enum AcquisitionOperationState {
40
+ /**
41
+ * Not allowed to use this AcquisitionOperation
42
+ */
43
+ Disallow = 0,
44
+ /**
45
+ * Allowed to use this AcquisitionOperation
46
+ */
47
+ Allow = 1,
48
+ /**
49
+ * Operation has already been completed and is no longer available
50
+ */
51
+ Completed = 3
52
+ }
53
+
54
+ /**
55
+ * Set of different types of operations that can be requested.
56
+ */
57
+ export enum AcquisitionOperationType {
58
+ /**
59
+ * Not yet used
60
+ */
61
+ Get = 0,
62
+ /**
63
+ * Install this extension into the host provided
64
+ */
65
+ Install = 1,
66
+ /**
67
+ * Buy licenses for this extension and install into the host provided
68
+ */
69
+ Buy = 2,
70
+ /**
71
+ * Try this extension
72
+ */
73
+ Try = 3,
74
+ /**
75
+ * Request this extension for installation
76
+ */
77
+ Request = 4,
78
+ /**
79
+ * No action found
80
+ */
81
+ None = 5,
82
+ /**
83
+ * Request admins for purchasing extension
84
+ */
85
+ PurchaseRequest = 6
86
+ }
87
+
88
+ /**
89
+ * Market item acquisition options (install, buy, etc) for an installation target.
90
+ */
91
+ export interface AcquisitionOptions {
92
+ /**
93
+ * Default Operation for the ItemId in this target
94
+ */
95
+ defaultOperation: AcquisitionOperation;
96
+ /**
97
+ * The item id that this options refer to
98
+ */
99
+ itemId: string;
100
+ /**
101
+ * Operations allowed for the ItemId in this target
102
+ */
103
+ operations: AcquisitionOperation[];
104
+ /**
105
+ * The target that this options refer to
106
+ */
107
+ target: string;
108
+ }
109
+
110
+ export interface Answers {
111
+ /**
112
+ * Gets or sets the vs marketplace extension name
113
+ */
114
+ vsMarketplaceExtensionName: string;
115
+ /**
116
+ * Gets or sets the vs marketplace publisher name
117
+ */
118
+ vsMarketplacePublisherName: string;
119
+ }
120
+
121
+ export interface AssetDetails {
122
+ /**
123
+ * Gets or sets the Answers, which contains vs marketplace extension name and publisher name
124
+ */
125
+ answers: Answers;
126
+ /**
127
+ * Gets or sets the VS publisher Id
128
+ */
129
+ publisherNaturalIdentifier: string;
130
+ }
131
+
132
+ export interface AzurePublisher {
133
+ azurePublisherId: string;
134
+ publisherName: string;
135
+ }
136
+
137
+ export interface AzureRestApiRequestModel {
138
+ /**
139
+ * Gets or sets the Asset details
140
+ */
141
+ assetDetails: AssetDetails;
142
+ /**
143
+ * Gets or sets the asset id
144
+ */
145
+ assetId: string;
146
+ /**
147
+ * Gets or sets the asset version
148
+ */
149
+ assetVersion: number;
150
+ /**
151
+ * Gets or sets the customer support email
152
+ */
153
+ customerSupportEmail: string;
154
+ /**
155
+ * Gets or sets the integration contact email
156
+ */
157
+ integrationContactEmail: string;
158
+ /**
159
+ * Gets or sets the asset version
160
+ */
161
+ operation: string;
162
+ /**
163
+ * Gets or sets the plan identifier if any.
164
+ */
165
+ planId: string;
166
+ /**
167
+ * Gets or sets the publisher id
168
+ */
169
+ publisherId: string;
170
+ /**
171
+ * Gets or sets the resource type
172
+ */
173
+ type: string;
174
+ }
175
+
176
+ export interface AzureRestApiResponseModel extends AzureRestApiRequestModel {
177
+ /**
178
+ * Gets or sets the Asset operation status
179
+ */
180
+ operationStatus: RestApiResponseStatusModel;
181
+ }
182
+
183
+ /**
184
+ * This is the set of categories in response to the get category query
185
+ */
186
+ export interface CategoriesResult {
187
+ categories: ExtensionCategory[];
188
+ }
189
+
190
+ /**
191
+ * Definition of one title of a category
192
+ */
193
+ export interface CategoryLanguageTitle {
194
+ /**
195
+ * The language for which the title is applicable
196
+ */
197
+ lang: string;
198
+ /**
199
+ * The language culture id of the lang parameter
200
+ */
201
+ lcid: number;
202
+ /**
203
+ * Actual title to be shown on the UI
204
+ */
205
+ title: string;
206
+ }
207
+
208
+ /**
209
+ * The structure of a Concern Rather than defining a separate data structure having same fields as QnAItem, we are inheriting from the QnAItem.
210
+ */
211
+ export interface Concern extends QnAItem {
212
+ /**
213
+ * Category of the concern
214
+ */
215
+ category: ConcernCategory;
216
+ }
217
+
218
+ export enum ConcernCategory {
219
+ General = 1,
220
+ Abusive = 2,
221
+ Spam = 4
222
+ }
223
+
224
+ /**
225
+ * Stores Last Contact Date
226
+ */
227
+ export interface CustomerLastContact {
228
+ /**
229
+ * account for which customer was last contacted
230
+ */
231
+ account: string;
232
+ /**
233
+ * Date on which the customer was last contacted
234
+ */
235
+ lastContactDate: Date;
236
+ }
237
+
238
+ /**
239
+ * An entity representing the data required to create a Customer Support Request.
240
+ */
241
+ export interface CustomerSupportRequest {
242
+ /**
243
+ * Display name of extension in concern
244
+ */
245
+ displayName: string;
246
+ /**
247
+ * Email of user making the support request
248
+ */
249
+ emailId: string;
250
+ /**
251
+ * Extension name
252
+ */
253
+ extensionName: string;
254
+ /**
255
+ * Link to the extension details page
256
+ */
257
+ extensionURL: string;
258
+ /**
259
+ * User-provided support request message.
260
+ */
261
+ message: string;
262
+ /**
263
+ * Publisher name
264
+ */
265
+ publisherName: string;
266
+ /**
267
+ * Reason for support request
268
+ */
269
+ reason: string;
270
+ /**
271
+ * ReCaptcha Token
272
+ */
273
+ reCaptchaToken: string;
274
+ /**
275
+ * VSID of the user making the support request
276
+ */
277
+ reporterVSID: string;
278
+ /**
279
+ * Review under concern
280
+ */
281
+ review: Review;
282
+ /**
283
+ * The UI source through which the request was made
284
+ */
285
+ sourceLink: string;
286
+ }
287
+
288
+ export enum DraftPatchOperation {
289
+ Publish = 1,
290
+ Cancel = 2
291
+ }
292
+
293
+ export enum DraftStateType {
294
+ Unpublished = 1,
295
+ Published = 2,
296
+ Cancelled = 3,
297
+ Error = 4
298
+ }
299
+
300
+ export interface EventCounts {
301
+ /**
302
+ * Average rating on the day for extension
303
+ */
304
+ averageRating: number;
305
+ /**
306
+ * Number of times the extension was bought in hosted scenario (applies only to VSTS extensions)
307
+ */
308
+ buyCount: number;
309
+ /**
310
+ * Number of times the extension was bought in connected scenario (applies only to VSTS extensions)
311
+ */
312
+ connectedBuyCount: number;
313
+ /**
314
+ * Number of times the extension was installed in connected scenario (applies only to VSTS extensions)
315
+ */
316
+ connectedInstallCount: number;
317
+ /**
318
+ * Number of times the extension was installed
319
+ */
320
+ installCount: number;
321
+ /**
322
+ * Number of times the extension was installed as a trial (applies only to VSTS extensions)
323
+ */
324
+ tryCount: number;
325
+ /**
326
+ * Number of times the extension was uninstalled (applies only to VSTS extensions)
327
+ */
328
+ uninstallCount: number;
329
+ /**
330
+ * Number of times the extension was downloaded (applies to VSTS extensions and VSCode marketplace click installs)
331
+ */
332
+ webDownloadCount: number;
333
+ /**
334
+ * Number of detail page views
335
+ */
336
+ webPageViews: number;
337
+ }
338
+
339
+ /**
340
+ * Contract for handling the extension acquisition process
341
+ */
342
+ export interface ExtensionAcquisitionRequest {
343
+ /**
344
+ * How the item is being assigned
345
+ */
346
+ assignmentType: AcquisitionAssignmentType;
347
+ /**
348
+ * The id of the subscription used for purchase
349
+ */
350
+ billingId: string;
351
+ /**
352
+ * The marketplace id (publisherName.extensionName) for the item
353
+ */
354
+ itemId: string;
355
+ /**
356
+ * The type of operation, such as install, request, purchase
357
+ */
358
+ operationType: AcquisitionOperationType;
359
+ /**
360
+ * Additional properties which can be added to the request.
361
+ */
362
+ properties: any;
363
+ /**
364
+ * How many licenses should be purchased
365
+ */
366
+ quantity: number;
367
+ /**
368
+ * A list of target guids where the item should be acquired (installed, requested, etc.), such as account id
369
+ */
370
+ targets: string[];
371
+ }
372
+
373
+ export interface ExtensionBadge {
374
+ description: string;
375
+ imgUri: string;
376
+ link: string;
377
+ }
378
+
379
+ export interface ExtensionCategory {
380
+ /**
381
+ * The name of the products with which this category is associated to.
382
+ */
383
+ associatedProducts: string[];
384
+ categoryId: number;
385
+ /**
386
+ * This is the internal name for a category
387
+ */
388
+ categoryName: string;
389
+ /**
390
+ * This parameter is obsolete. Refer to LanguageTitles for language specific titles
391
+ */
392
+ language: string;
393
+ /**
394
+ * The list of all the titles of this category in various languages
395
+ */
396
+ languageTitles: CategoryLanguageTitle[];
397
+ /**
398
+ * This is the internal name of the parent if this is associated with a parent
399
+ */
400
+ parentCategoryName: string;
401
+ }
402
+
403
+ export interface ExtensionDailyStat {
404
+ /**
405
+ * Stores the event counts
406
+ */
407
+ counts: EventCounts;
408
+ /**
409
+ * Generic key/value pair to store extended statistics. Used for sending paid extension stats like Upgrade, Downgrade, Cancel trend etc.
410
+ */
411
+ extendedStats: { [key: string] : any; };
412
+ /**
413
+ * Timestamp of this data point
414
+ */
415
+ statisticDate: Date;
416
+ /**
417
+ * Version of the extension
418
+ */
419
+ version: string;
420
+ }
421
+
422
+ export interface ExtensionDailyStats {
423
+ /**
424
+ * List of extension statistics data points
425
+ */
426
+ dailyStats: ExtensionDailyStat[];
427
+ /**
428
+ * Id of the extension, this will never be sent back to the client. For internal use only.
429
+ */
430
+ extensionId: string;
431
+ /**
432
+ * Name of the extension
433
+ */
434
+ extensionName: string;
435
+ /**
436
+ * Name of the publisher
437
+ */
438
+ publisherName: string;
439
+ /**
440
+ * Count of stats
441
+ */
442
+ statCount: number;
443
+ }
444
+
445
+ export enum ExtensionDeploymentTechnology {
446
+ Exe = 1,
447
+ Msi = 2,
448
+ Vsix = 3,
449
+ ReferralLink = 4
450
+ }
451
+
452
+ export interface ExtensionDraft {
453
+ assets: ExtensionDraftAsset[];
454
+ createdDate: Date;
455
+ draftState: DraftStateType;
456
+ extensionName: string;
457
+ id: string;
458
+ lastUpdated: Date;
459
+ payload: ExtensionPayload;
460
+ product: string;
461
+ publisherName: string;
462
+ validationErrors: { key: string; value: string }[];
463
+ validationWarnings: { key: string; value: string }[];
464
+ }
465
+
466
+ export interface ExtensionDraftAsset extends ExtensionFile {
467
+ }
468
+
469
+ export interface ExtensionDraftPatch {
470
+ extensionData: UnpackagedExtensionData;
471
+ operation: DraftPatchOperation;
472
+ reCaptchaToken: string;
473
+ }
474
+
475
+ /**
476
+ * Stores details of each event
477
+ */
478
+ export interface ExtensionEvent {
479
+ /**
480
+ * Id which identifies each data point uniquely
481
+ */
482
+ id: number;
483
+ /**
484
+ * Generic properties container which stores the data related to each event. For well known events like uninstall, install etc. We expect the Properties object to be a List\<UninstallProperties\>, List\<InstallProperties\>
485
+ */
486
+ properties: any;
487
+ /**
488
+ * Timestamp of when the event occurred
489
+ */
490
+ statisticDate: Date;
491
+ /**
492
+ * Version of the extension
493
+ */
494
+ version: string;
495
+ }
496
+
497
+ /**
498
+ * Container object for all extension events. Stores all install and uninstall events related to an extension. The events container is generic so can store data of any type of event. New event types can be added without altering the contract.
499
+ */
500
+ export interface ExtensionEvents {
501
+ /**
502
+ * Generic container for events data. The dictionary key denotes the type of event and the list contains properties related to that event
503
+ */
504
+ events: { [key: string] : ExtensionEvent[]; };
505
+ /**
506
+ * Id of the extension, this will never be sent back to the client. This field will mainly be used when EMS calls into Gallery REST API to update install/uninstall events for various extensions in one go.
507
+ */
508
+ extensionId: string;
509
+ /**
510
+ * Name of the extension
511
+ */
512
+ extensionName: string;
513
+ /**
514
+ * Name of the publisher
515
+ */
516
+ publisherName: string;
517
+ }
518
+
519
+ export interface ExtensionFile {
520
+ assetType: string;
521
+ language: string;
522
+ source: string;
523
+ }
524
+
525
+ /**
526
+ * The FilterResult is the set of extensions that matched a particular query filter.
527
+ */
528
+ export interface ExtensionFilterResult {
529
+ /**
530
+ * This is the set of applications that matched the query filter supplied.
531
+ */
532
+ extensions: PublishedExtension[];
533
+ /**
534
+ * The PagingToken is returned from a request when more records exist that match the result than were requested or could be returned. A follow-up query with this paging token can be used to retrieve more results.
535
+ */
536
+ pagingToken: string;
537
+ /**
538
+ * This is the additional optional metadata for the given result. E.g. Total count of results which is useful in case of paged results
539
+ */
540
+ resultMetadata: ExtensionFilterResultMetadata[];
541
+ }
542
+
543
+ /**
544
+ * ExtensionFilterResultMetadata is one set of metadata for the result e.g. Total count. There can be multiple metadata items for one metadata.
545
+ */
546
+ export interface ExtensionFilterResultMetadata {
547
+ /**
548
+ * The metadata items for the category
549
+ */
550
+ metadataItems: MetadataItem[];
551
+ /**
552
+ * Defines the category of metadata items
553
+ */
554
+ metadataType: string;
555
+ }
556
+
557
+ /**
558
+ * Represents the component pieces of an extensions fully qualified name, along with the fully qualified name.
559
+ */
560
+ export interface ExtensionIdentifier {
561
+ /**
562
+ * The ExtensionName component part of the fully qualified ExtensionIdentifier
563
+ */
564
+ extensionName: string;
565
+ /**
566
+ * The PublisherName component part of the fully qualified ExtensionIdentifier
567
+ */
568
+ publisherName: string;
569
+ }
570
+
571
+ /**
572
+ * Type of event
573
+ */
574
+ export enum ExtensionLifecycleEventType {
575
+ Uninstall = 1,
576
+ Install = 2,
577
+ Review = 3,
578
+ Acquisition = 4,
579
+ Sales = 5,
580
+ Other = 999
581
+ }
582
+
583
+ /**
584
+ * Package that will be used to create or update a published extension
585
+ */
586
+ export interface ExtensionPackage {
587
+ /**
588
+ * Base 64 encoded extension package
589
+ */
590
+ extensionManifest: string;
591
+ }
592
+
593
+ export interface ExtensionPayload {
594
+ description: string;
595
+ displayName: string;
596
+ fileName: string;
597
+ installationTargets: InstallationTarget[];
598
+ isPreview: boolean;
599
+ isSignedByMicrosoft: boolean;
600
+ isValid: boolean;
601
+ metadata: { key: string; value: string }[];
602
+ type: ExtensionDeploymentTechnology;
603
+ }
604
+
605
+ /**
606
+ * Policy with a set of permissions on extension operations
607
+ */
608
+ export interface ExtensionPolicy {
609
+ /**
610
+ * Permissions on 'Install' operation
611
+ */
612
+ install: ExtensionPolicyFlags;
613
+ /**
614
+ * Permission on 'Request' operation
615
+ */
616
+ request: ExtensionPolicyFlags;
617
+ }
618
+
619
+ /**
620
+ * Set of flags that can be associated with a given permission over an extension
621
+ */
622
+ export enum ExtensionPolicyFlags {
623
+ /**
624
+ * No permission
625
+ */
626
+ None = 0,
627
+ /**
628
+ * Permission on private extensions
629
+ */
630
+ Private = 1,
631
+ /**
632
+ * Permission on public extensions
633
+ */
634
+ Public = 2,
635
+ /**
636
+ * Permission in extensions that are in preview
637
+ */
638
+ Preview = 4,
639
+ /**
640
+ * Permission in released extensions
641
+ */
642
+ Released = 8,
643
+ /**
644
+ * Permission in 1st party extensions
645
+ */
646
+ FirstParty = 16,
647
+ /**
648
+ * Mask that defines all permissions
649
+ */
650
+ All = 31
651
+ }
652
+
653
+ /**
654
+ * An ExtensionQuery is used to search the gallery for a set of extensions that match one of many filter values.
655
+ */
656
+ export interface ExtensionQuery {
657
+ /**
658
+ * When retrieving extensions with a query; frequently the caller only needs a small subset of the assets. The caller may specify a list of asset types that should be returned if the extension contains it. All other assets will not be returned.
659
+ */
660
+ assetTypes: string[];
661
+ /**
662
+ * Each filter is a unique query and will have matching set of extensions returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query.
663
+ */
664
+ filters: QueryFilter[];
665
+ /**
666
+ * The Flags are used to determine which set of information the caller would like returned for the matched extensions.
667
+ */
668
+ flags: ExtensionQueryFlags;
669
+ }
670
+
671
+ /**
672
+ * Type of extension filters that are supported in the queries.
673
+ */
674
+ export enum ExtensionQueryFilterType {
675
+ /**
676
+ * The values are used as tags. All tags are treated as "OR" conditions with each other. There may be some value put on the number of matched tags from the query.
677
+ */
678
+ Tag = 1,
679
+ /**
680
+ * The Values are an ExtensionName or fragment that is used to match other extension names.
681
+ */
682
+ DisplayName = 2,
683
+ /**
684
+ * The Filter is one or more tokens that define what scope to return private extensions for.
685
+ */
686
+ Private = 3,
687
+ /**
688
+ * Retrieve a set of extensions based on their id's. The values should be the extension id's encoded as strings.
689
+ */
690
+ Id = 4,
691
+ /**
692
+ * The category is unlike other filters. It is AND'd with the other filters instead of being a separate query.
693
+ */
694
+ Category = 5,
695
+ /**
696
+ * Certain contribution types may be indexed to allow for query by type. User defined types can't be indexed at the moment.
697
+ */
698
+ ContributionType = 6,
699
+ /**
700
+ * Retrieve an set extension based on the name based identifier. This differs from the internal id (which is being deprecated).
701
+ */
702
+ Name = 7,
703
+ /**
704
+ * The InstallationTarget for an extension defines the target consumer for the extension. This may be something like VS, VSOnline, or VSCode
705
+ */
706
+ InstallationTarget = 8,
707
+ /**
708
+ * Query for featured extensions, no value is allowed when using the query type.
709
+ */
710
+ Featured = 9,
711
+ /**
712
+ * The SearchText provided by the user to search for extensions
713
+ */
714
+ SearchText = 10,
715
+ /**
716
+ * Query for extensions that are featured in their own category, The filterValue for this is name of category of extensions.
717
+ */
718
+ FeaturedInCategory = 11,
719
+ /**
720
+ * When retrieving extensions from a query, exclude the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be excluded. In case of multiple flags to be specified, a logical OR of the interger values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag.
721
+ */
722
+ ExcludeWithFlags = 12,
723
+ /**
724
+ * When retrieving extensions from a query, include the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of multiple flags to be specified, a logical OR of the integer values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
725
+ */
726
+ IncludeWithFlags = 13,
727
+ /**
728
+ * Filter the extensions based on the LCID values applicable. Any extensions which are not having any LCID values will also be filtered. This is currently only supported for VS extensions.
729
+ */
730
+ Lcid = 14,
731
+ /**
732
+ * Filter to provide the version of the installation target. This filter will be used along with InstallationTarget filter. The value should be a valid version string. Currently supported only if search text is provided.
733
+ */
734
+ InstallationTargetVersion = 15,
735
+ /**
736
+ * Filter type for specifying a range of installation target version. The filter will be used along with InstallationTarget filter. The value should be a pair of well formed version values separated by hyphen(-). Currently supported only if search text is provided.
737
+ */
738
+ InstallationTargetVersionRange = 16,
739
+ /**
740
+ * Filter type for specifying metadata key and value to be used for filtering.
741
+ */
742
+ VsixMetadata = 17,
743
+ /**
744
+ * Filter to get extensions published by a publisher having supplied internal name
745
+ */
746
+ PublisherName = 18,
747
+ /**
748
+ * Filter to get extensions published by all publishers having supplied display name
749
+ */
750
+ PublisherDisplayName = 19,
751
+ /**
752
+ * When retrieving extensions from a query, include the extensions which have a publisher having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of multiple flags to be specified, a logical OR of the integer values should be given as value for this filter There should be at most one filter of this type. This only acts as a restrictive filter after. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
753
+ */
754
+ IncludeWithPublisherFlags = 20,
755
+ /**
756
+ * Filter to get extensions shared with particular organization
757
+ */
758
+ OrganizationSharedWith = 21,
759
+ /**
760
+ * Filter to get VS IDE extensions by Product Architecture
761
+ */
762
+ ProductArchitecture = 22,
763
+ /**
764
+ * Filter to get VS Code extensions by target platform.
765
+ */
766
+ TargetPlatform = 23,
767
+ /**
768
+ * Retrieve an extension based on the extensionName.
769
+ */
770
+ ExtensionName = 24
771
+ }
772
+
773
+ /**
774
+ * Set of flags used to determine which set of information is retrieved when reading published extensions
775
+ */
776
+ export enum ExtensionQueryFlags {
777
+ /**
778
+ * None is used to retrieve only the basic extension details.
779
+ */
780
+ None = 0,
781
+ /**
782
+ * IncludeVersions will return version information for extensions returned
783
+ */
784
+ IncludeVersions = 1,
785
+ /**
786
+ * IncludeFiles will return information about which files were found within the extension that were stored independent of the manifest. When asking for files, versions will be included as well since files are returned as a property of the versions. These files can be retrieved using the path to the file without requiring the entire manifest be downloaded.
787
+ */
788
+ IncludeFiles = 2,
789
+ /**
790
+ * Include the Categories and Tags that were added to the extension definition.
791
+ */
792
+ IncludeCategoryAndTags = 4,
793
+ /**
794
+ * Include the details about which accounts the extension has been shared with if the extension is a private extension.
795
+ */
796
+ IncludeSharedAccounts = 8,
797
+ /**
798
+ * Include properties associated with versions of the extension
799
+ */
800
+ IncludeVersionProperties = 16,
801
+ /**
802
+ * Excluding non-validated extensions will remove any extension versions that either are in the process of being validated or have failed validation.
803
+ */
804
+ ExcludeNonValidated = 32,
805
+ /**
806
+ * Include the set of installation targets the extension has requested.
807
+ */
808
+ IncludeInstallationTargets = 64,
809
+ /**
810
+ * Include the base uri for assets of this extension
811
+ */
812
+ IncludeAssetUri = 128,
813
+ /**
814
+ * Include the statistics associated with this extension
815
+ */
816
+ IncludeStatistics = 256,
817
+ /**
818
+ * When retrieving versions from a query, only include the latest version of the extensions that matched. This is useful when the caller doesn't need all the published versions. It will save a significant size in the returned payload.
819
+ */
820
+ IncludeLatestVersionOnly = 512,
821
+ /**
822
+ * This flag switches the asset uri to use GetAssetByName instead of CDN When this is used, values of base asset uri and base asset uri fallback are switched When this is used, source of asset files are pointed to Gallery service always even if CDN is available
823
+ */
824
+ UseFallbackAssetUri = 1024,
825
+ /**
826
+ * This flag is used to get all the metadata values associated with the extension. This is not applicable to VSTS or VSCode extensions and usage is only internal.
827
+ */
828
+ IncludeMetadata = 2048,
829
+ /**
830
+ * This flag is used to indicate to return very small data for extension required by VS IDE. This flag is only compatible when querying is done by VS IDE
831
+ */
832
+ IncludeMinimalPayloadForVsIde = 4096,
833
+ /**
834
+ * This flag is used to get Lcid values associated with the extension. This is not applicable to VSTS or VSCode extensions and usage is only internal
835
+ */
836
+ IncludeLcids = 8192,
837
+ /**
838
+ * Include the details about which organizations the extension has been shared with if the extension is a private extension.
839
+ */
840
+ IncludeSharedOrganizations = 16384,
841
+ /**
842
+ * Include the details if an extension is in conflict list or not Currently being used for VSCode extensions.
843
+ */
844
+ IncludeNameConflictInfo = 32768,
845
+ /**
846
+ * AllAttributes is designed to be a mask that defines all sub-elements of the extension should be returned. NOTE: This is not actually All flags. This is now locked to the set defined since changing this enum would be a breaking change and would change the behavior of anyone using it. Try not to use this value when making calls to the service, instead be explicit about the options required.
847
+ */
848
+ AllAttributes = 16863
849
+ }
850
+
851
+ /**
852
+ * This is the set of extensions that matched a supplied query through the filters given.
853
+ */
854
+ export interface ExtensionQueryResult {
855
+ /**
856
+ * For each filter supplied in the query, a filter result will be returned in the query result.
857
+ */
858
+ results: ExtensionFilterResult[];
859
+ }
860
+
861
+ export interface ExtensionShare {
862
+ id: string;
863
+ isOrg: boolean;
864
+ name: string;
865
+ type: string;
866
+ }
867
+
868
+ export interface ExtensionStatistic {
869
+ statisticName: string;
870
+ value: number;
871
+ }
872
+
873
+ export enum ExtensionStatisticOperation {
874
+ None = 0,
875
+ Set = 1,
876
+ Increment = 2,
877
+ Decrement = 3,
878
+ Delete = 4
879
+ }
880
+
881
+ export interface ExtensionStatisticUpdate {
882
+ extensionName: string;
883
+ operation: ExtensionStatisticOperation;
884
+ publisherName: string;
885
+ statistic: ExtensionStatistic;
886
+ }
887
+
888
+ /**
889
+ * Stats aggregation type
890
+ */
891
+ export enum ExtensionStatsAggregateType {
892
+ Daily = 1
893
+ }
894
+
895
+ export interface ExtensionVersion {
896
+ assetUri: string;
897
+ badges: ExtensionBadge[];
898
+ fallbackAssetUri: string;
899
+ files: ExtensionFile[];
900
+ flags: ExtensionVersionFlags;
901
+ lastUpdated: Date;
902
+ properties: { key: string; value: string }[];
903
+ targetPlatform: string;
904
+ validationResultMessage: string;
905
+ version: string;
906
+ versionDescription: string;
907
+ }
908
+
909
+ /**
910
+ * Set of flags that can be associated with a given extension version. These flags apply to a specific version of the extension.
911
+ */
912
+ export enum ExtensionVersionFlags {
913
+ /**
914
+ * No flags exist for this version.
915
+ */
916
+ None = 0,
917
+ /**
918
+ * The Validated flag for a version means the extension version has passed validation and can be used..
919
+ */
920
+ Validated = 1
921
+ }
922
+
923
+ /**
924
+ * One condition in a QueryFilter.
925
+ */
926
+ export interface FilterCriteria {
927
+ /**
928
+ * The FilterType defines how the filters are to be applied to the extensions. See the documentation on the filter type to understand how the filters are matched.
929
+ */
930
+ filterType: number;
931
+ /**
932
+ * The value used in the match based on the filter type.
933
+ */
934
+ value: string;
935
+ }
936
+
937
+ export interface InstallationTarget {
938
+ extensionVersion: string;
939
+ productArchitecture: string;
940
+ target: string;
941
+ targetPlatform: string;
942
+ targetVersion: string;
943
+ }
944
+
945
+ /**
946
+ * MetadataItem is one value of metadata under a given category of metadata
947
+ */
948
+ export interface MetadataItem {
949
+ /**
950
+ * The count of the metadata item
951
+ */
952
+ count: number;
953
+ /**
954
+ * The name of the metadata item
955
+ */
956
+ name: string;
957
+ }
958
+
959
+ /**
960
+ * Information needed for sending mail notification
961
+ */
962
+ export interface NotificationsData {
963
+ /**
964
+ * Notification data needed
965
+ */
966
+ data: { [key: string] : any; };
967
+ /**
968
+ * List of users who should get the notification
969
+ */
970
+ identities: { [key: string] : any; };
971
+ /**
972
+ * Type of Mail Notification.Can be Qna , review or CustomerContact
973
+ */
974
+ type: NotificationTemplateType;
975
+ }
976
+
977
+ /**
978
+ * Type of event
979
+ */
980
+ export enum NotificationTemplateType {
981
+ /**
982
+ * Template type for Review Notification.
983
+ */
984
+ ReviewNotification = 1,
985
+ /**
986
+ * Template type for Qna Notification.
987
+ */
988
+ QnaNotification = 2,
989
+ /**
990
+ * Template type for Customer Contact Notification.
991
+ */
992
+ CustomerContactNotification = 3,
993
+ /**
994
+ * Template type for Publisher Member Notification.
995
+ */
996
+ PublisherMemberUpdateNotification = 4
997
+ }
998
+
999
+ /**
1000
+ * PagingDirection is used to define which set direction to move the returned result set based on a previous query.
1001
+ */
1002
+ export enum PagingDirection {
1003
+ /**
1004
+ * Backward will return results from earlier in the resultset.
1005
+ */
1006
+ Backward = 1,
1007
+ /**
1008
+ * Forward will return results from later in the resultset.
1009
+ */
1010
+ Forward = 2
1011
+ }
1012
+
1013
+ /**
1014
+ * This is the set of categories in response to the get category query
1015
+ */
1016
+ export interface ProductCategoriesResult {
1017
+ categories: ProductCategory[];
1018
+ }
1019
+
1020
+ /**
1021
+ * This is the interface object to be used by Root Categories and Category Tree APIs for Visual Studio Ide.
1022
+ */
1023
+ export interface ProductCategory {
1024
+ children: ProductCategory[];
1025
+ /**
1026
+ * Indicator whether this is a leaf or there are children under this category
1027
+ */
1028
+ hasChildren: boolean;
1029
+ /**
1030
+ * Individual Guid of the Category
1031
+ */
1032
+ id: string;
1033
+ /**
1034
+ * Category Title in the requested language
1035
+ */
1036
+ title: string;
1037
+ }
1038
+
1039
+ export interface PublishedExtension {
1040
+ categories: string[];
1041
+ deploymentType: ExtensionDeploymentTechnology;
1042
+ displayName: string;
1043
+ extensionId: string;
1044
+ extensionName: string;
1045
+ flags: PublishedExtensionFlags;
1046
+ installationTargets: InstallationTarget[];
1047
+ lastUpdated: Date;
1048
+ longDescription: string;
1049
+ /**
1050
+ * Check if Extension is in conflict list or not. Taking as String and not as boolean because we don't want end customer to see this flag and by making it Boolean it is coming as false for all the cases.
1051
+ */
1052
+ presentInConflictList: string;
1053
+ /**
1054
+ * Date on which the extension was first uploaded.
1055
+ */
1056
+ publishedDate: Date;
1057
+ publisher: PublisherFacts;
1058
+ /**
1059
+ * Date on which the extension first went public.
1060
+ */
1061
+ releaseDate: Date;
1062
+ sharedWith: ExtensionShare[];
1063
+ shortDescription: string;
1064
+ statistics: ExtensionStatistic[];
1065
+ tags: string[];
1066
+ versions: ExtensionVersion[];
1067
+ }
1068
+
1069
+ /**
1070
+ * Set of flags that can be associated with a given extension. These flags apply to all versions of the extension and not to a specific version.
1071
+ */
1072
+ export enum PublishedExtensionFlags {
1073
+ /**
1074
+ * No flags exist for this extension.
1075
+ */
1076
+ None = 0,
1077
+ /**
1078
+ * The Disabled flag for an extension means the extension can't be changed and won't be used by consumers. The disabled flag is managed by the service and can't be supplied by the Extension Developers.
1079
+ */
1080
+ Disabled = 1,
1081
+ /**
1082
+ * BuiltIn Extension are available to all Tenants. An explicit registration is not required. This attribute is reserved and can't be supplied by Extension Developers. BuiltIn extensions are by definition Public. There is no need to set the public flag for extensions marked BuiltIn.
1083
+ */
1084
+ BuiltIn = 2,
1085
+ /**
1086
+ * This extension has been validated by the service. The extension meets the requirements specified. This attribute is reserved and can't be supplied by the Extension Developers. Validation is a process that ensures that all contributions are well formed. They meet the requirements defined by the contribution type they are extending. Note this attribute will be updated asynchronously as the extension is validated by the developer of the contribution type. There will be restricted access to the extension while this process is performed.
1087
+ */
1088
+ Validated = 4,
1089
+ /**
1090
+ * Trusted extensions are ones that are given special capabilities. These tend to come from Microsoft and can't be published by the general public. Note: BuiltIn extensions are always trusted.
1091
+ */
1092
+ Trusted = 8,
1093
+ /**
1094
+ * The Paid flag indicates that the commerce can be enabled for this extension. Publisher needs to setup Offer/Pricing plan in Azure. If Paid flag is set and a corresponding Offer is not available, the extension will automatically be marked as Preview. If the publisher intends to make the extension Paid in the future, it is mandatory to set the Preview flag. This is currently available only for VSTS extensions only.
1095
+ */
1096
+ Paid = 16,
1097
+ /**
1098
+ * This extension registration is public, making its visibility open to the public. This means all tenants have the ability to install this extension. Without this flag the extension will be private and will need to be shared with the tenants that can install it.
1099
+ */
1100
+ Public = 256,
1101
+ /**
1102
+ * This extension has multiple versions active at one time and version discovery should be done using the defined "Version Discovery" protocol to determine the version available to a specific user or tenant. \@TODO: Link to Version Discovery Protocol.
1103
+ */
1104
+ MultiVersion = 512,
1105
+ /**
1106
+ * The system flag is reserved, and cant be used by publishers.
1107
+ */
1108
+ System = 1024,
1109
+ /**
1110
+ * The Preview flag indicates that the extension is still under preview (not yet of "release" quality). These extensions may be decorated differently in the gallery and may have different policies applied to them.
1111
+ */
1112
+ Preview = 2048,
1113
+ /**
1114
+ * The Unpublished flag indicates that the extension can't be installed/downloaded. Users who have installed such an extension can continue to use the extension.
1115
+ */
1116
+ Unpublished = 4096,
1117
+ /**
1118
+ * The Trial flag indicates that the extension is in Trial version. The flag is right now being used only with respect to Visual Studio extensions.
1119
+ */
1120
+ Trial = 8192,
1121
+ /**
1122
+ * The Locked flag indicates that extension has been locked from Marketplace. Further updates/acquisitions are not allowed on the extension until this is present. This should be used along with making the extension private/unpublished.
1123
+ */
1124
+ Locked = 16384,
1125
+ /**
1126
+ * This flag is set for extensions we want to hide from Marketplace home and search pages. This will be used to override the exposure of builtIn flags.
1127
+ */
1128
+ Hidden = 32768
1129
+ }
1130
+
1131
+ export interface Publisher extends PublisherBase {
1132
+ _links: any;
1133
+ domain: string;
1134
+ isDnsTokenVerified: boolean;
1135
+ isDomainVerified: boolean;
1136
+ reCaptchaToken: string;
1137
+ }
1138
+
1139
+ /**
1140
+ * Keeping base class separate since publisher DB model class and publisher contract class share these common properties
1141
+ */
1142
+ export interface PublisherBase {
1143
+ displayName: string;
1144
+ emailAddress: string[];
1145
+ extensions: PublishedExtension[];
1146
+ flags: PublisherFlags;
1147
+ lastUpdated: Date;
1148
+ longDescription: string;
1149
+ publisherId: string;
1150
+ publisherName: string;
1151
+ shortDescription: string;
1152
+ state: PublisherState;
1153
+ }
1154
+
1155
+ /**
1156
+ * High-level information about the publisher, like id's and names
1157
+ */
1158
+ export interface PublisherFacts {
1159
+ displayName: string;
1160
+ domain: string;
1161
+ flags: PublisherFlags;
1162
+ isDomainVerified: boolean;
1163
+ publisherId: string;
1164
+ publisherName: string;
1165
+ }
1166
+
1167
+ /**
1168
+ * The FilterResult is the set of publishers that matched a particular query filter.
1169
+ */
1170
+ export interface PublisherFilterResult {
1171
+ /**
1172
+ * This is the set of applications that matched the query filter supplied.
1173
+ */
1174
+ publishers: Publisher[];
1175
+ }
1176
+
1177
+ export enum PublisherFlags {
1178
+ /**
1179
+ * This should never be returned, it is used to represent a publisher who's flags haven't changed during update calls.
1180
+ */
1181
+ UnChanged = 1073741824,
1182
+ /**
1183
+ * No flags exist for this publisher.
1184
+ */
1185
+ None = 0,
1186
+ /**
1187
+ * The Disabled flag for a publisher means the publisher can't be changed and won't be used by consumers, this extends to extensions owned by the publisher as well. The disabled flag is managed by the service and can't be supplied by the Extension Developers.
1188
+ */
1189
+ Disabled = 1,
1190
+ /**
1191
+ * A verified publisher is one that Microsoft has done some review of and ensured the publisher meets a set of requirements. The requirements to become a verified publisher are not listed here. They can be found in public documentation (TBD).
1192
+ */
1193
+ Verified = 2,
1194
+ /**
1195
+ * A Certified publisher is one that is Microsoft verified and in addition meets a set of requirements for its published extensions. The requirements to become a certified publisher are not listed here. They can be found in public documentation (TBD).
1196
+ */
1197
+ Certified = 4,
1198
+ /**
1199
+ * This is the set of flags that can't be supplied by the developer and is managed by the service itself.
1200
+ */
1201
+ ServiceFlags = 7
1202
+ }
1203
+
1204
+ export enum PublisherPermissions {
1205
+ /**
1206
+ * This gives the bearer the rights to read Publishers and Extensions.
1207
+ */
1208
+ Read = 1,
1209
+ /**
1210
+ * This gives the bearer the rights to update, delete, and share Extensions (but not the ability to create them).
1211
+ */
1212
+ UpdateExtension = 2,
1213
+ /**
1214
+ * This gives the bearer the rights to create new Publishers at the root of the namespace.
1215
+ */
1216
+ CreatePublisher = 4,
1217
+ /**
1218
+ * This gives the bearer the rights to create new Extensions within a publisher.
1219
+ */
1220
+ PublishExtension = 8,
1221
+ /**
1222
+ * Admin gives the bearer the rights to manage restricted attributes of Publishers and Extensions.
1223
+ */
1224
+ Admin = 16,
1225
+ /**
1226
+ * TrustedPartner gives the bearer the rights to publish a extensions with restricted capabilities.
1227
+ */
1228
+ TrustedPartner = 32,
1229
+ /**
1230
+ * PrivateRead is another form of read designed to allow higher privilege accessors the ability to read private extensions.
1231
+ */
1232
+ PrivateRead = 64,
1233
+ /**
1234
+ * This gives the bearer the rights to delete any extension.
1235
+ */
1236
+ DeleteExtension = 128,
1237
+ /**
1238
+ * This gives the bearer the rights edit the publisher settings.
1239
+ */
1240
+ EditSettings = 256,
1241
+ /**
1242
+ * This gives the bearer the rights to see all permissions on the publisher.
1243
+ */
1244
+ ViewPermissions = 512,
1245
+ /**
1246
+ * This gives the bearer the rights to assign permissions on the publisher.
1247
+ */
1248
+ ManagePermissions = 1024,
1249
+ /**
1250
+ * This gives the bearer the rights to delete the publisher.
1251
+ */
1252
+ DeletePublisher = 2048
1253
+ }
1254
+
1255
+ /**
1256
+ * An PublisherQuery is used to search the gallery for a set of publishers that match one of many filter values.
1257
+ */
1258
+ export interface PublisherQuery {
1259
+ /**
1260
+ * Each filter is a unique query and will have matching set of publishers returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query.
1261
+ */
1262
+ filters: QueryFilter[];
1263
+ /**
1264
+ * The Flags are used to determine which set of information the caller would like returned for the matched publishers.
1265
+ */
1266
+ flags: PublisherQueryFlags;
1267
+ }
1268
+
1269
+ /**
1270
+ * Set of flags used to define the attributes requested when a publisher is returned. Some API's allow the caller to specify the level of detail needed.
1271
+ */
1272
+ export enum PublisherQueryFlags {
1273
+ /**
1274
+ * None is used to retrieve only the basic publisher details.
1275
+ */
1276
+ None = 0,
1277
+ /**
1278
+ * Is used to include a list of basic extension details for all extensions published by the requested publisher.
1279
+ */
1280
+ IncludeExtensions = 1,
1281
+ /**
1282
+ * Is used to include email address of all the users who are marked as owners for the publisher
1283
+ */
1284
+ IncludeEmailAddress = 2
1285
+ }
1286
+
1287
+ /**
1288
+ * This is the set of publishers that matched a supplied query through the filters given.
1289
+ */
1290
+ export interface PublisherQueryResult {
1291
+ /**
1292
+ * For each filter supplied in the query, a filter result will be returned in the query result.
1293
+ */
1294
+ results: PublisherFilterResult[];
1295
+ }
1296
+
1297
+ /**
1298
+ * Access definition for a RoleAssignment.
1299
+ */
1300
+ export enum PublisherRoleAccess {
1301
+ /**
1302
+ * Access has been explicitly set.
1303
+ */
1304
+ Assigned = 1,
1305
+ /**
1306
+ * Access has been inherited from a higher scope.
1307
+ */
1308
+ Inherited = 2
1309
+ }
1310
+
1311
+ export interface PublisherRoleAssignment {
1312
+ /**
1313
+ * Designates the role as explicitly assigned or inherited.
1314
+ */
1315
+ access: PublisherRoleAccess;
1316
+ /**
1317
+ * User friendly description of access assignment.
1318
+ */
1319
+ accessDisplayName: string;
1320
+ /**
1321
+ * The user to whom the role is assigned.
1322
+ */
1323
+ identity: WebApi.IdentityRef;
1324
+ /**
1325
+ * The role assigned to the user.
1326
+ */
1327
+ role: PublisherSecurityRole;
1328
+ }
1329
+
1330
+ export interface PublisherSecurityRole {
1331
+ /**
1332
+ * Permissions the role is allowed.
1333
+ */
1334
+ allowPermissions: number;
1335
+ /**
1336
+ * Permissions the role is denied.
1337
+ */
1338
+ denyPermissions: number;
1339
+ /**
1340
+ * Description of user access defined by the role
1341
+ */
1342
+ description: string;
1343
+ /**
1344
+ * User friendly name of the role.
1345
+ */
1346
+ displayName: string;
1347
+ /**
1348
+ * Globally unique identifier for the role.
1349
+ */
1350
+ identifier: string;
1351
+ /**
1352
+ * Unique name of the role in the scope.
1353
+ */
1354
+ name: string;
1355
+ /**
1356
+ * Returns the id of the ParentScope.
1357
+ */
1358
+ scope: string;
1359
+ }
1360
+
1361
+ export enum PublisherState {
1362
+ /**
1363
+ * No state exists for this publisher.
1364
+ */
1365
+ None = 0,
1366
+ /**
1367
+ * This state indicates that publisher has applied for Marketplace verification (via UI) and still not been certified. This state would be reset once the publisher is verified.
1368
+ */
1369
+ VerificationPending = 1,
1370
+ /**
1371
+ * This state indicates that publisher has applied for Marketplace certification (via UI) and still not been certified. This state would be reset once the publisher is certified.
1372
+ */
1373
+ CertificationPending = 2,
1374
+ /**
1375
+ * This state indicates that publisher had applied for Marketplace certification (via UI) but his/her certification got rejected. This state would be reset if and when the publisher is certified.
1376
+ */
1377
+ CertificationRejected = 4,
1378
+ /**
1379
+ * This state indicates that publisher was certified on the Marketplace, but his/her certification got revoked. This state would never be reset, even after publisher gets re-certified. It would indicate that the publisher certification was revoked at least once.
1380
+ */
1381
+ CertificationRevoked = 8
1382
+ }
1383
+
1384
+ export interface PublisherUserRoleAssignmentRef {
1385
+ /**
1386
+ * The name of the role assigned.
1387
+ */
1388
+ roleName: string;
1389
+ /**
1390
+ * Identifier of the user given the role assignment.
1391
+ */
1392
+ uniqueName: string;
1393
+ /**
1394
+ * Unique id of the user given the role assignment.
1395
+ */
1396
+ userId: string;
1397
+ }
1398
+
1399
+ /**
1400
+ * The core structure of a QnA item
1401
+ */
1402
+ export interface QnAItem {
1403
+ /**
1404
+ * Time when the review was first created
1405
+ */
1406
+ createdDate: Date;
1407
+ /**
1408
+ * Unique identifier of a QnA item
1409
+ */
1410
+ id: number;
1411
+ /**
1412
+ * Get status of item
1413
+ */
1414
+ status: QnAItemStatus;
1415
+ /**
1416
+ * Text description of the QnA item
1417
+ */
1418
+ text: string;
1419
+ /**
1420
+ * Time when the review was edited/updated
1421
+ */
1422
+ updatedDate: Date;
1423
+ /**
1424
+ * User details for the item.
1425
+ */
1426
+ user: UserIdentityRef;
1427
+ }
1428
+
1429
+ /**
1430
+ * Denotes the status of the QnA Item
1431
+ */
1432
+ export enum QnAItemStatus {
1433
+ None = 0,
1434
+ /**
1435
+ * The UserEditable flag indicates whether the item is editable by the logged in user.
1436
+ */
1437
+ UserEditable = 1,
1438
+ /**
1439
+ * The PublisherCreated flag indicates whether the item has been created by extension publisher.
1440
+ */
1441
+ PublisherCreated = 2
1442
+ }
1443
+
1444
+ /**
1445
+ * A filter used to define a set of extensions to return during a query.
1446
+ */
1447
+ export interface QueryFilter {
1448
+ /**
1449
+ * The filter values define the set of values in this query. They are applied based on the QueryFilterType.
1450
+ */
1451
+ criteria: FilterCriteria[];
1452
+ /**
1453
+ * The PagingDirection is applied to a paging token if one exists. If not the direction is ignored, and Forward from the start of the resultset is used. Direction should be left out of the request unless a paging token is used to help prevent future issues.
1454
+ */
1455
+ direction: PagingDirection;
1456
+ /**
1457
+ * The page number requested by the user. If not provided 1 is assumed by default.
1458
+ */
1459
+ pageNumber: number;
1460
+ /**
1461
+ * The page size defines the number of results the caller wants for this filter. The count can't exceed the overall query size limits.
1462
+ */
1463
+ pageSize: number;
1464
+ /**
1465
+ * The paging token is a distinct type of filter and the other filter fields are ignored. The paging token represents the continuation of a previously executed query. The information about where in the result and what fields are being filtered are embedded in the token.
1466
+ */
1467
+ pagingToken: string;
1468
+ /**
1469
+ * Defines the type of sorting to be applied on the results. The page slice is cut of the sorted results only.
1470
+ */
1471
+ sortBy: number;
1472
+ /**
1473
+ * Defines the order of sorting, 1 for Ascending, 2 for Descending, else default ordering based on the SortBy value
1474
+ */
1475
+ sortOrder: number;
1476
+ }
1477
+
1478
+ /**
1479
+ * The structure of the question / thread
1480
+ */
1481
+ export interface Question extends QnAItem {
1482
+ reCaptchaToken: string;
1483
+ /**
1484
+ * List of answers in for the question / thread
1485
+ */
1486
+ responses: Response[];
1487
+ }
1488
+
1489
+ export interface QuestionsResult {
1490
+ /**
1491
+ * Flag indicating if there are more QnA threads to be shown (for paging)
1492
+ */
1493
+ hasMoreQuestions: boolean;
1494
+ /**
1495
+ * List of the QnA threads
1496
+ */
1497
+ questions: Question[];
1498
+ }
1499
+
1500
+ export interface RatingCountPerRating {
1501
+ /**
1502
+ * Rating value
1503
+ */
1504
+ rating: number;
1505
+ /**
1506
+ * Count of total ratings
1507
+ */
1508
+ ratingCount: number;
1509
+ }
1510
+
1511
+ /**
1512
+ * The structure of a response
1513
+ */
1514
+ export interface Response extends QnAItem {
1515
+ reCaptchaToken: string;
1516
+ }
1517
+
1518
+ /**
1519
+ * The status of a REST Api response status.
1520
+ */
1521
+ export enum RestApiResponseStatus {
1522
+ /**
1523
+ * The operation is completed.
1524
+ */
1525
+ Completed = 0,
1526
+ /**
1527
+ * The operation is failed.
1528
+ */
1529
+ Failed = 1,
1530
+ /**
1531
+ * The operation is in progress.
1532
+ */
1533
+ Inprogress = 2,
1534
+ /**
1535
+ * The operation is in skipped.
1536
+ */
1537
+ Skipped = 3
1538
+ }
1539
+
1540
+ /**
1541
+ * REST Api Response
1542
+ */
1543
+ export interface RestApiResponseStatusModel {
1544
+ /**
1545
+ * Gets or sets the operation details
1546
+ */
1547
+ operationDetails: any;
1548
+ /**
1549
+ * Gets or sets the operation id
1550
+ */
1551
+ operationId: string;
1552
+ /**
1553
+ * Gets or sets the completed status percentage
1554
+ */
1555
+ percentageCompleted: number;
1556
+ /**
1557
+ * Gets or sets the status
1558
+ */
1559
+ status: RestApiResponseStatus;
1560
+ /**
1561
+ * Gets or sets the status message
1562
+ */
1563
+ statusMessage: string;
1564
+ }
1565
+
1566
+ export interface Review {
1567
+ /**
1568
+ * Admin Reply, if any, for this review
1569
+ */
1570
+ adminReply: ReviewReply;
1571
+ /**
1572
+ * Unique identifier of a review item
1573
+ */
1574
+ id: number;
1575
+ /**
1576
+ * Flag for soft deletion
1577
+ */
1578
+ isDeleted: boolean;
1579
+ /**
1580
+ * Flag for Ignoring Review from average rating calculation
1581
+ */
1582
+ isIgnored: boolean;
1583
+ /**
1584
+ * Version of the product for which review was submitted
1585
+ */
1586
+ productVersion: string;
1587
+ /**
1588
+ * Rating provided by the user
1589
+ */
1590
+ rating: number;
1591
+ reCaptchaToken: string;
1592
+ /**
1593
+ * Reply, if any, for this review
1594
+ */
1595
+ reply: ReviewReply;
1596
+ /**
1597
+ * Text description of the review
1598
+ */
1599
+ text: string;
1600
+ /**
1601
+ * Title of the review
1602
+ */
1603
+ title: string;
1604
+ /**
1605
+ * Time when the review was edited/updated
1606
+ */
1607
+ updatedDate: Date;
1608
+ /**
1609
+ * Name of the user
1610
+ */
1611
+ userDisplayName: string;
1612
+ /**
1613
+ * Id of the user who submitted the review
1614
+ */
1615
+ userId: string;
1616
+ }
1617
+
1618
+ /**
1619
+ * Type of operation
1620
+ */
1621
+ export enum ReviewEventOperation {
1622
+ Create = 1,
1623
+ Update = 2,
1624
+ Delete = 3
1625
+ }
1626
+
1627
+ /**
1628
+ * Properties associated with Review event
1629
+ */
1630
+ export interface ReviewEventProperties {
1631
+ /**
1632
+ * Operation performed on Event - Create\\Update
1633
+ */
1634
+ eventOperation: ReviewEventOperation;
1635
+ /**
1636
+ * Flag to see if reply is admin reply
1637
+ */
1638
+ isAdminReply: boolean;
1639
+ /**
1640
+ * Flag to record if the review is ignored
1641
+ */
1642
+ isIgnored: boolean;
1643
+ /**
1644
+ * Rating at the time of event
1645
+ */
1646
+ rating: number;
1647
+ /**
1648
+ * Reply update date
1649
+ */
1650
+ replyDate: Date;
1651
+ /**
1652
+ * Publisher reply text or admin reply text
1653
+ */
1654
+ replyText: string;
1655
+ /**
1656
+ * User who responded to the review
1657
+ */
1658
+ replyUserId: string;
1659
+ /**
1660
+ * Review Event Type - Review
1661
+ */
1662
+ resourceType: ReviewResourceType;
1663
+ /**
1664
+ * Review update date
1665
+ */
1666
+ reviewDate: Date;
1667
+ /**
1668
+ * ReviewId of the review on which the operation is performed
1669
+ */
1670
+ reviewId: number;
1671
+ /**
1672
+ * Text in Review Text
1673
+ */
1674
+ reviewText: string;
1675
+ /**
1676
+ * User display name at the time of review
1677
+ */
1678
+ userDisplayName: string;
1679
+ /**
1680
+ * User who gave review
1681
+ */
1682
+ userId: string;
1683
+ }
1684
+
1685
+ /**
1686
+ * Options to GetReviews query
1687
+ */
1688
+ export enum ReviewFilterOptions {
1689
+ /**
1690
+ * No filtering, all reviews are returned (default option)
1691
+ */
1692
+ None = 0,
1693
+ /**
1694
+ * Filter out review items with empty review text
1695
+ */
1696
+ FilterEmptyReviews = 1,
1697
+ /**
1698
+ * Filter out review items with empty usernames
1699
+ */
1700
+ FilterEmptyUserNames = 2
1701
+ }
1702
+
1703
+ export interface ReviewPatch {
1704
+ /**
1705
+ * Denotes the patch operation type
1706
+ */
1707
+ operation: ReviewPatchOperation;
1708
+ /**
1709
+ * Use when patch operation is FlagReview
1710
+ */
1711
+ reportedConcern: UserReportedConcern;
1712
+ /**
1713
+ * Use when patch operation is EditReview
1714
+ */
1715
+ reviewItem: Review;
1716
+ }
1717
+
1718
+ /**
1719
+ * Denotes the patch operation type
1720
+ */
1721
+ export enum ReviewPatchOperation {
1722
+ /**
1723
+ * Flag a review
1724
+ */
1725
+ FlagReview = 1,
1726
+ /**
1727
+ * Update an existing review
1728
+ */
1729
+ UpdateReview = 2,
1730
+ /**
1731
+ * Submit a reply for a review
1732
+ */
1733
+ ReplyToReview = 3,
1734
+ /**
1735
+ * Submit an admin response
1736
+ */
1737
+ AdminResponseForReview = 4,
1738
+ /**
1739
+ * Delete an Admin Reply
1740
+ */
1741
+ DeleteAdminReply = 5,
1742
+ /**
1743
+ * Delete Publisher Reply
1744
+ */
1745
+ DeletePublisherReply = 6
1746
+ }
1747
+
1748
+ export interface ReviewReply {
1749
+ /**
1750
+ * Id of the reply
1751
+ */
1752
+ id: number;
1753
+ /**
1754
+ * Flag for soft deletion
1755
+ */
1756
+ isDeleted: boolean;
1757
+ /**
1758
+ * Version of the product when the reply was submitted or updated
1759
+ */
1760
+ productVersion: string;
1761
+ /**
1762
+ * Content of the reply
1763
+ */
1764
+ replyText: string;
1765
+ /**
1766
+ * Id of the review, to which this reply belongs
1767
+ */
1768
+ reviewId: number;
1769
+ /**
1770
+ * Title of the reply
1771
+ */
1772
+ title: string;
1773
+ /**
1774
+ * Date the reply was submitted or updated
1775
+ */
1776
+ updatedDate: Date;
1777
+ /**
1778
+ * Id of the user who left the reply
1779
+ */
1780
+ userId: string;
1781
+ }
1782
+
1783
+ /**
1784
+ * Type of event
1785
+ */
1786
+ export enum ReviewResourceType {
1787
+ Review = 1,
1788
+ PublisherReply = 2,
1789
+ AdminReply = 3
1790
+ }
1791
+
1792
+ export interface ReviewsResult {
1793
+ /**
1794
+ * Flag indicating if there are more reviews to be shown (for paging)
1795
+ */
1796
+ hasMoreReviews: boolean;
1797
+ /**
1798
+ * List of reviews
1799
+ */
1800
+ reviews: Review[];
1801
+ /**
1802
+ * Count of total review items
1803
+ */
1804
+ totalReviewCount: number;
1805
+ }
1806
+
1807
+ export interface ReviewSummary {
1808
+ /**
1809
+ * Average Rating
1810
+ */
1811
+ averageRating: number;
1812
+ /**
1813
+ * Count of total ratings
1814
+ */
1815
+ ratingCount: number;
1816
+ /**
1817
+ * Split of count across rating
1818
+ */
1819
+ ratingSplit: RatingCountPerRating[];
1820
+ }
1821
+
1822
+ /**
1823
+ * Defines the sort order that can be defined for Extensions query
1824
+ */
1825
+ export enum SortByType {
1826
+ /**
1827
+ * The results will be sorted by relevance in case search query is given, if no search query resutls will be provided as is
1828
+ */
1829
+ Relevance = 0,
1830
+ /**
1831
+ * The results will be sorted as per Last Updated date of the extensions with recently updated at the top
1832
+ */
1833
+ LastUpdatedDate = 1,
1834
+ /**
1835
+ * Results will be sorted Alphabetically as per the title of the extension
1836
+ */
1837
+ Title = 2,
1838
+ /**
1839
+ * Results will be sorted Alphabetically as per Publisher title
1840
+ */
1841
+ Publisher = 3,
1842
+ /**
1843
+ * Results will be sorted by Install Count
1844
+ */
1845
+ InstallCount = 4,
1846
+ /**
1847
+ * The results will be sorted as per Published date of the extensions
1848
+ */
1849
+ PublishedDate = 5,
1850
+ /**
1851
+ * The results will be sorted as per Average ratings of the extensions
1852
+ */
1853
+ AverageRating = 6,
1854
+ /**
1855
+ * The results will be sorted as per Trending Daily Score of the extensions
1856
+ */
1857
+ TrendingDaily = 7,
1858
+ /**
1859
+ * The results will be sorted as per Trending weekly Score of the extensions
1860
+ */
1861
+ TrendingWeekly = 8,
1862
+ /**
1863
+ * The results will be sorted as per Trending monthly Score of the extensions
1864
+ */
1865
+ TrendingMonthly = 9,
1866
+ /**
1867
+ * The results will be sorted as per ReleaseDate of the extensions (date on which the extension first went public)
1868
+ */
1869
+ ReleaseDate = 10,
1870
+ /**
1871
+ * The results will be sorted as per Author defined in the VSix/Metadata. If not defined, publisher name is used This is specifically needed by VS IDE, other (new and old) clients are not encouraged to use this
1872
+ */
1873
+ Author = 11,
1874
+ /**
1875
+ * The results will be sorted as per Weighted Rating of the extension.
1876
+ */
1877
+ WeightedRating = 12
1878
+ }
1879
+
1880
+ /**
1881
+ * Defines the sort order that can be defined for Extensions query
1882
+ */
1883
+ export enum SortOrderType {
1884
+ /**
1885
+ * Results will be sorted in the default order as per the sorting type defined. The default varies for each type, e.g. for Relevance, default is Descending, for Title default is Ascending etc.
1886
+ */
1887
+ Default = 0,
1888
+ /**
1889
+ * The results will be sorted in Ascending order
1890
+ */
1891
+ Ascending = 1,
1892
+ /**
1893
+ * The results will be sorted in Descending order
1894
+ */
1895
+ Descending = 2
1896
+ }
1897
+
1898
+ export interface UnpackagedExtensionData {
1899
+ categories: string[];
1900
+ description: string;
1901
+ displayName: string;
1902
+ draftId: string;
1903
+ extensionName: string;
1904
+ installationTargets: InstallationTarget[];
1905
+ isConvertedToMarkdown: boolean;
1906
+ isPreview: boolean;
1907
+ pricingCategory: string;
1908
+ product: string;
1909
+ publisherName: string;
1910
+ qnAEnabled: boolean;
1911
+ referralUrl: string;
1912
+ repositoryUrl: string;
1913
+ tags: string[];
1914
+ version: string;
1915
+ vsixId: string;
1916
+ }
1917
+
1918
+ /**
1919
+ * Represents the extension policy applied to a given user
1920
+ */
1921
+ export interface UserExtensionPolicy {
1922
+ /**
1923
+ * User display name that this policy refers to
1924
+ */
1925
+ displayName: string;
1926
+ /**
1927
+ * The extension policy applied to the user
1928
+ */
1929
+ permissions: ExtensionPolicy;
1930
+ /**
1931
+ * User id that this policy refers to
1932
+ */
1933
+ userId: string;
1934
+ }
1935
+
1936
+ /**
1937
+ * Identity reference with name and guid
1938
+ */
1939
+ export interface UserIdentityRef {
1940
+ /**
1941
+ * User display name
1942
+ */
1943
+ displayName: string;
1944
+ /**
1945
+ * User VSID
1946
+ */
1947
+ id: string;
1948
+ }
1949
+
1950
+ export interface UserReportedConcern {
1951
+ /**
1952
+ * Category of the concern
1953
+ */
1954
+ category: ConcernCategory;
1955
+ /**
1956
+ * User comment associated with the report
1957
+ */
1958
+ concernText: string;
1959
+ /**
1960
+ * Id of the review which was reported
1961
+ */
1962
+ reviewId: number;
1963
+ /**
1964
+ * Date the report was submitted
1965
+ */
1966
+ submittedDate: Date;
1967
+ /**
1968
+ * Id of the user who reported a review
1969
+ */
1970
+ userId: string;
1971
+ }
1972
+
1973
+ export enum VSCodeWebExtensionStatisicsType {
1974
+ Install = 1,
1975
+ Update = 2,
1976
+ Uninstall = 3
1977
+ }