@azure/arm-customerinsights 3.1.0 → 4.0.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 (425) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +75 -73
  4. package/dist/index.js +8925 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/customerInsightsManagementClient.d.ts +35 -0
  9. package/dist-esm/src/customerInsightsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/customerInsightsManagementClient.js +68 -0
  11. package/dist-esm/src/customerInsightsManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +2222 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +72 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +88 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +2237 -2527
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +53 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +243 -163
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/authorizationPolicies.d.ts +71 -0
  33. package/dist-esm/src/operations/authorizationPolicies.d.ts.map +1 -0
  34. package/dist-esm/src/operations/authorizationPolicies.js +259 -0
  35. package/dist-esm/src/operations/authorizationPolicies.js.map +1 -0
  36. package/dist-esm/src/operations/connectorMappings.d.ts +69 -0
  37. package/dist-esm/src/operations/connectorMappings.d.ts.map +1 -0
  38. package/dist-esm/src/operations/connectorMappings.js +237 -0
  39. package/dist-esm/src/operations/connectorMappings.js.map +1 -0
  40. package/dist-esm/src/operations/connectors.d.ts +81 -0
  41. package/dist-esm/src/operations/connectors.d.ts.map +1 -0
  42. package/dist-esm/src/operations/connectors.js +310 -0
  43. package/dist-esm/src/operations/connectors.js.map +1 -0
  44. package/dist-esm/src/operations/hubs.d.ts +91 -0
  45. package/dist-esm/src/operations/hubs.d.ts.map +1 -0
  46. package/dist-esm/src/operations/hubs.js +373 -0
  47. package/dist-esm/src/operations/hubs.js.map +1 -0
  48. package/dist-esm/src/operations/images.d.ts +29 -0
  49. package/dist-esm/src/operations/images.d.ts.map +1 -0
  50. package/dist-esm/src/operations/images.js +83 -0
  51. package/dist-esm/src/operations/images.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +3 -5
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/interactions.d.ts +73 -0
  57. package/dist-esm/src/operations/interactions.d.ts.map +1 -0
  58. package/dist-esm/src/operations/interactions.js +274 -0
  59. package/dist-esm/src/operations/interactions.js.map +1 -0
  60. package/dist-esm/src/operations/kpi.d.ts +89 -0
  61. package/dist-esm/src/operations/kpi.d.ts.map +1 -0
  62. package/dist-esm/src/operations/kpi.js +334 -0
  63. package/dist-esm/src/operations/kpi.js.map +1 -0
  64. package/dist-esm/src/operations/links.d.ts +73 -0
  65. package/dist-esm/src/operations/links.d.ts.map +1 -0
  66. package/dist-esm/src/operations/links.js +269 -0
  67. package/dist-esm/src/operations/links.js.map +1 -0
  68. package/dist-esm/src/operations/operations.d.ts +32 -0
  69. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/operations.js +114 -0
  71. package/dist-esm/src/operations/operations.js.map +1 -0
  72. package/dist-esm/src/operations/predictions.d.ts +106 -0
  73. package/dist-esm/src/operations/predictions.d.ts.map +1 -0
  74. package/dist-esm/src/operations/predictions.js +396 -0
  75. package/dist-esm/src/operations/predictions.js.map +1 -0
  76. package/dist-esm/src/operations/profiles.d.ts +91 -0
  77. package/dist-esm/src/operations/profiles.d.ts.map +1 -0
  78. package/dist-esm/src/operations/profiles.js +346 -0
  79. package/dist-esm/src/operations/profiles.js.map +1 -0
  80. package/dist-esm/src/operations/relationshipLinks.d.ts +81 -0
  81. package/dist-esm/src/operations/relationshipLinks.d.ts.map +1 -0
  82. package/dist-esm/src/operations/relationshipLinks.js +310 -0
  83. package/dist-esm/src/operations/relationshipLinks.js.map +1 -0
  84. package/dist-esm/src/operations/relationships.d.ts +81 -0
  85. package/dist-esm/src/operations/relationships.d.ts.map +1 -0
  86. package/dist-esm/src/operations/relationships.js +310 -0
  87. package/dist-esm/src/operations/relationships.js.map +1 -0
  88. package/dist-esm/src/operations/roleAssignments.d.ts +73 -0
  89. package/dist-esm/src/operations/roleAssignments.d.ts.map +1 -0
  90. package/dist-esm/src/operations/roleAssignments.js +269 -0
  91. package/dist-esm/src/operations/roleAssignments.js.map +1 -0
  92. package/dist-esm/src/operations/roles.d.ts +38 -0
  93. package/dist-esm/src/operations/roles.d.ts.map +1 -0
  94. package/dist-esm/src/operations/roles.js +131 -0
  95. package/dist-esm/src/operations/roles.js.map +1 -0
  96. package/dist-esm/src/operations/views.d.ts +68 -0
  97. package/dist-esm/src/operations/views.d.ts.map +1 -0
  98. package/dist-esm/src/operations/views.js +221 -0
  99. package/dist-esm/src/operations/views.js.map +1 -0
  100. package/dist-esm/src/operations/widgetTypes.d.ts +46 -0
  101. package/dist-esm/src/operations/widgetTypes.d.ts.map +1 -0
  102. package/dist-esm/src/operations/widgetTypes.js +160 -0
  103. package/dist-esm/src/operations/widgetTypes.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts +46 -0
  105. package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/authorizationPolicies.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/authorizationPolicies.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts +42 -0
  109. package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/connectorMappings.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/connectorMappings.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/connectors.d.ts +56 -0
  113. package/dist-esm/src/operationsInterfaces/connectors.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/connectors.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/connectors.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/hubs.d.ts +55 -0
  117. package/dist-esm/src/operationsInterfaces/hubs.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/hubs.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/hubs.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/images.d.ts +21 -0
  121. package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/images.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +18 -0
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/index.js +25 -0
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/interactions.d.ts +48 -0
  129. package/dist-esm/src/operationsInterfaces/interactions.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/interactions.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/interactions.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/kpi.d.ts +64 -0
  133. package/dist-esm/src/operationsInterfaces/kpi.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/kpi.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/kpi.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/links.d.ts +48 -0
  137. package/dist-esm/src/operationsInterfaces/links.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/links.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/links.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  141. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/predictions.d.ts +81 -0
  145. package/dist-esm/src/operationsInterfaces/predictions.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/predictions.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/predictions.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/profiles.d.ts +66 -0
  149. package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/profiles.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/profiles.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts +56 -0
  153. package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/relationshipLinks.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/relationshipLinks.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/relationships.d.ts +56 -0
  157. package/dist-esm/src/operationsInterfaces/relationships.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/relationships.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/relationships.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts +48 -0
  161. package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/roleAssignments.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/roleAssignments.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/roles.d.ts +13 -0
  165. package/dist-esm/src/operationsInterfaces/roles.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/roles.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/roles.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/views.d.ts +41 -0
  169. package/dist-esm/src/operationsInterfaces/views.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/views.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/views.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts +21 -0
  173. package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/widgetTypes.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/widgetTypes.js.map +1 -0
  176. package/dist-esm/test/sampleTest.d.ts +2 -0
  177. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  178. package/dist-esm/test/sampleTest.js +40 -0
  179. package/dist-esm/test/sampleTest.js.map +1 -0
  180. package/package.json +70 -34
  181. package/review/arm-customerinsights.api.md +1833 -0
  182. package/rollup.config.js +184 -27
  183. package/src/customerInsightsManagementClient.ts +144 -0
  184. package/src/index.ts +12 -0
  185. package/src/lroImpl.ts +34 -0
  186. package/src/models/index.ts +2454 -0
  187. package/{lib → src}/models/mappers.ts +2289 -2562
  188. package/src/models/parameters.ts +569 -0
  189. package/src/operations/authorizationPolicies.ts +348 -0
  190. package/src/operations/connectorMappings.ts +338 -0
  191. package/src/operations/connectors.ts +443 -0
  192. package/src/operations/hubs.ts +477 -0
  193. package/src/operations/images.ts +116 -0
  194. package/{lib → src}/operations/index.ts +3 -5
  195. package/src/operations/interactions.ts +383 -0
  196. package/src/operations/kpi.ts +478 -0
  197. package/src/operations/links.ts +377 -0
  198. package/src/operations/operations.ts +131 -0
  199. package/src/operations/predictions.ts +566 -0
  200. package/src/operations/profiles.ts +491 -0
  201. package/src/operations/relationshipLinks.ts +443 -0
  202. package/src/operations/relationships.ts +443 -0
  203. package/src/operations/roleAssignments.ts +377 -0
  204. package/src/operations/roles.ts +171 -0
  205. package/src/operations/views.ts +321 -0
  206. package/src/operations/widgetTypes.ts +212 -0
  207. package/src/operationsInterfaces/authorizationPolicies.ts +91 -0
  208. package/src/operationsInterfaces/connectorMappings.ts +83 -0
  209. package/src/operationsInterfaces/connectors.ts +109 -0
  210. package/src/operationsInterfaces/hubs.ts +100 -0
  211. package/src/operationsInterfaces/images.ts +45 -0
  212. package/src/operationsInterfaces/index.ts +25 -0
  213. package/src/operationsInterfaces/interactions.ts +97 -0
  214. package/src/operationsInterfaces/kpi.ts +123 -0
  215. package/src/operationsInterfaces/links.ts +96 -0
  216. package/src/operationsInterfaces/operations.ts +22 -0
  217. package/src/operationsInterfaces/predictions.ts +156 -0
  218. package/src/operationsInterfaces/profiles.ts +126 -0
  219. package/src/operationsInterfaces/relationshipLinks.ts +109 -0
  220. package/src/operationsInterfaces/relationships.ts +109 -0
  221. package/src/operationsInterfaces/roleAssignments.ts +96 -0
  222. package/src/operationsInterfaces/roles.ts +26 -0
  223. package/src/operationsInterfaces/views.ts +81 -0
  224. package/src/operationsInterfaces/widgetTypes.ts +44 -0
  225. package/tsconfig.json +4 -4
  226. package/types/arm-customerinsights.d.ts +3254 -0
  227. package/types/tsdoc-metadata.json +11 -0
  228. package/dist/arm-customerinsights.js +0 -9229
  229. package/dist/arm-customerinsights.js.map +0 -1
  230. package/dist/arm-customerinsights.min.js +0 -1
  231. package/dist/arm-customerinsights.min.js.map +0 -1
  232. package/esm/customerInsightsManagementClient.d.ts +0 -35
  233. package/esm/customerInsightsManagementClient.d.ts.map +0 -1
  234. package/esm/customerInsightsManagementClient.js +0 -50
  235. package/esm/customerInsightsManagementClient.js.map +0 -1
  236. package/esm/customerInsightsManagementClientContext.d.ts +0 -17
  237. package/esm/customerInsightsManagementClientContext.d.ts.map +0 -1
  238. package/esm/customerInsightsManagementClientContext.js +0 -57
  239. package/esm/customerInsightsManagementClientContext.js.map +0 -1
  240. package/esm/models/authorizationPoliciesMappers.d.ts +0 -2
  241. package/esm/models/authorizationPoliciesMappers.d.ts.map +0 -1
  242. package/esm/models/authorizationPoliciesMappers.js +0 -11
  243. package/esm/models/authorizationPoliciesMappers.js.map +0 -1
  244. package/esm/models/connectorMappingsMappers.d.ts +0 -2
  245. package/esm/models/connectorMappingsMappers.d.ts.map +0 -1
  246. package/esm/models/connectorMappingsMappers.js +0 -11
  247. package/esm/models/connectorMappingsMappers.js.map +0 -1
  248. package/esm/models/connectorsMappers.d.ts +0 -2
  249. package/esm/models/connectorsMappers.d.ts.map +0 -1
  250. package/esm/models/connectorsMappers.js +0 -11
  251. package/esm/models/connectorsMappers.js.map +0 -1
  252. package/esm/models/hubsMappers.d.ts +0 -2
  253. package/esm/models/hubsMappers.d.ts.map +0 -1
  254. package/esm/models/hubsMappers.js +0 -11
  255. package/esm/models/hubsMappers.js.map +0 -1
  256. package/esm/models/imagesMappers.d.ts +0 -2
  257. package/esm/models/imagesMappers.d.ts.map +0 -1
  258. package/esm/models/imagesMappers.js +0 -11
  259. package/esm/models/imagesMappers.js.map +0 -1
  260. package/esm/models/index.d.ts +0 -4582
  261. package/esm/models/index.d.ts.map +0 -1
  262. package/esm/models/index.js +0 -10
  263. package/esm/models/index.js.map +0 -1
  264. package/esm/models/interactionsMappers.d.ts +0 -2
  265. package/esm/models/interactionsMappers.d.ts.map +0 -1
  266. package/esm/models/interactionsMappers.js +0 -11
  267. package/esm/models/interactionsMappers.js.map +0 -1
  268. package/esm/models/kpiMappers.d.ts +0 -2
  269. package/esm/models/kpiMappers.d.ts.map +0 -1
  270. package/esm/models/kpiMappers.js +0 -11
  271. package/esm/models/kpiMappers.js.map +0 -1
  272. package/esm/models/linksMappers.d.ts +0 -2
  273. package/esm/models/linksMappers.d.ts.map +0 -1
  274. package/esm/models/linksMappers.js +0 -11
  275. package/esm/models/linksMappers.js.map +0 -1
  276. package/esm/models/mappers.d.ts +0 -88
  277. package/esm/models/mappers.d.ts.map +0 -1
  278. package/esm/models/mappers.js.map +0 -1
  279. package/esm/models/operationsMappers.d.ts +0 -2
  280. package/esm/models/operationsMappers.d.ts.map +0 -1
  281. package/esm/models/operationsMappers.js +0 -11
  282. package/esm/models/operationsMappers.js.map +0 -1
  283. package/esm/models/parameters.d.ts +0 -36
  284. package/esm/models/parameters.d.ts.map +0 -1
  285. package/esm/models/parameters.js.map +0 -1
  286. package/esm/models/predictionsMappers.d.ts +0 -2
  287. package/esm/models/predictionsMappers.d.ts.map +0 -1
  288. package/esm/models/predictionsMappers.js +0 -11
  289. package/esm/models/predictionsMappers.js.map +0 -1
  290. package/esm/models/profilesMappers.d.ts +0 -2
  291. package/esm/models/profilesMappers.d.ts.map +0 -1
  292. package/esm/models/profilesMappers.js +0 -11
  293. package/esm/models/profilesMappers.js.map +0 -1
  294. package/esm/models/relationshipLinksMappers.d.ts +0 -2
  295. package/esm/models/relationshipLinksMappers.d.ts.map +0 -1
  296. package/esm/models/relationshipLinksMappers.js +0 -11
  297. package/esm/models/relationshipLinksMappers.js.map +0 -1
  298. package/esm/models/relationshipsMappers.d.ts +0 -2
  299. package/esm/models/relationshipsMappers.d.ts.map +0 -1
  300. package/esm/models/relationshipsMappers.js +0 -11
  301. package/esm/models/relationshipsMappers.js.map +0 -1
  302. package/esm/models/roleAssignmentsMappers.d.ts +0 -2
  303. package/esm/models/roleAssignmentsMappers.d.ts.map +0 -1
  304. package/esm/models/roleAssignmentsMappers.js +0 -11
  305. package/esm/models/roleAssignmentsMappers.js.map +0 -1
  306. package/esm/models/rolesMappers.d.ts +0 -2
  307. package/esm/models/rolesMappers.d.ts.map +0 -1
  308. package/esm/models/rolesMappers.js +0 -11
  309. package/esm/models/rolesMappers.js.map +0 -1
  310. package/esm/models/viewsMappers.d.ts +0 -2
  311. package/esm/models/viewsMappers.d.ts.map +0 -1
  312. package/esm/models/viewsMappers.js +0 -11
  313. package/esm/models/viewsMappers.js.map +0 -1
  314. package/esm/models/widgetTypesMappers.d.ts +0 -2
  315. package/esm/models/widgetTypesMappers.d.ts.map +0 -1
  316. package/esm/models/widgetTypesMappers.js +0 -11
  317. package/esm/models/widgetTypesMappers.js.map +0 -1
  318. package/esm/operations/authorizationPolicies.d.ts +0 -151
  319. package/esm/operations/authorizationPolicies.d.ts.map +0 -1
  320. package/esm/operations/authorizationPolicies.js +0 -225
  321. package/esm/operations/authorizationPolicies.js.map +0 -1
  322. package/esm/operations/connectorMappings.d.ts +0 -139
  323. package/esm/operations/connectorMappings.d.ts.map +0 -1
  324. package/esm/operations/connectorMappings.js +0 -199
  325. package/esm/operations/connectorMappings.js.map +0 -1
  326. package/esm/operations/connectors.d.ts +0 -115
  327. package/esm/operations/connectors.d.ts.map +0 -1
  328. package/esm/operations/connectors.js +0 -232
  329. package/esm/operations/connectors.js.map +0 -1
  330. package/esm/operations/hubs.d.ts +0 -168
  331. package/esm/operations/hubs.d.ts.map +0 -1
  332. package/esm/operations/hubs.js +0 -291
  333. package/esm/operations/hubs.js.map +0 -1
  334. package/esm/operations/images.d.ts +0 -61
  335. package/esm/operations/images.d.ts.map +0 -1
  336. package/esm/operations/images.js +0 -100
  337. package/esm/operations/images.js.map +0 -1
  338. package/esm/operations/index.d.ts.map +0 -1
  339. package/esm/operations/index.js.map +0 -1
  340. package/esm/operations/interactions.d.ts +0 -121
  341. package/esm/operations/interactions.d.ts.map +0 -1
  342. package/esm/operations/interactions.js +0 -214
  343. package/esm/operations/interactions.js.map +0 -1
  344. package/esm/operations/kpi.d.ts +0 -139
  345. package/esm/operations/kpi.d.ts.map +0 -1
  346. package/esm/operations/kpi.js +0 -262
  347. package/esm/operations/kpi.js.map +0 -1
  348. package/esm/operations/links.d.ts +0 -121
  349. package/esm/operations/links.d.ts.map +0 -1
  350. package/esm/operations/links.js +0 -211
  351. package/esm/operations/links.js.map +0 -1
  352. package/esm/operations/operations.d.ts +0 -46
  353. package/esm/operations/operations.d.ts.map +0 -1
  354. package/esm/operations/operations.js +0 -77
  355. package/esm/operations/operations.js.map +0 -1
  356. package/esm/operations/predictions.d.ts +0 -190
  357. package/esm/operations/predictions.d.ts.map +0 -1
  358. package/esm/operations/predictions.js +0 -333
  359. package/esm/operations/predictions.js.map +0 -1
  360. package/esm/operations/profiles.d.ts +0 -141
  361. package/esm/operations/profiles.d.ts.map +0 -1
  362. package/esm/operations/profiles.js +0 -279
  363. package/esm/operations/profiles.js.map +0 -1
  364. package/esm/operations/relationshipLinks.d.ts +0 -115
  365. package/esm/operations/relationshipLinks.d.ts.map +0 -1
  366. package/esm/operations/relationshipLinks.js +0 -231
  367. package/esm/operations/relationshipLinks.js.map +0 -1
  368. package/esm/operations/relationships.d.ts +0 -115
  369. package/esm/operations/relationships.d.ts.map +0 -1
  370. package/esm/operations/relationships.js +0 -231
  371. package/esm/operations/relationships.js.map +0 -1
  372. package/esm/operations/roleAssignments.d.ts +0 -121
  373. package/esm/operations/roleAssignments.d.ts.map +0 -1
  374. package/esm/operations/roleAssignments.js +0 -212
  375. package/esm/operations/roleAssignments.js.map +0 -1
  376. package/esm/operations/roles.d.ts +0 -52
  377. package/esm/operations/roles.d.ts.map +0 -1
  378. package/esm/operations/roles.js +0 -84
  379. package/esm/operations/roles.js.map +0 -1
  380. package/esm/operations/views.d.ts +0 -136
  381. package/esm/operations/views.d.ts.map +0 -1
  382. package/esm/operations/views.js +0 -193
  383. package/esm/operations/views.js.map +0 -1
  384. package/esm/operations/widgetTypes.d.ts +0 -76
  385. package/esm/operations/widgetTypes.d.ts.map +0 -1
  386. package/esm/operations/widgetTypes.js +0 -117
  387. package/esm/operations/widgetTypes.js.map +0 -1
  388. package/lib/customerInsightsManagementClient.ts +0 -75
  389. package/lib/customerInsightsManagementClientContext.ts +0 -63
  390. package/lib/models/authorizationPoliciesMappers.ts +0 -62
  391. package/lib/models/connectorMappingsMappers.ts +0 -61
  392. package/lib/models/connectorsMappers.ts +0 -61
  393. package/lib/models/hubsMappers.ts +0 -61
  394. package/lib/models/imagesMappers.ts +0 -16
  395. package/lib/models/index.ts +0 -4702
  396. package/lib/models/interactionsMappers.ts +0 -63
  397. package/lib/models/kpiMappers.ts +0 -61
  398. package/lib/models/linksMappers.ts +0 -61
  399. package/lib/models/operationsMappers.ts +0 -17
  400. package/lib/models/parameters.ts +0 -419
  401. package/lib/models/predictionsMappers.ts +0 -67
  402. package/lib/models/profilesMappers.ts +0 -63
  403. package/lib/models/relationshipLinksMappers.ts +0 -61
  404. package/lib/models/relationshipsMappers.ts +0 -61
  405. package/lib/models/roleAssignmentsMappers.ts +0 -61
  406. package/lib/models/rolesMappers.ts +0 -61
  407. package/lib/models/viewsMappers.ts +0 -61
  408. package/lib/models/widgetTypesMappers.ts +0 -61
  409. package/lib/operations/authorizationPolicies.ts +0 -398
  410. package/lib/operations/connectorMappings.ts +0 -355
  411. package/lib/operations/connectors.ts +0 -328
  412. package/lib/operations/hubs.ts +0 -479
  413. package/lib/operations/images.ts +0 -166
  414. package/lib/operations/interactions.ts +0 -333
  415. package/lib/operations/kpi.ts +0 -387
  416. package/lib/operations/links.ts +0 -330
  417. package/lib/operations/operations.ts +0 -123
  418. package/lib/operations/predictions.ts +0 -522
  419. package/lib/operations/profiles.ts +0 -406
  420. package/lib/operations/relationshipLinks.ts +0 -327
  421. package/lib/operations/relationships.ts +0 -327
  422. package/lib/operations/roleAssignments.ts +0 -331
  423. package/lib/operations/roles.ts +0 -136
  424. package/lib/operations/views.ts +0 -346
  425. package/lib/operations/widgetTypes.ts +0 -198
@@ -0,0 +1,321 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Views } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
13
+ import * as Parameters from "../models/parameters";
14
+ import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
15
+ import {
16
+ ViewResourceFormat,
17
+ ViewsListByHubNextOptionalParams,
18
+ ViewsListByHubOptionalParams,
19
+ ViewsListByHubResponse,
20
+ ViewsCreateOrUpdateOptionalParams,
21
+ ViewsCreateOrUpdateResponse,
22
+ ViewsGetOptionalParams,
23
+ ViewsGetResponse,
24
+ ViewsDeleteOptionalParams,
25
+ ViewsListByHubNextResponse
26
+ } from "../models";
27
+
28
+ /// <reference lib="esnext.asynciterable" />
29
+ /** Class containing Views operations. */
30
+ export class ViewsImpl implements Views {
31
+ private readonly client: CustomerInsightsManagementClient;
32
+
33
+ /**
34
+ * Initialize a new instance of the class Views class.
35
+ * @param client Reference to the service client
36
+ */
37
+ constructor(client: CustomerInsightsManagementClient) {
38
+ this.client = client;
39
+ }
40
+
41
+ /**
42
+ * Gets all available views for given user in the specified hub.
43
+ * @param resourceGroupName The name of the resource group.
44
+ * @param hubName The name of the hub.
45
+ * @param userId The user ID. Use * to retrieve hub level views.
46
+ * @param options The options parameters.
47
+ */
48
+ public listByHub(
49
+ resourceGroupName: string,
50
+ hubName: string,
51
+ userId: string,
52
+ options?: ViewsListByHubOptionalParams
53
+ ): PagedAsyncIterableIterator<ViewResourceFormat> {
54
+ const iter = this.listByHubPagingAll(
55
+ resourceGroupName,
56
+ hubName,
57
+ userId,
58
+ options
59
+ );
60
+ return {
61
+ next() {
62
+ return iter.next();
63
+ },
64
+ [Symbol.asyncIterator]() {
65
+ return this;
66
+ },
67
+ byPage: () => {
68
+ return this.listByHubPagingPage(
69
+ resourceGroupName,
70
+ hubName,
71
+ userId,
72
+ options
73
+ );
74
+ }
75
+ };
76
+ }
77
+
78
+ private async *listByHubPagingPage(
79
+ resourceGroupName: string,
80
+ hubName: string,
81
+ userId: string,
82
+ options?: ViewsListByHubOptionalParams
83
+ ): AsyncIterableIterator<ViewResourceFormat[]> {
84
+ let result = await this._listByHub(
85
+ resourceGroupName,
86
+ hubName,
87
+ userId,
88
+ options
89
+ );
90
+ yield result.value || [];
91
+ let continuationToken = result.nextLink;
92
+ while (continuationToken) {
93
+ result = await this._listByHubNext(
94
+ resourceGroupName,
95
+ hubName,
96
+ userId,
97
+ continuationToken,
98
+ options
99
+ );
100
+ continuationToken = result.nextLink;
101
+ yield result.value || [];
102
+ }
103
+ }
104
+
105
+ private async *listByHubPagingAll(
106
+ resourceGroupName: string,
107
+ hubName: string,
108
+ userId: string,
109
+ options?: ViewsListByHubOptionalParams
110
+ ): AsyncIterableIterator<ViewResourceFormat> {
111
+ for await (const page of this.listByHubPagingPage(
112
+ resourceGroupName,
113
+ hubName,
114
+ userId,
115
+ options
116
+ )) {
117
+ yield* page;
118
+ }
119
+ }
120
+
121
+ /**
122
+ * Gets all available views for given user in the specified hub.
123
+ * @param resourceGroupName The name of the resource group.
124
+ * @param hubName The name of the hub.
125
+ * @param userId The user ID. Use * to retrieve hub level views.
126
+ * @param options The options parameters.
127
+ */
128
+ private _listByHub(
129
+ resourceGroupName: string,
130
+ hubName: string,
131
+ userId: string,
132
+ options?: ViewsListByHubOptionalParams
133
+ ): Promise<ViewsListByHubResponse> {
134
+ return this.client.sendOperationRequest(
135
+ { resourceGroupName, hubName, userId, options },
136
+ listByHubOperationSpec
137
+ );
138
+ }
139
+
140
+ /**
141
+ * Creates a view or updates an existing view in the hub.
142
+ * @param resourceGroupName The name of the resource group.
143
+ * @param hubName The name of the hub.
144
+ * @param viewName The name of the view.
145
+ * @param parameters Parameters supplied to the CreateOrUpdate View operation.
146
+ * @param options The options parameters.
147
+ */
148
+ createOrUpdate(
149
+ resourceGroupName: string,
150
+ hubName: string,
151
+ viewName: string,
152
+ parameters: ViewResourceFormat,
153
+ options?: ViewsCreateOrUpdateOptionalParams
154
+ ): Promise<ViewsCreateOrUpdateResponse> {
155
+ return this.client.sendOperationRequest(
156
+ { resourceGroupName, hubName, viewName, parameters, options },
157
+ createOrUpdateOperationSpec
158
+ );
159
+ }
160
+
161
+ /**
162
+ * Gets a view in the hub.
163
+ * @param resourceGroupName The name of the resource group.
164
+ * @param hubName The name of the hub.
165
+ * @param viewName The name of the view.
166
+ * @param userId The user ID. Use * to retrieve hub level view.
167
+ * @param options The options parameters.
168
+ */
169
+ get(
170
+ resourceGroupName: string,
171
+ hubName: string,
172
+ viewName: string,
173
+ userId: string,
174
+ options?: ViewsGetOptionalParams
175
+ ): Promise<ViewsGetResponse> {
176
+ return this.client.sendOperationRequest(
177
+ { resourceGroupName, hubName, viewName, userId, options },
178
+ getOperationSpec
179
+ );
180
+ }
181
+
182
+ /**
183
+ * Deletes a view in the specified hub.
184
+ * @param resourceGroupName The name of the resource group.
185
+ * @param hubName The name of the hub.
186
+ * @param viewName The name of the view.
187
+ * @param userId The user ID. Use * to retrieve hub level view.
188
+ * @param options The options parameters.
189
+ */
190
+ delete(
191
+ resourceGroupName: string,
192
+ hubName: string,
193
+ viewName: string,
194
+ userId: string,
195
+ options?: ViewsDeleteOptionalParams
196
+ ): Promise<void> {
197
+ return this.client.sendOperationRequest(
198
+ { resourceGroupName, hubName, viewName, userId, options },
199
+ deleteOperationSpec
200
+ );
201
+ }
202
+
203
+ /**
204
+ * ListByHubNext
205
+ * @param resourceGroupName The name of the resource group.
206
+ * @param hubName The name of the hub.
207
+ * @param userId The user ID. Use * to retrieve hub level views.
208
+ * @param nextLink The nextLink from the previous successful call to the ListByHub method.
209
+ * @param options The options parameters.
210
+ */
211
+ private _listByHubNext(
212
+ resourceGroupName: string,
213
+ hubName: string,
214
+ userId: string,
215
+ nextLink: string,
216
+ options?: ViewsListByHubNextOptionalParams
217
+ ): Promise<ViewsListByHubNextResponse> {
218
+ return this.client.sendOperationRequest(
219
+ { resourceGroupName, hubName, userId, nextLink, options },
220
+ listByHubNextOperationSpec
221
+ );
222
+ }
223
+ }
224
+ // Operation Specifications
225
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
226
+
227
+ const listByHubOperationSpec: coreClient.OperationSpec = {
228
+ path:
229
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views",
230
+ httpMethod: "GET",
231
+ responses: {
232
+ 200: {
233
+ bodyMapper: Mappers.ViewListResult
234
+ }
235
+ },
236
+ queryParameters: [Parameters.apiVersion, Parameters.userId],
237
+ urlParameters: [
238
+ Parameters.$host,
239
+ Parameters.resourceGroupName,
240
+ Parameters.subscriptionId,
241
+ Parameters.hubName1
242
+ ],
243
+ headerParameters: [Parameters.accept],
244
+ serializer
245
+ };
246
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
247
+ path:
248
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
249
+ httpMethod: "PUT",
250
+ responses: {
251
+ 200: {
252
+ bodyMapper: Mappers.ViewResourceFormat
253
+ }
254
+ },
255
+ requestBody: Parameters.parameters9,
256
+ queryParameters: [Parameters.apiVersion],
257
+ urlParameters: [
258
+ Parameters.$host,
259
+ Parameters.resourceGroupName,
260
+ Parameters.subscriptionId,
261
+ Parameters.hubName1,
262
+ Parameters.viewName
263
+ ],
264
+ headerParameters: [Parameters.accept, Parameters.contentType],
265
+ mediaType: "json",
266
+ serializer
267
+ };
268
+ const getOperationSpec: coreClient.OperationSpec = {
269
+ path:
270
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
271
+ httpMethod: "GET",
272
+ responses: {
273
+ 200: {
274
+ bodyMapper: Mappers.ViewResourceFormat
275
+ }
276
+ },
277
+ queryParameters: [Parameters.apiVersion, Parameters.userId],
278
+ urlParameters: [
279
+ Parameters.$host,
280
+ Parameters.resourceGroupName,
281
+ Parameters.subscriptionId,
282
+ Parameters.hubName1,
283
+ Parameters.viewName1
284
+ ],
285
+ headerParameters: [Parameters.accept],
286
+ serializer
287
+ };
288
+ const deleteOperationSpec: coreClient.OperationSpec = {
289
+ path:
290
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
291
+ httpMethod: "DELETE",
292
+ responses: { 200: {} },
293
+ queryParameters: [Parameters.apiVersion, Parameters.userId],
294
+ urlParameters: [
295
+ Parameters.$host,
296
+ Parameters.resourceGroupName,
297
+ Parameters.subscriptionId,
298
+ Parameters.hubName1,
299
+ Parameters.viewName1
300
+ ],
301
+ serializer
302
+ };
303
+ const listByHubNextOperationSpec: coreClient.OperationSpec = {
304
+ path: "{nextLink}",
305
+ httpMethod: "GET",
306
+ responses: {
307
+ 200: {
308
+ bodyMapper: Mappers.ViewListResult
309
+ }
310
+ },
311
+ queryParameters: [Parameters.apiVersion, Parameters.userId],
312
+ urlParameters: [
313
+ Parameters.$host,
314
+ Parameters.nextLink,
315
+ Parameters.resourceGroupName,
316
+ Parameters.subscriptionId,
317
+ Parameters.hubName1
318
+ ],
319
+ headerParameters: [Parameters.accept],
320
+ serializer
321
+ };
@@ -0,0 +1,212 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { WidgetTypes } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
13
+ import * as Parameters from "../models/parameters";
14
+ import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
15
+ import {
16
+ WidgetTypeResourceFormat,
17
+ WidgetTypesListByHubNextOptionalParams,
18
+ WidgetTypesListByHubOptionalParams,
19
+ WidgetTypesListByHubResponse,
20
+ WidgetTypesGetOptionalParams,
21
+ WidgetTypesGetResponse,
22
+ WidgetTypesListByHubNextResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Class containing WidgetTypes operations. */
27
+ export class WidgetTypesImpl implements WidgetTypes {
28
+ private readonly client: CustomerInsightsManagementClient;
29
+
30
+ /**
31
+ * Initialize a new instance of the class WidgetTypes class.
32
+ * @param client Reference to the service client
33
+ */
34
+ constructor(client: CustomerInsightsManagementClient) {
35
+ this.client = client;
36
+ }
37
+
38
+ /**
39
+ * Gets all available widget types in the specified hub.
40
+ * @param resourceGroupName The name of the resource group.
41
+ * @param hubName The name of the hub.
42
+ * @param options The options parameters.
43
+ */
44
+ public listByHub(
45
+ resourceGroupName: string,
46
+ hubName: string,
47
+ options?: WidgetTypesListByHubOptionalParams
48
+ ): PagedAsyncIterableIterator<WidgetTypeResourceFormat> {
49
+ const iter = this.listByHubPagingAll(resourceGroupName, hubName, options);
50
+ return {
51
+ next() {
52
+ return iter.next();
53
+ },
54
+ [Symbol.asyncIterator]() {
55
+ return this;
56
+ },
57
+ byPage: () => {
58
+ return this.listByHubPagingPage(resourceGroupName, hubName, options);
59
+ }
60
+ };
61
+ }
62
+
63
+ private async *listByHubPagingPage(
64
+ resourceGroupName: string,
65
+ hubName: string,
66
+ options?: WidgetTypesListByHubOptionalParams
67
+ ): AsyncIterableIterator<WidgetTypeResourceFormat[]> {
68
+ let result = await this._listByHub(resourceGroupName, hubName, options);
69
+ yield result.value || [];
70
+ let continuationToken = result.nextLink;
71
+ while (continuationToken) {
72
+ result = await this._listByHubNext(
73
+ resourceGroupName,
74
+ hubName,
75
+ continuationToken,
76
+ options
77
+ );
78
+ continuationToken = result.nextLink;
79
+ yield result.value || [];
80
+ }
81
+ }
82
+
83
+ private async *listByHubPagingAll(
84
+ resourceGroupName: string,
85
+ hubName: string,
86
+ options?: WidgetTypesListByHubOptionalParams
87
+ ): AsyncIterableIterator<WidgetTypeResourceFormat> {
88
+ for await (const page of this.listByHubPagingPage(
89
+ resourceGroupName,
90
+ hubName,
91
+ options
92
+ )) {
93
+ yield* page;
94
+ }
95
+ }
96
+
97
+ /**
98
+ * Gets all available widget types in the specified hub.
99
+ * @param resourceGroupName The name of the resource group.
100
+ * @param hubName The name of the hub.
101
+ * @param options The options parameters.
102
+ */
103
+ private _listByHub(
104
+ resourceGroupName: string,
105
+ hubName: string,
106
+ options?: WidgetTypesListByHubOptionalParams
107
+ ): Promise<WidgetTypesListByHubResponse> {
108
+ return this.client.sendOperationRequest(
109
+ { resourceGroupName, hubName, options },
110
+ listByHubOperationSpec
111
+ );
112
+ }
113
+
114
+ /**
115
+ * Gets a widget type in the specified hub.
116
+ * @param resourceGroupName The name of the resource group.
117
+ * @param hubName The name of the hub.
118
+ * @param widgetTypeName The name of the widget type.
119
+ * @param options The options parameters.
120
+ */
121
+ get(
122
+ resourceGroupName: string,
123
+ hubName: string,
124
+ widgetTypeName: string,
125
+ options?: WidgetTypesGetOptionalParams
126
+ ): Promise<WidgetTypesGetResponse> {
127
+ return this.client.sendOperationRequest(
128
+ { resourceGroupName, hubName, widgetTypeName, options },
129
+ getOperationSpec
130
+ );
131
+ }
132
+
133
+ /**
134
+ * ListByHubNext
135
+ * @param resourceGroupName The name of the resource group.
136
+ * @param hubName The name of the hub.
137
+ * @param nextLink The nextLink from the previous successful call to the ListByHub method.
138
+ * @param options The options parameters.
139
+ */
140
+ private _listByHubNext(
141
+ resourceGroupName: string,
142
+ hubName: string,
143
+ nextLink: string,
144
+ options?: WidgetTypesListByHubNextOptionalParams
145
+ ): Promise<WidgetTypesListByHubNextResponse> {
146
+ return this.client.sendOperationRequest(
147
+ { resourceGroupName, hubName, nextLink, options },
148
+ listByHubNextOperationSpec
149
+ );
150
+ }
151
+ }
152
+ // Operation Specifications
153
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
154
+
155
+ const listByHubOperationSpec: coreClient.OperationSpec = {
156
+ path:
157
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes",
158
+ httpMethod: "GET",
159
+ responses: {
160
+ 200: {
161
+ bodyMapper: Mappers.WidgetTypeListResult
162
+ }
163
+ },
164
+ queryParameters: [Parameters.apiVersion],
165
+ urlParameters: [
166
+ Parameters.$host,
167
+ Parameters.resourceGroupName,
168
+ Parameters.subscriptionId,
169
+ Parameters.hubName1
170
+ ],
171
+ headerParameters: [Parameters.accept],
172
+ serializer
173
+ };
174
+ const getOperationSpec: coreClient.OperationSpec = {
175
+ path:
176
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes/{widgetTypeName}",
177
+ httpMethod: "GET",
178
+ responses: {
179
+ 200: {
180
+ bodyMapper: Mappers.WidgetTypeResourceFormat
181
+ }
182
+ },
183
+ queryParameters: [Parameters.apiVersion],
184
+ urlParameters: [
185
+ Parameters.$host,
186
+ Parameters.resourceGroupName,
187
+ Parameters.subscriptionId,
188
+ Parameters.hubName1,
189
+ Parameters.widgetTypeName
190
+ ],
191
+ headerParameters: [Parameters.accept],
192
+ serializer
193
+ };
194
+ const listByHubNextOperationSpec: coreClient.OperationSpec = {
195
+ path: "{nextLink}",
196
+ httpMethod: "GET",
197
+ responses: {
198
+ 200: {
199
+ bodyMapper: Mappers.WidgetTypeListResult
200
+ }
201
+ },
202
+ queryParameters: [Parameters.apiVersion],
203
+ urlParameters: [
204
+ Parameters.$host,
205
+ Parameters.nextLink,
206
+ Parameters.resourceGroupName,
207
+ Parameters.subscriptionId,
208
+ Parameters.hubName1
209
+ ],
210
+ headerParameters: [Parameters.accept],
211
+ serializer
212
+ };
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ AuthorizationPolicyResourceFormat,
12
+ AuthorizationPoliciesListByHubOptionalParams,
13
+ AuthorizationPoliciesCreateOrUpdateOptionalParams,
14
+ AuthorizationPoliciesCreateOrUpdateResponse,
15
+ AuthorizationPoliciesGetOptionalParams,
16
+ AuthorizationPoliciesGetResponse,
17
+ AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams,
18
+ AuthorizationPoliciesRegeneratePrimaryKeyResponse,
19
+ AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams,
20
+ AuthorizationPoliciesRegenerateSecondaryKeyResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a AuthorizationPolicies. */
25
+ export interface AuthorizationPolicies {
26
+ /**
27
+ * Gets all the authorization policies in a specified hub.
28
+ * @param resourceGroupName The name of the resource group.
29
+ * @param hubName The name of the hub.
30
+ * @param options The options parameters.
31
+ */
32
+ listByHub(
33
+ resourceGroupName: string,
34
+ hubName: string,
35
+ options?: AuthorizationPoliciesListByHubOptionalParams
36
+ ): PagedAsyncIterableIterator<AuthorizationPolicyResourceFormat>;
37
+ /**
38
+ * Creates an authorization policy or updates an existing authorization policy.
39
+ * @param resourceGroupName The name of the resource group.
40
+ * @param hubName The name of the hub.
41
+ * @param authorizationPolicyName The name of the policy.
42
+ * @param parameters Parameters supplied to the CreateOrUpdate authorization policy operation.
43
+ * @param options The options parameters.
44
+ */
45
+ createOrUpdate(
46
+ resourceGroupName: string,
47
+ hubName: string,
48
+ authorizationPolicyName: string,
49
+ parameters: AuthorizationPolicyResourceFormat,
50
+ options?: AuthorizationPoliciesCreateOrUpdateOptionalParams
51
+ ): Promise<AuthorizationPoliciesCreateOrUpdateResponse>;
52
+ /**
53
+ * Gets an authorization policy in the hub.
54
+ * @param resourceGroupName The name of the resource group.
55
+ * @param hubName The name of the hub.
56
+ * @param authorizationPolicyName The name of the policy.
57
+ * @param options The options parameters.
58
+ */
59
+ get(
60
+ resourceGroupName: string,
61
+ hubName: string,
62
+ authorizationPolicyName: string,
63
+ options?: AuthorizationPoliciesGetOptionalParams
64
+ ): Promise<AuthorizationPoliciesGetResponse>;
65
+ /**
66
+ * Regenerates the primary policy key of the specified authorization policy.
67
+ * @param resourceGroupName The name of the resource group.
68
+ * @param hubName The name of the hub.
69
+ * @param authorizationPolicyName The name of the policy.
70
+ * @param options The options parameters.
71
+ */
72
+ regeneratePrimaryKey(
73
+ resourceGroupName: string,
74
+ hubName: string,
75
+ authorizationPolicyName: string,
76
+ options?: AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams
77
+ ): Promise<AuthorizationPoliciesRegeneratePrimaryKeyResponse>;
78
+ /**
79
+ * Regenerates the secondary policy key of the specified authorization policy.
80
+ * @param resourceGroupName The name of the resource group.
81
+ * @param hubName The name of the hub.
82
+ * @param authorizationPolicyName The name of the policy.
83
+ * @param options The options parameters.
84
+ */
85
+ regenerateSecondaryKey(
86
+ resourceGroupName: string,
87
+ hubName: string,
88
+ authorizationPolicyName: string,
89
+ options?: AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams
90
+ ): Promise<AuthorizationPoliciesRegenerateSecondaryKeyResponse>;
91
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ConnectorMappingResourceFormat,
12
+ ConnectorMappingsListByConnectorOptionalParams,
13
+ ConnectorMappingsCreateOrUpdateOptionalParams,
14
+ ConnectorMappingsCreateOrUpdateResponse,
15
+ ConnectorMappingsGetOptionalParams,
16
+ ConnectorMappingsGetResponse,
17
+ ConnectorMappingsDeleteOptionalParams
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a ConnectorMappings. */
22
+ export interface ConnectorMappings {
23
+ /**
24
+ * Gets all the connector mappings in the specified connector.
25
+ * @param resourceGroupName The name of the resource group.
26
+ * @param hubName The name of the hub.
27
+ * @param connectorName The name of the connector.
28
+ * @param options The options parameters.
29
+ */
30
+ listByConnector(
31
+ resourceGroupName: string,
32
+ hubName: string,
33
+ connectorName: string,
34
+ options?: ConnectorMappingsListByConnectorOptionalParams
35
+ ): PagedAsyncIterableIterator<ConnectorMappingResourceFormat>;
36
+ /**
37
+ * Creates a connector mapping or updates an existing connector mapping in the connector.
38
+ * @param resourceGroupName The name of the resource group.
39
+ * @param hubName The name of the hub.
40
+ * @param connectorName The name of the connector.
41
+ * @param mappingName The name of the connector mapping.
42
+ * @param parameters Parameters supplied to the CreateOrUpdate Connector Mapping operation.
43
+ * @param options The options parameters.
44
+ */
45
+ createOrUpdate(
46
+ resourceGroupName: string,
47
+ hubName: string,
48
+ connectorName: string,
49
+ mappingName: string,
50
+ parameters: ConnectorMappingResourceFormat,
51
+ options?: ConnectorMappingsCreateOrUpdateOptionalParams
52
+ ): Promise<ConnectorMappingsCreateOrUpdateResponse>;
53
+ /**
54
+ * Gets a connector mapping in the connector.
55
+ * @param resourceGroupName The name of the resource group.
56
+ * @param hubName The name of the hub.
57
+ * @param connectorName The name of the connector.
58
+ * @param mappingName The name of the connector mapping.
59
+ * @param options The options parameters.
60
+ */
61
+ get(
62
+ resourceGroupName: string,
63
+ hubName: string,
64
+ connectorName: string,
65
+ mappingName: string,
66
+ options?: ConnectorMappingsGetOptionalParams
67
+ ): Promise<ConnectorMappingsGetResponse>;
68
+ /**
69
+ * Deletes a connector mapping in the connector.
70
+ * @param resourceGroupName The name of the resource group.
71
+ * @param hubName The name of the hub.
72
+ * @param connectorName The name of the connector.
73
+ * @param mappingName The name of the connector mapping.
74
+ * @param options The options parameters.
75
+ */
76
+ delete(
77
+ resourceGroupName: string,
78
+ hubName: string,
79
+ connectorName: string,
80
+ mappingName: string,
81
+ options?: ConnectorMappingsDeleteOptionalParams
82
+ ): Promise<void>;
83
+ }