@azure/arm-notificationhubs 3.0.0-beta.1 → 3.0.0-beta.2

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 (482) hide show
  1. package/CHANGELOG.md +15 -5
  2. package/LICENSE +4 -4
  3. package/README.md +25 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{src/index.ts → dist/browser/index.js} +5 -6
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts +1 -1
  9. package/dist/browser/lroImpl.d.ts.map +1 -0
  10. package/dist/browser/lroImpl.js +18 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +1 -1
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +1 -1
  16. package/dist/browser/models/mappers.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +170 -80
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -1
  20. package/dist/browser/models/parameters.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  22. package/dist/browser/models/parameters.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/notificationHubsManagementClient.d.ts +3 -3
  24. package/dist/browser/notificationHubsManagementClient.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/notificationHubsManagementClient.js +33 -26
  26. package/dist/browser/notificationHubsManagementClient.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +5 -0
  28. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/namespaces.d.ts +5 -5
  32. package/dist/browser/operations/namespaces.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/namespaces.js +118 -184
  34. package/dist/browser/operations/namespaces.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/notificationHubs.d.ts +4 -4
  36. package/dist/browser/operations/notificationHubs.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/notificationHubs.js +49 -87
  38. package/dist/browser/operations/notificationHubs.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +4 -4
  40. package/dist/browser/operations/operations.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  42. package/dist/browser/operations/operations.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +5 -5
  44. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +116 -148
  46. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  50. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.d.ts +3 -3
  52. package/dist/browser/operationsInterfaces/namespaces.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/namespaces.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.d.ts +2 -2
  55. package/dist/browser/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/notificationHubs.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +2 -2
  58. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  61. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +1 -1
  65. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  66. package/dist/browser/pagingHelper.js.map +1 -0
  67. package/dist/commonjs/index.d.ts +5 -0
  68. package/dist/commonjs/index.d.ts.map +1 -0
  69. package/dist/commonjs/index.js +18 -0
  70. package/dist/commonjs/index.js.map +1 -0
  71. package/dist/commonjs/lroImpl.d.ts +11 -0
  72. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  73. package/dist/commonjs/lroImpl.js +21 -0
  74. package/dist/commonjs/lroImpl.js.map +1 -0
  75. package/{types/arm-notificationhubs.d.ts → dist/commonjs/models/index.d.ts} +1606 -2131
  76. package/dist/commonjs/models/index.d.ts.map +1 -0
  77. package/dist/commonjs/models/index.js +157 -0
  78. package/dist/commonjs/models/index.js.map +1 -0
  79. package/dist/commonjs/models/mappers.d.ts +60 -0
  80. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  81. package/dist/commonjs/models/mappers.js +2509 -0
  82. package/dist/commonjs/models/mappers.js.map +1 -0
  83. package/dist/commonjs/models/parameters.d.ts +24 -0
  84. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  85. package/dist/commonjs/models/parameters.js +215 -0
  86. package/dist/commonjs/models/parameters.js.map +1 -0
  87. package/dist/commonjs/notificationHubsManagementClient.d.ts +23 -0
  88. package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
  89. package/dist/commonjs/notificationHubsManagementClient.js +115 -0
  90. package/dist/commonjs/notificationHubsManagementClient.js.map +1 -0
  91. package/dist/commonjs/operations/index.d.ts +5 -0
  92. package/dist/commonjs/operations/index.d.ts.map +1 -0
  93. package/dist/commonjs/operations/index.js +15 -0
  94. package/dist/commonjs/operations/index.js.map +1 -0
  95. package/dist/commonjs/operations/namespaces.d.ts +173 -0
  96. package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
  97. package/dist/commonjs/operations/namespaces.js +749 -0
  98. package/dist/commonjs/operations/namespaces.js.map +1 -0
  99. package/dist/commonjs/operations/notificationHubs.d.ts +170 -0
  100. package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
  101. package/dist/commonjs/operations/notificationHubs.js +711 -0
  102. package/dist/commonjs/operations/notificationHubs.js.map +1 -0
  103. package/dist/commonjs/operations/operations.d.ts +32 -0
  104. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  105. package/dist/commonjs/operations/operations.js +121 -0
  106. package/dist/commonjs/operations/operations.js.map +1 -0
  107. package/dist/commonjs/operations/privateEndpointConnections.d.ts +114 -0
  108. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  109. package/dist/commonjs/operations/privateEndpointConnections.js +439 -0
  110. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/namespaces.d.ts +120 -0
  116. package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/namespaces.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/namespaces.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts +126 -0
  120. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/notificationHubs.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/notificationHubs.js.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  124. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  126. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  128. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  130. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  131. package/dist/commonjs/package.json +3 -0
  132. package/dist/commonjs/pagingHelper.d.ts +13 -0
  133. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  134. package/dist/commonjs/pagingHelper.js +34 -0
  135. package/dist/commonjs/pagingHelper.js.map +1 -0
  136. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  137. package/dist/esm/index.d.ts +5 -0
  138. package/dist/esm/index.d.ts.map +1 -0
  139. package/{dist-esm/src → dist/esm}/index.js +4 -5
  140. package/dist/esm/index.js.map +1 -0
  141. package/dist/esm/lroImpl.d.ts +11 -0
  142. package/dist/esm/lroImpl.d.ts.map +1 -0
  143. package/dist/esm/lroImpl.js +18 -0
  144. package/dist/esm/lroImpl.js.map +1 -0
  145. package/dist/esm/models/index.d.ts +1606 -0
  146. package/dist/esm/models/index.d.ts.map +1 -0
  147. package/dist/esm/models/index.js +154 -0
  148. package/dist/esm/models/index.js.map +1 -0
  149. package/dist/esm/models/mappers.d.ts +60 -0
  150. package/dist/esm/models/mappers.d.ts.map +1 -0
  151. package/dist/esm/models/mappers.js +2505 -0
  152. package/dist/esm/models/mappers.js.map +1 -0
  153. package/dist/esm/models/parameters.d.ts +24 -0
  154. package/dist/esm/models/parameters.d.ts.map +1 -0
  155. package/dist/esm/models/parameters.js +212 -0
  156. package/dist/esm/models/parameters.js.map +1 -0
  157. package/dist/esm/notificationHubsManagementClient.d.ts +23 -0
  158. package/dist/esm/notificationHubsManagementClient.d.ts.map +1 -0
  159. package/dist/esm/notificationHubsManagementClient.js +110 -0
  160. package/dist/esm/notificationHubsManagementClient.js.map +1 -0
  161. package/dist/esm/operations/index.d.ts +5 -0
  162. package/dist/esm/operations/index.d.ts.map +1 -0
  163. package/dist/esm/operations/index.js +12 -0
  164. package/dist/esm/operations/index.js.map +1 -0
  165. package/dist/esm/operations/namespaces.d.ts +173 -0
  166. package/dist/esm/operations/namespaces.d.ts.map +1 -0
  167. package/dist/esm/operations/namespaces.js +744 -0
  168. package/dist/esm/operations/namespaces.js.map +1 -0
  169. package/dist/esm/operations/notificationHubs.d.ts +170 -0
  170. package/dist/esm/operations/notificationHubs.d.ts.map +1 -0
  171. package/dist/esm/operations/notificationHubs.js +706 -0
  172. package/dist/esm/operations/notificationHubs.js.map +1 -0
  173. package/dist/esm/operations/operations.d.ts +32 -0
  174. package/dist/esm/operations/operations.d.ts.map +1 -0
  175. package/dist/esm/operations/operations.js +116 -0
  176. package/dist/esm/operations/operations.js.map +1 -0
  177. package/dist/esm/operations/privateEndpointConnections.d.ts +114 -0
  178. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  179. package/dist/esm/operations/privateEndpointConnections.js +434 -0
  180. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  182. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/index.js +12 -0
  184. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/namespaces.d.ts +120 -0
  186. package/dist/esm/operationsInterfaces/namespaces.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/namespaces.js +9 -0
  188. package/dist/esm/operationsInterfaces/namespaces.js.map +1 -0
  189. package/dist/esm/operationsInterfaces/notificationHubs.d.ts +126 -0
  190. package/dist/esm/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  191. package/dist/esm/operationsInterfaces/notificationHubs.js +9 -0
  192. package/dist/esm/operationsInterfaces/notificationHubs.js.map +1 -0
  193. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  194. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  195. package/dist/esm/operationsInterfaces/operations.js +9 -0
  196. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  197. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  198. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  199. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  200. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  201. package/dist/esm/package.json +3 -0
  202. package/dist/esm/pagingHelper.d.ts +13 -0
  203. package/dist/esm/pagingHelper.d.ts.map +1 -0
  204. package/dist/esm/pagingHelper.js +30 -0
  205. package/dist/esm/pagingHelper.js.map +1 -0
  206. package/dist/react-native/index.d.ts +5 -0
  207. package/dist/react-native/index.d.ts.map +1 -0
  208. package/dist/react-native/index.js +12 -0
  209. package/dist/react-native/index.js.map +1 -0
  210. package/dist/react-native/lroImpl.d.ts +11 -0
  211. package/dist/react-native/lroImpl.d.ts.map +1 -0
  212. package/dist/react-native/lroImpl.js +18 -0
  213. package/dist/react-native/lroImpl.js.map +1 -0
  214. package/dist/react-native/models/index.d.ts +1606 -0
  215. package/dist/react-native/models/index.d.ts.map +1 -0
  216. package/dist/react-native/models/index.js +154 -0
  217. package/dist/react-native/models/index.js.map +1 -0
  218. package/dist/react-native/models/mappers.d.ts +60 -0
  219. package/dist/react-native/models/mappers.d.ts.map +1 -0
  220. package/dist/react-native/models/mappers.js +2505 -0
  221. package/dist/react-native/models/mappers.js.map +1 -0
  222. package/dist/react-native/models/parameters.d.ts +24 -0
  223. package/dist/react-native/models/parameters.d.ts.map +1 -0
  224. package/dist/react-native/models/parameters.js +212 -0
  225. package/dist/react-native/models/parameters.js.map +1 -0
  226. package/dist/react-native/notificationHubsManagementClient.d.ts +23 -0
  227. package/dist/react-native/notificationHubsManagementClient.d.ts.map +1 -0
  228. package/dist/react-native/notificationHubsManagementClient.js +110 -0
  229. package/dist/react-native/notificationHubsManagementClient.js.map +1 -0
  230. package/dist/react-native/operations/index.d.ts +5 -0
  231. package/dist/react-native/operations/index.d.ts.map +1 -0
  232. package/dist/react-native/operations/index.js +12 -0
  233. package/dist/react-native/operations/index.js.map +1 -0
  234. package/dist/react-native/operations/namespaces.d.ts +173 -0
  235. package/dist/react-native/operations/namespaces.d.ts.map +1 -0
  236. package/dist/react-native/operations/namespaces.js +744 -0
  237. package/dist/react-native/operations/namespaces.js.map +1 -0
  238. package/dist/react-native/operations/notificationHubs.d.ts +170 -0
  239. package/dist/react-native/operations/notificationHubs.d.ts.map +1 -0
  240. package/dist/react-native/operations/notificationHubs.js +706 -0
  241. package/dist/react-native/operations/notificationHubs.js.map +1 -0
  242. package/dist/react-native/operations/operations.d.ts +32 -0
  243. package/dist/react-native/operations/operations.d.ts.map +1 -0
  244. package/dist/react-native/operations/operations.js +116 -0
  245. package/dist/react-native/operations/operations.js.map +1 -0
  246. package/dist/react-native/operations/privateEndpointConnections.d.ts +114 -0
  247. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  248. package/dist/react-native/operations/privateEndpointConnections.js +434 -0
  249. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  250. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  251. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  252. package/dist/react-native/operationsInterfaces/index.js +12 -0
  253. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  254. package/dist/react-native/operationsInterfaces/namespaces.d.ts +120 -0
  255. package/dist/react-native/operationsInterfaces/namespaces.d.ts.map +1 -0
  256. package/dist/react-native/operationsInterfaces/namespaces.js +9 -0
  257. package/dist/react-native/operationsInterfaces/namespaces.js.map +1 -0
  258. package/dist/react-native/operationsInterfaces/notificationHubs.d.ts +126 -0
  259. package/dist/react-native/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  260. package/dist/react-native/operationsInterfaces/notificationHubs.js +9 -0
  261. package/dist/react-native/operationsInterfaces/notificationHubs.js.map +1 -0
  262. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  263. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  264. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  265. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  266. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  267. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  268. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  269. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  270. package/dist/react-native/package.json +3 -0
  271. package/dist/react-native/pagingHelper.d.ts +13 -0
  272. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  273. package/dist/react-native/pagingHelper.js +30 -0
  274. package/dist/react-native/pagingHelper.js.map +1 -0
  275. package/package.json +88 -72
  276. package/review/{arm-notificationhubs.api.md → arm-notificationhubs-node.api.md} +4 -4
  277. package/dist/index.js +0 -5155
  278. package/dist/index.js.map +0 -1
  279. package/dist/index.min.js +0 -1
  280. package/dist/index.min.js.map +0 -1
  281. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts +0 -2
  282. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +0 -40
  284. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +0 -1
  285. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +0 -43
  288. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  289. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +0 -51
  292. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +0 -40
  296. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +0 -1
  297. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/namespacesDeleteSample.js +0 -39
  300. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +0 -40
  304. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +0 -1
  305. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +0 -39
  308. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +0 -1
  309. package/dist-esm/samples-dev/namespacesGetSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/namespacesGetSample.js +0 -39
  312. package/dist-esm/samples-dev/namespacesGetSample.js.map +0 -1
  313. package/dist-esm/samples-dev/namespacesListAllSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/namespacesListAllSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/namespacesListAllSample.js +0 -53
  316. package/dist-esm/samples-dev/namespacesListAllSample.js.map +0 -1
  317. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +0 -55
  320. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +0 -1
  321. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/namespacesListKeysSample.js +0 -40
  324. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +0 -1
  325. package/dist-esm/samples-dev/namespacesListSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/namespacesListSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/namespacesListSample.js +0 -54
  328. package/dist-esm/samples-dev/namespacesListSample.js.map +0 -1
  329. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +0 -41
  332. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +0 -1
  333. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/namespacesUpdateSample.js +0 -51
  336. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +0 -1
  337. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts +0 -2
  338. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +0 -43
  340. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +0 -1
  341. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  342. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  343. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +0 -44
  344. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  345. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts +0 -2
  346. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts.map +0 -1
  347. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +0 -41
  348. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +0 -1
  349. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts +0 -2
  350. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts.map +0 -1
  351. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +0 -40
  352. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +0 -1
  353. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts +0 -2
  354. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts.map +0 -1
  355. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +0 -41
  356. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +0 -1
  357. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +0 -40
  360. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +0 -1
  361. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +0 -41
  364. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +0 -1
  365. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +0 -40
  368. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +0 -1
  369. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/notificationHubsGetSample.js +0 -40
  372. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +0 -1
  373. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +0 -56
  376. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +0 -1
  377. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +0 -41
  380. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +0 -1
  381. package/dist-esm/samples-dev/notificationHubsListSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/notificationHubsListSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/notificationHubsListSample.js +0 -55
  384. package/dist-esm/samples-dev/notificationHubsListSample.js.map +0 -1
  385. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +0 -42
  388. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +0 -1
  389. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +0 -47
  392. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +0 -1
  393. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  396. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  397. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -42
  400. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  401. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +0 -42
  404. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +0 -1
  405. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -42
  408. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  409. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +0 -57
  412. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +0 -1
  413. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -57
  416. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  417. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -48
  420. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  421. package/dist-esm/src/index.d.ts +0 -6
  422. package/dist-esm/src/index.d.ts.map +0 -1
  423. package/dist-esm/src/index.js.map +0 -1
  424. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  425. package/dist-esm/src/lroImpl.js +0 -21
  426. package/dist-esm/src/lroImpl.js.map +0 -1
  427. package/dist-esm/src/models/index.d.ts.map +0 -1
  428. package/dist-esm/src/models/index.js.map +0 -1
  429. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  430. package/dist-esm/src/models/mappers.js.map +0 -1
  431. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  432. package/dist-esm/src/models/parameters.js.map +0 -1
  433. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +0 -1
  434. package/dist-esm/src/notificationHubsManagementClient.js.map +0 -1
  435. package/dist-esm/src/operations/index.d.ts +0 -5
  436. package/dist-esm/src/operations/index.js.map +0 -1
  437. package/dist-esm/src/operations/namespaces.d.ts.map +0 -1
  438. package/dist-esm/src/operations/namespaces.js.map +0 -1
  439. package/dist-esm/src/operations/notificationHubs.d.ts.map +0 -1
  440. package/dist-esm/src/operations/notificationHubs.js.map +0 -1
  441. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  442. package/dist-esm/src/operations/operations.js.map +0 -1
  443. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  444. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  445. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  446. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  447. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +0 -1
  448. package/dist-esm/src/operationsInterfaces/namespaces.js.map +0 -1
  449. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +0 -1
  450. package/dist-esm/src/operationsInterfaces/notificationHubs.js.map +0 -1
  451. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  452. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  453. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  454. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  455. package/dist-esm/src/pagingHelper.js.map +0 -1
  456. package/dist-esm/test/notificationhubs_examples.d.ts +0 -4
  457. package/dist-esm/test/notificationhubs_examples.d.ts.map +0 -1
  458. package/dist-esm/test/notificationhubs_examples.js +0 -139
  459. package/dist-esm/test/notificationhubs_examples.js.map +0 -1
  460. package/src/lroImpl.ts +0 -42
  461. package/src/models/index.ts +0 -1778
  462. package/src/models/mappers.ts +0 -2570
  463. package/src/models/parameters.ts +0 -248
  464. package/src/notificationHubsManagementClient.ts +0 -157
  465. package/src/operations/index.ts +0 -12
  466. package/src/operations/namespaces.ts +0 -1039
  467. package/src/operations/notificationHubs.ts +0 -983
  468. package/src/operations/operations.ts +0 -149
  469. package/src/operations/privateEndpointConnections.ts +0 -629
  470. package/src/operationsInterfaces/index.ts +0 -12
  471. package/src/operationsInterfaces/namespaces.ts +0 -229
  472. package/src/operationsInterfaces/notificationHubs.ts +0 -243
  473. package/src/operationsInterfaces/operations.ts +0 -22
  474. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -156
  475. package/src/pagingHelper.ts +0 -39
  476. package/tsconfig.json +0 -33
  477. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  478. /package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.js +0 -0
  479. /package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.js +0 -0
  480. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  481. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  482. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing NotificationHubs operations. */
15
14
  export class NotificationHubsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class NotificationHubs class.
18
18
  * @param client Reference to the service client
@@ -36,52 +36,35 @@ export class NotificationHubsImpl {
36
36
  return this;
37
37
  },
38
38
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ if (settings?.maxPageSize) {
40
40
  throw new Error("maxPageSize is not supported by this operation.");
41
41
  }
42
42
  return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
43
43
  },
44
44
  };
45
45
  }
46
- listPagingPage(resourceGroupName, namespaceName, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._list(resourceGroupName, namespaceName, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listNext(resourceGroupName, namespaceName, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
46
+ async *listPagingPage(resourceGroupName, namespaceName, options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._list(resourceGroupName, namespaceName, options);
51
+ const page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ const page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield page;
62
+ }
65
63
  }
66
- listPagingAll(resourceGroupName, namespaceName, options) {
67
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
68
- var _a, e_1, _b, _c;
69
- try {
70
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
- _c = _f.value;
72
- _d = false;
73
- const page = _c;
74
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
- }
76
- }
77
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
- finally {
79
- try {
80
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
- }
82
- finally { if (e_1) throw e_1.error; }
83
- }
84
- });
64
+ async *listPagingAll(resourceGroupName, namespaceName, options) {
65
+ for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {
66
+ yield* page;
67
+ }
85
68
  }
86
69
  /**
87
70
  * Gets the authorization rules for a NotificationHub.
@@ -100,52 +83,35 @@ export class NotificationHubsImpl {
100
83
  return this;
101
84
  },
102
85
  byPage: (settings) => {
103
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
86
+ if (settings?.maxPageSize) {
104
87
  throw new Error("maxPageSize is not supported by this operation.");
105
88
  }
106
89
  return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings);
107
90
  },
108
91
  };
109
92
  }
110
- listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
111
- return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingPage_1() {
112
- let result;
113
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
114
- if (!continuationToken) {
115
- result = yield __await(this._listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options));
116
- let page = result.value || [];
117
- continuationToken = result.nextLink;
118
- setContinuationToken(page, continuationToken);
119
- yield yield __await(page);
120
- }
121
- while (continuationToken) {
122
- result = yield __await(this._listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, continuationToken, options));
123
- continuationToken = result.nextLink;
124
- let page = result.value || [];
125
- setContinuationToken(page, continuationToken);
126
- yield yield __await(page);
127
- }
128
- });
93
+ async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
94
+ let result;
95
+ let continuationToken = settings?.continuationToken;
96
+ if (!continuationToken) {
97
+ result = await this._listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options);
98
+ const page = result.value || [];
99
+ continuationToken = result.nextLink;
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
103
+ while (continuationToken) {
104
+ result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, continuationToken, options);
105
+ continuationToken = result.nextLink;
106
+ const page = result.value || [];
107
+ setContinuationToken(page, continuationToken);
108
+ yield page;
109
+ }
129
110
  }
130
- listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
131
- return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
132
- var _a, e_2, _b, _c;
133
- try {
134
- for (var _d = true, _e = __asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
135
- _c = _f.value;
136
- _d = false;
137
- const page = _c;
138
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
139
- }
140
- }
141
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
142
- finally {
143
- try {
144
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
145
- }
146
- finally { if (e_2) throw e_2.error; }
147
- }
148
- });
111
+ async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
112
+ for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)) {
113
+ yield* page;
114
+ }
149
115
  }
150
116
  /**
151
117
  * Checks the availability of the given notificationHub in a namespace.
@@ -497,11 +463,7 @@ const listOperationSpec = {
497
463
  bodyMapper: Mappers.ErrorResponse,
498
464
  },
499
465
  },
500
- queryParameters: [
501
- Parameters.apiVersion,
502
- Parameters.skipToken,
503
- Parameters.top,
504
- ],
466
+ queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
505
467
  urlParameters: [
506
468
  Parameters.$host,
507
469
  Parameters.subscriptionId,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationHubs.js","sourceRoot":"","sources":["../../../src/operations/notificationHubs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAwCtD,4CAA4C;AAC5C,oDAAoD;AACpD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BAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { NotificationHubs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type {\n NotificationHubResource,\n NotificationHubsListNextOptionalParams,\n NotificationHubsListOptionalParams,\n NotificationHubsListResponse,\n SharedAccessAuthorizationRuleResource,\n NotificationHubsListAuthorizationRulesNextOptionalParams,\n NotificationHubsListAuthorizationRulesOptionalParams,\n NotificationHubsListAuthorizationRulesResponse,\n CheckAvailabilityParameters,\n NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n NotificationHubsCheckNotificationHubAvailabilityResponse,\n NotificationHubsGetOptionalParams,\n NotificationHubsGetResponse,\n NotificationHubsCreateOrUpdateOptionalParams,\n NotificationHubsCreateOrUpdateResponse,\n NotificationHubPatchParameters,\n NotificationHubsUpdateOptionalParams,\n NotificationHubsUpdateResponse,\n NotificationHubsDeleteOptionalParams,\n NotificationHubsDebugSendOptionalParams,\n NotificationHubsDebugSendResponse,\n NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n NotificationHubsCreateOrUpdateAuthorizationRuleResponse,\n NotificationHubsDeleteAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleResponse,\n NotificationHubsListKeysOptionalParams,\n NotificationHubsListKeysResponse,\n PolicyKeyResource,\n NotificationHubsRegenerateKeysOptionalParams,\n NotificationHubsRegenerateKeysResponse,\n NotificationHubsGetPnsCredentialsOptionalParams,\n NotificationHubsGetPnsCredentialsResponse,\n NotificationHubsListNextResponse,\n NotificationHubsListAuthorizationRulesNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NotificationHubs operations. */\nexport class NotificationHubsImpl implements NotificationHubs {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class NotificationHubs class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the notification hubs associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): PagedAsyncIterableIterator<NotificationHubResource> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NotificationHubResource[]> {\n let result: NotificationHubsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, namespaceName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): AsyncIterableIterator<NotificationHubResource> {\n for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the authorization rules for a NotificationHub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n public listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource> {\n const iter = this.listAuthorizationRulesPagingAll(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAuthorizationRulesPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SharedAccessAuthorizationRuleResource[]> {\n let result: NotificationHubsListAuthorizationRulesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAuthorizationRules(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n );\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAuthorizationRulesNext(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAuthorizationRulesPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): AsyncIterableIterator<SharedAccessAuthorizationRuleResource> {\n for await (const page of this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks the availability of the given notificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n checkNotificationHubAvailability(\n resourceGroupName: string,\n namespaceName: string,\n parameters: CheckAvailabilityParameters,\n options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n ): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, parameters, options },\n checkNotificationHubAvailabilityOperationSpec,\n );\n }\n\n /**\n * Gets the notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetOptionalParams,\n ): Promise<NotificationHubsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates/Update a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubResource,\n options?: NotificationHubsCreateOrUpdateOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Patch a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubPatchParameters,\n options?: NotificationHubsUpdateOptionalParams,\n ): Promise<NotificationHubsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a notification hub associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Lists the notification hubs associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): Promise<NotificationHubsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Test send a push notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n debugSend(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDebugSendOptionalParams,\n ): Promise<NotificationHubsDebugSendResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n debugSendOperationSpec,\n );\n }\n\n /**\n * Creates/Updates an authorization rule for a NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdateAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: SharedAccessAuthorizationRuleResource,\n options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n parameters,\n options,\n },\n createOrUpdateAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Deletes a notificationHub authorization rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n deleteAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsDeleteAuthorizationRuleOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n deleteAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets an authorization rule for a NotificationHub by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsGetAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsGetAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n getAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets the authorization rules for a NotificationHub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n private _listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): Promise<NotificationHubsListAuthorizationRulesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n listAuthorizationRulesOperationSpec,\n );\n }\n\n /**\n * Gets the Primary and Secondary ConnectionStrings to the NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsListKeysOptionalParams,\n ): Promise<NotificationHubsListKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: PolicyKeyResource,\n options?: NotificationHubsRegenerateKeysOptionalParams,\n ): Promise<NotificationHubsRegenerateKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n parameters,\n options,\n },\n regenerateKeysOperationSpec,\n );\n }\n\n /**\n * Lists the PNS Credentials associated with a notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n getPnsCredentials(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetPnsCredentialsOptionalParams,\n ): Promise<NotificationHubsGetPnsCredentialsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n getPnsCredentialsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n namespaceName: string,\n nextLink: string,\n options?: NotificationHubsListNextOptionalParams,\n ): Promise<NotificationHubsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListAuthorizationRulesNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.\n * @param options The options parameters.\n */\n private _listAuthorizationRulesNext(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n nextLink: string,\n options?: NotificationHubsListAuthorizationRulesNextOptionalParams,\n ): Promise<NotificationHubsListAuthorizationRulesNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n nextLink,\n options,\n },\n listAuthorizationRulesNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNotificationHubAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n 201: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst debugSendOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DebugSendResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n 201: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getPnsCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PnsCredentialsResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { NotificationHubsManagementClient } from "../notificationHubsManagementClient";
4
- import { Operation, OperationsListOptionalParams } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Operations } from "../operationsInterfaces/index.js";
3
+ import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
4
+ import type { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EACV,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC;YAkB3E,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Operations operations. */
15
14
  export class OperationsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Operations class.
18
18
  * @param client Reference to the service client
@@ -34,52 +34,35 @@ export class OperationsImpl {
34
34
  return this;
35
35
  },
36
36
  byPage: (settings) => {
37
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37
+ if (settings?.maxPageSize) {
38
38
  throw new Error("maxPageSize is not supported by this operation.");
39
39
  }
40
40
  return this.listPagingPage(options, settings);
41
41
  },
42
42
  };
43
43
  }
44
- listPagingPage(options, settings) {
45
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
- let result;
47
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
- if (!continuationToken) {
49
- result = yield __await(this._list(options));
50
- let page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield yield __await(page);
54
- }
55
- while (continuationToken) {
56
- result = yield __await(this._listNext(continuationToken, options));
57
- continuationToken = result.nextLink;
58
- let page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield yield __await(page);
61
- }
62
- });
44
+ async *listPagingPage(options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(options);
49
+ const page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ const page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
63
61
  }
64
- listPagingAll(options) {
65
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
- var _a, e_1, _b, _c;
67
- try {
68
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
- _c = _f.value;
70
- _d = false;
71
- const page = _c;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
62
+ async *listPagingAll(options) {
63
+ for await (const page of this.listPagingPage(options)) {
64
+ yield* page;
65
+ }
83
66
  }
84
67
  /**
85
68
  * Lists all available Notification Hubs operations.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAmC;IAE1D;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,I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AC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available Notification Hubs operations.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all available Notification Hubs operations.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.NotificationHubs/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateEndpointConnections } from "../operationsInterfaces";
3
- import { NotificationHubsManagementClient } from "../notificationHubsManagementClient";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
3
+ import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models/index.js";
6
6
  /** Class containing PrivateEndpointConnections operations. */
7
7
  export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,iCAAiC,EACjC,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