@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
@@ -1,327 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import * as Models from "../models";
14
- import * as Mappers from "../models/relationshipLinksMappers";
15
- import * as Parameters from "../models/parameters";
16
- import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
17
-
18
- /** Class representing a RelationshipLinks. */
19
- export class RelationshipLinks {
20
- private readonly client: CustomerInsightsManagementClientContext;
21
-
22
- /**
23
- * Create a RelationshipLinks.
24
- * @param {CustomerInsightsManagementClientContext} client Reference to the service client.
25
- */
26
- constructor(client: CustomerInsightsManagementClientContext) {
27
- this.client = client;
28
- }
29
-
30
- /**
31
- * Creates a relationship link or updates an existing relationship link within a hub.
32
- * @param resourceGroupName The name of the resource group.
33
- * @param hubName The name of the hub.
34
- * @param relationshipLinkName The name of the relationship link.
35
- * @param parameters Parameters supplied to the CreateOrUpdate relationship link operation.
36
- * @param [options] The optional parameters
37
- * @returns Promise<Models.RelationshipLinksCreateOrUpdateResponse>
38
- */
39
- createOrUpdate(resourceGroupName: string, hubName: string, relationshipLinkName: string, parameters: Models.RelationshipLinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksCreateOrUpdateResponse> {
40
- return this.beginCreateOrUpdate(resourceGroupName,hubName,relationshipLinkName,parameters,options)
41
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.RelationshipLinksCreateOrUpdateResponse>;
42
- }
43
-
44
- /**
45
- * Gets information about the specified relationship Link.
46
- * @param resourceGroupName The name of the resource group.
47
- * @param hubName The name of the hub.
48
- * @param relationshipLinkName The name of the relationship link.
49
- * @param [options] The optional parameters
50
- * @returns Promise<Models.RelationshipLinksGetResponse>
51
- */
52
- get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksGetResponse>;
53
- /**
54
- * @param resourceGroupName The name of the resource group.
55
- * @param hubName The name of the hub.
56
- * @param relationshipLinkName The name of the relationship link.
57
- * @param callback The callback
58
- */
59
- get(resourceGroupName: string, hubName: string, relationshipLinkName: string, callback: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): void;
60
- /**
61
- * @param resourceGroupName The name of the resource group.
62
- * @param hubName The name of the hub.
63
- * @param relationshipLinkName The name of the relationship link.
64
- * @param options The optional parameters
65
- * @param callback The callback
66
- */
67
- get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): void;
68
- get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>, callback?: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): Promise<Models.RelationshipLinksGetResponse> {
69
- return this.client.sendOperationRequest(
70
- {
71
- resourceGroupName,
72
- hubName,
73
- relationshipLinkName,
74
- options
75
- },
76
- getOperationSpec,
77
- callback) as Promise<Models.RelationshipLinksGetResponse>;
78
- }
79
-
80
- /**
81
- * Deletes a relationship link within a hub.
82
- * @param resourceGroupName The name of the resource group.
83
- * @param hubName The name of the hub.
84
- * @param relationshipLinkName The name of the relationship.
85
- * @param [options] The optional parameters
86
- * @returns Promise<msRest.RestResponse>
87
- */
88
- deleteMethod(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
89
- return this.beginDeleteMethod(resourceGroupName,hubName,relationshipLinkName,options)
90
- .then(lroPoller => lroPoller.pollUntilFinished());
91
- }
92
-
93
- /**
94
- * Gets all relationship links in the hub.
95
- * @param resourceGroupName The name of the resource group.
96
- * @param hubName The name of the hub.
97
- * @param [options] The optional parameters
98
- * @returns Promise<Models.RelationshipLinksListByHubResponse>
99
- */
100
- listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksListByHubResponse>;
101
- /**
102
- * @param resourceGroupName The name of the resource group.
103
- * @param hubName The name of the hub.
104
- * @param callback The callback
105
- */
106
- listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
107
- /**
108
- * @param resourceGroupName The name of the resource group.
109
- * @param hubName The name of the hub.
110
- * @param options The optional parameters
111
- * @param callback The callback
112
- */
113
- listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
114
- listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkListResult>, callback?: msRest.ServiceCallback<Models.RelationshipLinkListResult>): Promise<Models.RelationshipLinksListByHubResponse> {
115
- return this.client.sendOperationRequest(
116
- {
117
- resourceGroupName,
118
- hubName,
119
- options
120
- },
121
- listByHubOperationSpec,
122
- callback) as Promise<Models.RelationshipLinksListByHubResponse>;
123
- }
124
-
125
- /**
126
- * Creates a relationship link or updates an existing relationship link within a hub.
127
- * @param resourceGroupName The name of the resource group.
128
- * @param hubName The name of the hub.
129
- * @param relationshipLinkName The name of the relationship link.
130
- * @param parameters Parameters supplied to the CreateOrUpdate relationship link operation.
131
- * @param [options] The optional parameters
132
- * @returns Promise<msRestAzure.LROPoller>
133
- */
134
- beginCreateOrUpdate(resourceGroupName: string, hubName: string, relationshipLinkName: string, parameters: Models.RelationshipLinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
135
- return this.client.sendLRORequest(
136
- {
137
- resourceGroupName,
138
- hubName,
139
- relationshipLinkName,
140
- parameters,
141
- options
142
- },
143
- beginCreateOrUpdateOperationSpec,
144
- options);
145
- }
146
-
147
- /**
148
- * Deletes a relationship link within a hub.
149
- * @param resourceGroupName The name of the resource group.
150
- * @param hubName The name of the hub.
151
- * @param relationshipLinkName The name of the relationship.
152
- * @param [options] The optional parameters
153
- * @returns Promise<msRestAzure.LROPoller>
154
- */
155
- beginDeleteMethod(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
156
- return this.client.sendLRORequest(
157
- {
158
- resourceGroupName,
159
- hubName,
160
- relationshipLinkName,
161
- options
162
- },
163
- beginDeleteMethodOperationSpec,
164
- options);
165
- }
166
-
167
- /**
168
- * Gets all relationship links in the hub.
169
- * @param nextPageLink The NextLink from the previous successful call to List operation.
170
- * @param [options] The optional parameters
171
- * @returns Promise<Models.RelationshipLinksListByHubNextResponse>
172
- */
173
- listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksListByHubNextResponse>;
174
- /**
175
- * @param nextPageLink The NextLink from the previous successful call to List operation.
176
- * @param callback The callback
177
- */
178
- listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
179
- /**
180
- * @param nextPageLink The NextLink from the previous successful call to List operation.
181
- * @param options The optional parameters
182
- * @param callback The callback
183
- */
184
- listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
185
- listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkListResult>, callback?: msRest.ServiceCallback<Models.RelationshipLinkListResult>): Promise<Models.RelationshipLinksListByHubNextResponse> {
186
- return this.client.sendOperationRequest(
187
- {
188
- nextPageLink,
189
- options
190
- },
191
- listByHubNextOperationSpec,
192
- callback) as Promise<Models.RelationshipLinksListByHubNextResponse>;
193
- }
194
- }
195
-
196
- // Operation Specifications
197
- const serializer = new msRest.Serializer(Mappers);
198
- const getOperationSpec: msRest.OperationSpec = {
199
- httpMethod: "GET",
200
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
201
- urlParameters: [
202
- Parameters.resourceGroupName,
203
- Parameters.hubName1,
204
- Parameters.relationshipLinkName1,
205
- Parameters.subscriptionId
206
- ],
207
- queryParameters: [
208
- Parameters.apiVersion
209
- ],
210
- headerParameters: [
211
- Parameters.acceptLanguage
212
- ],
213
- responses: {
214
- 200: {
215
- bodyMapper: Mappers.RelationshipLinkResourceFormat
216
- },
217
- default: {
218
- bodyMapper: Mappers.CloudError
219
- }
220
- },
221
- serializer
222
- };
223
-
224
- const listByHubOperationSpec: msRest.OperationSpec = {
225
- httpMethod: "GET",
226
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks",
227
- urlParameters: [
228
- Parameters.resourceGroupName,
229
- Parameters.hubName1,
230
- Parameters.subscriptionId
231
- ],
232
- queryParameters: [
233
- Parameters.apiVersion
234
- ],
235
- headerParameters: [
236
- Parameters.acceptLanguage
237
- ],
238
- responses: {
239
- 200: {
240
- bodyMapper: Mappers.RelationshipLinkListResult
241
- },
242
- default: {
243
- bodyMapper: Mappers.CloudError
244
- }
245
- },
246
- serializer
247
- };
248
-
249
- const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
250
- httpMethod: "PUT",
251
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
252
- urlParameters: [
253
- Parameters.resourceGroupName,
254
- Parameters.hubName1,
255
- Parameters.relationshipLinkName0,
256
- Parameters.subscriptionId
257
- ],
258
- queryParameters: [
259
- Parameters.apiVersion
260
- ],
261
- headerParameters: [
262
- Parameters.acceptLanguage
263
- ],
264
- requestBody: {
265
- parameterPath: "parameters",
266
- mapper: {
267
- ...Mappers.RelationshipLinkResourceFormat,
268
- required: true
269
- }
270
- },
271
- responses: {
272
- 200: {
273
- bodyMapper: Mappers.RelationshipLinkResourceFormat
274
- },
275
- 202: {},
276
- default: {
277
- bodyMapper: Mappers.CloudError
278
- }
279
- },
280
- serializer
281
- };
282
-
283
- const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
284
- httpMethod: "DELETE",
285
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
286
- urlParameters: [
287
- Parameters.resourceGroupName,
288
- Parameters.hubName1,
289
- Parameters.relationshipLinkName1,
290
- Parameters.subscriptionId
291
- ],
292
- queryParameters: [
293
- Parameters.apiVersion
294
- ],
295
- headerParameters: [
296
- Parameters.acceptLanguage
297
- ],
298
- responses: {
299
- 200: {},
300
- 202: {},
301
- default: {
302
- bodyMapper: Mappers.CloudError
303
- }
304
- },
305
- serializer
306
- };
307
-
308
- const listByHubNextOperationSpec: msRest.OperationSpec = {
309
- httpMethod: "GET",
310
- baseUrl: "https://management.azure.com",
311
- path: "{nextLink}",
312
- urlParameters: [
313
- Parameters.nextPageLink
314
- ],
315
- headerParameters: [
316
- Parameters.acceptLanguage
317
- ],
318
- responses: {
319
- 200: {
320
- bodyMapper: Mappers.RelationshipLinkListResult
321
- },
322
- default: {
323
- bodyMapper: Mappers.CloudError
324
- }
325
- },
326
- serializer
327
- };
@@ -1,327 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import * as Models from "../models";
14
- import * as Mappers from "../models/relationshipsMappers";
15
- import * as Parameters from "../models/parameters";
16
- import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
17
-
18
- /** Class representing a Relationships. */
19
- export class Relationships {
20
- private readonly client: CustomerInsightsManagementClientContext;
21
-
22
- /**
23
- * Create a Relationships.
24
- * @param {CustomerInsightsManagementClientContext} client Reference to the service client.
25
- */
26
- constructor(client: CustomerInsightsManagementClientContext) {
27
- this.client = client;
28
- }
29
-
30
- /**
31
- * Creates a relationship or updates an existing relationship within a hub.
32
- * @param resourceGroupName The name of the resource group.
33
- * @param hubName The name of the hub.
34
- * @param relationshipName The name of the Relationship.
35
- * @param parameters Parameters supplied to the CreateOrUpdate Relationship operation.
36
- * @param [options] The optional parameters
37
- * @returns Promise<Models.RelationshipsCreateOrUpdateResponse>
38
- */
39
- createOrUpdate(resourceGroupName: string, hubName: string, relationshipName: string, parameters: Models.RelationshipResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsCreateOrUpdateResponse> {
40
- return this.beginCreateOrUpdate(resourceGroupName,hubName,relationshipName,parameters,options)
41
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.RelationshipsCreateOrUpdateResponse>;
42
- }
43
-
44
- /**
45
- * Gets information about the specified relationship.
46
- * @param resourceGroupName The name of the resource group.
47
- * @param hubName The name of the hub.
48
- * @param relationshipName The name of the relationship.
49
- * @param [options] The optional parameters
50
- * @returns Promise<Models.RelationshipsGetResponse>
51
- */
52
- get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsGetResponse>;
53
- /**
54
- * @param resourceGroupName The name of the resource group.
55
- * @param hubName The name of the hub.
56
- * @param relationshipName The name of the relationship.
57
- * @param callback The callback
58
- */
59
- get(resourceGroupName: string, hubName: string, relationshipName: string, callback: msRest.ServiceCallback<Models.RelationshipResourceFormat>): void;
60
- /**
61
- * @param resourceGroupName The name of the resource group.
62
- * @param hubName The name of the hub.
63
- * @param relationshipName The name of the relationship.
64
- * @param options The optional parameters
65
- * @param callback The callback
66
- */
67
- get(resourceGroupName: string, hubName: string, relationshipName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipResourceFormat>): void;
68
- get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipResourceFormat>, callback?: msRest.ServiceCallback<Models.RelationshipResourceFormat>): Promise<Models.RelationshipsGetResponse> {
69
- return this.client.sendOperationRequest(
70
- {
71
- resourceGroupName,
72
- hubName,
73
- relationshipName,
74
- options
75
- },
76
- getOperationSpec,
77
- callback) as Promise<Models.RelationshipsGetResponse>;
78
- }
79
-
80
- /**
81
- * Deletes a relationship within a hub.
82
- * @param resourceGroupName The name of the resource group.
83
- * @param hubName The name of the hub.
84
- * @param relationshipName The name of the relationship.
85
- * @param [options] The optional parameters
86
- * @returns Promise<msRest.RestResponse>
87
- */
88
- deleteMethod(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
89
- return this.beginDeleteMethod(resourceGroupName,hubName,relationshipName,options)
90
- .then(lroPoller => lroPoller.pollUntilFinished());
91
- }
92
-
93
- /**
94
- * Gets all relationships in the hub.
95
- * @param resourceGroupName The name of the resource group.
96
- * @param hubName The name of the hub.
97
- * @param [options] The optional parameters
98
- * @returns Promise<Models.RelationshipsListByHubResponse>
99
- */
100
- listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsListByHubResponse>;
101
- /**
102
- * @param resourceGroupName The name of the resource group.
103
- * @param hubName The name of the hub.
104
- * @param callback The callback
105
- */
106
- listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
107
- /**
108
- * @param resourceGroupName The name of the resource group.
109
- * @param hubName The name of the hub.
110
- * @param options The optional parameters
111
- * @param callback The callback
112
- */
113
- listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
114
- listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipListResult>, callback?: msRest.ServiceCallback<Models.RelationshipListResult>): Promise<Models.RelationshipsListByHubResponse> {
115
- return this.client.sendOperationRequest(
116
- {
117
- resourceGroupName,
118
- hubName,
119
- options
120
- },
121
- listByHubOperationSpec,
122
- callback) as Promise<Models.RelationshipsListByHubResponse>;
123
- }
124
-
125
- /**
126
- * Creates a relationship or updates an existing relationship within a hub.
127
- * @param resourceGroupName The name of the resource group.
128
- * @param hubName The name of the hub.
129
- * @param relationshipName The name of the Relationship.
130
- * @param parameters Parameters supplied to the CreateOrUpdate Relationship operation.
131
- * @param [options] The optional parameters
132
- * @returns Promise<msRestAzure.LROPoller>
133
- */
134
- beginCreateOrUpdate(resourceGroupName: string, hubName: string, relationshipName: string, parameters: Models.RelationshipResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
135
- return this.client.sendLRORequest(
136
- {
137
- resourceGroupName,
138
- hubName,
139
- relationshipName,
140
- parameters,
141
- options
142
- },
143
- beginCreateOrUpdateOperationSpec,
144
- options);
145
- }
146
-
147
- /**
148
- * Deletes a relationship within a hub.
149
- * @param resourceGroupName The name of the resource group.
150
- * @param hubName The name of the hub.
151
- * @param relationshipName The name of the relationship.
152
- * @param [options] The optional parameters
153
- * @returns Promise<msRestAzure.LROPoller>
154
- */
155
- beginDeleteMethod(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
156
- return this.client.sendLRORequest(
157
- {
158
- resourceGroupName,
159
- hubName,
160
- relationshipName,
161
- options
162
- },
163
- beginDeleteMethodOperationSpec,
164
- options);
165
- }
166
-
167
- /**
168
- * Gets all relationships in the hub.
169
- * @param nextPageLink The NextLink from the previous successful call to List operation.
170
- * @param [options] The optional parameters
171
- * @returns Promise<Models.RelationshipsListByHubNextResponse>
172
- */
173
- listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsListByHubNextResponse>;
174
- /**
175
- * @param nextPageLink The NextLink from the previous successful call to List operation.
176
- * @param callback The callback
177
- */
178
- listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
179
- /**
180
- * @param nextPageLink The NextLink from the previous successful call to List operation.
181
- * @param options The optional parameters
182
- * @param callback The callback
183
- */
184
- listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
185
- listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipListResult>, callback?: msRest.ServiceCallback<Models.RelationshipListResult>): Promise<Models.RelationshipsListByHubNextResponse> {
186
- return this.client.sendOperationRequest(
187
- {
188
- nextPageLink,
189
- options
190
- },
191
- listByHubNextOperationSpec,
192
- callback) as Promise<Models.RelationshipsListByHubNextResponse>;
193
- }
194
- }
195
-
196
- // Operation Specifications
197
- const serializer = new msRest.Serializer(Mappers);
198
- const getOperationSpec: msRest.OperationSpec = {
199
- httpMethod: "GET",
200
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
201
- urlParameters: [
202
- Parameters.resourceGroupName,
203
- Parameters.hubName1,
204
- Parameters.relationshipName1,
205
- Parameters.subscriptionId
206
- ],
207
- queryParameters: [
208
- Parameters.apiVersion
209
- ],
210
- headerParameters: [
211
- Parameters.acceptLanguage
212
- ],
213
- responses: {
214
- 200: {
215
- bodyMapper: Mappers.RelationshipResourceFormat
216
- },
217
- default: {
218
- bodyMapper: Mappers.CloudError
219
- }
220
- },
221
- serializer
222
- };
223
-
224
- const listByHubOperationSpec: msRest.OperationSpec = {
225
- httpMethod: "GET",
226
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships",
227
- urlParameters: [
228
- Parameters.resourceGroupName,
229
- Parameters.hubName1,
230
- Parameters.subscriptionId
231
- ],
232
- queryParameters: [
233
- Parameters.apiVersion
234
- ],
235
- headerParameters: [
236
- Parameters.acceptLanguage
237
- ],
238
- responses: {
239
- 200: {
240
- bodyMapper: Mappers.RelationshipListResult
241
- },
242
- default: {
243
- bodyMapper: Mappers.CloudError
244
- }
245
- },
246
- serializer
247
- };
248
-
249
- const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
250
- httpMethod: "PUT",
251
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
252
- urlParameters: [
253
- Parameters.resourceGroupName,
254
- Parameters.hubName1,
255
- Parameters.relationshipName0,
256
- Parameters.subscriptionId
257
- ],
258
- queryParameters: [
259
- Parameters.apiVersion
260
- ],
261
- headerParameters: [
262
- Parameters.acceptLanguage
263
- ],
264
- requestBody: {
265
- parameterPath: "parameters",
266
- mapper: {
267
- ...Mappers.RelationshipResourceFormat,
268
- required: true
269
- }
270
- },
271
- responses: {
272
- 200: {
273
- bodyMapper: Mappers.RelationshipResourceFormat
274
- },
275
- 202: {},
276
- default: {
277
- bodyMapper: Mappers.CloudError
278
- }
279
- },
280
- serializer
281
- };
282
-
283
- const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
284
- httpMethod: "DELETE",
285
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
286
- urlParameters: [
287
- Parameters.resourceGroupName,
288
- Parameters.hubName1,
289
- Parameters.relationshipName1,
290
- Parameters.subscriptionId
291
- ],
292
- queryParameters: [
293
- Parameters.apiVersion
294
- ],
295
- headerParameters: [
296
- Parameters.acceptLanguage
297
- ],
298
- responses: {
299
- 200: {},
300
- 202: {},
301
- default: {
302
- bodyMapper: Mappers.CloudError
303
- }
304
- },
305
- serializer
306
- };
307
-
308
- const listByHubNextOperationSpec: msRest.OperationSpec = {
309
- httpMethod: "GET",
310
- baseUrl: "https://management.azure.com",
311
- path: "{nextLink}",
312
- urlParameters: [
313
- Parameters.nextPageLink
314
- ],
315
- headerParameters: [
316
- Parameters.acceptLanguage
317
- ],
318
- responses: {
319
- 200: {
320
- bodyMapper: Mappers.RelationshipListResult
321
- },
322
- default: {
323
- bodyMapper: Mappers.CloudError
324
- }
325
- },
326
- serializer
327
- };