@azure/arm-eventgrid 14.2.0 → 15.0.0-beta.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 (257) hide show
  1. package/README.md +5 -3
  2. package/dist/browser/eventGridManagementClient.d.ts +6 -4
  3. package/dist/browser/eventGridManagementClient.d.ts.map +1 -1
  4. package/dist/browser/eventGridManagementClient.js +10 -7
  5. package/dist/browser/eventGridManagementClient.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts.map +1 -1
  7. package/dist/browser/lroImpl.js.map +1 -1
  8. package/dist/browser/models/index.d.ts +1000 -283
  9. package/dist/browser/models/index.d.ts.map +1 -1
  10. package/dist/browser/models/index.js +174 -16
  11. package/dist/browser/models/index.js.map +1 -1
  12. package/dist/browser/models/mappers.d.ts +48 -8
  13. package/dist/browser/models/mappers.d.ts.map +1 -1
  14. package/dist/browser/models/mappers.js +1301 -268
  15. package/dist/browser/models/mappers.js.map +1 -1
  16. package/dist/browser/models/parameters.d.ts +13 -6
  17. package/dist/browser/models/parameters.d.ts.map +1 -1
  18. package/dist/browser/models/parameters.js +116 -48
  19. package/dist/browser/models/parameters.js.map +1 -1
  20. package/dist/browser/operations/domainTopicEventSubscriptions.d.ts +10 -10
  21. package/dist/browser/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  22. package/dist/browser/operations/domainTopicEventSubscriptions.js +38 -38
  23. package/dist/browser/operations/domainTopicEventSubscriptions.js.map +1 -1
  24. package/dist/browser/operations/eventSubscriptions.d.ts +15 -15
  25. package/dist/browser/operations/eventSubscriptions.d.ts.map +1 -1
  26. package/dist/browser/operations/eventSubscriptions.js +34 -34
  27. package/dist/browser/operations/eventSubscriptions.js.map +1 -1
  28. package/dist/browser/operations/index.d.ts +5 -3
  29. package/dist/browser/operations/index.d.ts.map +1 -1
  30. package/dist/browser/operations/index.js +5 -3
  31. package/dist/browser/operations/index.js.map +1 -1
  32. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
  33. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  34. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +256 -0
  35. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  36. package/dist/browser/operations/partnerDestinations.d.ts +114 -0
  37. package/dist/browser/operations/partnerDestinations.d.ts.map +1 -0
  38. package/dist/browser/operations/partnerDestinations.js +574 -0
  39. package/dist/browser/operations/partnerDestinations.js.map +1 -0
  40. package/dist/browser/operations/systemTopicEventSubscriptions.d.ts +9 -9
  41. package/dist/browser/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  42. package/dist/browser/operations/systemTopicEventSubscriptions.js +30 -30
  43. package/dist/browser/operations/systemTopicEventSubscriptions.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
  45. package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  46. package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
  47. package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts +15 -15
  48. package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/eventSubscriptions.js.map +1 -1
  50. package/dist/browser/operationsInterfaces/index.d.ts +5 -3
  51. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  52. package/dist/browser/operationsInterfaces/index.js +5 -3
  53. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  54. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  55. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  57. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  58. package/dist/browser/operationsInterfaces/partnerDestinations.d.ts +78 -0
  59. package/dist/browser/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/partnerDestinations.js +9 -0
  61. package/dist/browser/operationsInterfaces/partnerDestinations.js.map +1 -0
  62. package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
  63. package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
  65. package/dist/commonjs/eventGridManagementClient.d.ts +6 -4
  66. package/dist/commonjs/eventGridManagementClient.d.ts.map +1 -1
  67. package/dist/commonjs/eventGridManagementClient.js +9 -6
  68. package/dist/commonjs/eventGridManagementClient.js.map +1 -1
  69. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  70. package/dist/commonjs/lroImpl.js.map +1 -1
  71. package/dist/commonjs/models/index.d.ts +1000 -283
  72. package/dist/commonjs/models/index.d.ts.map +1 -1
  73. package/dist/commonjs/models/index.js +176 -18
  74. package/dist/commonjs/models/index.js.map +1 -1
  75. package/dist/commonjs/models/mappers.d.ts +48 -8
  76. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  77. package/dist/commonjs/models/mappers.js +1306 -273
  78. package/dist/commonjs/models/mappers.js.map +1 -1
  79. package/dist/commonjs/models/parameters.d.ts +13 -6
  80. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  81. package/dist/commonjs/models/parameters.js +117 -49
  82. package/dist/commonjs/models/parameters.js.map +1 -1
  83. package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts +10 -10
  84. package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  85. package/dist/commonjs/operations/domainTopicEventSubscriptions.js +38 -38
  86. package/dist/commonjs/operations/domainTopicEventSubscriptions.js.map +1 -1
  87. package/dist/commonjs/operations/eventSubscriptions.d.ts +15 -15
  88. package/dist/commonjs/operations/eventSubscriptions.d.ts.map +1 -1
  89. package/dist/commonjs/operations/eventSubscriptions.js +34 -34
  90. package/dist/commonjs/operations/eventSubscriptions.js.map +1 -1
  91. package/dist/commonjs/operations/index.d.ts +5 -3
  92. package/dist/commonjs/operations/index.d.ts.map +1 -1
  93. package/dist/commonjs/operations/index.js +5 -3
  94. package/dist/commonjs/operations/index.js.map +1 -1
  95. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
  96. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  97. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +260 -0
  98. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  99. package/dist/commonjs/operations/partnerDestinations.d.ts +114 -0
  100. package/dist/commonjs/operations/partnerDestinations.d.ts.map +1 -0
  101. package/dist/commonjs/operations/partnerDestinations.js +578 -0
  102. package/dist/commonjs/operations/partnerDestinations.js.map +1 -0
  103. package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts +9 -9
  104. package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  105. package/dist/commonjs/operations/systemTopicEventSubscriptions.js +30 -30
  106. package/dist/commonjs/operations/systemTopicEventSubscriptions.js.map +1 -1
  107. package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
  108. package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  109. package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
  110. package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts +15 -15
  111. package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
  112. package/dist/commonjs/operationsInterfaces/eventSubscriptions.js.map +1 -1
  113. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -3
  114. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  115. package/dist/commonjs/operationsInterfaces/index.js +5 -3
  116. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  117. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  118. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
  120. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts +78 -0
  122. package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/partnerDestinations.js +10 -0
  124. package/dist/commonjs/operationsInterfaces/partnerDestinations.js.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
  126. package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  127. package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
  128. package/dist/commonjs/tsdoc-metadata.json +11 -11
  129. package/dist/esm/eventGridManagementClient.d.ts +6 -4
  130. package/dist/esm/eventGridManagementClient.d.ts.map +1 -1
  131. package/dist/esm/eventGridManagementClient.js +10 -7
  132. package/dist/esm/eventGridManagementClient.js.map +1 -1
  133. package/dist/esm/lroImpl.d.ts.map +1 -1
  134. package/dist/esm/lroImpl.js.map +1 -1
  135. package/dist/esm/models/index.d.ts +1000 -283
  136. package/dist/esm/models/index.d.ts.map +1 -1
  137. package/dist/esm/models/index.js +174 -16
  138. package/dist/esm/models/index.js.map +1 -1
  139. package/dist/esm/models/mappers.d.ts +48 -8
  140. package/dist/esm/models/mappers.d.ts.map +1 -1
  141. package/dist/esm/models/mappers.js +1301 -268
  142. package/dist/esm/models/mappers.js.map +1 -1
  143. package/dist/esm/models/parameters.d.ts +13 -6
  144. package/dist/esm/models/parameters.d.ts.map +1 -1
  145. package/dist/esm/models/parameters.js +116 -48
  146. package/dist/esm/models/parameters.js.map +1 -1
  147. package/dist/esm/operations/domainTopicEventSubscriptions.d.ts +10 -10
  148. package/dist/esm/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  149. package/dist/esm/operations/domainTopicEventSubscriptions.js +38 -38
  150. package/dist/esm/operations/domainTopicEventSubscriptions.js.map +1 -1
  151. package/dist/esm/operations/eventSubscriptions.d.ts +15 -15
  152. package/dist/esm/operations/eventSubscriptions.d.ts.map +1 -1
  153. package/dist/esm/operations/eventSubscriptions.js +34 -34
  154. package/dist/esm/operations/eventSubscriptions.js.map +1 -1
  155. package/dist/esm/operations/index.d.ts +5 -3
  156. package/dist/esm/operations/index.d.ts.map +1 -1
  157. package/dist/esm/operations/index.js +5 -3
  158. package/dist/esm/operations/index.js.map +1 -1
  159. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
  160. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  161. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +256 -0
  162. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  163. package/dist/esm/operations/partnerDestinations.d.ts +114 -0
  164. package/dist/esm/operations/partnerDestinations.d.ts.map +1 -0
  165. package/dist/esm/operations/partnerDestinations.js +574 -0
  166. package/dist/esm/operations/partnerDestinations.js.map +1 -0
  167. package/dist/esm/operations/systemTopicEventSubscriptions.d.ts +9 -9
  168. package/dist/esm/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  169. package/dist/esm/operations/systemTopicEventSubscriptions.js +30 -30
  170. package/dist/esm/operations/systemTopicEventSubscriptions.js.map +1 -1
  171. package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
  172. package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  173. package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
  174. package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts +15 -15
  175. package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
  176. package/dist/esm/operationsInterfaces/eventSubscriptions.js.map +1 -1
  177. package/dist/esm/operationsInterfaces/index.d.ts +5 -3
  178. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  179. package/dist/esm/operationsInterfaces/index.js +5 -3
  180. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  181. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  182. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  184. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/partnerDestinations.d.ts +78 -0
  186. package/dist/esm/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/partnerDestinations.js +9 -0
  188. package/dist/esm/operationsInterfaces/partnerDestinations.js.map +1 -0
  189. package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
  190. package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  191. package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
  192. package/dist/react-native/eventGridManagementClient.d.ts +6 -4
  193. package/dist/react-native/eventGridManagementClient.d.ts.map +1 -1
  194. package/dist/react-native/eventGridManagementClient.js +10 -7
  195. package/dist/react-native/eventGridManagementClient.js.map +1 -1
  196. package/dist/react-native/lroImpl.d.ts.map +1 -1
  197. package/dist/react-native/lroImpl.js.map +1 -1
  198. package/dist/react-native/models/index.d.ts +1000 -283
  199. package/dist/react-native/models/index.d.ts.map +1 -1
  200. package/dist/react-native/models/index.js +174 -16
  201. package/dist/react-native/models/index.js.map +1 -1
  202. package/dist/react-native/models/mappers.d.ts +48 -8
  203. package/dist/react-native/models/mappers.d.ts.map +1 -1
  204. package/dist/react-native/models/mappers.js +1301 -268
  205. package/dist/react-native/models/mappers.js.map +1 -1
  206. package/dist/react-native/models/parameters.d.ts +13 -6
  207. package/dist/react-native/models/parameters.d.ts.map +1 -1
  208. package/dist/react-native/models/parameters.js +116 -48
  209. package/dist/react-native/models/parameters.js.map +1 -1
  210. package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts +10 -10
  211. package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  212. package/dist/react-native/operations/domainTopicEventSubscriptions.js +38 -38
  213. package/dist/react-native/operations/domainTopicEventSubscriptions.js.map +1 -1
  214. package/dist/react-native/operations/eventSubscriptions.d.ts +15 -15
  215. package/dist/react-native/operations/eventSubscriptions.d.ts.map +1 -1
  216. package/dist/react-native/operations/eventSubscriptions.js +34 -34
  217. package/dist/react-native/operations/eventSubscriptions.js.map +1 -1
  218. package/dist/react-native/operations/index.d.ts +5 -3
  219. package/dist/react-native/operations/index.d.ts.map +1 -1
  220. package/dist/react-native/operations/index.js +5 -3
  221. package/dist/react-native/operations/index.js.map +1 -1
  222. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
  223. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  224. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +256 -0
  225. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  226. package/dist/react-native/operations/partnerDestinations.d.ts +114 -0
  227. package/dist/react-native/operations/partnerDestinations.d.ts.map +1 -0
  228. package/dist/react-native/operations/partnerDestinations.js +574 -0
  229. package/dist/react-native/operations/partnerDestinations.js.map +1 -0
  230. package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts +9 -9
  231. package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  232. package/dist/react-native/operations/systemTopicEventSubscriptions.js +30 -30
  233. package/dist/react-native/operations/systemTopicEventSubscriptions.js.map +1 -1
  234. package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
  235. package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  236. package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
  237. package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts +15 -15
  238. package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
  239. package/dist/react-native/operationsInterfaces/eventSubscriptions.js.map +1 -1
  240. package/dist/react-native/operationsInterfaces/index.d.ts +5 -3
  241. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  242. package/dist/react-native/operationsInterfaces/index.js +5 -3
  243. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  244. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  245. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  246. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  247. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  248. package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts +78 -0
  249. package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
  250. package/dist/react-native/operationsInterfaces/partnerDestinations.js +9 -0
  251. package/dist/react-native/operationsInterfaces/partnerDestinations.js.map +1 -0
  252. package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
  253. package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  254. package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
  255. package/package.json +32 -45
  256. package/CHANGELOG.md +0 -2065
  257. package/review/arm-eventgrid.api.md +0 -4226
@@ -1 +1 @@
1
- {"version":3,"file":"domainTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operations/domainTopicEventSubscriptions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAqB9C,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B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,2MAA2M;IACjN,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,qBAAqB;KACjC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DomainTopicEventSubscriptions } 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 { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n EventSubscription,\n DomainTopicEventSubscriptionsListNextOptionalParams,\n DomainTopicEventSubscriptionsListOptionalParams,\n DomainTopicEventSubscriptionsListResponse,\n DomainTopicEventSubscriptionsGetOptionalParams,\n DomainTopicEventSubscriptionsGetResponse,\n DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n DomainTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n DomainTopicEventSubscriptionsUpdateOptionalParams,\n DomainTopicEventSubscriptionsUpdateResponse,\n DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n DomainTopicEventSubscriptionsGetFullUrlResponse,\n DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n DomainTopicEventSubscriptionsGetDeliveryAttributesResponse,\n DomainTopicEventSubscriptionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DomainTopicEventSubscriptions operations. */\nexport class DomainTopicEventSubscriptionsImpl\n implements DomainTopicEventSubscriptions\n{\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class DomainTopicEventSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription> {\n const iter = this.listPagingAll(\n resourceGroupName,\n domainName,\n topicName,\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.listPagingPage(\n resourceGroupName,\n domainName,\n topicName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EventSubscription[]> {\n let result: DomainTopicEventSubscriptionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n domainName,\n topicName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n domainName,\n topicName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): AsyncIterableIterator<EventSubscription> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n domainName,\n topicName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get properties of a nested event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsUpdateResponse>,\n DomainTopicEventSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DomainTopicEventSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n DomainTopicEventSubscriptionsUpdateResponse,\n OperationState<DomainTopicEventSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the full endpoint URL for a nested event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetFullUrlResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getFullUrlOperationSpec,\n );\n }\n\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainName, topicName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get all delivery attributes for an event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getDeliveryAttributesOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\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 domainName: string,\n topicName: string,\n nextLink: string,\n options?: DomainTopicEventSubscriptionsListNextOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainName, topicName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getFullUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionFullUrl,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeliveryAttributeListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\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.EventSubscriptionsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.domainName,\n Parameters.topicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"domainTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operations/domainTopicEventSubscriptions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAqB9C,4CAA4C;AAC5C,iEAAiE;AACjE,MAAa,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,UAAkB,EAClB,SAAiB,EACjB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,UAAkB,EAClB,SAAiB,EACjB,OAAyD,EACzD,QAAuB;;YAE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cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DomainTopicEventSubscriptions } 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 { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n EventSubscription,\n DomainTopicEventSubscriptionsListNextOptionalParams,\n DomainTopicEventSubscriptionsListOptionalParams,\n DomainTopicEventSubscriptionsListResponse,\n DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n DomainTopicEventSubscriptionsGetDeliveryAttributesResponse,\n DomainTopicEventSubscriptionsGetOptionalParams,\n DomainTopicEventSubscriptionsGetResponse,\n DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n DomainTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n DomainTopicEventSubscriptionsUpdateOptionalParams,\n DomainTopicEventSubscriptionsUpdateResponse,\n DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n DomainTopicEventSubscriptionsGetFullUrlResponse,\n DomainTopicEventSubscriptionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DomainTopicEventSubscriptions operations. */\nexport class DomainTopicEventSubscriptionsImpl\n implements DomainTopicEventSubscriptions\n{\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class DomainTopicEventSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription> {\n const iter = this.listPagingAll(\n resourceGroupName,\n domainName,\n topicName,\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.listPagingPage(\n resourceGroupName,\n domainName,\n topicName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EventSubscription[]> {\n let result: DomainTopicEventSubscriptionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n domainName,\n topicName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n domainName,\n topicName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): AsyncIterableIterator<EventSubscription> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n domainName,\n topicName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all delivery attributes for an event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getDeliveryAttributesOperationSpec,\n );\n }\n\n /**\n * Get properties of a nested event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsUpdateResponse>,\n DomainTopicEventSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DomainTopicEventSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n DomainTopicEventSubscriptionsUpdateResponse,\n OperationState<DomainTopicEventSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the full endpoint URL for a nested event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetFullUrlResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n domainName,\n topicName,\n eventSubscriptionName,\n options,\n },\n getFullUrlOperationSpec,\n );\n }\n\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainName, topicName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\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 domainName: string,\n topicName: string,\n nextLink: string,\n options?: DomainTopicEventSubscriptionsListNextOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainName, topicName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeliveryAttributeListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getFullUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionFullUrl,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\n Parameters.eventSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainName,\n Parameters.topicName,\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.EventSubscriptionsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.domainName,\n Parameters.topicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -2,7 +2,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { EventSubscriptions } from "../operationsInterfaces/index.js";
3
3
  import { EventGridManagementClient } from "../eventGridManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { EventSubscription, EventSubscriptionsListGlobalBySubscriptionOptionalParams, EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListGlobalByResourceGroupOptionalParams, EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListRegionalBySubscriptionOptionalParams, EventSubscriptionsListRegionalByResourceGroupOptionalParams, EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListByResourceOptionalParams, EventSubscriptionsListByDomainTopicOptionalParams, EventSubscriptionsGetOptionalParams, EventSubscriptionsGetResponse, EventSubscriptionsCreateOrUpdateOptionalParams, EventSubscriptionsCreateOrUpdateResponse, EventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, EventSubscriptionsUpdateOptionalParams, EventSubscriptionsUpdateResponse, EventSubscriptionsGetFullUrlOptionalParams, EventSubscriptionsGetFullUrlResponse, EventSubscriptionsGetDeliveryAttributesOptionalParams, EventSubscriptionsGetDeliveryAttributesResponse } from "../models/index.js";
5
+ import { EventSubscription, EventSubscriptionsListGlobalBySubscriptionOptionalParams, EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListGlobalByResourceGroupOptionalParams, EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListRegionalBySubscriptionOptionalParams, EventSubscriptionsListRegionalByResourceGroupOptionalParams, EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListByResourceOptionalParams, EventSubscriptionsListByDomainTopicOptionalParams, EventSubscriptionsGetDeliveryAttributesOptionalParams, EventSubscriptionsGetDeliveryAttributesResponse, EventSubscriptionsGetOptionalParams, EventSubscriptionsGetResponse, EventSubscriptionsCreateOrUpdateOptionalParams, EventSubscriptionsCreateOrUpdateResponse, EventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, EventSubscriptionsUpdateOptionalParams, EventSubscriptionsUpdateResponse, EventSubscriptionsGetFullUrlOptionalParams, EventSubscriptionsGetFullUrlResponse } from "../models/index.js";
6
6
  /** Class containing EventSubscriptions operations. */
7
7
  export declare class EventSubscriptionsImpl implements EventSubscriptions {
8
8
  private readonly client;
@@ -103,6 +103,20 @@ export declare class EventSubscriptionsImpl implements EventSubscriptions {
103
103
  listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: EventSubscriptionsListByDomainTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
104
104
  private listByDomainTopicPagingPage;
105
105
  private listByDomainTopicPagingAll;
106
+ /**
107
+ * Get all delivery attributes for an event subscription.
108
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
109
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
110
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
111
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
112
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
113
+ * for a resource, and
114
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
115
+ * for an EventGrid topic.
116
+ * @param eventSubscriptionName Name of the event subscription.
117
+ * @param options The options parameters.
118
+ */
119
+ getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
106
120
  /**
107
121
  * Get properties of an event subscription.
108
122
  * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
@@ -299,20 +313,6 @@ export declare class EventSubscriptionsImpl implements EventSubscriptions {
299
313
  * @param options The options parameters.
300
314
  */
301
315
  private _listByDomainTopic;
302
- /**
303
- * Get all delivery attributes for an event subscription.
304
- * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
305
- * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
306
- * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
307
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
308
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
309
- * for a resource, and
310
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
311
- * for an EventGrid topic.
312
- * @param eventSubscriptionName Name of the event subscription.
313
- * @param options The options parameters.
314
- */
315
- getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
316
316
  /**
317
317
  * ListGlobalBySubscriptionNext
318
318
  * @param nextLink The nextLink from the previous successful call to the ListGlobalBySubscription
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operations/eventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAItE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EAEjB,wDAAwD,EAGxD,oEAAoE,EAGpE,yDAAyD,EAGzD,qEAAqE,EAGrE,0DAA0D,EAG1D,2DAA2D,EAG3D,sEAAsE,EAGtE,uEAAuE,EAGvE,8CAA8C,EAG9C,iDAAiD,EAEjD,mCAAmC,EACnC,6BAA6B,EAC7B,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,sCAAsC,EACtC,gCAAgC,EAChC,0CAA0C,EAC1C,oCAAoC,EACpC,qDAAqD,EACrD,+CAA+C,EAWhD,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,wBAAwB,CAC7B,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,kCAAkC;YAyBlC,iCAAiC;IAQhD;;;;OAIG;IACI,oCAAoC,CACzC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oEAAoE,GAC7E,0BAA0B,CAAC,iBAAiB,CAAC;YAyBjC,8CAA8C;YA8B9C,6CAA6C;IAY5D;;;;OAIG;IACI,yBAAyB,CAC9B,iBAAiB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C,4BAA4B;IAWpC;;;;;;OAMG;IACH,OAAO,CAAC,uCAAuC;IAW/C;;;;;;;OAOG;IACH,OAAO,CAAC,wCAAwC;IAYhD;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAmBvB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAY1B;;;;;OAKG;IACH,OAAO,CAAC,6BAA6B;IAUrC;;;;;;OAMG;IACH,OAAO,CAAC,yCAAyC;IAWjD;;;;;;OAMG;IACH,OAAO,CAAC,8BAA8B;IAWtC;;;;;;;OAOG;IACH,OAAO,CAAC,0CAA0C;IAYlD;;;;;;OAMG;IACH,OAAO,CAAC,+BAA+B;IAWvC;;;;;;;OAOG;IACH,OAAO,CAAC,gCAAgC;IAYxC;;;;;;;OAOG;IACH,OAAO,CAAC,2CAA2C;IAYnD;;;;;;;;OAQG;IACH,OAAO,CAAC,4CAA4C;IAapD;;;;;;;;OAQG;IACH,OAAO,CAAC,mBAAmB;IAqB3B;;;;;;;OAOG;IACH,OAAO,CAAC,sBAAsB;CAY/B"}
@@ -657,6 +657,22 @@ class EventSubscriptionsImpl {
657
657
  }
658
658
  });
659
659
  }
660
+ /**
661
+ * Get all delivery attributes for an event subscription.
662
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
663
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
664
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
665
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
666
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
667
+ * for a resource, and
668
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
669
+ * for an EventGrid topic.
670
+ * @param eventSubscriptionName Name of the event subscription.
671
+ * @param options The options parameters.
672
+ */
673
+ getDeliveryAttributes(scope, eventSubscriptionName, options) {
674
+ return this.client.sendOperationRequest({ scope, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
675
+ }
660
676
  /**
661
677
  * Get properties of an event subscription.
662
678
  * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
@@ -999,22 +1015,6 @@ class EventSubscriptionsImpl {
999
1015
  _listByDomainTopic(resourceGroupName, domainName, topicName, options) {
1000
1016
  return this.client.sendOperationRequest({ resourceGroupName, domainName, topicName, options }, listByDomainTopicOperationSpec);
1001
1017
  }
1002
- /**
1003
- * Get all delivery attributes for an event subscription.
1004
- * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1005
- * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1006
- * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1007
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1008
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1009
- * for a resource, and
1010
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1011
- * for an EventGrid topic.
1012
- * @param eventSubscriptionName Name of the event subscription.
1013
- * @param options The options parameters.
1014
- */
1015
- getDeliveryAttributes(scope, eventSubscriptionName, options) {
1016
- return this.client.sendOperationRequest({ scope, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
1017
- }
1018
1018
  /**
1019
1019
  * ListGlobalBySubscriptionNext
1020
1020
  * @param nextLink The nextLink from the previous successful call to the ListGlobalBySubscription
@@ -1133,6 +1133,24 @@ class EventSubscriptionsImpl {
1133
1133
  exports.EventSubscriptionsImpl = EventSubscriptionsImpl;
1134
1134
  // Operation Specifications
1135
1135
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
1136
+ const getDeliveryAttributesOperationSpec = {
1137
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
1138
+ httpMethod: "POST",
1139
+ responses: {
1140
+ 200: {
1141
+ bodyMapper: Mappers.DeliveryAttributeListResult,
1142
+ },
1143
+ default: {},
1144
+ },
1145
+ queryParameters: [Parameters.apiVersion],
1146
+ urlParameters: [
1147
+ Parameters.$host,
1148
+ Parameters.eventSubscriptionName,
1149
+ Parameters.scope,
1150
+ ],
1151
+ headerParameters: [Parameters.accept],
1152
+ serializer,
1153
+ };
1136
1154
  const getOperationSpec = {
1137
1155
  path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1138
1156
  httpMethod: "GET",
@@ -1425,24 +1443,6 @@ const listByDomainTopicOperationSpec = {
1425
1443
  headerParameters: [Parameters.accept],
1426
1444
  serializer,
1427
1445
  };
1428
- const getDeliveryAttributesOperationSpec = {
1429
- path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
1430
- httpMethod: "POST",
1431
- responses: {
1432
- 200: {
1433
- bodyMapper: Mappers.DeliveryAttributeListResult,
1434
- },
1435
- default: {},
1436
- },
1437
- queryParameters: [Parameters.apiVersion],
1438
- urlParameters: [
1439
- Parameters.$host,
1440
- Parameters.eventSubscriptionName,
1441
- Parameters.scope,
1442
- ],
1443
- headerParameters: [Parameters.accept],
1444
- serializer,
1445
- };
1446
1446
  const listGlobalBySubscriptionNextOperationSpec = {
1447
1447
  path: "{nextLink}",
1448
1448
  httpMethod: "GET",