@azure/arm-notificationhubs 3.0.0-alpha.20241212.1 → 3.0.0-alpha.20241218.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/commonjs/index.d.ts +5 -0
  2. package/dist/commonjs/index.d.ts.map +1 -0
  3. package/dist/commonjs/index.js +18 -0
  4. package/dist/commonjs/index.js.map +1 -0
  5. package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts +1 -1
  6. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  7. package/dist/commonjs/lroImpl.js +24 -0
  8. package/dist/commonjs/lroImpl.js.map +1 -0
  9. package/{dist-esm/src → dist/commonjs}/models/index.d.ts +1 -1
  10. package/dist/commonjs/models/index.d.ts.map +1 -0
  11. package/dist/commonjs/models/index.js +157 -0
  12. package/dist/commonjs/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +1 -1
  14. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  15. package/dist/commonjs/models/mappers.js +2419 -0
  16. package/dist/commonjs/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +1 -1
  18. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  19. package/dist/commonjs/models/parameters.js +215 -0
  20. package/dist/commonjs/models/parameters.js.map +1 -0
  21. package/{dist-esm/src → dist/commonjs}/notificationHubsManagementClient.d.ts +3 -3
  22. package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
  23. package/dist/commonjs/notificationHubsManagementClient.js +104 -0
  24. package/dist/commonjs/notificationHubsManagementClient.js.map +1 -0
  25. package/dist/commonjs/operations/index.d.ts +5 -0
  26. package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
  27. package/dist/commonjs/operations/index.js +15 -0
  28. package/dist/commonjs/operations/index.js.map +1 -0
  29. package/{dist-esm/src → dist/commonjs}/operations/namespaces.d.ts +5 -5
  30. package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
  31. package/dist/commonjs/operations/namespaces.js +794 -0
  32. package/dist/commonjs/operations/namespaces.js.map +1 -0
  33. package/{dist-esm/src → dist/commonjs}/operations/notificationHubs.d.ts +4 -4
  34. package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
  35. package/dist/commonjs/operations/notificationHubs.js +744 -0
  36. package/dist/commonjs/operations/notificationHubs.js.map +1 -0
  37. package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +4 -4
  38. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  39. package/dist/commonjs/operations/operations.js +137 -0
  40. package/dist/commonjs/operations/operations.js.map +1 -0
  41. package/{dist-esm/src → dist/commonjs}/operations/privateEndpointConnections.d.ts +5 -5
  42. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  43. package/dist/commonjs/operations/privateEndpointConnections.js +462 -0
  44. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  45. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  46. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
  47. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  48. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  49. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/namespaces.d.ts +3 -3
  50. package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +1 -0
  51. package/dist/commonjs/operationsInterfaces/namespaces.js +10 -0
  52. package/dist/commonjs/operationsInterfaces/namespaces.js.map +1 -0
  53. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/notificationHubs.d.ts +2 -2
  54. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  55. package/dist/commonjs/operationsInterfaces/notificationHubs.js +10 -0
  56. package/dist/commonjs/operationsInterfaces/notificationHubs.js.map +1 -0
  57. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +2 -2
  58. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  59. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  60. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  61. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  62. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  63. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  64. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  65. package/dist/commonjs/package.json +3 -0
  66. package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
  67. package/dist/commonjs/pagingHelper.js +36 -0
  68. package/dist/commonjs/pagingHelper.js.map +1 -0
  69. package/dist/esm/index.d.ts +5 -0
  70. package/dist/esm/index.d.ts.map +1 -0
  71. package/{src/index.ts → dist/esm/index.js} +5 -6
  72. package/dist/esm/index.js.map +1 -0
  73. package/dist/esm/lroImpl.d.ts +11 -0
  74. package/dist/esm/lroImpl.d.ts.map +1 -0
  75. package/dist/esm/lroImpl.js.map +1 -0
  76. package/{types/arm-notificationhubs.d.ts → dist/esm/models/index.d.ts} +1606 -2131
  77. package/dist/esm/models/index.d.ts.map +1 -0
  78. package/dist/esm/models/index.js.map +1 -0
  79. package/dist/esm/models/mappers.d.ts +60 -0
  80. package/dist/esm/models/mappers.d.ts.map +1 -0
  81. package/dist/esm/models/mappers.js.map +1 -0
  82. package/dist/esm/models/parameters.d.ts +24 -0
  83. package/dist/esm/models/parameters.d.ts.map +1 -0
  84. package/{dist-esm/src → dist/esm}/models/parameters.js +1 -1
  85. package/dist/esm/models/parameters.js.map +1 -0
  86. package/dist/esm/notificationHubsManagementClient.d.ts +23 -0
  87. package/dist/esm/notificationHubsManagementClient.d.ts.map +1 -0
  88. package/{dist-esm/src → dist/esm}/notificationHubsManagementClient.js +16 -20
  89. package/dist/esm/notificationHubsManagementClient.js.map +1 -0
  90. package/dist/esm/operations/index.d.ts +5 -0
  91. package/dist/esm/operations/index.d.ts.map +1 -0
  92. package/{dist-esm/src → dist/esm}/operations/index.js +4 -4
  93. package/dist/esm/operations/index.js.map +1 -0
  94. package/dist/esm/operations/namespaces.d.ts +173 -0
  95. package/dist/esm/operations/namespaces.d.ts.map +1 -0
  96. package/{dist-esm/src → dist/esm}/operations/namespaces.js +53 -73
  97. package/dist/esm/operations/namespaces.js.map +1 -0
  98. package/dist/esm/operations/notificationHubs.d.ts +170 -0
  99. package/dist/esm/operations/notificationHubs.d.ts.map +1 -0
  100. package/{dist-esm/src → dist/esm}/operations/notificationHubs.js +8 -12
  101. package/dist/esm/operations/notificationHubs.js.map +1 -0
  102. package/dist/esm/operations/operations.d.ts +32 -0
  103. package/dist/esm/operations/operations.d.ts.map +1 -0
  104. package/{dist-esm/src → dist/esm}/operations/operations.js +5 -5
  105. package/dist/esm/operations/operations.js.map +1 -0
  106. package/dist/esm/operations/privateEndpointConnections.d.ts +114 -0
  107. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  108. package/{dist-esm/src → dist/esm}/operations/privateEndpointConnections.js +88 -96
  109. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  110. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  111. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  112. package/{dist-esm/src → dist/esm}/operationsInterfaces/index.js +4 -4
  113. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  114. package/dist/esm/operationsInterfaces/namespaces.d.ts +120 -0
  115. package/dist/esm/operationsInterfaces/namespaces.d.ts.map +1 -0
  116. package/dist/esm/operationsInterfaces/namespaces.js.map +1 -0
  117. package/dist/esm/operationsInterfaces/notificationHubs.d.ts +126 -0
  118. package/dist/esm/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  119. package/dist/esm/operationsInterfaces/notificationHubs.js.map +1 -0
  120. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  123. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  124. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  125. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  126. package/dist/esm/package.json +3 -0
  127. package/dist/esm/pagingHelper.d.ts +13 -0
  128. package/dist/esm/pagingHelper.d.ts.map +1 -0
  129. package/dist/esm/pagingHelper.js.map +1 -0
  130. package/package.json +61 -45
  131. package/review/arm-notificationhubs.api.md +4 -4
  132. package/dist/index.js +0 -5155
  133. package/dist/index.js.map +0 -1
  134. package/dist/index.min.js +0 -1
  135. package/dist/index.min.js.map +0 -1
  136. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts +0 -2
  137. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts.map +0 -1
  138. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +0 -40
  139. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +0 -1
  140. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  141. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  142. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +0 -43
  143. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  144. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +0 -2
  145. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +0 -1
  146. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +0 -51
  147. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +0 -1
  148. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts +0 -2
  149. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts.map +0 -1
  150. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +0 -40
  151. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +0 -1
  152. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +0 -2
  153. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +0 -1
  154. package/dist-esm/samples-dev/namespacesDeleteSample.js +0 -39
  155. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +0 -1
  156. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts +0 -2
  157. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts.map +0 -1
  158. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +0 -40
  159. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +0 -1
  160. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +0 -2
  161. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +0 -1
  162. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +0 -39
  163. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +0 -1
  164. package/dist-esm/samples-dev/namespacesGetSample.d.ts +0 -2
  165. package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +0 -1
  166. package/dist-esm/samples-dev/namespacesGetSample.js +0 -39
  167. package/dist-esm/samples-dev/namespacesGetSample.js.map +0 -1
  168. package/dist-esm/samples-dev/namespacesListAllSample.d.ts +0 -2
  169. package/dist-esm/samples-dev/namespacesListAllSample.d.ts.map +0 -1
  170. package/dist-esm/samples-dev/namespacesListAllSample.js +0 -53
  171. package/dist-esm/samples-dev/namespacesListAllSample.js.map +0 -1
  172. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts +0 -2
  173. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts.map +0 -1
  174. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +0 -55
  175. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +0 -1
  176. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts +0 -2
  177. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts.map +0 -1
  178. package/dist-esm/samples-dev/namespacesListKeysSample.js +0 -40
  179. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +0 -1
  180. package/dist-esm/samples-dev/namespacesListSample.d.ts +0 -2
  181. package/dist-esm/samples-dev/namespacesListSample.d.ts.map +0 -1
  182. package/dist-esm/samples-dev/namespacesListSample.js +0 -54
  183. package/dist-esm/samples-dev/namespacesListSample.js.map +0 -1
  184. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts +0 -2
  185. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts.map +0 -1
  186. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +0 -41
  187. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +0 -1
  188. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +0 -2
  189. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +0 -1
  190. package/dist-esm/samples-dev/namespacesUpdateSample.js +0 -51
  191. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +0 -1
  192. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts +0 -2
  193. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts.map +0 -1
  194. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +0 -43
  195. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +0 -1
  196. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  197. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  198. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +0 -44
  199. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  200. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts +0 -2
  201. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts.map +0 -1
  202. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +0 -41
  203. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +0 -1
  204. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts +0 -2
  205. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts.map +0 -1
  206. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +0 -40
  207. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +0 -1
  208. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts +0 -2
  209. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts.map +0 -1
  210. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +0 -41
  211. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +0 -1
  212. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts +0 -2
  213. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts.map +0 -1
  214. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +0 -40
  215. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +0 -1
  216. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts +0 -2
  217. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts.map +0 -1
  218. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +0 -41
  219. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +0 -1
  220. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +0 -40
  223. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +0 -1
  224. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/notificationHubsGetSample.js +0 -40
  227. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +0 -1
  228. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +0 -56
  231. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +0 -1
  232. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +0 -41
  235. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +0 -1
  236. package/dist-esm/samples-dev/notificationHubsListSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/notificationHubsListSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/notificationHubsListSample.js +0 -55
  239. package/dist-esm/samples-dev/notificationHubsListSample.js.map +0 -1
  240. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +0 -42
  243. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +0 -1
  244. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +0 -47
  247. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +0 -1
  248. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  251. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  252. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -42
  255. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +0 -42
  259. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +0 -1
  260. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -42
  263. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  264. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +0 -57
  267. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +0 -1
  268. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -57
  271. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  272. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -48
  275. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  276. package/dist-esm/src/index.d.ts +0 -5
  277. package/dist-esm/src/index.d.ts.map +0 -1
  278. package/dist-esm/src/index.js +0 -13
  279. package/dist-esm/src/index.js.map +0 -1
  280. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  281. package/dist-esm/src/lroImpl.js.map +0 -1
  282. package/dist-esm/src/models/index.d.ts.map +0 -1
  283. package/dist-esm/src/models/index.js.map +0 -1
  284. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  285. package/dist-esm/src/models/mappers.js.map +0 -1
  286. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  287. package/dist-esm/src/models/parameters.js.map +0 -1
  288. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +0 -1
  289. package/dist-esm/src/notificationHubsManagementClient.js.map +0 -1
  290. package/dist-esm/src/operations/index.d.ts +0 -5
  291. package/dist-esm/src/operations/index.js.map +0 -1
  292. package/dist-esm/src/operations/namespaces.d.ts.map +0 -1
  293. package/dist-esm/src/operations/namespaces.js.map +0 -1
  294. package/dist-esm/src/operations/notificationHubs.d.ts.map +0 -1
  295. package/dist-esm/src/operations/notificationHubs.js.map +0 -1
  296. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  297. package/dist-esm/src/operations/operations.js.map +0 -1
  298. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  299. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  300. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  301. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  302. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +0 -1
  303. package/dist-esm/src/operationsInterfaces/namespaces.js.map +0 -1
  304. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +0 -1
  305. package/dist-esm/src/operationsInterfaces/notificationHubs.js.map +0 -1
  306. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  307. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  308. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  309. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  310. package/dist-esm/src/pagingHelper.js.map +0 -1
  311. package/dist-esm/test/notificationhubs_examples.d.ts +0 -4
  312. package/dist-esm/test/notificationhubs_examples.d.ts.map +0 -1
  313. package/dist-esm/test/notificationhubs_examples.js +0 -140
  314. package/dist-esm/test/notificationhubs_examples.js.map +0 -1
  315. package/src/lroImpl.ts +0 -42
  316. package/src/models/index.ts +0 -1778
  317. package/src/models/mappers.ts +0 -2570
  318. package/src/models/parameters.ts +0 -248
  319. package/src/notificationHubsManagementClient.ts +0 -157
  320. package/src/operations/index.ts +0 -12
  321. package/src/operations/namespaces.ts +0 -1039
  322. package/src/operations/notificationHubs.ts +0 -983
  323. package/src/operations/operations.ts +0 -149
  324. package/src/operations/privateEndpointConnections.ts +0 -629
  325. package/src/operationsInterfaces/index.ts +0 -12
  326. package/src/operationsInterfaces/namespaces.ts +0 -229
  327. package/src/operationsInterfaces/notificationHubs.ts +0 -243
  328. package/src/operationsInterfaces/operations.ts +0 -22
  329. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -156
  330. package/src/pagingHelper.ts +0 -39
  331. package/tsconfig.json +0 -33
  332. /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
  333. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
  334. /package/{dist-esm/src → dist/esm}/lroImpl.js +0 -0
  335. /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
  336. /package/{dist-esm/src → dist/esm}/models/mappers.js +0 -0
  337. /package/{dist-esm/src → dist/esm}/operationsInterfaces/namespaces.js +0 -0
  338. /package/{dist-esm/src → dist/esm}/operationsInterfaces/notificationHubs.js +0 -0
  339. /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
  340. /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateEndpointConnections.js +0 -0
  341. /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
@@ -1,248 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import {
10
- OperationParameter,
11
- OperationURLParameter,
12
- OperationQueryParameter,
13
- } from "@azure/core-client";
14
- import {
15
- CheckAvailabilityParameters as CheckAvailabilityParametersMapper,
16
- NotificationHubResource as NotificationHubResourceMapper,
17
- NotificationHubPatchParameters as NotificationHubPatchParametersMapper,
18
- SharedAccessAuthorizationRuleResource as SharedAccessAuthorizationRuleResourceMapper,
19
- PolicyKeyResource as PolicyKeyResourceMapper,
20
- NamespaceResource as NamespaceResourceMapper,
21
- NamespacePatchParameters as NamespacePatchParametersMapper,
22
- PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper,
23
- } from "../models/mappers";
24
-
25
- export const contentType: OperationParameter = {
26
- parameterPath: ["options", "contentType"],
27
- mapper: {
28
- defaultValue: "application/json",
29
- isConstant: true,
30
- serializedName: "Content-Type",
31
- type: {
32
- name: "String",
33
- },
34
- },
35
- };
36
-
37
- export const parameters: OperationParameter = {
38
- parameterPath: "parameters",
39
- mapper: CheckAvailabilityParametersMapper,
40
- };
41
-
42
- export const accept: OperationParameter = {
43
- parameterPath: "accept",
44
- mapper: {
45
- defaultValue: "application/json",
46
- isConstant: true,
47
- serializedName: "Accept",
48
- type: {
49
- name: "String",
50
- },
51
- },
52
- };
53
-
54
- export const $host: OperationURLParameter = {
55
- parameterPath: "$host",
56
- mapper: {
57
- serializedName: "$host",
58
- required: true,
59
- type: {
60
- name: "String",
61
- },
62
- },
63
- skipEncoding: true,
64
- };
65
-
66
- export const subscriptionId: OperationURLParameter = {
67
- parameterPath: "subscriptionId",
68
- mapper: {
69
- serializedName: "subscriptionId",
70
- required: true,
71
- type: {
72
- name: "Uuid",
73
- },
74
- },
75
- };
76
-
77
- export const resourceGroupName: OperationURLParameter = {
78
- parameterPath: "resourceGroupName",
79
- mapper: {
80
- constraints: {
81
- MaxLength: 90,
82
- MinLength: 1,
83
- },
84
- serializedName: "resourceGroupName",
85
- required: true,
86
- type: {
87
- name: "String",
88
- },
89
- },
90
- };
91
-
92
- export const namespaceName: OperationURLParameter = {
93
- parameterPath: "namespaceName",
94
- mapper: {
95
- constraints: {
96
- Pattern: new RegExp("^[a-zA-Z][a-zA-Z0-9-]*$"),
97
- MaxLength: 50,
98
- MinLength: 1,
99
- },
100
- serializedName: "namespaceName",
101
- required: true,
102
- type: {
103
- name: "String",
104
- },
105
- },
106
- };
107
-
108
- export const apiVersion: OperationQueryParameter = {
109
- parameterPath: "apiVersion",
110
- mapper: {
111
- defaultValue: "2023-10-01-preview",
112
- isConstant: true,
113
- serializedName: "api-version",
114
- type: {
115
- name: "String",
116
- },
117
- },
118
- };
119
-
120
- export const notificationHubName: OperationURLParameter = {
121
- parameterPath: "notificationHubName",
122
- mapper: {
123
- constraints: {
124
- Pattern: new RegExp("^[a-zA-Z][a-zA-Z0-9-./_]*$"),
125
- MaxLength: 265,
126
- MinLength: 1,
127
- },
128
- serializedName: "notificationHubName",
129
- required: true,
130
- type: {
131
- name: "String",
132
- },
133
- },
134
- };
135
-
136
- export const parameters1: OperationParameter = {
137
- parameterPath: "parameters",
138
- mapper: NotificationHubResourceMapper,
139
- };
140
-
141
- export const parameters2: OperationParameter = {
142
- parameterPath: "parameters",
143
- mapper: NotificationHubPatchParametersMapper,
144
- };
145
-
146
- export const skipToken: OperationQueryParameter = {
147
- parameterPath: ["options", "skipToken"],
148
- mapper: {
149
- serializedName: "$skipToken",
150
- type: {
151
- name: "String",
152
- },
153
- },
154
- };
155
-
156
- export const top: OperationQueryParameter = {
157
- parameterPath: ["options", "top"],
158
- mapper: {
159
- defaultValue: 100,
160
- serializedName: "$top",
161
- type: {
162
- name: "Number",
163
- },
164
- },
165
- };
166
-
167
- export const parameters3: OperationParameter = {
168
- parameterPath: "parameters",
169
- mapper: SharedAccessAuthorizationRuleResourceMapper,
170
- };
171
-
172
- export const authorizationRuleName: OperationURLParameter = {
173
- parameterPath: "authorizationRuleName",
174
- mapper: {
175
- constraints: {
176
- Pattern: new RegExp("^[a-zA-Z0-9!()*-._]+$"),
177
- MaxLength: 256,
178
- MinLength: 1,
179
- },
180
- serializedName: "authorizationRuleName",
181
- required: true,
182
- type: {
183
- name: "String",
184
- },
185
- },
186
- };
187
-
188
- export const parameters4: OperationParameter = {
189
- parameterPath: "parameters",
190
- mapper: PolicyKeyResourceMapper,
191
- };
192
-
193
- export const nextLink: OperationURLParameter = {
194
- parameterPath: "nextLink",
195
- mapper: {
196
- serializedName: "nextLink",
197
- required: true,
198
- type: {
199
- name: "String",
200
- },
201
- },
202
- skipEncoding: true,
203
- };
204
-
205
- export const parameters5: OperationParameter = {
206
- parameterPath: "parameters",
207
- mapper: NamespaceResourceMapper,
208
- };
209
-
210
- export const parameters6: OperationParameter = {
211
- parameterPath: "parameters",
212
- mapper: NamespacePatchParametersMapper,
213
- };
214
-
215
- export const parameters7: OperationParameter = {
216
- parameterPath: "parameters",
217
- mapper: PrivateEndpointConnectionResourceMapper,
218
- };
219
-
220
- export const privateEndpointConnectionName: OperationURLParameter = {
221
- parameterPath: "privateEndpointConnectionName",
222
- mapper: {
223
- constraints: {
224
- Pattern: new RegExp("^[a-zA-Z][a-zA-Z0-9-]*\\.[a-fA-F0-9\\-]+$"),
225
- MaxLength: 87,
226
- MinLength: 1,
227
- },
228
- serializedName: "privateEndpointConnectionName",
229
- required: true,
230
- type: {
231
- name: "String",
232
- },
233
- },
234
- };
235
-
236
- export const subResourceName: OperationURLParameter = {
237
- parameterPath: "subResourceName",
238
- mapper: {
239
- constraints: {
240
- Pattern: new RegExp("^namespace$"),
241
- },
242
- serializedName: "subResourceName",
243
- required: true,
244
- type: {
245
- name: "String",
246
- },
247
- },
248
- };
@@ -1,157 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import * as coreClient from "@azure/core-client";
10
- import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import {
12
- PipelineRequest,
13
- PipelineResponse,
14
- SendRequest,
15
- } from "@azure/core-rest-pipeline";
16
- import * as coreAuth from "@azure/core-auth";
17
- import {
18
- NotificationHubsImpl,
19
- NamespacesImpl,
20
- OperationsImpl,
21
- PrivateEndpointConnectionsImpl,
22
- } from "./operations";
23
- import {
24
- NotificationHubs,
25
- Namespaces,
26
- Operations,
27
- PrivateEndpointConnections,
28
- } from "./operationsInterfaces";
29
- import { NotificationHubsManagementClientOptionalParams } from "./models";
30
-
31
- export class NotificationHubsManagementClient extends coreClient.ServiceClient {
32
- $host: string;
33
- subscriptionId: string;
34
- apiVersion: string;
35
-
36
- /**
37
- * Initializes a new instance of the NotificationHubsManagementClient class.
38
- * @param credentials Subscription credentials which uniquely identify client subscription.
39
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
40
- * @param options The parameter options
41
- */
42
- constructor(
43
- credentials: coreAuth.TokenCredential,
44
- subscriptionId: string,
45
- options?: NotificationHubsManagementClientOptionalParams,
46
- ) {
47
- if (credentials === undefined) {
48
- throw new Error("'credentials' cannot be null");
49
- }
50
- if (subscriptionId === undefined) {
51
- throw new Error("'subscriptionId' cannot be null");
52
- }
53
-
54
- // Initializing default values for options
55
- if (!options) {
56
- options = {};
57
- }
58
- const defaults: NotificationHubsManagementClientOptionalParams = {
59
- requestContentType: "application/json; charset=utf-8",
60
- credential: credentials,
61
- };
62
-
63
- const packageDetails = `azsdk-js-arm-notificationhubs/3.0.0-beta.2`;
64
- const userAgentPrefix =
65
- options.userAgentOptions && options.userAgentOptions.userAgentPrefix
66
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
67
- : `${packageDetails}`;
68
-
69
- const optionsWithDefaults = {
70
- ...defaults,
71
- ...options,
72
- userAgentOptions: {
73
- userAgentPrefix,
74
- },
75
- endpoint:
76
- options.endpoint ?? options.baseUri ?? "https://management.azure.com",
77
- };
78
- super(optionsWithDefaults);
79
-
80
- let bearerTokenAuthenticationPolicyFound: boolean = false;
81
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
82
- const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
83
- options.pipeline.getOrderedPolicies();
84
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
85
- (pipelinePolicy) =>
86
- pipelinePolicy.name ===
87
- coreRestPipeline.bearerTokenAuthenticationPolicyName,
88
- );
89
- }
90
- if (
91
- !options ||
92
- !options.pipeline ||
93
- options.pipeline.getOrderedPolicies().length == 0 ||
94
- !bearerTokenAuthenticationPolicyFound
95
- ) {
96
- this.pipeline.removePolicy({
97
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
98
- });
99
- this.pipeline.addPolicy(
100
- coreRestPipeline.bearerTokenAuthenticationPolicy({
101
- credential: credentials,
102
- scopes:
103
- optionsWithDefaults.credentialScopes ??
104
- `${optionsWithDefaults.endpoint}/.default`,
105
- challengeCallbacks: {
106
- authorizeRequestOnChallenge:
107
- coreClient.authorizeRequestOnClaimChallenge,
108
- },
109
- }),
110
- );
111
- }
112
- // Parameter assignments
113
- this.subscriptionId = subscriptionId;
114
-
115
- // Assigning values to Constant parameters
116
- this.$host = options.$host || "https://management.azure.com";
117
- this.apiVersion = options.apiVersion || "2023-10-01-preview";
118
- this.notificationHubs = new NotificationHubsImpl(this);
119
- this.namespaces = new NamespacesImpl(this);
120
- this.operations = new OperationsImpl(this);
121
- this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
122
- this.addCustomApiVersionPolicy(options.apiVersion);
123
- }
124
-
125
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
126
- private addCustomApiVersionPolicy(apiVersion?: string) {
127
- if (!apiVersion) {
128
- return;
129
- }
130
- const apiVersionPolicy = {
131
- name: "CustomApiVersionPolicy",
132
- async sendRequest(
133
- request: PipelineRequest,
134
- next: SendRequest,
135
- ): Promise<PipelineResponse> {
136
- const param = request.url.split("?");
137
- if (param.length > 1) {
138
- const newParams = param[1].split("&").map((item) => {
139
- if (item.indexOf("api-version") > -1) {
140
- return "api-version=" + apiVersion;
141
- } else {
142
- return item;
143
- }
144
- });
145
- request.url = param[0] + "?" + newParams.join("&");
146
- }
147
- return next(request);
148
- },
149
- };
150
- this.pipeline.addPolicy(apiVersionPolicy);
151
- }
152
-
153
- notificationHubs: NotificationHubs;
154
- namespaces: Namespaces;
155
- operations: Operations;
156
- privateEndpointConnections: PrivateEndpointConnections;
157
- }
@@ -1,12 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export * from "./notificationHubs";
10
- export * from "./namespaces";
11
- export * from "./operations";
12
- export * from "./privateEndpointConnections";